[Rcpp-devel] Rcpp::Environment Constructor

ml.lattuada at libero.it ml.lattuada at libero.it
Wed Jun 27 15:29:19 CEST 2012


Hi,

since last update of Rcpp I have got a segmentation fault in a program that 
uses Rcpp and RInside.
The backtrace is the following 

Program received signal SIGSEGV, Segmentation fault.
0x00007fffd6ba9df0 in Rf_isEnvironment () from /usr/lib/libR.so
(gdb) backtrace
#0  0x00007fffd6ba9df0 in Rf_isEnvironment () from /usr/lib/libR.so
#1  0x00000000005d1440 in Rcpp::Environment::Environment(SEXPREC*) ()
#2  0x00000000005d0fc6 in RInside::RInside (this=0x8c70c0) at RInside.cpp:58
#3  0x0000000000540d37 in _GLOBAL__sub_I__ZN8RWrapper16internal_RinsideE ()
#4  0x00000000005d730d in __libc_csu_init ()
#5  0x00007fffd5d6ee40 in __libc_start_main (main=<optimized out>, 
argc=<optimized out>, ubp_av=<optimized out>, init=0x5d72b0 <__libc_csu_init>, 
fini=0x8cb680, rtld_fini=0x7fffd5e6fa50 <__memcpy_ssse3+8672>, 
stack_end=0x7fffffffdd78)
    at libc-start.c:187
#6  0x0000000000414251 in _start ()

System is a 64-bit debian unstable
Rcpp is the debian package (r-cran-rcpp - version 0.9.12-1)
Rinside has been installed through install.packages of R (Rinside - version 
0.2.6)

Do you know if I am doing something wrong or if it is a bug introduced by the 
new version of Rcpp?



More information about the Rcpp-devel mailing list