R Under development (unstable) (2026-07-30 r90321) -- "Unsuffered Consequences" Copyright (C) 2026 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > library(AddiVortes) > > test_check("AddiVortes") ================================================================= ==1526418==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x7b2f440fcaf4 at pc 0x7b0f39cca51a bp 0x7fff523f6140 sp 0x7fff523f6138 READ of size 4 at 0x7b2f440fcaf4 thread T0 #0 0x7b0f39cca519 in propose_internal /data/localhost/ripley/R/packages/tests-gcc-SAN/AddiVortes/src/addi_vortes_code.cpp:635 #1 0x7b0f39cdc206 in addi_vortes_mcmc_cpp /data/localhost/ripley/R/packages/tests-gcc-SAN/AddiVortes/src/addi_vortes_code.cpp:882 #2 0x00000075a325 in R_doDotCall /data/localhost/ripley/R/svn/R-devel/src/main/dotcode.c:868 #3 0x000000760b6a in do_dotcall /data/localhost/ripley/R/svn/R-devel/src/main/dotcode.c:1437 #4 0x0000008eb0fb in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8150 #5 0x0000008d5ffb in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7533 #6 0x00000087763a in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167 #7 0x00000088de4a in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2398 #8 0x000000891add in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2314 #9 0x000000877ce8 in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2333 #10 0x000000877ce8 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278 #11 0x0000008a601e in do_set /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3585 #12 0x000000878116 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1230 #13 0x00000088c4ae in do_begin /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3001 #14 0x000000878116 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1230 #15 0x0000008b03e9 in do_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3975 #16 0x0000008eb0fb in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8150 #17 0x0000008d5ffb in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7533 #18 0x00000087763a in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167 #19 0x00000088de4a in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2398 #20 0x000000891add in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2314 #21 0x000000877ce8 in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2333 #22 0x000000877ce8 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278 #23 0x0000008b10e2 in do_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3993 #24 0x0000008eb0fb in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8150 #25 0x0000008d5ffb in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7533 #26 0x00000087763a in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167 #27 0x00000088de4a in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2398 #28 0x000000891add in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2314 #29 0x000000893849 in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2333 #30 0x000000893849 in R_forceAndCall /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2465 #31 0x00000049fa67 in do_lapply /data/localhost/ripley/R/svn/R-devel/src/main/apply.c:75 #32 0x000000ab8a51 in do_internal /data/localhost/ripley/R/svn/R-devel/src/main/names.c:1425 #33 0x0000008f4e6c in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8170 #34 0x0000008d5ffb in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7533 #35 0x00000087763a in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167 #36 0x00000088de4a in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2398 #37 0x000000891add in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2314 #38 0x000000877ce8 in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2333 #39 0x000000877ce8 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278 #40 0x000000a1e808 in Rf_ReplIteration /data/localhost/ripley/R/svn/R-devel/src/main/main.c:264 #41 0x000000a1e808 in R_ReplConsole /data/localhost/ripley/R/svn/R-devel/src/main/main.c:317 #42 0x000000a3c49a in run_Rmainloop /data/localhost/ripley/R/svn/R-devel/src/main/main.c:1237 #43 0x000000a3c532 in Rf_mainloop /data/localhost/ripley/R/svn/R-devel/src/main/main.c:1244 #44 0x000000411faf in main /data/localhost/ripley/R/svn/R-devel/src/main/Rmain.c:29 #45 0x7f0f4760a680 in __libc_start_call_main (/lib64/libc.so.6+0x3680) (BuildId: 17f2e1fd905f485786f6fd6e3bede4ad737137e7) #46 0x7f0f4760a797 in __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x3797) (BuildId: 17f2e1fd905f485786f6fd6e3bede4ad737137e7) #47 0x000000412974 in _start (/data/localhost/ripley/R/gcc-SAN3/bin/exec/R+0x412974) (BuildId: 9a0292c0829a34bb33a0ca68af22051b50ef2371) 0x7b2f440fcaf4 is located 0 bytes after 4-byte region [0x7b2f440fcaf0,0x7b2f440fcaf4) allocated by thread T0 here: #0 0x7f0f48ef04ff in operator new(unsigned long) (/lib64/libasan.so.8+0xf04ff) (BuildId: 5395ec74f54d9ec7bf97c06583dd39a96c230822) #1 0x7b0f39cebca5 in std::__new_allocator::allocate(unsigned long, void const*) /usr/include/c++/16/bits/new_allocator.h:162 #2 0x7b0f39cebca5 in std::allocator::allocate(unsigned long) /usr/include/c++/16/bits/allocator.h:206 #3 0x7b0f39cebca5 in std::allocator_traits >::allocate(std::allocator&, unsigned long) /usr/include/c++/16/bits/alloc_traits.h:638 #4 0x7b0f39cebca5 in std::_Vector_base >::_M_allocate(unsigned long) /usr/include/c++/16/bits/stl_vector.h:389 #5 0x7b0f39cebca5 in std::_Vector_base >::_M_allocate(unsigned long) /usr/include/c++/16/bits/stl_vector.h:386 #6 0x7b0f39cebca5 in int* std::vector >::_M_allocate_and_copy(unsigned long, int*, int*) /usr/include/c++/16/bits/stl_vector.h:1900 #7 0x7b0f39cebca5 in void std::vector >::_M_assign_aux(int*, int*, std::forward_iterator_tag) [clone .isra.0] /usr/include/c++/16/bits/vector.tcc:335 #8 0x7b0f39cda3f7 in void std::vector >::assign(int*, int*) /usr/include/c++/16/bits/stl_vector.h:886 #9 0x7b0f39cda3f7 in addi_vortes_mcmc_cpp /data/localhost/ripley/R/packages/tests-gcc-SAN/AddiVortes/src/addi_vortes_code.cpp:790 #10 0x00000075a325 in R_doDotCall /data/localhost/ripley/R/svn/R-devel/src/main/dotcode.c:868 #11 0x000000760b6a in do_dotcall /data/localhost/ripley/R/svn/R-devel/src/main/dotcode.c:1437 #12 0x0000008eb0fb in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8150 #13 0x0000008d5ffb in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7533 #14 0x00000087763a in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167 #15 0x00000088de4a in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2398 #16 0x000000891add in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2314 #17 0x000000877ce8 in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2333 #18 0x000000877ce8 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278 #19 0x0000008a601e in do_set /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3585 #20 0x000000878116 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1230 #21 0x00000088c4ae in do_begin /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3001 #22 0x000000878116 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1230 #23 0x0000008b03e9 in do_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3975 #24 0x0000008eb0fb in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8150 #25 0x0000008d5ffb in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7533 #26 0x00000087763a in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167 #27 0x00000088de4a in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2398 #28 0x000000891add in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2314 #29 0x000000877ce8 in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2333 #30 0x000000877ce8 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278 #31 0x0000008b10e2 in do_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3993 #32 0x0000008eb0fb in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8150 #33 0x0000008d5ffb in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7533 #34 0x00000087763a in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167 #35 0x00000088de4a in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2398 #36 0x000000891add in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2314 #37 0x000000893849 in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2333 #38 0x000000893849 in R_forceAndCall /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2465 #39 0x00000049fa67 in do_lapply /data/localhost/ripley/R/svn/R-devel/src/main/apply.c:75 SUMMARY: AddressSanitizer: heap-buffer-overflow /data/localhost/ripley/R/packages/tests-gcc-SAN/AddiVortes/src/addi_vortes_code.cpp:635 in propose_internal Shadow bytes around the buggy address: 0x7b2f440fc800: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fd 0x7b2f440fc880: fa fa fd fa fa fa fd fd fa fa fd fa fa fa fd fd 0x7b2f440fc900: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa 0x7b2f440fc980: fa fa fd fa fa fa fd fd fa fa fd fa fa fa fd fd 0x7b2f440fca00: fa fa 00 fa fa fa 00 fa fa fa 04 fa fa fa 04 fa =>0x7b2f440fca80: fa fa 00 fa fa fa 00 fa fa fa fd fa fa fa[04]fa 0x7b2f440fcb00: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa 0x7b2f440fcb80: fa fa fd fa fa fa fd fa fa fa fd fd fa fa fd fd 0x7b2f440fcc00: fa fa fd fd fa fa fd fa fa fa fd fa fa fa fd fd 0x7b2f440fcc80: fa fa fd fa fa fa 00 00 fa fa fd fd fa fa fd fa 0x7b2f440fcd00: fa fa fd fa fa fa fd fd fa fa fd fd fa fa 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 ==1526418==ABORTING