[Rcpp-devel] Segfault in using RInside

Kevin Ushey kevinushey at gmail.com
Thu Feb 6 19:36:47 CET 2014


Hi Jiqiang,

Thanks for reporting this. I pushed a couple fixes to RInside and they
are available on GitHub at

    https://github.com/eddelbuettel/rinside

Cheers,
Kevin

On Tue, Feb 4, 2014 at 8:09 PM, Dirk Eddelbuettel <edd at debian.org> wrote:
>
> 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
> _______________________________________________
> Rcpp-devel mailing list
> Rcpp-devel at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel


More information about the Rcpp-devel mailing list