--- re-building ‘clustur.Rmd’ using rmarkdown ================================================================= ==2370863==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x7cfb02efcae0 at pc 0x7beaef344909 bp 0x7ffe8adbf890 sp 0x7ffe8adbf888 READ of size 1 at 0x7cfb02efcae0 thread T0 #0 0x7beaef344908 in std::__1::basic_string, std::__1::allocator>::__is_long[abi:nqe230105]() const /usr/local/clang23/bin/../include/c++/v1/string:2053:23 #1 0x7beaef344908 in std::__1::basic_string, std::__1::allocator>::size[abi:nqe230105]() const /usr/local/clang23/bin/../include/c++/v1/string:1207:12 #2 0x7beaef344908 in bool std::__1::operator==[abi:nqe230105], std::__1::allocator>(std::__1::basic_string, std::__1::allocator> const&, std::__1::basic_string, std::__1::allocator> const&) /usr/local/clang23/bin/../include/c++/v1/string:3503:27 #3 0x7beaef344908 in SensSpecCalc::SensSpecCalc(OptiData const&, ListVector const*) /data/localhost/ripley/R/packages/tests-clang-ASAN/clustur/src/SensSpecCalc.cpp:36:39 #4 0x7beaef225f83 in ClusterSplit::cluster(SplitClusterData*) const /data/localhost/ripley/R/packages/tests-clang-ASAN/clustur/src/ClusterSplit.cpp:206:17 #5 0x7beaef220820 in ClusterSplit::createProcesses(std::__1::vector>&, std::__1::set, std::__1::allocator>, std::__1::less, std::__1::allocator>>, std::__1::allocator, std::__1::allocator>>>&, unsigned long) /data/localhost/ripley/R/packages/tests-clang-ASAN/clustur/src/ClusterSplit.cpp:160:5 #6 0x7beaef21f044 in ClusterSplit::Execute() /data/localhost/ripley/R/packages/tests-clang-ASAN/clustur/src/ClusterSplit.cpp:41:49 #7 0x7beaef3761e9 in OptiSplit(Rcpp::DataFrame_Impl const&, Rcpp::DataFrame_Impl const&, Rcpp::DataFrame_Impl const&, std::__1::basic_string, std::__1::allocator> const&, std::__1::basic_string, std::__1::allocator> const&, std::__1::basic_string, std::__1::allocator> const&, double, int, int, int, std::__1::basic_string, std::__1::allocator> const&, double, int, int, std::__1::basic_string, std::__1::allocator> const&, std::__1::basic_string, std::__1::allocator> const&) /data/localhost/ripley/R/packages/tests-clang-ASAN/clustur/src/executeClusterMethods.cpp:322:34 #8 0x7beaef338a48 in _clustur_OptiSplit /data/localhost/ripley/R/packages/tests-clang-ASAN/clustur/src/RcppExports.cpp:183:34 #9 0x563f0857e817 in R_doDotCall /data/localhost/ripley/R/svn/R-devel/src/main/dotcode.c #10 0x563f0858a5a5 in do_dotcall /data/localhost/ripley/R/svn/R-devel/src/main/dotcode.c:1454:11 #11 0x563f0863ad7a in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8155:14 #12 0x563f0862e304 in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7537:16 #13 0x563f0862c891 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167:8 #14 0x563f0867531c in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2400:39 #15 0x563f08674478 in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2316:16 #16 0x563f0862f94e in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2335:16 #17 0x563f0862d2b8 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278:12 #18 0x563f086864b5 in do_set /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3587:8 #19 0x563f0862cdd0 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1230:12 #20 0x563f0868af33 in do_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3977:13 #21 0x563f0863ad7a in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8155:14 #22 0x563f0862e304 in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7537:16 #23 0x563f0862c891 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167:8 #24 0x563f0862eb9a in forcePromise /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:976:13 #25 0x563f0862ca85 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1185:6 #26 0x563f0868c163 in do_withVisible /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:4020:9 #27 0x563f08735809 in do_internal /data/localhost/ripley/R/svn/R-devel/src/main/names.c:1425:11 #28 0x563f08640583 in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8175:15 #29 0x563f0862e304 in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7537:16 #30 0x563f0862c891 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167:8 #31 0x563f0862eb9a in forcePromise /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:976:13 #32 0x563f0862ca85 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1185:6 #33 0x563f0862eb9a in forcePromise /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:976:13 #34 0x563f0865991d in getvar /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:5869:6 #35 0x563f0865991d in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7885:20 #36 0x563f0862e304 in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7537:16 #37 0x563f0862c891 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167:8 #38 0x563f0867531c in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2400:39 #39 0x563f08674478 in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2316:16 #40 0x563f0862f94e in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2335:16 #41 0x563f0862d2b8 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278:12 #42 0x563f0868af33 in do_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3977:13 #43 0x563f0863ad7a in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8155:14 #44 0x563f0862e304 in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7537:16 #45 0x563f0862c891 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167:8 #46 0x563f0867531c in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2400:39 #47 0x563f08674478 in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2316:16 #48 0x563f0862f94e in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2335:16 #49 0x563f0862d2b8 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278:12 #50 0x563f0867531c in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2400:39 #51 0x563f08674478 in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2316:16 #52 0x563f0864e62c in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2335:16 #53 0x563f0864e62c in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8126:16 #54 0x563f0862e304 in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7537:16 #55 0x563f0862c891 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167:8 #56 0x563f0867531c in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2400:39 #57 0x563f08674478 in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2316:16 #58 0x563f0862f94e in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2335:16 #59 0x563f0862d2b8 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278:12 #60 0x563f086fed61 in Rf_ReplIteration /data/localhost/ripley/R/svn/R-devel/src/main/main.c:264:23 #61 0x563f08701590 in R_ReplConsole /data/localhost/ripley/R/svn/R-devel/src/main/main.c:319:11 #62 0x563f08701590 in run_Rmainloop /data/localhost/ripley/R/svn/R-devel/src/main/main.c:1239:5 #63 0x563f08701622 in Rf_mainloop /data/localhost/ripley/R/svn/R-devel/src/main/main.c:1246:5 #64 0x563f083fea9c in main /data/localhost/ripley/R/svn/R-devel/src/main/Rmain.c:29:5 #65 0x7feb0670b680 in __libc_start_call_main (/lib64/libc.so.6+0x3680) (BuildId: 85075e2ae2e13352a1413d41c327dacf6461526c) #66 0x7feb0670b797 in __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x3797) (BuildId: 85075e2ae2e13352a1413d41c327dacf6461526c) #67 0x563f0830e7d4 in _start (/data/localhost/ripley/R/clang-ASAN/bin/exec/R+0x17d4) 0x7cfb02efcae0 is located 0 bytes after 224-byte region [0x7cfb02efca00,0x7cfb02efcae0) allocated by thread T0 here: #0 0x563f083bce44 in malloc /data/localhost/ripley/Sources/LLVM/23/latest/compiler-rt/lib/asan/asan_malloc_linux.cpp:109:3 #1 0x7feb0422027b in operator new(unsigned long) (/lib64/libstdc++.so.6+0x2027b) (BuildId: 1acb19d34793ce46d919b6e25693a5592ba8fbd4) #2 0x7beaef2b246e in OptiData::getNameIndexMap() const /data/localhost/ripley/R/packages/tests-clang-ASAN/clustur/src/./DataStructures/OptiData.h:109:56 #3 0x7beaef3440cd in SensSpecCalc::SensSpecCalc(OptiData const&, ListVector const*) /data/localhost/ripley/R/packages/tests-clang-ASAN/clustur/src/SensSpecCalc.cpp:20:81 #4 0x7beaef225f83 in ClusterSplit::cluster(SplitClusterData*) const /data/localhost/ripley/R/packages/tests-clang-ASAN/clustur/src/ClusterSplit.cpp:206:17 #5 0x7beaef220820 in ClusterSplit::createProcesses(std::__1::vector>&, std::__1::set, std::__1::allocator>, std::__1::less, std::__1::allocator>>, std::__1::allocator, std::__1::allocator>>>&, unsigned long) /data/localhost/ripley/R/packages/tests-clang-ASAN/clustur/src/ClusterSplit.cpp:160:5 #6 0x7beaef21f044 in ClusterSplit::Execute() /data/localhost/ripley/R/packages/tests-clang-ASAN/clustur/src/ClusterSplit.cpp:41:49 #7 0x7beaef3761e9 in OptiSplit(Rcpp::DataFrame_Impl const&, Rcpp::DataFrame_Impl const&, Rcpp::DataFrame_Impl const&, std::__1::basic_string, std::__1::allocator> const&, std::__1::basic_string, std::__1::allocator> const&, std::__1::basic_string, std::__1::allocator> const&, double, int, int, int, std::__1::basic_string, std::__1::allocator> const&, double, int, int, std::__1::basic_string, std::__1::allocator> const&, std::__1::basic_string, std::__1::allocator> const&) /data/localhost/ripley/R/packages/tests-clang-ASAN/clustur/src/executeClusterMethods.cpp:322:34 #8 0x7beaef338a48 in _clustur_OptiSplit /data/localhost/ripley/R/packages/tests-clang-ASAN/clustur/src/RcppExports.cpp:183:34 #9 0x563f0857e817 in R_doDotCall /data/localhost/ripley/R/svn/R-devel/src/main/dotcode.c #10 0x563f0858a5a5 in do_dotcall /data/localhost/ripley/R/svn/R-devel/src/main/dotcode.c:1454:11 #11 0x563f0863ad7a in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8155:14 #12 0x563f0862e304 in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7537:16 #13 0x563f0862c891 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167:8 #14 0x563f0867531c in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2400:39 #15 0x563f08674478 in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2316:16 #16 0x563f0862f94e in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2335:16 #17 0x563f0862d2b8 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278:12 #18 0x563f086864b5 in do_set /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3587:8 #19 0x563f0862cdd0 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1230:12 #20 0x563f0868af33 in do_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3977:13 #21 0x563f0863ad7a in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8155:14 #22 0x563f0862e304 in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7537:16 #23 0x563f0862c891 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167:8 #24 0x563f0862eb9a in forcePromise /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:976:13 #25 0x563f0862ca85 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1185:6 #26 0x563f0868c163 in do_withVisible /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:4020:9 #27 0x563f08735809 in do_internal /data/localhost/ripley/R/svn/R-devel/src/main/names.c:1425:11 #28 0x563f08640583 in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8175:15 #29 0x563f0862e304 in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7537:16 SUMMARY: AddressSanitizer: heap-buffer-overflow /data/localhost/ripley/R/packages/tests-clang-ASAN/clustur/src/SensSpecCalc.cpp:36:39 in SensSpecCalc::SensSpecCalc(OptiData const&, ListVector const*) Shadow bytes around the buggy address: 0x7cfb02efc800: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7cfb02efc880: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7cfb02efc900: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7cfb02efc980: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7cfb02efca00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x7cfb02efca80: 00 00 00 00 00 00 00 00 00 00 00 00[fa]fa fa fa 0x7cfb02efcb00: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd 0x7cfb02efcb80: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x7cfb02efcc00: fd fd fd fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7cfb02efcc80: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x7cfb02efcd00: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 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 ==2370863==ABORTING