* using log directory ‘/data/gannet/ripley/R/packages/tests-gcc-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 ... [44s/28s] 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) ================================================================= ==40888==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6160000e3390 at pc 0x7f639ebe579a bp 0x7ffe0d1d07c0 sp 0x7ffe0d1d07b0 READ of size 8 at 0x6160000e3390 thread T0 #0 0x7f639ebe5799 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-gcc-SAN/D3M/src/funcs.cpp:299 #1 0x7f639eba2e98 in D3M_permCpp /data/gannet/ripley/R/packages/tests-gcc-SAN/D3M/src/RcppExports.cpp:72 #2 0x56f802 in R_doDotCall /data/gannet/ripley/R/svn/R-devel/src/main/dotcode.c:596 #3 0x578f80 in do_dotcall /data/gannet/ripley/R/svn/R-devel/src/main/dotcode.c:1252 #4 0x618d6c in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:6766 #5 0x644987 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:624 #6 0x649a75 in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1764 #7 0x62648b in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:6734 #8 0x644987 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:624 #9 0x649a75 in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1764 #10 0x62648b in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:6734 #11 0x644987 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:624 #12 0x649a75 in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1764 #13 0x644e76 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:747 #14 0x6b86ce in Rf_ReplIteration /data/gannet/ripley/R/svn/R-devel/src/main/main.c:258 #15 0x6b90b0 in R_ReplConsole /data/gannet/ripley/R/svn/R-devel/src/main/main.c:308 #16 0x6ba7c4 in run_Rmainloop /data/gannet/ripley/R/svn/R-devel/src/main/main.c:1082 #17 0x4210d8 in main /data/gannet/ripley/R/svn/R-devel/src/main/Rmain.c:29 #18 0x7f63ac082889 in __libc_start_main (/lib64/libc.so.6+0x20889) #19 0x4237f9 in _start (/data/gannet/ripley/R/gcc-SAN/bin/exec/R+0x4237f9) 0x6160000e3390 is located 0 bytes to the right of 528-byte region [0x6160000e3180,0x6160000e3390) allocated by thread T0 here: #0 0x7f63af95f850 in malloc (/lib64/libasan.so.4+0xde850) #1 0x6da637 in Rf_allocVector3 /data/gannet/ripley/R/svn/R-devel/src/main/memory.c:2709 SUMMARY: AddressSanitizer: heap-buffer-overflow /data/gannet/ripley/R/packages/tests-gcc-SAN/D3M/src/funcs.cpp:299 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 ==40888==ABORTING * DONE Status: 1 ERROR