Re: [Rd] Crash in R using embedded.

From: oliver <>
Date: Wed, 01 Feb 2012 18:38:42 +0100


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 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.


   Oliver mailing list 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 Please read the posting guide before posting to the list.

list of date sections of archive