On 27 June 2012 at 15:29, ml.lattu...@libero.it wrote: | 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?
Damn. Confirmed. Running 'make clean && make && make runAll' in the examples/standard directory of RInside shows that I get the segfaults too. That really should not have slipped through -- my bad. There will be an Rcpp 0.9.13 shortly. In the meantime, you can probably downgrade to version 0.9.10-1 from Debian testing, or build from SVN. Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com _______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel