Hi,
I figured out the bug. I'm on the mac, and I had recompiled R and my
application with GCC, but I had still had a bunch of libraries, which
had been built in LLVM. I suppose the issue with LLVM relates to how
it does memory management.
Thanks
On Tue, Mar 6, 2012 at 7:11 AM, Dirk Eddelbuettel
On 5 March 2012 at 23:08, gershon bialer wrote:
| Hi,
|
| I'm trying to use RInside, but I get the seg fault show below. Does
| R's memory management somehow interfere with the C++ standard
| library memory management? What could be causing this?
Nobody can tell, really, as you posted no code.
looks like you did something bad with a pointer, but it's hard to
know without seeing your code.
why don't you run w/ valgrind, it might help you locate the problem.
like this:
warmstrong@krypton:~$ R --debugger=valgrind
==28550== Memcheck, a memory error detector
==28550== Copyright (C) 2002-201