Re: [Rd] Crash in R using embedded.

From: oliver <oliver_at_first.in-berlin.de>
Date: Wed, 01 Feb 2012 18:38:42 +0100

Hello,

On Wed, Feb 01, 2012 at 10:24:23AM -0500, Dave Pugmire wrote:
> Hi,
> I'm new to R, and am trying to embed R into another application.
> I'm calling gev.fit() from the ismev package, and it is crashing somewhere
> inside it.
> gdb is not catching it, and valgrind is not showing any memory corruption
> issues.
[...]

valgrind? *shudder* ;-)

> I suspect it's memory corruption, because it doesn't crash in exactly the
> same spot each time.
> I'm running R 2.12.2 on a 64 bit linux (Ubuntu 10.04)
[...]

You could analyze the coredump with gdb, if you allow one to be written.

On Ubuntu the default is to set core size to 0 Bytes, so a crash will be silent.
(I think this is also true on some (most? all?) other Linux distributions).

You need to change this behaviour and then you might get some progress in your debugging attempts.

Ciao,

   Oliver



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Wed 01 Feb 2012 - 17:41:36 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 01 Feb 2012 - 19:20:13 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive