* using log directory ‘/data/gannet/ripley/R/packages/tests-gcc-SAN/SemiSupervised.Rcheck’ * using R Under development (unstable) (2018-06-02 r74838) * using platform: x86_64-pc-linux-gnu (64-bit) * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘SemiSupervised/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘SemiSupervised’ version ‘1.0’ * 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 ‘SemiSupervised’ can be installed ... [25s/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 contents of ‘data’ directory ... OK * checking compiled code ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... ERROR Running examples in ‘SemiSupervised-Ex.R’ failed The error most likely occurred in: > ### Name: AnchorGraph > ### Title: Generate an Anchor Graph from an n x p data matrix > ### Aliases: AnchorGraph getAnchor > ### Keywords: classes models methods > > ### ** Examples > > ## Set up Sonar data with 20% labeled > library(mlbench) > data(Sonar) > > n=dim(Sonar)[1] > p=dim(Sonar)[2] > > nu=0.2 > set.seed(100) > L=sort(sample(1:n,ceiling(nu*n))) > U=setdiff(1:n,L) > > y.true<-Sonar$Class > Sonar$Class[U]=NA > > g.agraph1<-agraph(Class~.,data=Sonar) ================================================================= ==33212==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x625003768818 at pc 0x7f899c47546b bp 0x7ffe303839b0 sp 0x7ffe303839a0 READ of size 4 at 0x625003768818 thread T0 #0 0x7f899c47546a in AREG_CV /data/gannet/ripley/R/packages/tests-gcc-SAN/SemiSupervised/src/Anchor_Reg.c:56 #1 0x56fcaa in R_doDotCall /data/gannet/ripley/R/svn/R-devel/src/main/dotcode.c:617 #2 0x5797a0 in do_dotcall /data/gannet/ripley/R/svn/R-devel/src/main/dotcode.c:1252 #3 0x6198d4 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:6776 #4 0x645717 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:624 #5 0x64a845 in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1768 #6 0x645c06 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:747 #7 0x4ee22c in do_docall /data/gannet/ripley/R/svn/R-devel/src/main/coerce.c:2590 #8 0x6198d4 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:6776 #9 0x645717 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:624 #10 0x64a845 in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1768 #11 0x628125 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:6744 #12 0x645717 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:624 #13 0x64a845 in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1768 #14 0x628125 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:6744 #15 0x645717 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:624 #16 0x64a845 in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1768 #17 0x645c06 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:747 #18 0x651cd3 in do_set /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2782 #19 0x64627c in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:699 #20 0x64e7f3 in do_begin /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2399 #21 0x64627c in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:699 #22 0x64627c in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:699 #23 0x64e7f3 in do_begin /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2399 #24 0x64627c in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:699 #25 0x64a845 in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1768 #26 0x628125 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:6744 #27 0x645717 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:624 #28 0x64a845 in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1768 #29 0x64d2e7 in R_execMethod /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1938 #30 0x7f899e04bce6 in R_dispatchGeneric /data/gannet/ripley/R/svn/R-devel/src/library/methods/src/methods_list_dispatch.c:1065 #31 0x6ec9b7 in do_standardGeneric /data/gannet/ripley/R/svn/R-devel/src/main/objects.c:1283 #32 0x626c80 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:6733 #33 0x645717 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:624 #34 0x64a845 in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1768 #35 0x645c06 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:747 #36 0x651cd3 in do_set /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2782 #37 0x64627c in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:699 #38 0x6b98ae in Rf_ReplIteration /data/gannet/ripley/R/svn/R-devel/src/main/main.c:258 #39 0x6ba290 in R_ReplConsole /data/gannet/ripley/R/svn/R-devel/src/main/main.c:308 #40 0x6bb9a4 in run_Rmainloop /data/gannet/ripley/R/svn/R-devel/src/main/main.c:1082 #41 0x421198 in main /data/gannet/ripley/R/svn/R-devel/src/main/Rmain.c:29 #42 0x7f89a9528889 in __libc_start_main (/lib64/libc.so.6+0x20889) #43 0x423899 in _start (/data/gannet/ripley/R/gcc-SAN/bin/exec/R+0x423899) 0x625003768818 is located 0 bytes to the right of 7960-byte region [0x625003766900,0x625003768818) allocated by thread T0 here: #0 0x7f89ace04850 in malloc (/lib64/libasan.so.4+0xde850) #1 0x6d84de in GetNewPage /data/gannet/ripley/R/svn/R-devel/src/main/memory.c:888 SUMMARY: AddressSanitizer: heap-buffer-overflow /data/gannet/ripley/R/packages/tests-gcc-SAN/SemiSupervised/src/Anchor_Reg.c:56 in AREG_CV Shadow bytes around the buggy address: 0x0c4a806e50b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c4a806e50c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c4a806e50d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c4a806e50e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c4a806e50f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x0c4a806e5100: 00 00 00[fa]fa fa fa fa fa fa fa fa fa fa fa fa 0x0c4a806e5110: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c4a806e5120: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c4a806e5130: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c4a806e5140: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c4a806e5150: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 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 ==33212==ABORTING * checking package vignettes in ‘inst/doc’ ... OK * checking re-building of vignette outputs ... OK * DONE Status: 1 ERROR