[Rcpp-devel] Segfault in using RInside

Dirk Eddelbuettel edd at debian.org
Wed Feb 5 05:09:43 CET 2014


With one follow-up off-list (where Jiqiang notes that he had in fact rebuilt
RInside) and a quick test here, I have to conclude that RInside appears to be
a casualty of the recent change. Darn.

(gdb) backtrace
#0  0x00007ffff799bd52 in Rf_isNull (s=0x0) at memory.c:3378
#1  0x00007ffff767fa9d in Rcpp_ReplaceObject (y=0x0, x=0x0) at /usr/local/lib/R/site-library/Rcpp/include/RcppCommon.h:107
#2  set__ (x=0x0, this=0x7fffffffe168) at /usr/local/lib/R/site-library/Rcpp/include/Rcpp/storage/PreserveStorage.h:18
#3  Environment_Impl (this=0x7fffffffe168) at /usr/local/lib/R/site-library/Rcpp/include/Rcpp/Environment.h:46
#4  RInside::RInside (this=0x7fffffffe160, argc=1, argv=0x7fffffffe278, loadRcpp=<optimized out>, verbose=<optimized out>, interactive=<optimized out>)
    at RInside.cpp:91
#5  0x0000000000402a00 in main (argc=<optimized out>, argv=<optimized out>) at rinside_sample0.cpp:14
(gdb) 

Looks like RInside does not quite mesh with the reorganisation of the Rcpp
internals. 

Sorry,  Dirk

-- 
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com


More information about the Rcpp-devel mailing list