[Rcpp-devel] (Very) rare segfault

Dirk Eddelbuettel edd at debian.org
Wed Aug 20 19:52:14 CEST 2014


On 20 August 2014 at 10:42, Kevin Ushey wrote:
| The general prescription is:
| 
| 1. Try running the code with `gctortue(TRUE)` on,
| 2. Try running with a debugger (gdb, lldb, valgrind),
| 3. Try running with sanitizers (see e.g. Dirk's docker containers: https://
| github.com/eddelbuettel/docker-ubuntu-r)

3.b  Also https://github.com/eddelbuettel/docker-debian-r with newer compilers
 
| This should help provide you (and/or us) enough information to diagnose the
| problem.

Moonshoot:  Do you by chance insert RNGScope instances?  We have at times
have had issues with their handshaking of state back to R, temp objects etc pp.

Dirk

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


More information about the Rcpp-devel mailing list