Package check result: ERROR Check: examples, Result: ERROR Running examples in ‘NMRphasing-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: MPC_ADSM > ### Title: MPC_ADSM > ### Aliases: MPC_ADSM > > ### ** Examples > > data("fdat") > mpc_dsm_phased1 <- MPC_ADSM(fdat$frequency_domain) ================================================================= ==3188343==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x52e000203c48 at pc 0x7f09c1ffea3b bp 0x7fffadd3fd70 sp 0x7fffadd3fd68 READ of size 8 at 0x52e000203c48 thread T0 #0 0x7f09c1ffea3a in localMaximumSlidingWindow /home/hornik/tmp/scratch/RtmpkOLGwo/R.INSTALL3076a14957c33a/MassSpecWavelet/src/find_local_maximum.c:492 #1 0x7f09d7e5c16c in R_doDotCall /home/hornik/src/R/src/main/dotcode.c:757 #2 0x7f09d7ffdc56 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8672 #3 0x7f09d7fd67ff in bcEval /home/hornik/src/R/src/main/eval.c:7505 #4 0x7f09d7f82952 in Rf_eval /home/hornik/src/R/src/main/eval.c:1167 #5 0x7f09d7f7c602 in R_execClosure /home/hornik/src/R/src/main/eval.c:2393 #6 0x7f09d7f8132a in applyClosure_core /home/hornik/src/R/src/main/eval.c:2306 #7 0x7f09d7f83231 in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2328 #8 0x7f09d7f83231 in Rf_eval /home/hornik/src/R/src/main/eval.c:1280 #9 0x7f09d7fa16d6 in do_set /home/hornik/src/R/src/main/eval.c:3571 #10 0x7f09d7f83873 in Rf_eval /home/hornik/src/R/src/main/eval.c:1232 #11 0x7f09d811c5bc in Rf_ReplIteration /home/hornik/src/R/src/main/main.c:265 #12 0x7f09d811c5bc in R_ReplConsole /home/hornik/src/R/src/main/main.c:317 #13 0x7f09d812bdf3 in run_Rmainloop /home/hornik/src/R/src/main/main.c:1219 #14 0x55ba3d9b80c9 in main /home/hornik/src/R/src/main/Rmain.c:29 #15 0x7f09d6433d67 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #16 0x7f09d6433e24 in __libc_start_main_impl ../csu/libc-start.c:360 #17 0x55ba3d9b8110 in _start (/home/hornik/tmp/R-d-gcc-xtra/bin/exec/R+0x1110) (BuildId: 66592a328da23f759444d5aec64b7ce5ae5a5f76) 0x52e000203c48 is located 0 bytes after 47176-byte region [0x52e0001f8400,0x52e000203c48) allocated by thread T0 here: #0 0x7f09d9af4c77 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x7f09d8184dd7 in Rf_allocVector3 /home/hornik/src/R/src/main/memory.c:2890 #2 0x7f09d843be1c in Rf_allocVector /home/hornik/src/R/src/include/Rinlinedfuns.h:607 #3 0x7f09d843be1c in MatrixSubset /home/hornik/src/R/src/main/subset.c:330 #4 0x7f09d843be1c in do_subset_dflt /home/hornik/src/R/src/main/subset.c:892 #5 0x7f09d7fe1bcc in bcEval_loop /home/hornik/src/R/src/main/eval.c:8269 #6 0x7f09d7fd67ff in bcEval /home/hornik/src/R/src/main/eval.c:7505 #7 0x7f09d7f82952 in Rf_eval /home/hornik/src/R/src/main/eval.c:1167 #8 0x7f09d7f7c602 in R_execClosure /home/hornik/src/R/src/main/eval.c:2393 #9 0x7f09d7f8132a in applyClosure_core /home/hornik/src/R/src/main/eval.c:2306 #10 0x7f09d7f83231 in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2328 #11 0x7f09d7f83231 in Rf_eval /home/hornik/src/R/src/main/eval.c:1280 #12 0x7f09d7fa16d6 in do_set /home/hornik/src/R/src/main/eval.c:3571 #13 0x7f09d7f83873 in Rf_eval /home/hornik/src/R/src/main/eval.c:1232 #14 0x7f09d811c5bc in Rf_ReplIteration /home/hornik/src/R/src/main/main.c:265 #15 0x7f09d811c5bc in R_ReplConsole /home/hornik/src/R/src/main/main.c:317 #16 0x7f09d812bdf3 in run_Rmainloop /home/hornik/src/R/src/main/main.c:1219 #17 0x55ba3d9b80c9 in main /home/hornik/src/R/src/main/Rmain.c:29 #18 0x7f09d6433d67 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: heap-buffer-overflow /home/hornik/tmp/scratch/RtmpkOLGwo/R.INSTALL3076a14957c33a/MassSpecWavelet/src/find_local_maximum.c:492 in localMaximumSlidingWindow Shadow bytes around the buggy address: 0x52e000203980: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x52e000203a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x52e000203a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x52e000203b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x52e000203b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x52e000203c00: 00 00 00 00 00 00 00 00 00[fa]fa fa fa fa fa fa 0x52e000203c80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x52e000203d00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x52e000203d80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x52e000203e00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x52e000203e80: 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 ==3188343==ABORTING Check: re-building of vignette outputs, Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘NMRphasing_vignette.rmd’ using rmarkdown ** Processing: /home/hornik/tmp/CRAN_special_gcc-san/NMRphasing.Rcheck/vign_test/NMRphasing/vignettes/NMRphasing_vignette_files/figure-html/unnamed-chunk-4-1.png 600x600 pixels, 8 bits/pixel, 256 colors in palette Reducing image to 8 bits/pixel, grayscale Input IDAT size = 21949 bytes Input file size = 22831 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 19770 zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 19448 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 IDAT size = 16942 zc = 9 zm = 8 zs = 1 f = 5 IDAT size = 16672 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 1 f = 5 IDAT size = 16672 Output IDAT size = 16672 bytes (5277 bytes decrease) Output file size = 16750 bytes (6081 bytes = 26.63% decrease) ================================================================= ==3188365==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x52e000797c48 at pc 0x7fe189392a3b bp 0x7ffddc636080 sp 0x7ffddc636078 READ of size 8 at 0x52e000797c48 thread T0 #0 0x7fe189392a3a in localMaximumSlidingWindow /home/hornik/tmp/scratch/RtmpkOLGwo/R.INSTALL3076a14957c33a/MassSpecWavelet/src/find_local_maximum.c:492 #1 0x7fe1ad65c16c in R_doDotCall /home/hornik/src/R/src/main/dotcode.c:757 #2 0x7fe1ad7fdc56 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8672 #3 0x7fe1ad7d67ff in bcEval /home/hornik/src/R/src/main/eval.c:7505 #4 0x7fe1ad782952 in Rf_eval /home/hornik/src/R/src/main/eval.c:1167 #5 0x7fe1ad77c602 in R_execClosure /home/hornik/src/R/src/main/eval.c:2393 #6 0x7fe1ad78132a in applyClosure_core /home/hornik/src/R/src/main/eval.c:2306 #7 0x7fe1ad783231 in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2328 #8 0x7fe1ad783231 in Rf_eval /home/hornik/src/R/src/main/eval.c:1280 #9 0x7fe1ad799ce8 in applydefine /home/hornik/src/R/src/main/eval.c:3392 #10 0x7fe1ad783873 in Rf_eval /home/hornik/src/R/src/main/eval.c:1232 #11 0x7fe1ad7aad01 in do_eval /home/hornik/src/R/src/main/eval.c:3945 #12 0x7fe1ad7e9de0 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8122 #13 0x7fe1ad7d67ff in bcEval /home/hornik/src/R/src/main/eval.c:7505 #14 0x7fe1ad782952 in Rf_eval /home/hornik/src/R/src/main/eval.c:1167 #15 0x7fe1ad84857b in forcePromise.part.0.lto_priv.0 /home/hornik/src/R/src/main/eval.c:976 #16 0x7fe1ad78463e in forcePromise /home/hornik/src/R/src/main/eval.c:956 #17 0x7fe1ad78463e in Rf_eval /home/hornik/src/R/src/main/eval.c:1187 #18 0x7fe1ad7ae0d6 in do_withVisible /home/hornik/src/R/src/main/eval.c:3988 #19 0x7fe1ad99f79a in do_internal /home/hornik/src/R/src/main/names.c:1410 #20 0x7fe1ad7e95c9 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8142 #21 0x7fe1ad7d67ff in bcEval /home/hornik/src/R/src/main/eval.c:7505 #22 0x7fe1ad782952 in Rf_eval /home/hornik/src/R/src/main/eval.c:1167 #23 0x7fe1ad84857b in forcePromise.part.0.lto_priv.0 /home/hornik/src/R/src/main/eval.c:976 #24 0x7fe1ad78463e in forcePromise /home/hornik/src/R/src/main/eval.c:956 #25 0x7fe1ad78463e in Rf_eval /home/hornik/src/R/src/main/eval.c:1187 #26 0x7fe1ad84857b in forcePromise.part.0.lto_priv.0 /home/hornik/src/R/src/main/eval.c:976 #27 0x7fe1ad7b8fff in forcePromise /home/hornik/src/R/src/main/eval.c:956 #28 0x7fe1ad7b8fff in getvar /home/hornik/src/R/src/main/eval.c:5839 #29 0x7fe1ad7fed18 in bcEval_loop /home/hornik/src/R/src/main/eval.c:7852 #30 0x7fe1ad7d67ff in bcEval /home/hornik/src/R/src/main/eval.c:7505 #31 0x7fe1ad782952 in Rf_eval /home/hornik/src/R/src/main/eval.c:1167 #32 0x7fe1ad77c602 in R_execClosure /home/hornik/src/R/src/main/eval.c:2393 #33 0x7fe1ad78132a in applyClosure_core /home/hornik/src/R/src/main/eval.c:2306 #34 0x7fe1ad783231 in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2328 #35 0x7fe1ad783231 in Rf_eval /home/hornik/src/R/src/main/eval.c:1280 #36 0x7fe1ad7aad01 in do_eval /home/hornik/src/R/src/main/eval.c:3945 #37 0x7fe1ad7e9de0 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8122 #38 0x7fe1ad7d67ff in bcEval /home/hornik/src/R/src/main/eval.c:7505 #39 0x7fe1ad782952 in Rf_eval /home/hornik/src/R/src/main/eval.c:1167 #40 0x7fe1ad77c602 in R_execClosure /home/hornik/src/R/src/main/eval.c:2393 #41 0x7fe1ad78132a in applyClosure_core /home/hornik/src/R/src/main/eval.c:2306 #42 0x7fe1ad783231 in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2328 #43 0x7fe1ad783231 in Rf_eval /home/hornik/src/R/src/main/eval.c:1280 #44 0x7fe1ad77c602 in R_execClosure /home/hornik/src/R/src/main/eval.c:2393 #45 0x7fe1ad78132a in applyClosure_core /home/hornik/src/R/src/main/eval.c:2306 #46 0x7fe1ad7ea28a in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2328 #47 0x7fe1ad7ea28a in bcEval_loop /home/hornik/src/R/src/main/eval.c:8093 #48 0x7fe1ad7d67ff in bcEval /home/hornik/src/R/src/main/eval.c:7505 #49 0x7fe1ad782952 in Rf_eval /home/hornik/src/R/src/main/eval.c:1167 #50 0x7fe1ad77c602 in R_execClosure /home/hornik/src/R/src/main/eval.c:2393 #51 0x7fe1ad78132a in applyClosure_core /home/hornik/src/R/src/main/eval.c:2306 #52 0x7fe1ad783231 in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2328 #53 0x7fe1ad783231 in Rf_eval /home/hornik/src/R/src/main/eval.c:1280 #54 0x7fe1ad91c5bc in Rf_ReplIteration /home/hornik/src/R/src/main/main.c:265 #55 0x7fe1ad91c5bc in R_ReplConsole /home/hornik/src/R/src/main/main.c:317 #56 0x7fe1ad92bdf3 in run_Rmainloop /home/hornik/src/R/src/main/main.c:1219 #57 0x55bcac2fe0c9 in main /home/hornik/src/R/src/main/Rmain.c:29 #58 0x7fe1abc33d67 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #59 0x7fe1abc33e24 in __libc_start_main_impl ../csu/libc-start.c:360 #60 0x55bcac2fe110 in _start (/home/hornik/tmp/R-d-gcc-xtra/bin/exec/R+0x1110) (BuildId: 66592a328da23f759444d5aec64b7ce5ae5a5f76) 0x52e000797c48 is located 0 bytes after 47176-byte region [0x52e00078c400,0x52e000797c48) allocated by thread T0 here: #0 0x7fe1af2f4c77 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x7fe1ad984dd7 in Rf_allocVector3 /home/hornik/src/R/src/main/memory.c:2890 #2 0x7fe1adc3be1c in Rf_allocVector /home/hornik/src/R/src/include/Rinlinedfuns.h:607 #3 0x7fe1adc3be1c in MatrixSubset /home/hornik/src/R/src/main/subset.c:330 #4 0x7fe1adc3be1c in do_subset_dflt /home/hornik/src/R/src/main/subset.c:892 #5 0x7fe1ad7e1bcc in bcEval_loop /home/hornik/src/R/src/main/eval.c:8269 #6 0x7fe1ad7d67ff in bcEval /home/hornik/src/R/src/main/eval.c:7505 #7 0x7fe1ad782952 in Rf_eval /home/hornik/src/R/src/main/eval.c:1167 #8 0x7fe1ad77c602 in R_execClosure /home/hornik/src/R/src/main/eval.c:2393 #9 0x7fe1ad78132a in applyClosure_core /home/hornik/src/R/src/main/eval.c:2306 #10 0x7fe1ad783231 in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2328 #11 0x7fe1ad783231 in Rf_eval /home/hornik/src/R/src/main/eval.c:1280 #12 0x7fe1ad799ce8 in applydefine /home/hornik/src/R/src/main/eval.c:3392 #13 0x7fe1ad783873 in Rf_eval /home/hornik/src/R/src/main/eval.c:1232 #14 0x7fe1ad7aad01 in do_eval /home/hornik/src/R/src/main/eval.c:3945 #15 0x7fe1ad7e9de0 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8122 #16 0x7fe1ad7d67ff in bcEval /home/hornik/src/R/src/main/eval.c:7505 #17 0x7fe1ad782952 in Rf_eval /home/hornik/src/R/src/main/eval.c:1167 #18 0x7fe1ad84857b in forcePromise.part.0.lto_priv.0 /home/hornik/src/R/src/main/eval.c:976 #19 0x7fe1ad78463e in forcePromise /home/hornik/src/R/src/main/eval.c:956 #20 0x7fe1ad78463e in Rf_eval /home/hornik/src/R/src/main/eval.c:1187 #21 0x7fe1ad7ae0d6 in do_withVisible /home/hornik/src/R/src/main/eval.c:3988 #22 0x7fe1ad99f79a in do_internal /home/hornik/src/R/src/main/names.c:1410 #23 0x7fe1ad7e95c9 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8142 #24 0x7fe1ad7d67ff in bcEval /home/hornik/src/R/src/main/eval.c:7505 #25 0x7fe1ad782952 in Rf_eval /home/hornik/src/R/src/main/eval.c:1167 #26 0x7fe1ad84857b in forcePromise.part.0.lto_priv.0 /home/hornik/src/R/src/main/eval.c:976 #27 0x7fe1ad78463e in forcePromise /home/hornik/src/R/src/main/eval.c:956 #28 0x7fe1ad78463e in Rf_eval /home/hornik/src/R/src/main/eval.c:1187 #29 0x7fe1ad84857b in forcePromise.part.0.lto_priv.0 /home/hornik/src/R/src/main/eval.c:976 #30 0x7fe1ad7b8fff in forcePromise /home/hornik/src/R/src/main/eval.c:956 #31 0x7fe1ad7b8fff in getvar /home/hornik/src/R/src/main/eval.c:5839 #32 0x7fe1ad7fed18 in bcEval_loop /home/hornik/src/R/src/main/eval.c:7852 #33 0x7fe1ad7d67ff in bcEval /home/hornik/src/R/src/main/eval.c:7505 #34 0x7fe1ad782952 in Rf_eval /home/hornik/src/R/src/main/eval.c:1167 #35 0x7fe1ad77c602 in R_execClosure /home/hornik/src/R/src/main/eval.c:2393 SUMMARY: AddressSanitizer: heap-buffer-overflow /home/hornik/tmp/scratch/RtmpkOLGwo/R.INSTALL3076a14957c33a/MassSpecWavelet/src/find_local_maximum.c:492 in localMaximumSlidingWindow Shadow bytes around the buggy address: 0x52e000797980: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x52e000797a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x52e000797a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x52e000797b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x52e000797b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x52e000797c00: 00 00 00 00 00 00 00 00 00[fa]fa fa fa fa fa fa 0x52e000797c80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x52e000797d00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x52e000797d80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x52e000797e00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x52e000797e80: 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 ==3188365==ABORTING Post-processing issues found: File: NMRphasing-Ex.Rout ==3188343==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x52e000203c48 at pc 0x7f09c1ffea3b bp 0x7fffadd3fd70 sp 0x7fffadd3fd68 SUMMARY: AddressSanitizer: heap-buffer-overflow /home/hornik/tmp/scratch/RtmpkOLGwo/R.INSTALL3076a14957c33a/MassSpecWavelet/src/find_local_maximum.c:492 in localMaximumSlidingWindow ASan internal: fe File: build_vignettes.log ==3188365==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x52e000797c48 at pc 0x7fe189392a3b bp 0x7ffddc636080 sp 0x7ffddc636078 SUMMARY: AddressSanitizer: heap-buffer-overflow /home/hornik/tmp/scratch/RtmpkOLGwo/R.INSTALL3076a14957c33a/MassSpecWavelet/src/find_local_maximum.c:492 in localMaximumSlidingWindow ASan internal: fe File: 00check.log ==3188343==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x52e000203c48 at pc 0x7f09c1ffea3b bp 0x7fffadd3fd70 sp 0x7fffadd3fd68 SUMMARY: AddressSanitizer: heap-buffer-overflow /home/hornik/tmp/scratch/RtmpkOLGwo/R.INSTALL3076a14957c33a/MassSpecWavelet/src/find_local_maximum.c:492 in localMaximumSlidingWindow ASan internal: fe ==3188365==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x52e000797c48 at pc 0x7fe189392a3b bp 0x7ffddc636080 sp 0x7ffddc636078 SUMMARY: AddressSanitizer: heap-buffer-overflow /home/hornik/tmp/scratch/RtmpkOLGwo/R.INSTALL3076a14957c33a/MassSpecWavelet/src/find_local_maximum.c:492 in localMaximumSlidingWindow ASan internal: fe