[Rcpp-devel] Rcpp::Environment Constructor

Dirk Eddelbuettel edd at debian.org
Fri Jun 29 13:35:47 CEST 2012


On 27 June 2012 at 09:22, Dirk Eddelbuettel wrote:
| 
| On 27 June 2012 at 15:29, ml.lattuada at 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.  

Thanks again for the bug report -- 0.9.13 is now on CRAN and just got
uploaded to Debian testing. Your mirrors should get it shortly, and you
should be back to a correctly working RInside.

Dirk

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


More information about the Rcpp-devel mailing list