* using log directory ‘/data/gannet/ripley/R/packages/tests-clang-SAN/gRapHD.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 ‘gRapHD/DESCRIPTION’ ... OK * this is package ‘gRapHD’ version ‘0.2.6’ * 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 ‘gRapHD’ can be installed ... [45s/45s] 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 contents of ‘data’ directory ... OK * checking compiled code ... OK * checking installed files from ‘inst/doc’ ... OK * checking examples ... ERROR Running examples in ‘gRapHD-Ex.R’ failed The error most likely occurred in: > ### Name: ccoeff > ### Title: Clustering coefficient > ### Aliases: ccoeff > ### Keywords: graphs > > ### ** Examples > > data(dsCont) > m <- minForest(dsCont,homog=TRUE,forbEdges=NULL,stat="BIC") > m1 <- stepw(m,dsCont) findEd.c:484:5: runtime error: index 33 out of bounds for type 'unsigned int *[p - 1]' SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior findEd.c:484:5 in ================================================================= ==11913==ERROR: AddressSanitizer: dynamic-stack-buffer-overflow on address 0x7fffed0b9e88 at pc 0x7f5313b727a9 bp 0x7fffed0b9d50 sp 0x7fffed0b9d48 WRITE of size 8 at 0x7fffed0b9e88 thread T0 #0 0x7f5313b727a8 in findEd /data/gannet/ripley/R/packages/tests-clang-SAN/gRapHD/src/findEd.c:484:15 #1 0x7ea5c0 in R_doDotCall /data/gannet/ripley/R/svn/R-devel/src/main/dotcode.c #2 0x85bf9d in do_dotcall /data/gannet/ripley/R/svn/R-devel/src/main/dotcode.c:1252:11 #3 0x9c66b6 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:6766:14 #4 0x9b0fad in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:624:8 #5 0xa2493b in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c #6 0x9d5e38 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:6734:12 #7 0x9b0fad in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:624:8 #8 0xa2493b in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c #9 0x9b2184 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:747:12 #10 0xa338dc in do_set /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2774:8 #11 0x9b1bbd in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:699:12 #12 0xb1e343 in Rf_ReplIteration /data/gannet/ripley/R/svn/R-devel/src/main/main.c:258:2 #13 0xb232c0 in R_ReplConsole /data/gannet/ripley/R/svn/R-devel/src/main/main.c:308:11 #14 0xb230a5 in run_Rmainloop /data/gannet/ripley/R/svn/R-devel/src/main/main.c:1082:5 #15 0x52a08a in main /data/gannet/ripley/R/svn/R-devel/src/main/Rmain.c:29:5 #16 0x7f5321a05889 in __libc_start_main (/lib64/libc.so.6+0x20889) #17 0x42d829 in _start (/data/gannet/ripley/R/R-clang-SAN/bin/exec/R+0x42d829) Address 0x7fffed0b9e88 is located in stack of thread T0 SUMMARY: AddressSanitizer: dynamic-stack-buffer-overflow /data/gannet/ripley/R/packages/tests-clang-SAN/gRapHD/src/findEd.c:484:15 in findEd Shadow bytes around the buggy address: 0x10007da0f380: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x10007da0f390: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x10007da0f3a0: 00 00 00 00 00 00 00 00 00 00 00 00 ca ca ca ca 0x10007da0f3b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x10007da0f3c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x10007da0f3d0: 00[cb]cb cb cb cb cb cb f1 f1 f1 f1 f8 f8 f8 f3 0x10007da0f3e0: f3 f3 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 0x10007da0f3f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x10007da0f400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x10007da0f410: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x10007da0f420: 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 ==11913==ABORTING * DONE Status: 1 ERROR