--- re-building ‘clustur.Rmd’ using rmarkdown ================================================================= ==52181==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x611000251477 at pc 0x00011f90c7e4 bp 0x00016d6a2180 sp 0x00016d6a2178 READ of size 1 at 0x611000251477 thread T0 #0 0x00011f90c7e0 in std::__1::basic_string, std::__1::allocator>::__is_long[abi:nqe220106]() const string:2153 #1 0x00011f90c7e0 in std::__1::basic_string, std::__1::allocator>::size[abi:nqe220106]() const string:1301 #2 0x00011fabd890 in bool std::__1::operator==[abi:nqe220106], std::__1::allocator>(std::__1::basic_string, std::__1::allocator> const&, std::__1::basic_string, std::__1::allocator> const&) string:3575 #3 0x00011fabd890 in SensSpecCalc::SensSpecCalc(OptiData const&, ListVector const*) SensSpecCalc.cpp:36 #4 0x00011f9352d8 in ClusterSplit::cluster(SplitClusterData*) const ClusterSplit.cpp:206 #5 0x00011f930a48 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) ClusterSplit.cpp:160 #6 0x00011f92ee28 in ClusterSplit::Execute() ClusterSplit.cpp:41 #7 0x00011fb003f4 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&) executeClusterMethods.cpp:322 #8 0x00011fab2390 in _clustur_OptiSplit RcppExports.cpp:183 #9 0x000103d92470 in R_doDotCall dotcode.c #10 0x000103e21150 in do_dotcall dotcode.c:1454 #11 0x000103fd158c in bcEval_loop eval.c:8154 #12 0x000103f7ce10 in bcEval eval.c:7537 #13 0x000103f7aea8 in Rf_eval eval.c:1167 #14 0x000103f85454 in R_execClosure eval.c:2400 #15 0x000103f80a54 in applyClosure_core eval.c:2316 #16 0x000103f7ebbc in Rf_applyClosure eval.c:2335 #17 0x000103f7b8d0 in Rf_eval eval.c:1278 #18 0x000103f93efc in do_set eval.c:3587 #19 0x000103f7b304 in Rf_eval eval.c:1230 #20 0x000103f9a08c in do_eval eval.c:3977 #21 0x000103fd158c in bcEval_loop eval.c:8154 #22 0x000103f7ce10 in bcEval eval.c:7537 #23 0x000103f7aea8 in Rf_eval eval.c:1167 #24 0x000103f7d260 in forcePromise eval.c:976 #25 0x000103f7b7d4 in Rf_eval eval.c:1185 #26 0x000103f9ba7c in do_withVisible eval.c:4020 #27 0x0001041582c0 in do_internal names.c:1425 #28 0x000103fbfa54 in bcEval_loop eval.c:8174 #29 0x000103f7ce10 in bcEval eval.c:7537 #30 0x000103f7aea8 in Rf_eval eval.c:1167 #31 0x000103f7d260 in forcePromise eval.c:976 #32 0x000103f7b7d4 in Rf_eval eval.c:1185 #33 0x000103f7d260 in forcePromise eval.c:976 #34 0x000104038d3c in getvar eval.c:5869 #35 0x000103ff2a48 in bcEval_loop eval.c:7884 #36 0x000103f7ce10 in bcEval eval.c:7537 #37 0x000103f7aea8 in Rf_eval eval.c:1167 #38 0x000103f85454 in R_execClosure eval.c:2400 #39 0x000103f80a54 in applyClosure_core eval.c:2316 #40 0x000103f7ebbc in Rf_applyClosure eval.c:2335 #41 0x000103f7b8d0 in Rf_eval eval.c:1278 #42 0x000103f9a08c in do_eval eval.c:3977 #43 0x000103fd158c in bcEval_loop eval.c:8154 #44 0x000103f7ce10 in bcEval eval.c:7537 #45 0x000103f7aea8 in Rf_eval eval.c:1167 #46 0x000103f85454 in R_execClosure eval.c:2400 #47 0x000103f80a54 in applyClosure_core eval.c:2316 #48 0x000103f7ebbc in Rf_applyClosure eval.c:2335 #49 0x000103f7b8d0 in Rf_eval eval.c:1278 #50 0x000103f85454 in R_execClosure eval.c:2400 #51 0x000103f80a54 in applyClosure_core eval.c:2316 #52 0x000103fdd314 in Rf_applyClosure eval.c:2335 #53 0x000103fdd314 in bcEval_loop eval.c:8125 #54 0x000103f7ce10 in bcEval eval.c:7537 #55 0x000103f7aea8 in Rf_eval eval.c:1167 #56 0x000103f85454 in R_execClosure eval.c:2400 #57 0x000103f80a54 in applyClosure_core eval.c:2316 #58 0x000103f7ebbc in Rf_applyClosure eval.c:2335 #59 0x000103f7b8d0 in Rf_eval eval.c:1278 #60 0x0001040db5ac in Rf_ReplIteration main.c:264 #61 0x0001040df8bc in R_ReplConsole main.c:319 #62 0x0001040df6d0 in run_Rmainloop main.c:1239 #63 0x0001040df9b8 in Rf_mainloop main.c:1246 #64 0x00010274d5f0 in main Rmain.c:29 #65 0x000190298d78 in start+0x19f8 (dyld:arm64e+0x31d78) 0x611000251477 is located 23 bytes after 224-byte region [0x611000251380,0x611000251460) allocated by thread T0 here: #0 0x000104f3c150 in _Znwm+0x74 (libclang_rt.asan_osx_dynamic.dylib:arm64e+0x50150) #1 0x00011fa1cafc in std::__1::pair, std::__1::allocator>, long long>* std::__1::__libcpp_allocate[abi:nqe220106], std::__1::allocator>, long long>>(std::__1::__element_count, unsigned long) allocate.h:60 #2 0x00011fa1cafc in std::__1::allocator, std::__1::allocator>, long long>>::allocate[abi:nqe220106](unsigned long) allocator.h:92 #3 0x00011fa1cafc in std::__1::__allocation_result, std::__1::allocator>, long long>>>::pointer, std::__1::allocator_traits, std::__1::allocator>, long long>>>::size_type> std::__1::__allocate_at_least[abi:nqe220106], std::__1::allocator>, long long>>, std::__1::allocator_traits, std::__1::allocator>, long long>>>>(std::__1::allocator, std::__1::allocator>, long long>>&, unsigned long) allocate_at_least.h:46 #4 0x00011fa1cafc in std::__1::vector, std::__1::allocator>, long long>, std::__1::allocator, std::__1::allocator>, long long>>>::__vallocate[abi:nqe220106](unsigned long) vector.h:597 #5 0x00011fa1c9b0 in std::__1::vector, std::__1::allocator>, long long>, std::__1::allocator, std::__1::allocator>, long long>>>::vector[abi:nqe220106](unsigned long) vector.h:150 #6 0x00011fa0fdc4 in std::__1::vector, std::__1::allocator>, long long>, std::__1::allocator, std::__1::allocator>, long long>>>::vector[abi:nqe220106](unsigned long) vector.h:147 #7 0x00011fa0fdc4 in OptiData::getNameIndexMap() const OptiData.h:109 #8 0x00011fabd6f4 in SensSpecCalc::SensSpecCalc(OptiData const&, ListVector const*) SensSpecCalc.cpp:20 #9 0x00011f9352d8 in ClusterSplit::cluster(SplitClusterData*) const ClusterSplit.cpp:206 #10 0x00011f930a48 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) ClusterSplit.cpp:160 #11 0x00011f92ee28 in ClusterSplit::Execute() ClusterSplit.cpp:41 #12 0x00011fb003f4 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&) executeClusterMethods.cpp:322 #13 0x00011fab2390 in _clustur_OptiSplit RcppExports.cpp:183 #14 0x000103d92470 in R_doDotCall dotcode.c #15 0x000103e21150 in do_dotcall dotcode.c:1454 #16 0x000103fd158c in bcEval_loop eval.c:8154 #17 0x000103f7ce10 in bcEval eval.c:7537 #18 0x000103f7aea8 in Rf_eval eval.c:1167 #19 0x000103f85454 in R_execClosure eval.c:2400 #20 0x000103f80a54 in applyClosure_core eval.c:2316 #21 0x000103f7ebbc in Rf_applyClosure eval.c:2335 #22 0x000103f7b8d0 in Rf_eval eval.c:1278 #23 0x000103f93efc in do_set eval.c:3587 #24 0x000103f7b304 in Rf_eval eval.c:1230 #25 0x000103f9a08c in do_eval eval.c:3977 #26 0x000103fd158c in bcEval_loop eval.c:8154 #27 0x000103f7ce10 in bcEval eval.c:7537 #28 0x000103f7aea8 in Rf_eval eval.c:1167 #29 0x000103f7d260 in forcePromise eval.c:976 #30 0x000103f7b7d4 in Rf_eval eval.c:1185 #31 0x000103f9ba7c in do_withVisible eval.c:4020 #32 0x0001041582c0 in do_internal names.c:1425 #33 0x000103fbfa54 in bcEval_loop eval.c:8174 SUMMARY: AddressSanitizer: heap-buffer-overflow string:2153 in std::__1::basic_string, std::__1::allocator>::__is_long[abi:nqe220106]() const Shadow bytes around the buggy address: 0x611000251180: fd fd fd fd fd fd fd fd fd fd fd fa fa fa fa fa 0x611000251200: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd 0x611000251280: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x611000251300: fd fd fd fa fa fa fa fa fa fa fa fa fa fa fa fa 0x611000251380: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x611000251400: 00 00 00 00 00 00 00 00 00 00 00 00 fa fa[fa]fa 0x611000251480: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd 0x611000251500: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x611000251580: fd fd fd fd fd fd fd fd fa fa fa fa fa fa fa fa 0x611000251600: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x611000251680: 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 ==52181==ABORTING