[Rcpp-devel] Possible unprotected memory problems

Douglas Bates bates at stat.wisc.edu
Thu Jul 21 19:52:34 CEST 2011


In testing this new version of lme4 based on RcppEigen, I have
encountered what looks to be a memory protection problem.  Naturally
it only occurs on the large examples but I may be able to provoke it
with gctorture even for a small example.

I'm using Rcpp Modules to expose some classes in C++.  The symptom is
that suddenly, probably as the result of a garbage collection, the
value of one of the methods jumps.  In this case the residuals
suddenly appear to be zero.

I'll start trying to track this but may end up running out of time as
I have some presentations for the next few weeks to prepare.


More information about the Rcpp-devel mailing list