On 19 April 2011 at 12:55, Douglas Bates wrote: | Rcpp from SVN version 3004 is segfaulting on me in the unit tests at | test.sugar.asvector | | Executing test function test.sugar.asvector ... | *** caught segfault *** | address 0x3, cause 'memory not mapped' | | Traceback: | 1: .Primitive(".Call")(<pointer: 0x7f69e75854c7>, x, y, z) | 2: fx(1:4, 1:5, diag(1:5)) | 3: func() | 4: system.time(func()) | 5: doTryCatch(return(expr), name, parentenv, handler) | 6: tryCatchOne(expr, names, parentenv, handlers[[1L]]) | 7: tryCatchList(expr, classes, parentenv, handlers) | | I'll check other versions of R first. Next I'll see what happens with | gctorture and --enable-write-barrier | | Is anyone else encountering this?
On 19 April 2011 at 12:58, Douglas Bates wrote: | Sorry - I misspoke. The segfault was with R-2.13.0, the Ubuntu | maverick amd_64 build. What compiler flags? Do you by chance use -std=c++0x ? That has given us fits as it fails under 'R CMD check' but not when the unit test files are running one by one. FWIW everything is fine here with CFLAGS=-O3 -g0 -Wall -pipe -pedantic -std=gnu99 CXXFLAGS= -g -O3 -Wall -pipe -pedantic -Wno-variadic-macros CC=ccache gcc-4.5 CXX=ccache g++-4.5 and a fresh install and check of Rcpp 0.9.4 on Ubuntu 10.10 amd64. [...] * checking tests ... Running ‘doRUnit.R’ OK * checking for unstated dependencies in vignettes ... OK * checking package vignettes in ‘inst/doc’ ... OK * checking running R code from vignettes ... OK * checking re-building of vignettes ... OK * checking PDF version of manual ... OK WARNING: There was 1 warning, see ‘/home/edd/svn/rcpp/pkg/Rcpp.Rcheck/00check.log’ for details edd@max:~/svn/rcpp/pkg$ 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