Skip to content

[Rcpp-devel] Rcpp Lists and memory corruption (resend)

1 message · Romain Francois

#
Hello,

rev 3565 should address this issue. Thanks again for the bug report.

This was indeed due to SEXP not being protected sufficiently. 
List::create allocates a new object, which might cause the GC to collect 
one of the unprotected SEXP passed in.

Let me know if this works for you.

Romain

Le 31/03/12 11:35, Romain Francois a ?crit :