* using log directory ‘/data/gannet/ripley/R/packages/tests-clang-ASAN/fastei.Rcheck’ * using R Under development (unstable) (2026-05-08 r90020) * using platform: x86_64-pc-linux-gnu * R was compiled by clang version 22.1.5 (https://github.com/llvm/llvm-project 5ea218a153f4d2f815b8244eab3e4b4ba5e00e6c) flang version 22.1.5 (https://github.com/llvm/llvm-project 5ea218a153f4d2f815b8244eab3e4b4ba5e00e6c) * running under: Fedora Linux 42 (Workstation Edition) * using session charset: UTF-8 * current time: 2026-05-09 07:53:17 UTC * using option ‘--no-stop-on-test-error’ * checking for file ‘fastei/DESCRIPTION’ ... OK * this is package ‘fastei’ version ‘0.0.16’ * 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 ‘fastei’ can be installed ... [65s/158s] OK * used C compiler: ‘clang version 22.1.5 (https://github.com/llvm/llvm-project 5ea218a153f4d2f815b8244eab3e4b4ba5e00e6c)’ * used C++ compiler: ‘clang version 22.1.5 (https://github.com/llvm/llvm-project 5ea218a153f4d2f815b8244eab3e4b4ba5e00e6c)’ * 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 ... [51s/128s] OK * checking tests ... [10s/24s] ERROR Running ‘testthat.R’ [8s/22s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(fastei) > > test_check("fastei") Applying a D'Hondt correction for correcting mismatches in W Applying a D'Hondt correction for correcting mismatches in W Applying a D'Hondt correction for correcting mismatches in W ================================================================= ==3345079==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x7c11ce444798 at pc 0x7bf1bd2e783c bp 0x7ffd5f785530 sp 0x7ffd5f785528 WRITE of size 4 at 0x7c11ce444798 thread T0 #0 0x7bf1bd2e783b in aggregateGroupsExhaustive /data/gannet/ripley/R/packages/tests-clang-ASAN/fastei/src/dynamic_program.c:811:20 #1 0x7bf1bd327122 in groupAggGreedy(Rcpp::String, Rcpp::Vector<14, Rcpp::PreserveStorage>, Rcpp::Matrix<14, Rcpp::PreserveStorage>, Rcpp::Matrix<14, Rcpp::PreserveStorage>, Rcpp::Vector<13, Rcpp::PreserveStorage>, Rcpp::String, Rcpp::String, Rcpp::Vector<13, Rcpp::PreserveStorage>, Rcpp::Vector<14, Rcpp::PreserveStorage>, Rcpp::Vector<14, Rcpp::PreserveStorage>, Rcpp::Vector<14, Rcpp::PreserveStorage>, Rcpp::Vector<14, Rcpp::PreserveStorage>, Rcpp::Vector<10, Rcpp::PreserveStorage>, Rcpp::Vector<13, Rcpp::PreserveStorage>, Rcpp::Vector<13, Rcpp::PreserveStorage>, Rcpp::String, Rcpp::Vector<14, Rcpp::PreserveStorage>, Rcpp::Vector<13, Rcpp::PreserveStorage>, Rcpp::Vector<13, Rcpp::PreserveStorage>, Rcpp::String, Rcpp::Vector<10, Rcpp::PreserveStorage>) /data/gannet/ripley/R/packages/tests-clang-ASAN/fastei/src/wrapper.cpp:423:9 #2 0x7bf1bd2cc35c in _fastei_groupAggGreedy /data/gannet/ripley/R/packages/tests-clang-ASAN/fastei/src/RcppExports.cpp:156:34 #3 0x56173b876c14 in R_doDotCall /data/gannet/ripley/R/svn/R-devel/src/main/dotcode.c #4 0x56173b87e785 in do_dotcall /data/gannet/ripley/R/svn/R-devel/src/main/dotcode.c:1437:11 #5 0x56173b92e62a in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:8150:14 #6 0x56173b921c24 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7533:16 #7 0x56173b9201b1 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8 #8 0x56173b96894c in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2398:39 #9 0x56173b967b08 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2314:16 #10 0x56173b92326e in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2333:16 #11 0x56173b920bd8 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1278:12 #12 0x56173b979a75 in do_set /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:3585:8 #13 0x56173b9206f0 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1230:12 #14 0x56173b977119 in do_begin /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:3001:10 #15 0x56173b9206f0 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1230:12 #16 0x56173b97e503 in do_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:3975:13 #17 0x56173b92e62a in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:8150:14 #18 0x56173b921c24 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7533:16 #19 0x56173b9201b1 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8 #20 0x56173b96894c in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2398:39 #21 0x56173b967b08 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2314:16 #22 0x56173b92326e in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2333:16 #23 0x56173b920bd8 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1278:12 #24 0x56173b97ee6a in do_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:3993:9 #25 0x56173b92e62a in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:8150:14 #26 0x56173b921c24 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7533:16 #27 0x56173b9201b1 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8 #28 0x56173b96894c in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2398:39 #29 0x56173b967b08 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2314:16 #30 0x56173b9715f4 in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2333:16 #31 0x56173b9715f4 in R_forceAndCall /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2465:8 #32 0x56173b728d11 in do_lapply /data/gannet/ripley/R/svn/R-devel/src/main/apply.c:75:8 #33 0x56173ba28369 in do_internal /data/gannet/ripley/R/svn/R-devel/src/main/names.c:1424:11 #34 0x56173b933e43 in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:8170:15 #35 0x56173b921c24 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7533:16 #36 0x56173b9201b1 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8 #37 0x56173b96894c in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2398:39 #38 0x56173b967b08 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2314:16 #39 0x56173b92326e in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2333:16 #40 0x56173b920bd8 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1278:12 #41 0x56173b9f1a91 in Rf_ReplIteration /data/gannet/ripley/R/svn/R-devel/src/main/main.c:264:23 #42 0x56173b9f42c0 in R_ReplConsole /data/gannet/ripley/R/svn/R-devel/src/main/main.c:317:11 #43 0x56173b9f42c0 in run_Rmainloop /data/gannet/ripley/R/svn/R-devel/src/main/main.c:1235:5 #44 0x56173b9f4352 in Rf_mainloop /data/gannet/ripley/R/svn/R-devel/src/main/main.c:1242:5 #45 0x56173b6f5d3c in main /data/gannet/ripley/R/svn/R-devel/src/main/Rmain.c:29:5 #46 0x7ff1d1b11574 in __libc_start_call_main (/lib64/libc.so.6+0x3574) (BuildId: 92b5376d35bb29c098175948cf3e7cbcae3aeae1) #47 0x7ff1d1b11627 in __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x3627) (BuildId: 92b5376d35bb29c098175948cf3e7cbcae3aeae1) #48 0x56173b60d7d4 in _start (/data/gannet/ripley/R/clang-ASAN/bin/exec/R+0x17d4) 0x7c11ce444798 is located 0 bytes after 8-byte region [0x7c11ce444790,0x7c11ce444798) allocated by thread T0 here: #0 0x56173b6b2d89 in calloc /home/runner/work/llvm-project/llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cpp:74:3 #1 0x56173ba1c724 in R_chk_calloc /data/gannet/ripley/R/svn/R-devel/src/main/memory.c:3549:9 #2 0x7bf1bd3268e1 in groupAggGreedy(Rcpp::String, Rcpp::Vector<14, Rcpp::PreserveStorage>, Rcpp::Matrix<14, Rcpp::PreserveStorage>, Rcpp::Matrix<14, Rcpp::PreserveStorage>, Rcpp::Vector<13, Rcpp::PreserveStorage>, Rcpp::String, Rcpp::String, Rcpp::Vector<13, Rcpp::PreserveStorage>, Rcpp::Vector<14, Rcpp::PreserveStorage>, Rcpp::Vector<14, Rcpp::PreserveStorage>, Rcpp::Vector<14, Rcpp::PreserveStorage>, Rcpp::Vector<14, Rcpp::PreserveStorage>, Rcpp::Vector<10, Rcpp::PreserveStorage>, Rcpp::Vector<13, Rcpp::PreserveStorage>, Rcpp::Vector<13, Rcpp::PreserveStorage>, Rcpp::String, Rcpp::Vector<14, Rcpp::PreserveStorage>, Rcpp::Vector<13, Rcpp::PreserveStorage>, Rcpp::Vector<13, Rcpp::PreserveStorage>, Rcpp::String, Rcpp::Vector<10, Rcpp::PreserveStorage>) /data/gannet/ripley/R/packages/tests-clang-ASAN/fastei/src/wrapper.cpp:414:23 #3 0x7bf1bd2cc35c in _fastei_groupAggGreedy /data/gannet/ripley/R/packages/tests-clang-ASAN/fastei/src/RcppExports.cpp:156:34 #4 0x56173b876c14 in R_doDotCall /data/gannet/ripley/R/svn/R-devel/src/main/dotcode.c #5 0x56173b87e785 in do_dotcall /data/gannet/ripley/R/svn/R-devel/src/main/dotcode.c:1437:11 #6 0x56173b92e62a in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:8150:14 #7 0x56173b921c24 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7533:16 #8 0x56173b9201b1 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8 #9 0x56173b96894c in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2398:39 #10 0x56173b967b08 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2314:16 #11 0x56173b92326e in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2333:16 #12 0x56173b920bd8 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1278:12 #13 0x56173b979a75 in do_set /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:3585:8 #14 0x56173b9206f0 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1230:12 #15 0x56173b977119 in do_begin /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:3001:10 #16 0x56173b9206f0 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1230:12 #17 0x56173b97e503 in do_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:3975:13 #18 0x56173b92e62a in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:8150:14 #19 0x56173b921c24 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7533:16 #20 0x56173b9201b1 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8 #21 0x56173b96894c in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2398:39 #22 0x56173b967b08 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2314:16 #23 0x56173b92326e in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2333:16 #24 0x56173b920bd8 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1278:12 #25 0x56173b97ee6a in do_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:3993:9 #26 0x56173b92e62a in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:8150:14 #27 0x56173b921c24 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7533:16 #28 0x56173b9201b1 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8 #29 0x56173b96894c in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2398:39 SUMMARY: AddressSanitizer: heap-buffer-overflow /data/gannet/ripley/R/packages/tests-clang-ASAN/fastei/src/dynamic_program.c:811:20 in aggregateGroupsExhaustive Shadow bytes around the buggy address: 0x7c11ce444500: fa fa fd fd fa fa fd fd fa fa fd fa fa fa fd fd 0x7c11ce444580: fa fa fd fd fa fa fd fa fa fa fd fa fa fa fd fd 0x7c11ce444600: fa fa fd fd fa fa fd fa fa fa fd fa fa fa fd fd 0x7c11ce444680: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa 0x7c11ce444700: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa =>0x7c11ce444780: fa fa 00[fa]fa fa 01 fa fa fa 00 fa fa fa fd fd 0x7c11ce444800: fa fa 00 00 fa fa 00 00 fa fa fd fd fa fa fd fd 0x7c11ce444880: fa fa fd fd fa fa 00 00 fa fa 00 00 fa fa fd fd 0x7c11ce444900: fa fa fd fd fa fa fd fd fa fa 00 00 fa fa 00 00 0x7c11ce444980: fa fa fd fd fa fa fd fd fa fa fd fd fa fa 00 00 0x7c11ce444a00: fa fa 00 00 fa fa 00 04 fa fa 00 00 fa fa 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 ==3345079==ABORTING * checking package vignettes ... OK * checking re-building of vignette outputs ... [5m/13m] OK * DONE Status: 1 ERROR