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: NLS > ### Title: NLS > ### Aliases: NLS > > ### ** Examples > > data("fdat") > nls_phased1 <- NLS(fdat$frequency_domain) ================================================================= ==3372506==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x52e000203c48 at pc 0x7fa43a1e4a3b bp 0x7ffd7a53bcf0 sp 0x7ffd7a53bce8 READ of size 8 at 0x52e000203c48 thread T0 #0 0x7fa43a1e4a3a in localMaximumSlidingWindow /home/hornik/tmp/scratch/RtmpZfMPUX/R.INSTALL3347004a191836/MassSpecWavelet/src/find_local_maximum.c:492 #1 0x7fa45045c16c in R_doDotCall /home/hornik/src/R/src/main/dotcode.c:757 #2 0x7fa4505fdc56 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8672 #3 0x7fa4505d67ff in bcEval /home/hornik/src/R/src/main/eval.c:7505 #4 0x7fa450582952 in Rf_eval /home/hornik/src/R/src/main/eval.c:1167 #5 0x7fa45057c602 in R_execClosure /home/hornik/src/R/src/main/eval.c:2393 #6 0x7fa45058132a in applyClosure_core /home/hornik/src/R/src/main/eval.c:2306 #7 0x7fa450583231 in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2328 #8 0x7fa450583231 in Rf_eval /home/hornik/src/R/src/main/eval.c:1280 #9 0x7fa4505a16d6 in do_set /home/hornik/src/R/src/main/eval.c:3571 #10 0x7fa450583873 in Rf_eval /home/hornik/src/R/src/main/eval.c:1232 #11 0x7fa45071c5bc in Rf_ReplIteration /home/hornik/src/R/src/main/main.c:265 #12 0x7fa45071c5bc in R_ReplConsole /home/hornik/src/R/src/main/main.c:317 #13 0x7fa45072bdf3 in run_Rmainloop /home/hornik/src/R/src/main/main.c:1219 #14 0x55bab2b960c9 in main /home/hornik/src/R/src/main/Rmain.c:29 #15 0x7fa44ea33d67 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #16 0x7fa44ea33e24 in __libc_start_main_impl ../csu/libc-start.c:360 #17 0x55bab2b96110 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 0x7fa4520f4c77 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x7fa450784dd7 in Rf_allocVector3 /home/hornik/src/R/src/main/memory.c:2890 #2 0x7fa450a3be1c in Rf_allocVector /home/hornik/src/R/src/include/Rinlinedfuns.h:607 #3 0x7fa450a3be1c in MatrixSubset /home/hornik/src/R/src/main/subset.c:330 #4 0x7fa450a3be1c in do_subset_dflt /home/hornik/src/R/src/main/subset.c:892 #5 0x7fa4505e1bcc in bcEval_loop /home/hornik/src/R/src/main/eval.c:8269 #6 0x7fa4505d67ff in bcEval /home/hornik/src/R/src/main/eval.c:7505 #7 0x7fa450582952 in Rf_eval /home/hornik/src/R/src/main/eval.c:1167 #8 0x7fa45057c602 in R_execClosure /home/hornik/src/R/src/main/eval.c:2393 #9 0x7fa45058132a in applyClosure_core /home/hornik/src/R/src/main/eval.c:2306 #10 0x7fa450583231 in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2328 #11 0x7fa450583231 in Rf_eval /home/hornik/src/R/src/main/eval.c:1280 #12 0x7fa4505a16d6 in do_set /home/hornik/src/R/src/main/eval.c:3571 #13 0x7fa450583873 in Rf_eval /home/hornik/src/R/src/main/eval.c:1232 #14 0x7fa45071c5bc in Rf_ReplIteration /home/hornik/src/R/src/main/main.c:265 #15 0x7fa45071c5bc in R_ReplConsole /home/hornik/src/R/src/main/main.c:317 #16 0x7fa45072bdf3 in run_Rmainloop /home/hornik/src/R/src/main/main.c:1219 #17 0x55bab2b960c9 in main /home/hornik/src/R/src/main/Rmain.c:29 #18 0x7fa44ea33d67 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: heap-buffer-overflow /home/hornik/tmp/scratch/RtmpZfMPUX/R.INSTALL3347004a191836/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 ==3372506==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) ================================================================= ==3372528==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x52e000797c48 at pc 0x7efd8952fa3b bp 0x7ffe47ede400 sp 0x7ffe47ede3f8 READ of size 8 at 0x52e000797c48 thread T0 #0 0x7efd8952fa3a in localMaximumSlidingWindow /home/hornik/tmp/scratch/RtmpZfMPUX/R.INSTALL3347004a191836/MassSpecWavelet/src/find_local_maximum.c:492 #1 0x7efdad85c16c in R_doDotCall /home/hornik/src/R/src/main/dotcode.c:757 #2 0x7efdad9fdc56 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8672 #3 0x7efdad9d67ff in bcEval /home/hornik/src/R/src/main/eval.c:7505 #4 0x7efdad982952 in Rf_eval /home/hornik/src/R/src/main/eval.c:1167 #5 0x7efdad97c602 in R_execClosure /home/hornik/src/R/src/main/eval.c:2393 #6 0x7efdad98132a in applyClosure_core /home/hornik/src/R/src/main/eval.c:2306 #7 0x7efdad983231 in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2328 #8 0x7efdad983231 in Rf_eval /home/hornik/src/R/src/main/eval.c:1280 #9 0x7efdad999ce8 in applydefine /home/hornik/src/R/src/main/eval.c:3392 #10 0x7efdad983873 in Rf_eval /home/hornik/src/R/src/main/eval.c:1232 #11 0x7efdad9aad01 in do_eval /home/hornik/src/R/src/main/eval.c:3945 #12 0x7efdad9e9de0 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8122 #13 0x7efdad9d67ff in bcEval /home/hornik/src/R/src/main/eval.c:7505 #14 0x7efdad982952 in Rf_eval /home/hornik/src/R/src/main/eval.c:1167 #15 0x7efdada4857b in forcePromise.part.0.lto_priv.0 /home/hornik/src/R/src/main/eval.c:976 #16 0x7efdad98463e in forcePromise /home/hornik/src/R/src/main/eval.c:956 #17 0x7efdad98463e in Rf_eval /home/hornik/src/R/src/main/eval.c:1187 #18 0x7efdad9ae0d6 in do_withVisible /home/hornik/src/R/src/main/eval.c:3988 #19 0x7efdadb9f79a in do_internal /home/hornik/src/R/src/main/names.c:1410 #20 0x7efdad9e95c9 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8142 #21 0x7efdad9d67ff in bcEval /home/hornik/src/R/src/main/eval.c:7505 #22 0x7efdad982952 in Rf_eval /home/hornik/src/R/src/main/eval.c:1167 #23 0x7efdada4857b in forcePromise.part.0.lto_priv.0 /home/hornik/src/R/src/main/eval.c:976 #24 0x7efdad98463e in forcePromise /home/hornik/src/R/src/main/eval.c:956 #25 0x7efdad98463e in Rf_eval /home/hornik/src/R/src/main/eval.c:1187 #26 0x7efdada4857b in forcePromise.part.0.lto_priv.0 /home/hornik/src/R/src/main/eval.c:976 #27 0x7efdad9b8fff in forcePromise /home/hornik/src/R/src/main/eval.c:956 #28 0x7efdad9b8fff in getvar /home/hornik/src/R/src/main/eval.c:5839 #29 0x7efdad9fed18 in bcEval_loop /home/hornik/src/R/src/main/eval.c:7852 #30 0x7efdad9d67ff in bcEval /home/hornik/src/R/src/main/eval.c:7505 #31 0x7efdad982952 in Rf_eval /home/hornik/src/R/src/main/eval.c:1167 #32 0x7efdad97c602 in R_execClosure /home/hornik/src/R/src/main/eval.c:2393 #33 0x7efdad98132a in applyClosure_core /home/hornik/src/R/src/main/eval.c:2306 #34 0x7efdad983231 in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2328 #35 0x7efdad983231 in Rf_eval /home/hornik/src/R/src/main/eval.c:1280 #36 0x7efdad9aad01 in do_eval /home/hornik/src/R/src/main/eval.c:3945 #37 0x7efdad9e9de0 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8122 #38 0x7efdad9d67ff in bcEval /home/hornik/src/R/src/main/eval.c:7505 #39 0x7efdad982952 in Rf_eval /home/hornik/src/R/src/main/eval.c:1167 #40 0x7efdad97c602 in R_execClosure /home/hornik/src/R/src/main/eval.c:2393 #41 0x7efdad98132a in applyClosure_core /home/hornik/src/R/src/main/eval.c:2306 #42 0x7efdad983231 in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2328 #43 0x7efdad983231 in Rf_eval /home/hornik/src/R/src/main/eval.c:1280 #44 0x7efdad97c602 in R_execClosure /home/hornik/src/R/src/main/eval.c:2393 #45 0x7efdad98132a in applyClosure_core /home/hornik/src/R/src/main/eval.c:2306 #46 0x7efdad9ea28a in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2328 #47 0x7efdad9ea28a in bcEval_loop /home/hornik/src/R/src/main/eval.c:8093 #48 0x7efdad9d67ff in bcEval /home/hornik/src/R/src/main/eval.c:7505 #49 0x7efdad982952 in Rf_eval /home/hornik/src/R/src/main/eval.c:1167 #50 0x7efdad97c602 in R_execClosure /home/hornik/src/R/src/main/eval.c:2393 #51 0x7efdad98132a in applyClosure_core /home/hornik/src/R/src/main/eval.c:2306 #52 0x7efdad983231 in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2328 #53 0x7efdad983231 in Rf_eval /home/hornik/src/R/src/main/eval.c:1280 #54 0x7efdadb1c5bc in Rf_ReplIteration /home/hornik/src/R/src/main/main.c:265 #55 0x7efdadb1c5bc in R_ReplConsole /home/hornik/src/R/src/main/main.c:317 #56 0x7efdadb2bdf3 in run_Rmainloop /home/hornik/src/R/src/main/main.c:1219 #57 0x55833ffb70c9 in main /home/hornik/src/R/src/main/Rmain.c:29 #58 0x7efdabe33d67 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #59 0x7efdabe33e24 in __libc_start_main_impl ../csu/libc-start.c:360 #60 0x55833ffb7110 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 0x7efdaf4f4c77 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x7efdadb84dd7 in Rf_allocVector3 /home/hornik/src/R/src/main/memory.c:2890 #2 0x7efdade3be1c in Rf_allocVector /home/hornik/src/R/src/include/Rinlinedfuns.h:607 #3 0x7efdade3be1c in MatrixSubset /home/hornik/src/R/src/main/subset.c:330 #4 0x7efdade3be1c in do_subset_dflt /home/hornik/src/R/src/main/subset.c:892 #5 0x7efdad9e1bcc in bcEval_loop /home/hornik/src/R/src/main/eval.c:8269 #6 0x7efdad9d67ff in bcEval /home/hornik/src/R/src/main/eval.c:7505 #7 0x7efdad982952 in Rf_eval /home/hornik/src/R/src/main/eval.c:1167 #8 0x7efdad97c602 in R_execClosure /home/hornik/src/R/src/main/eval.c:2393 #9 0x7efdad98132a in applyClosure_core /home/hornik/src/R/src/main/eval.c:2306 #10 0x7efdad983231 in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2328 #11 0x7efdad983231 in Rf_eval /home/hornik/src/R/src/main/eval.c:1280 #12 0x7efdad999ce8 in applydefine /home/hornik/src/R/src/main/eval.c:3392 #13 0x7efdad983873 in Rf_eval /home/hornik/src/R/src/main/eval.c:1232 #14 0x7efdad9aad01 in do_eval /home/hornik/src/R/src/main/eval.c:3945 #15 0x7efdad9e9de0 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8122 #16 0x7efdad9d67ff in bcEval /home/hornik/src/R/src/main/eval.c:7505 #17 0x7efdad982952 in Rf_eval /home/hornik/src/R/src/main/eval.c:1167 #18 0x7efdada4857b in forcePromise.part.0.lto_priv.0 /home/hornik/src/R/src/main/eval.c:976 #19 0x7efdad98463e in forcePromise /home/hornik/src/R/src/main/eval.c:956 #20 0x7efdad98463e in Rf_eval /home/hornik/src/R/src/main/eval.c:1187 #21 0x7efdad9ae0d6 in do_withVisible /home/hornik/src/R/src/main/eval.c:3988 #22 0x7efdadb9f79a in do_internal /home/hornik/src/R/src/main/names.c:1410 #23 0x7efdad9e95c9 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8142 #24 0x7efdad9d67ff in bcEval /home/hornik/src/R/src/main/eval.c:7505 #25 0x7efdad982952 in Rf_eval /home/hornik/src/R/src/main/eval.c:1167 #26 0x7efdada4857b in forcePromise.part.0.lto_priv.0 /home/hornik/src/R/src/main/eval.c:976 #27 0x7efdad98463e in forcePromise /home/hornik/src/R/src/main/eval.c:956 #28 0x7efdad98463e in Rf_eval /home/hornik/src/R/src/main/eval.c:1187 #29 0x7efdada4857b in forcePromise.part.0.lto_priv.0 /home/hornik/src/R/src/main/eval.c:976 #30 0x7efdad9b8fff in forcePromise /home/hornik/src/R/src/main/eval.c:956 #31 0x7efdad9b8fff in getvar /home/hornik/src/R/src/main/eval.c:5839 #32 0x7efdad9fed18 in bcEval_loop /home/hornik/src/R/src/main/eval.c:7852 #33 0x7efdad9d67ff in bcEval /home/hornik/src/R/src/main/eval.c:7505 #34 0x7efdad982952 in Rf_eval /home/hornik/src/R/src/main/eval.c:1167 #35 0x7efdad97c602 in R_execClosure /home/hornik/src/R/src/main/eval.c:2393 SUMMARY: AddressSanitizer: heap-buffer-overflow /home/hornik/tmp/scratch/RtmpZfMPUX/R.INSTALL3347004a191836/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 ==3372528==ABORTING Post-processing issues found: File: NMRphasing-Ex.Rout ==3372506==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x52e000203c48 at pc 0x7fa43a1e4a3b bp 0x7ffd7a53bcf0 sp 0x7ffd7a53bce8 SUMMARY: AddressSanitizer: heap-buffer-overflow /home/hornik/tmp/scratch/RtmpZfMPUX/R.INSTALL3347004a191836/MassSpecWavelet/src/find_local_maximum.c:492 in localMaximumSlidingWindow ASan internal: fe File: build_vignettes.log ==3372528==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x52e000797c48 at pc 0x7efd8952fa3b bp 0x7ffe47ede400 sp 0x7ffe47ede3f8 SUMMARY: AddressSanitizer: heap-buffer-overflow /home/hornik/tmp/scratch/RtmpZfMPUX/R.INSTALL3347004a191836/MassSpecWavelet/src/find_local_maximum.c:492 in localMaximumSlidingWindow ASan internal: fe File: 00check.log ==3372506==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x52e000203c48 at pc 0x7fa43a1e4a3b bp 0x7ffd7a53bcf0 sp 0x7ffd7a53bce8 SUMMARY: AddressSanitizer: heap-buffer-overflow /home/hornik/tmp/scratch/RtmpZfMPUX/R.INSTALL3347004a191836/MassSpecWavelet/src/find_local_maximum.c:492 in localMaximumSlidingWindow ASan internal: fe ==3372528==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x52e000797c48 at pc 0x7efd8952fa3b bp 0x7ffe47ede400 sp 0x7ffe47ede3f8 SUMMARY: AddressSanitizer: heap-buffer-overflow /home/hornik/tmp/scratch/RtmpZfMPUX/R.INSTALL3347004a191836/MassSpecWavelet/src/find_local_maximum.c:492 in localMaximumSlidingWindow ASan internal: fe