[Rcpp-devel] Exposed class works within cpp func, bombs via module

Thell Fowler tbfowler4 at gmail.com
Wed Feb 26 16:46:22 CET 2014


I'm getting::

*** Error in `/usr/lib/rstudio/bin/rsession': malloc(): smallbin double
linked list corrupted: 0x0000000003436090 ***--

It is a small class for iterative compositions.  It looks like there's a
bad_alloc between the R and C++ sides of things but I'm not quite sure what
to check on it.  Are there any docs going into the scoping of module
exposed classes?

The example bomb is posted as a gist at:

https://gist.github.com/Thell/9231866


Sincerely,
Thell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20140226/27e5d5fc/attachment.html>


More information about the Rcpp-devel mailing list