* using log directory ‘/data/gannet/ripley/R/packages/tests-clang-ASAN/ernest.Rcheck’ * using R Under development (unstable) (2026-06-29 r90199) * using platform: x86_64-pc-linux-gnu * R was compiled by clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1) flang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1) * running under: Fedora Linux 42 (Workstation Edition) * using session charset: UTF-8 * current time: 2026-06-30 15:03:39 UTC * using option ‘--no-stop-on-test-error’ * checking for file ‘ernest/DESCRIPTION’ ... OK * this is package ‘ernest’ version ‘1.2.4’ * package encoding: UTF-8 * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package ‘ernest’ can be installed ... [196s/102s] OK * used C++ compiler: ‘clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)’ * checking package directory ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking compiled code ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [20s/20s] ERROR Running examples in ‘ernest-Ex.R’ failed The error most likely occurred in: > ### Name: generate.ernest_sampler > ### Title: Run nested sampling to estimate Bayesian evidence > ### Aliases: generate.ernest_sampler ernest_run generate.ernest_run > > ### ** Examples > > prior <- create_uniform_prior(lower = c(-1, -1), upper = 1) > ll_fn <- function(x) -sum(x^2) > sampler <- ernest_sampler(ll_fn, prior, nlive = 100) > sampler Nested sampling run specification: * No. points: 100 * Sampling method: 25-step random walk sampling (acceptance target = 50%) * Prior: uniform prior distribution with 2 dimensions (Uniform_1 and Uniform_2) > > # Stop sampling after a set number of iterations or likelihood evaluations. > generate(sampler, max_iterations = 100) ================================================================= ==2695709==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x7c8a1cc9fbd0 at pc 0x7b0a0a9772ca bp 0x7ffd45599ef0 sp 0x7ffd45599ee8 READ of size 8 at 0x7c8a1cc9fbd0 thread T0 #0 0x7b0a0a9772c9 in cpp11::r_vector::operator[](long) const /data/gannet/ripley/R/test-clang/cpp11/include/cpp11/r_vector.hpp:470:54 #1 0x7b0a0a9772c9 in cpp11::r_vector::const_iterator::operator*() const /data/gannet/ripley/R/test-clang/cpp11/include/cpp11/r_vector.hpp:753:19 #2 0x7b0a0a9772c9 in get_points(cpp11::r_vector, int, bool) /data/gannet/ripley/R/packages/tests-clang-ASAN/ernest/src/exported_utils.cpp:23:28 #3 0x7b0a0a90861f in _ernest_get_points /data/gannet/ripley/R/packages/tests-clang-ASAN/ernest/src/cpp11.cpp:19:27 #4 0x5638b2d0c2e4 in R_doDotCall /data/gannet/ripley/R/svn/R-devel/src/main/dotcode.c:760:11 #5 0x5638b2dd2c7d in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:8700:21 #6 0x5638b2dbacc4 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7533:16 #7 0x5638b2db9251 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8 #8 0x5638b2e019ec in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2398:39 #9 0x5638b2e00ba8 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2314:16 #10 0x5638b2dbc30e in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2333:16 #11 0x5638b2ec7d64 in dispatchMethod /data/gannet/ripley/R/svn/R-devel/src/main/objects.c:473:16 #12 0x5638b2ec6874 in Rf_usemethod /data/gannet/ripley/R/svn/R-devel/src/main/objects.c:513:10 #13 0x5638b2ec8fc3 in do_usemethod /data/gannet/ripley/R/svn/R-devel/src/main/objects.c:579:9 #14 0x5638b2dccee3 in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:8170:15 #15 0x5638b2dbacc4 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7533:16 #16 0x5638b2db9251 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8 #17 0x5638b2e019ec in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2398:39 #18 0x5638b2e00ba8 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2314:16 #19 0x5638b2dbc30e in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2333:16 #20 0x5638b2db9c78 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1278:12 #21 0x5638b2e8ab31 in Rf_ReplIteration /data/gannet/ripley/R/svn/R-devel/src/main/main.c:264:23 #22 0x5638b2e8d360 in R_ReplConsole /data/gannet/ripley/R/svn/R-devel/src/main/main.c:317:11 #23 0x5638b2e8d360 in run_Rmainloop /data/gannet/ripley/R/svn/R-devel/src/main/main.c:1235:5 #24 0x5638b2e8d3f2 in Rf_mainloop /data/gannet/ripley/R/svn/R-devel/src/main/main.c:1242:5 #25 0x5638b2b8ed3c in main /data/gannet/ripley/R/svn/R-devel/src/main/Rmain.c:29:5 #26 0x7f0a20212574 in __libc_start_call_main (/lib64/libc.so.6+0x3574) (BuildId: 92b5376d35bb29c098175948cf3e7cbcae3aeae1) #27 0x7f0a20212627 in __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x3627) (BuildId: 92b5376d35bb29c098175948cf3e7cbcae3aeae1) #28 0x5638b2aa67d4 in _start (/data/gannet/ripley/R/clang-ASAN/bin/exec/R+0x17d4) 0x7c8a1cc9fbd0 is located 0 bytes after 848-byte region [0x7c8a1cc9f880,0x7c8a1cc9fbd0) allocated by thread T0 here: #0 0x5638b2b4bbb4 in malloc /home/runner/work/llvm-project/llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cpp:67:3 #1 0x5638b2e95bcc in Rf_allocVector3 /data/gannet/ripley/R/svn/R-devel/src/main/memory.c:2894:7 #2 0x5638b2ec084f in Rf_allocVector /data/gannet/ripley/R/svn/R-devel/src/include/Rinlinedfuns.h:609:12 #3 0x5638b2ec084f in R_allocResizableVector /data/gannet/ripley/R/svn/R-devel/src/main/memory.c:5072:16 #4 0x7b0a0bd02f83 in vec_slice_base (/data/gannet/ripley/R/test-clang/vctrs/libs/vctrs.so+0x6ef83) SUMMARY: AddressSanitizer: heap-buffer-overflow /data/gannet/ripley/R/test-clang/cpp11/include/cpp11/r_vector.hpp:470:54 in cpp11::r_vector::operator[](long) const Shadow bytes around the buggy address: 0x7c8a1cc9f900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7c8a1cc9f980: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7c8a1cc9fa00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7c8a1cc9fa80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7c8a1cc9fb00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x7c8a1cc9fb80: 00 00 00 00 00 00 00 00 00 00[fa]fa fa fa fa fa 0x7c8a1cc9fc00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7c8a1cc9fc80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7c8a1cc9fd00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7c8a1cc9fd80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7c8a1cc9fe00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 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 ==2695709==ABORTING * checking tests ... [121s/65s] ERROR Running ‘testthat.R’ [120s/64s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(ernest) > > test_check("ernest") Starting 2 test processes. > test-nested_sampling_impl.R: ================================================================= > test-nested_sampling_impl.R: ==2698132==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x7d3eae28bf68 at pc 0x7afe9b61a2ca bp 0x7ffd6ef43ab0 sp 0x7ffd6ef43aa8 > test-nested_sampling_impl.R: READ of size 8 at 0x7d3eae28bf68 thread T0 > test-nested_sampling_impl.R: #0 0x7afe9b61a2c9 in cpp11::r_vector::operator[](long) const /data/gannet/ripley/R/test-clang/cpp11/include/cpp11/r_vector.hpp:470:54 > test-nested_sampling_impl.R: #1 0x7afe9b61a2c9 in cpp11::r_vector::const_iterator::operator*() const /data/gannet/ripley/R/test-clang/cpp11/include/cpp11/r_vector.hpp:753:19 > test-nested_sampling_impl.R: #2 0x7afe9b61a2c9 in get_points(cpp11::r_vector, int, bool) /data/gannet/ripley/R/packages/tests-clang-ASAN/ernest/src/exported_utils.cpp:23:28 > test-nested_sampling_impl.R: #3 0x7afe9b5ab61f in _ernest_get_points /data/gannet/ripley/R/packages/tests-clang-ASAN/ernest/src/cpp11.cpp:19:27 > test-nested_sampling_impl.R: #4 0x5570072e42e4 in R_doDotCall /data/gannet/ripley/R/svn/R-devel/src/main/dotcode.c:760:11 > test-nested_sampling_impl.R: #5 0x5570073aac7d in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:8700:21 > test-nested_sampling_impl.R: #6 0x557007392cc4 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7533:16 > test-nested_sampling_impl.R: #7 0x557007391251 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8 > test-nested_sampling_impl.R: #8 0x5570073d99ec in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2398:39 > test-nested_sampling_impl.R: #9 0x5570073d8ba8 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2314:16 > test-nested_sampling_impl.R: #10 0x55700739430e in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2333:16 > test-nested_sampling_impl.R: #11 0x55700749fd64 in dispatchMethod /data/gannet/ripley/R/svn/R-devel/src/main/objects.c:473:16 > test-nested_sampling_impl.R: #12 0x55700749e874 in Rf_usemethod /data/gannet/ripley/R/svn/R-devel/src/main/objects.c:513:10 > test-nested_sampling_impl.R: #13 0x5570074a0fc3 in do_usemethod /data/gannet/ripley/R/svn/R-devel/src/main/objects.c:579:9 > test-nested_sampling_impl.R: #14 0x5570073a4ee3 in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:8170:15 > test-nested_sampling_impl.R: #15 0x557007392cc4 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7533:16 > test-nested_sampling_impl.R: #16 0x557007391251 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8 > test-nested_sampling_impl.R: #17 0x5570073d99ec in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2398:39 > test-nested_sampling_impl.R: #18 0x5570073d8ba8 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2314:16 > test-nested_sampling_impl.R: #19 0x55700739430e in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2333:16 > test-nested_sampling_impl.R: #20 0x557007391c78 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1278:12 > test-nested_sampling_impl.R: #21 0x5570072db2b5 in do_External /data/gannet/ripley/R/svn/R-devel/src/main/dotcode.c:573:11 > test-nested_sampling_impl.R: #22 0x55700739f6ca in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:8150:14 > test-nested_sampling_impl.R: #23 0x557007392cc4 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7533:16 > test-nested_sampling_impl.R: #24 0x557007391251 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8 > test-nested_sampling_impl.R: #25 0x5570073d99ec in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2398:39 > test-nested_sampling_impl.R: #26 0x5570073d8ba8 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2314:16 > test-nested_sampling_impl.R: #27 0x55700739430e in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2333:16 > test-nested_sampling_impl.R: #28 0x557007391c78 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1278:12 > test-nested_sampling_impl.R: #29 0x5570073eab15 in do_set /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:3585:8 > test-nested_sampling_impl.R: #30 0x557007391790 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1230:12 > test-nested_sampling_impl.R: #31 0x5570073e81b9 in do_begin /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:3001:10 > test-nested_sampling_impl.R: #32 0x557007391790 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1230:12 > test-nested_sampling_impl.R: #33 0x5570073d99ec in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2398:39 > test-nested_sampling_impl.R: #34 0x5570073d8ba8 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2314:16 > test-nested_sampling_impl.R: #35 0x55700739430e in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2333:16 > test-nested_sampling_impl.R: #36 0x557007391c78 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1278:12 > test-nested_sampling_impl.R: #37 0x5570073e81b9 in do_begin /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:3001:10 > test-nested_sampling_impl.R: #38 0x557007391790 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1230:12 > test-nested_sampling_impl.R: #39 0x5570073d99ec in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2398:39 > test-nested_sampling_impl.R: #40 0x5570073d8ba8 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2314:16 > test-nested_sampling_impl.R: #41 0x55700739430e in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2333:16 > test-nested_sampling_impl.R: #42 0x557007391c78 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1278:12 > test-nested_sampling_impl.R: #43 0x5570073eab15 in do_set /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:3585:8 > test-nested_sampling_impl.R: #44 0x557007391790 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1230:12 > test-nested_sampling_impl.R: #45 0x5570073eff0a in do_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:3993:9 > test-nested_sampling_impl.R: #46 0x55700739f6ca in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:8150:14 > test-nested_sampling_impl.R: #47 0x557007392cc4 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7533:16 > test-nested_sampling_impl.R: #48 0x557007391251 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8 > test-nested_sampling_impl.R: #49 0x5570073d99ec in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2398:39 > test-nested_sampling_impl.R: #50 0x5570073d8ba8 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2314:16 > test-nested_sampling_impl.R: #51 0x55700739430e in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2333:16 > test-nested_sampling_impl.R: #52 0x557007391c78 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1278:12 > test-nested_sampling_impl.R: #53 0x5570073e81b9 in do_begin /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:3001:10 > test-nested_sampling_impl.R: #54 0x557007391790 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1230:12 > test-nested_sampling_impl.R: #55 0x5570073d99ec in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2398:39 > test-nested_sampling_impl.R: #56 0x5570073d8ba8 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2314:16 > test-nested_sampling_impl.R: #57 0x55700739430e in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2333:16 > test-nested_sampling_impl.R: #58 0x557007391c78 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1278:12 > test-nested_sampling_impl.R: #59 0x557007247abc in do_docall /data/gannet/ripley/R/svn/R-devel/src/main/coerce.c:2788:12 > test-nested_sampling_impl.R: #60 0x55700739f6ca in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:8150:14 > test-nested_sampling_impl.R: #61 0x557007392cc4 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7533:16 > test-nested_sampling_impl.R: #62 0x557007391251 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8 > test-nested_sampling_impl.R: #63 0x5570073d99ec in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2398:39 > test-nested_sampling_impl.R: #64 0x5570073d8ba8 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2314:16 > test-nested_sampling_impl.R: #65 0x55700739430e in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2333:16 > test-nested_sampling_impl.R: #66 0x557007391c78 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1278:12 > test-nested_sampling_impl.R: #67 0x557007247abc in do_docall /data/gannet/ripley/R/svn/R-devel/src/main/coerce.c:2788:12 > test-nested_sampling_impl.R: #68 0x55700739f6ca in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:8150:14 > test-nested_sampling_impl.R: #69 0x557007392cc4 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7533:16 > test-nested_sampling_impl.R: #70 0x557007391251 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8 > test-nested_sampling_impl.R: #71 0x5570073d99ec in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2398:39 > test-nested_sampling_impl.R: #72 0x5570073d8ba8 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2314:16 > test-nested_sampling_impl.R: #73 0x55700739430e in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2333:16 > test-nested_sampling_impl.R: #74 0x557007391c78 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1278:12 > test-nested_sampling_impl.R: #75 0x55700739355a in forcePromise /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:976:13 > test-nested_sampling_impl.R: #76 0x5570073be101 in getvar /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:5867:6 > test-nested_sampling_impl.R: #77 0x5570073be101 in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7880:20 > test-nested_sampling_impl.R: #78 0x557007392cc4 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7533:16 > test-nested_sampling_impl.R: #79 0x557007391251 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8 > test-nested_sampling_impl.R: #80 0x5570073d99ec in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2398:39 > test-nested_sampling_impl.R: #81 0x5570073d8ba8 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2314:16 > test-nested_sampling_impl.R: #82 0x55700739430e in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2333:16 > test-nested_sampling_impl.R: #83 0x557007391c78 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1278:12 > test-nested_sampling_impl.R: #84 0x5570073e81b9 in do_begin /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:3001:10 > test-nested_sampling_impl.R: #85 0x557007391790 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1230:12 > test-nested_sampling_impl.R: #86 0x55700739355a in forcePromise /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:976:13 > test-nested_sampling_impl.R: #87 0x5570073be101 in getvar /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:5867:6 > test-nested_sampling_impl.R: #88 0x5570073be101 in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7880:20 > test-nested_sampling_impl.R: #89 0x557007392cc4 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7533:16 > test-nested_sampling_impl.R: #90 0x557007391251 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8 > test-nested_sampling_impl.R: #91 0x5570073d99ec in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2398:39 > test-nested_sampling_impl.R: #92 0x5570073d8ba8 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2314:16 > test-nested_sampling_impl.R: #93 0x55700739430e in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2333:16 > test-nested_sampling_impl.R: #94 0x557007391c78 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1278:12 > test-nested_sampling_impl.R: #95 0x55700739355a in forcePromise /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:976:13 > test-nested_sampling_impl.R: #96 0x5570073be101 in getvar /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:5867:6 > test-nested_sampling_impl.R: #97 0x5570073be101 in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7880:20 > test-nested_sampling_impl.R: #98 0x557007392cc4 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7533:16 > test-nested_sampling_impl.R: #99 0x557007391251 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8 > test-nested_sampling_impl.R: #100 0x5570073d99ec in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2398:39 > test-nested_sampling_impl.R: #101 0x5570073d8ba8 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2314:16 > test-nested_sampling_impl.R: #102 0x55700739430e in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2333:16 > test-nested_sampling_impl.R: #103 0x557007391c78 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1278:12 > test-nested_sampling_impl.R: #104 0x5570073e81b9 in do_begin /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:3001:10 > test-nested_sampling_impl.R: #105 0x557007391790 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1230:12 > test-nested_sampling_impl.R: #106 0x557007462b31 in Rf_ReplIteration /data/gannet/ripley/R/svn/R-devel/src/main/main.c:264:23 > test-nested_sampling_impl.R: #107 0x557007465360 in R_ReplConsole /data/gannet/ripley/R/svn/R-devel/src/main/main.c:317:11 > test-nested_sampling_impl.R: #108 0x557007465360 in run_Rmainloop /data/gannet/ripley/R/svn/R-devel/src/main/main.c:1235:5 > test-nested_sampling_impl.R: #109 0x5570074653f2 in Rf_mainloop /data/gannet/ripley/R/svn/R-devel/src/main/main.c:1242:5 > test-nested_sampling_impl.R: #110 0x557007166d3c in main /data/gannet/ripley/R/svn/R-devel/src/main/Rmain.c:29:5 > test-nested_sampling_impl.R: #111 0x7efeb0c12574 in __libc_start_call_main (/lib64/libc.so.6+0x3574) (BuildId: 92b5376d35bb29c098175948cf3e7cbcae3aeae1) > test-nested_sampling_impl.R: #112 0x7efeb0c12627 in __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x3627) (BuildId: 92b5376d35bb29c098175948cf3e7cbcae3aeae1) > test-nested_sampling_impl.R: #113 0x55700707e7d4 in _start (/data/gannet/ripley/R/clang-ASAN/bin/exec/R+0x17d4) > test-nested_sampling_impl.R: > test-nested_sampling_impl.R: 0x7d3eae28bf68 is located 0 bytes after 7784-byte region [0x7d3eae28a100,0x7d3eae28bf68) > test-nested_sampling_impl.R: allocated by thread T0 here: > test-nested_sampling_impl.R: #0 0x557007123bb4 in malloc /home/runner/work/llvm-project/llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cpp:67:3 > test-nested_sampling_impl.R: #1 0x55700746dbcc in Rf_allocVector3 /data/gannet/ripley/R/svn/R-devel/src/main/memory.c:2894:7 > test-nested_sampling_impl.R: #2 0x55700749884f in Rf_allocVector /data/gannet/ripley/R/svn/R-devel/src/include/Rinlinedfuns.h:609:12 > test-nested_sampling_impl.R: #3 0x55700749884f in R_allocResizableVector /data/gannet/ripley/R/svn/R-devel/src/main/memory.c:5072:16 > test-nested_sampling_impl.R: #4 0x7afe9c6d6f83 in vec_slice_base (/data/gannet/ripley/R/test-clang/vctrs/libs/vctrs.so+0x6ef83) > test-nested_sampling_impl.R: > test-nested_sampling_impl.R: SUMMARY: AddressSanitizer: heap-buffer-overflow /data/gannet/ripley/R/test-clang/cpp11/include/cpp11/r_vector.hpp:470:54 in cpp11::r_vector::operator[](long) const > test-nested_sampling_impl.R: Shadow bytes around the buggy address: > test-nested_sampling_impl.R: 0x7d3eae28bc80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > test-nested_sampling_impl.R: 0x7d3eae28bd00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > test-nested_sampling_impl.R: 0x7d3eae28bd80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > test-nested_sampling_impl.R: 0x7d3eae28be00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > test-nested_sampling_impl.R: 0x7d3eae28be80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > test-nested_sampling_impl.R: =>0x7d3eae28bf00: 00 00 00 00 00 00 00 00 00 00 00 00 00[fa]fa fa > test-nested_sampling_impl.R: 0x7d3eae28bf80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa > test-nested_sampling_impl.R: 0x7d3eae28c000: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa > test-nested_sampling_impl.R: 0x7d3eae28c080: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa > test-nested_sampling_impl.R: 0x7d3eae28c100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > test-nested_sampling_impl.R: 0x7d3eae28c180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > test-nested_sampling_impl.R: Shadow byte legend (one shadow byte represents 8 application bytes): > test-nested_sampling_impl.R: Addressable: 00 > test-nested_sampling_impl.R: Partially addressable: 01 02 03 04 05 06 07 > test-nested_sampling_impl.R: Heap left redzone: fa > test-nested_sampling_impl.R: Freed heap region: fd > test-nested_sampling_impl.R: Stack left redzone: f1 > test-nested_sampling_impl.R: Stack mid redzone: f2 > test-nested_sampling_impl.R: Stack right redzone: f3 > test-nested_sampling_impl.R: Stack after return: f5 > test-nested_sampling_impl.R: Stack use after scope: f8 > test-nested_sampling_impl.R: Global redzone: f9 > test-nested_sampling_impl.R: Global init order: f6 > test-nested_sampling_impl.R: Poisoned by user: f7 > test-nested_sampling_impl.R: Container overflow: fc > test-nested_sampling_impl.R: Array cookie: ac > test-nested_sampling_impl.R: Intra object redzone: bb > test-nested_sampling_impl.R: ASan internal: fe > test-nested_sampling_impl.R: Left alloca redzone: ca > test-nested_sampling_impl.R: Right alloca redzone: cb > test-nested_sampling_impl.R: ==2698132==ABORTING Error: ! testthat subprocess exited in file 'test-nested_sampling_impl.R'. Caused by error: ! R session crashed with exit code 1 Backtrace: ▆ 1. └─testthat::test_check("ernest") 2. └─testthat::test_dir(...) 3. └─testthat:::test_files(...) 4. └─testthat:::test_files_parallel(...) 5. ├─withr::with_dir(...) 6. │ └─base::force(code) 7. ├─testthat::with_reporter(...) 8. │ └─base::tryCatch(...) 9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 12. └─testthat:::parallel_event_loop_chunky(queue, reporters, ".") 13. └─queue$poll(Inf) 14. └─base::lapply(...) 15. └─testthat (local) FUN(X[[i]], ...) 16. └─private$handle_error(msg, i) 17. └─cli::cli_abort(...) 18. └─rlang::abort(...) Execution halted * checking package vignettes ... OK * checking re-building of vignette outputs ... [102s/104s] ERROR Error(s) in re-building vignettes: --- re-building ‘more-ernest-runs.Rmd’ using rmarkdown ================================================================= ==2701941==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x7dc2d6ba7f68 at pc 0x7b82c29cf2ca bp 0x7fffb2dd1950 sp 0x7fffb2dd1948 READ of size 8 at 0x7dc2d6ba7f68 thread T0 #0 0x7b82c29cf2c9 in cpp11::r_vector::operator[](long) const /data/gannet/ripley/R/test-clang/cpp11/include/cpp11/r_vector.hpp:470:54 #1 0x7b82c29cf2c9 in cpp11::r_vector::const_iterator::operator*() const /data/gannet/ripley/R/test-clang/cpp11/include/cpp11/r_vector.hpp:753:19 #2 0x7b82c29cf2c9 in get_points(cpp11::r_vector, int, bool) /data/gannet/ripley/R/packages/tests-clang-ASAN/ernest/src/exported_utils.cpp:23:28 #3 0x7b82c296061f in _ernest_get_points /data/gannet/ripley/R/packages/tests-clang-ASAN/ernest/src/cpp11.cpp:19:27 #4 0x55fb0c5c12e4 in R_doDotCall /data/gannet/ripley/R/svn/R-devel/src/main/dotcode.c:760:11 #5 0x55fb0c687c7d in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:8700:21 #6 0x55fb0c66fcc4 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7533:16 #7 0x55fb0c66e251 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8 #8 0x55fb0c6b69ec in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2398:39 #9 0x55fb0c6b5ba8 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2314:16 #10 0x55fb0c67130e in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2333:16 #11 0x55fb0c77cd64 in dispatchMethod /data/gannet/ripley/R/svn/R-devel/src/main/objects.c:473:16 #12 0x55fb0c77b874 in Rf_usemethod /data/gannet/ripley/R/svn/R-devel/src/main/objects.c:513:10 #13 0x55fb0c77dfc3 in do_usemethod /data/gannet/ripley/R/svn/R-devel/src/main/objects.c:579:9 #14 0x55fb0c681ee3 in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:8170:15 #15 0x55fb0c66fcc4 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7533:16 #16 0x55fb0c66e251 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8 #17 0x55fb0c6b69ec in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2398:39 #18 0x55fb0c6b5ba8 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2314:16 #19 0x55fb0c67130e in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2333:16 #20 0x55fb0c66ec78 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1278:12 #21 0x55fb0c6c7b15 in do_set /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:3585:8 #22 0x55fb0c66e790 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1230:12 #23 0x55fb0c6cc5a3 in do_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:3975:13 #24 0x55fb0c67c6ca in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:8150:14 #25 0x55fb0c66fcc4 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7533:16 #26 0x55fb0c66e251 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8 #27 0x55fb0c67055a in forcePromise /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:976:13 #28 0x55fb0c66e445 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1185:6 #29 0x55fb0c6cd7d3 in do_withVisible /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:4018:9 #30 0x55fb0c776409 in do_internal /data/gannet/ripley/R/svn/R-devel/src/main/names.c:1424:11 #31 0x55fb0c681ee3 in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:8170:15 #32 0x55fb0c66fcc4 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7533:16 #33 0x55fb0c66e251 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8 #34 0x55fb0c67055a in forcePromise /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:976:13 #35 0x55fb0c66e445 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1185:6 #36 0x55fb0c67055a in forcePromise /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:976:13 #37 0x55fb0c69b101 in getvar /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:5867:6 #38 0x55fb0c69b101 in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7880:20 #39 0x55fb0c66fcc4 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7533:16 #40 0x55fb0c66e251 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8 #41 0x55fb0c6b69ec in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2398:39 #42 0x55fb0c6b5ba8 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2314:16 #43 0x55fb0c67130e in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2333:16 #44 0x55fb0c66ec78 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1278:12 #45 0x55fb0c6cc5a3 in do_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:3975:13 #46 0x55fb0c67c6ca in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:8150:14 #47 0x55fb0c66fcc4 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7533:16 #48 0x55fb0c66e251 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8 #49 0x55fb0c6b69ec in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2398:39 #50 0x55fb0c6b5ba8 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2314:16 #51 0x55fb0c67130e in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2333:16 #52 0x55fb0c66ec78 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1278:12 #53 0x55fb0c6b69ec in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2398:39 #54 0x55fb0c6b5ba8 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2314:16 #55 0x55fb0c68fe0a in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2333:16 #56 0x55fb0c68fe0a in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:8121:16 #57 0x55fb0c66fcc4 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7533:16 #58 0x55fb0c66e251 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8 #59 0x55fb0c6b69ec in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2398:39 #60 0x55fb0c6b5ba8 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2314:16 #61 0x55fb0c67130e in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2333:16 #62 0x55fb0c66ec78 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1278:12 #63 0x55fb0c73fb31 in Rf_ReplIteration /data/gannet/ripley/R/svn/R-devel/src/main/main.c:264:23 #64 0x55fb0c742360 in R_ReplConsole /data/gannet/ripley/R/svn/R-devel/src/main/main.c:317:11 #65 0x55fb0c742360 in run_Rmainloop /data/gannet/ripley/R/svn/R-devel/src/main/main.c:1235:5 #66 0x55fb0c7423f2 in Rf_mainloop /data/gannet/ripley/R/svn/R-devel/src/main/main.c:1242:5 #67 0x55fb0c443d3c in main /data/gannet/ripley/R/svn/R-devel/src/main/Rmain.c:29:5 #68 0x7f82da012574 in __libc_start_call_main (/lib64/libc.so.6+0x3574) (BuildId: 92b5376d35bb29c098175948cf3e7cbcae3aeae1) #69 0x7f82da012627 in __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x3627) (BuildId: 92b5376d35bb29c098175948cf3e7cbcae3aeae1) #70 0x55fb0c35b7d4 in _start (/data/gannet/ripley/R/clang-ASAN/bin/exec/R+0x17d4) 0x7dc2d6ba7f68 is located 0 bytes after 7784-byte region [0x7dc2d6ba6100,0x7dc2d6ba7f68) allocated by thread T0 here: #0 0x55fb0c400bb4 in malloc /home/runner/work/llvm-project/llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cpp:67:3 #1 0x55fb0c74abcc in Rf_allocVector3 /data/gannet/ripley/R/svn/R-devel/src/main/memory.c:2894:7 #2 0x55fb0c77584f in Rf_allocVector /data/gannet/ripley/R/svn/R-devel/src/include/Rinlinedfuns.h:609:12 #3 0x55fb0c77584f in R_allocResizableVector /data/gannet/ripley/R/svn/R-devel/src/main/memory.c:5072:16 #4 0x7b82c3d5bf83 in vec_slice_base (/data/gannet/ripley/R/test-clang/vctrs/libs/vctrs.so+0x6ef83) SUMMARY: AddressSanitizer: heap-buffer-overflow /data/gannet/ripley/R/test-clang/cpp11/include/cpp11/r_vector.hpp:470:54 in cpp11::r_vector::operator[](long) const Shadow bytes around the buggy address: 0x7dc2d6ba7c80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7dc2d6ba7d00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7dc2d6ba7d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7dc2d6ba7e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7dc2d6ba7e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x7dc2d6ba7f00: 00 00 00 00 00 00 00 00 00 00 00 00 00[fa]fa fa 0x7dc2d6ba7f80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7dc2d6ba8000: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7dc2d6ba8080: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7dc2d6ba8100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7dc2d6ba8180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 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 ==2701941==ABORTING --- re-building ‘nested-sampling-with-ernest.Rmd’ using rmarkdown ================================================================= ==2703179==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x7d90f6586870 at pc 0x7b40e223c2ca bp 0x7ffe7a01ca70 sp 0x7ffe7a01ca68 READ of size 8 at 0x7d90f6586870 thread T0 #0 0x7b40e223c2c9 in cpp11::r_vector::operator[](long) const /data/gannet/ripley/R/test-clang/cpp11/include/cpp11/r_vector.hpp:470:54 #1 0x7b40e223c2c9 in cpp11::r_vector::const_iterator::operator*() const /data/gannet/ripley/R/test-clang/cpp11/include/cpp11/r_vector.hpp:753:19 #2 0x7b40e223c2c9 in get_points(cpp11::r_vector, int, bool) /data/gannet/ripley/R/packages/tests-clang-ASAN/ernest/src/exported_utils.cpp:23:28 #3 0x7b40e21cd61f in _ernest_get_points /data/gannet/ripley/R/packages/tests-clang-ASAN/ernest/src/cpp11.cpp:19:27 #4 0x562d3b5a42e4 in R_doDotCall /data/gannet/ripley/R/svn/R-devel/src/main/dotcode.c:760:11 #5 0x562d3b66ac7d in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:8700:21 #6 0x562d3b652cc4 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7533:16 #7 0x562d3b651251 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8 #8 0x562d3b6999ec in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2398:39 #9 0x562d3b698ba8 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2314:16 #10 0x562d3b65430e in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2333:16 #11 0x562d3b75fd64 in dispatchMethod /data/gannet/ripley/R/svn/R-devel/src/main/objects.c:473:16 #12 0x562d3b75e874 in Rf_usemethod /data/gannet/ripley/R/svn/R-devel/src/main/objects.c:513:10 #13 0x562d3b760fc3 in do_usemethod /data/gannet/ripley/R/svn/R-devel/src/main/objects.c:579:9 #14 0x562d3b664ee3 in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:8170:15 #15 0x562d3b652cc4 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7533:16 #16 0x562d3b651251 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8 #17 0x562d3b6999ec in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2398:39 #18 0x562d3b698ba8 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2314:16 #19 0x562d3b65430e in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2333:16 #20 0x562d3b651c78 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1278:12 #21 0x562d3b6aab15 in do_set /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:3585:8 #22 0x562d3b651790 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1230:12 #23 0x562d3b6af5a3 in do_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:3975:13 #24 0x562d3b65f6ca in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:8150:14 #25 0x562d3b652cc4 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7533:16 #26 0x562d3b651251 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8 #27 0x562d3b65355a in forcePromise /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:976:13 #28 0x562d3b651445 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1185:6 #29 0x562d3b6b07d3 in do_withVisible /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:4018:9 #30 0x562d3b759409 in do_internal /data/gannet/ripley/R/svn/R-devel/src/main/names.c:1424:11 #31 0x562d3b664ee3 in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:8170:15 #32 0x562d3b652cc4 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7533:16 #33 0x562d3b651251 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8 #34 0x562d3b65355a in forcePromise /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:976:13 #35 0x562d3b651445 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1185:6 #36 0x562d3b65355a in forcePromise /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:976:13 #37 0x562d3b67e101 in getvar /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:5867:6 #38 0x562d3b67e101 in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7880:20 #39 0x562d3b652cc4 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7533:16 #40 0x562d3b651251 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8 #41 0x562d3b6999ec in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2398:39 #42 0x562d3b698ba8 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2314:16 #43 0x562d3b65430e in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2333:16 #44 0x562d3b651c78 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1278:12 #45 0x562d3b6af5a3 in do_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:3975:13 #46 0x562d3b65f6ca in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:8150:14 #47 0x562d3b652cc4 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7533:16 #48 0x562d3b651251 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8 #49 0x562d3b6999ec in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2398:39 #50 0x562d3b698ba8 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2314:16 #51 0x562d3b65430e in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2333:16 #52 0x562d3b651c78 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1278:12 #53 0x562d3b6999ec in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2398:39 #54 0x562d3b698ba8 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2314:16 #55 0x562d3b672e0a in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2333:16 #56 0x562d3b672e0a in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:8121:16 #57 0x562d3b652cc4 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7533:16 #58 0x562d3b651251 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8 #59 0x562d3b6999ec in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2398:39 #60 0x562d3b698ba8 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2314:16 #61 0x562d3b65430e in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2333:16 #62 0x562d3b651c78 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1278:12 #63 0x562d3b722b31 in Rf_ReplIteration /data/gannet/ripley/R/svn/R-devel/src/main/main.c:264:23 #64 0x562d3b725360 in R_ReplConsole /data/gannet/ripley/R/svn/R-devel/src/main/main.c:317:11 #65 0x562d3b725360 in run_Rmainloop /data/gannet/ripley/R/svn/R-devel/src/main/main.c:1235:5 #66 0x562d3b7253f2 in Rf_mainloop /data/gannet/ripley/R/svn/R-devel/src/main/main.c:1242:5 #67 0x562d3b426d3c in main /data/gannet/ripley/R/svn/R-devel/src/main/Rmain.c:29:5 #68 0x7f40f9812574 in __libc_start_call_main (/lib64/libc.so.6+0x3574) (BuildId: 92b5376d35bb29c098175948cf3e7cbcae3aeae1) #69 0x7f40f9812627 in __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x3627) (BuildId: 92b5376d35bb29c098175948cf3e7cbcae3aeae1) #70 0x562d3b33e7d4 in _start (/data/gannet/ripley/R/clang-ASAN/bin/exec/R+0x17d4) 0x7d90f6586870 is located 0 bytes after 8048-byte region [0x7d90f6584900,0x7d90f6586870) allocated by thread T0 here: #0 0x562d3b3e3bb4 in malloc /home/runner/work/llvm-project/llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cpp:67:3 #1 0x562d3b72dbcc in Rf_allocVector3 /data/gannet/ripley/R/svn/R-devel/src/main/memory.c:2894:7 #2 0x562d3b75884f in Rf_allocVector /data/gannet/ripley/R/svn/R-devel/src/include/Rinlinedfuns.h:609:12 #3 0x562d3b75884f in R_allocResizableVector /data/gannet/ripley/R/svn/R-devel/src/main/memory.c:5072:16 #4 0x7b40e35c4f83 in vec_slice_base (/data/gannet/ripley/R/test-clang/vctrs/libs/vctrs.so+0x6ef83) SUMMARY: AddressSanitizer: heap-buffer-overflow /data/gannet/ripley/R/test-clang/cpp11/include/cpp11/r_vector.hpp:470:54 in cpp11::r_vector::operator[](long) const Shadow bytes around the buggy address: 0x7d90f6586580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7d90f6586600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7d90f6586680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7d90f6586700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7d90f6586780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x7d90f6586800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00[fa]fa 0x7d90f6586880: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7d90f6586900: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7d90f6586980: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7d90f6586a00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7d90f6586a80: 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 ==2703179==ABORTING SUMMARY: processing the following files failed: ‘more-ernest-runs.Rmd’ ‘nested-sampling-with-ernest.Rmd’ Error: Vignette re-building failed. Execution halted * DONE Status: 3 ERRORs