-
-
Notifications
You must be signed in to change notification settings - Fork 219
Description
Via email:
Quite a lot of errors in other packages are showing up with this Rcpp
version, only on Linux and only with a default build (not with
--enable-Rshlib). A possibly incomplete list isBEDMatrix biwavelet chopthin dplyr feather geohash h5 icd lfl plyr
purrr rags2ridges readr rmumps rucrdtw svglite tidyr validatejsonr
wrswoR xml2where the pattern seems to be that C++ error messages via e.g. 'stop'
are reported incorrectly. See the fedora-{gcc,clang} CRAN logs but many
of these use testthat to completely obfuscate the error: BEDmatrix and
xml2 are typical for the one error they do show.This is possibly related to many stack-use-after-scope ASAN errors
showing with gcc trunk (e.g.
http://www.stats.ox.ac.uk/pub/bdr/memtests/gcc7-ASAN/BWStest/ contains
==6559==ERROR: AddressSanitizer: stack-use-after-scope on address
0x7ffd186b08e0 at pc 0x7f14dc17f552 bp 0x7ffd186b0470 sp 0x7ffd186afc20
READ of size 17 at 0x7ffd186b08e0 thread T0
#0 0x7f14dc17f551 (/usr/local/gcc7/lib64/libasan.so.4+0x64551)
#1 0x7f14d87284b1
(/usr/local/gcc7/lib/../lib64/libstdc++.so.6+0x924b1)
#2 0x7f14d8731724
(/usr/local/gcc7/lib/../lib64/libstdc++.so.6+0x9b724)
#3 0x7f14d8731879 in __cxa_demangle
(/usr/local/gcc7/lib/../lib64/libstdc++.so.6+0x9b879)
#4 0x7f14cb7808bc in demangle(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)
/tmp/RtmpJHuBqT/R.INSTALL9f9c58a482ce/Rcpp/src/api.cpp:125
#5 0x7f14cb125779 in demangle(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)
/data/gannet/ripley/R/test-3.4/Rcpp/include/Rcpp/routines.h:137
#6 0x7f14cb125779 in exception_to_r_condition(std::exception
const&) /data/gannet/ripley/R/test-3.4/Rcpp/include/Rcpp/exceptions.h:212
#7 0x7f14cb11eacb in BWStest_murakami_stat_perms
/data/gannet/ripley/R/packages/tests-70/BWStest/src/RcppExports.cpp:57
), all involving exception_to_r_condition . Also within the last week,
but gcc trunk is a moving target.
I disagree a little on what a default build is -- to me with shared library is far more common (or else both littler and RInside would fail to build) but the ASAN errors are something we should look into.
First step is probably to see what they do on under our ASAN tools (ie Docker), maybe R Hub too.