* using log directory ‘/data/gannet/ripley/R/packages/tests-clang-SAN/D3M.Rcheck’ * using R Under development (unstable) (2018-02-09 r74240) * using platform: x86_64-pc-linux-gnu (64-bit) * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘D3M/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘D3M’ version ‘0.41.1’ * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package ‘D3M’ can be installed ... [38s/31s] OK * checking package directory ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking compiled code ... OK * checking examples ... ERROR Running examples in ‘D3M-Ex.R’ failed The error most likely occurred in: > ### Name: d3m > ### Title: Two Sample Test with Distribution-Valued Data > ### Aliases: d3m > > ### ** Examples > > nrep <-12 > cases <- Map(rbeta,rep(30,nrep),rep(1,nrep),rep(5,nrep)); cases <- do.call("rbind",cases) > control <- Map(rbeta,rep(30,nrep),rep(1,nrep),rep(5,nrep)); control <- do.call("rbind",control) > d3m(cases,control,paranum = 101, q = 2, bsn = 1000,seed = 100) ================================================================= ==4887==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6160000e3390 at pc 0x7f3795d46e9a bp 0x7ffd26585970 sp 0x7ffd26585968 READ of size 8 at 0x6160000e3390 thread T0 #0 0x7f3795d46e99 in permCpp(Rcpp::Matrix<14, Rcpp::PreserveStorage>, Rcpp::Matrix<14, Rcpp::PreserveStorage>, Rcpp::Matrix<14, Rcpp::PreserveStorage>, Rcpp::Vector<14, Rcpp::PreserveStorage>, int, int, int) /data/gannet/ripley/R/packages/tests-clang-SAN/D3M/src/funcs.cpp:299:23 #1 0x7f3795d130a0 in D3M_permCpp /data/gannet/ripley/R/packages/tests-clang-SAN/D3M/src/RcppExports.cpp:72:27 #2 0x7ea5c0 in R_doDotCall /data/gannet/ripley/R/svn/R-devel/src/main/dotcode.c #3 0x85bf9d in do_dotcall /data/gannet/ripley/R/svn/R-devel/src/main/dotcode.c:1252:11 #4 0x9c66b6 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:6766:14 #5 0x9b0fad in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:624:8 #6 0xa2493b in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c #7 0x9d5e38 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:6734:12 #8 0x9b0fad in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:624:8 #9 0xa2493b in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c #10 0x9d5e38 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:6734:12 #11 0x9b0fad in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:624:8 #12 0xa2493b in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c #13 0x9b2184 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:747:12 #14 0xb1e343 in Rf_ReplIteration /data/gannet/ripley/R/svn/R-devel/src/main/main.c:258:2 #15 0xb232c0 in R_ReplConsole /data/gannet/ripley/R/svn/R-devel/src/main/main.c:308:11 #16 0xb230a5 in run_Rmainloop /data/gannet/ripley/R/svn/R-devel/src/main/main.c:1082:5 #17 0x52a08a in main /data/gannet/ripley/R/svn/R-devel/src/main/Rmain.c:29:5 #18 0x7f37a3766889 in __libc_start_main (/lib64/libc.so.6+0x20889) #19 0x42d829 in _start (/data/gannet/ripley/R/R-clang-SAN/bin/exec/R+0x42d829) 0x6160000e3390 is located 0 bytes to the right of 528-byte region [0x6160000e3180,0x6160000e3390) allocated by thread T0 here: #0 0x4ed6d0 in __interceptor_malloc /data/gannet/ripley/Sources/LLVM/6.0.x/trunk/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:88 #1 0xb46014 in Rf_allocVector3 /data/gannet/ripley/R/svn/R-devel/src/main/memory.c:2710:7 #2 0x7f3795d47d6e in Rcpp::Vector<14, Rcpp::PreserveStorage>::Vector(int const&) /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/vector/Vector.h:129:25 #3 0x7f3795d44efd in permCpp(Rcpp::Matrix<14, Rcpp::PreserveStorage>, Rcpp::Matrix<14, Rcpp::PreserveStorage>, Rcpp::Matrix<14, Rcpp::PreserveStorage>, Rcpp::Vector<14, Rcpp::PreserveStorage>, int, int, int) /data/gannet/ripley/R/packages/tests-clang-SAN/D3M/src/funcs.cpp:248:19 #4 0x7f3795d130a0 in D3M_permCpp /data/gannet/ripley/R/packages/tests-clang-SAN/D3M/src/RcppExports.cpp:72:27 #5 0x7ea5c0 in R_doDotCall /data/gannet/ripley/R/svn/R-devel/src/main/dotcode.c #6 0x85bf9d in do_dotcall /data/gannet/ripley/R/svn/R-devel/src/main/dotcode.c:1252:11 #7 0x9c66b6 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:6766:14 #8 0x9b0fad in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:624:8 #9 0xa2493b in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c #10 0x9d5e38 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:6734:12 #11 0x9b0fad in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:624:8 #12 0xa2493b in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c #13 0x9d5e38 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:6734:12 #14 0x9b0fad in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:624:8 #15 0xa2493b in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c #16 0x9b2184 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:747:12 #17 0xb1e343 in Rf_ReplIteration /data/gannet/ripley/R/svn/R-devel/src/main/main.c:258:2 #18 0xb232c0 in R_ReplConsole /data/gannet/ripley/R/svn/R-devel/src/main/main.c:308:11 #19 0xb230a5 in run_Rmainloop /data/gannet/ripley/R/svn/R-devel/src/main/main.c:1082:5 #20 0x52a08a in main /data/gannet/ripley/R/svn/R-devel/src/main/Rmain.c:29:5 #21 0x7f37a3766889 in __libc_start_main (/lib64/libc.so.6+0x20889) SUMMARY: AddressSanitizer: heap-buffer-overflow /data/gannet/ripley/R/packages/tests-clang-SAN/D3M/src/funcs.cpp:299:23 in permCpp(Rcpp::Matrix<14, Rcpp::PreserveStorage>, Rcpp::Matrix<14, Rcpp::PreserveStorage>, Rcpp::Matrix<14, Rcpp::PreserveStorage>, Rcpp::Vector<14, Rcpp::PreserveStorage>, int, int, int) Shadow bytes around the buggy address: 0x0c2c80014620: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c2c80014630: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c2c80014640: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c2c80014650: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c2c80014660: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x0c2c80014670: 00 00[fa]fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c2c80014680: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c2c80014690: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c2c800146a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c2c800146b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c2c800146c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb ==4887==ABORTING * DONE Status: 1 ERROR