* using log directory ‘/Users/ripley/R/packages/tests-SAN/vectra.Rcheck’ * using R Under development (unstable) (2026-09-14 r90538) * using platform: aarch64-apple-darwin27.0.0 * R was compiled by Apple clang version 21.0.0 (clang-2100.3.34.2) GNU Fortran (GCC) 14.2.0 * running under: macOS Golden Gate 27.0.1 * using session charset: UTF-8 * current time: 2026-10-26 14:02:08 UTC * using option ‘--no-stop-on-test-error’ * checking for file ‘vectra/DESCRIPTION’ ... OK * this is package ‘vectra’ version ‘0.14.0’ * 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 ‘vectra’ can be installed ... [69s/51s] OK * used C compiler: ‘Apple clang version 21.0.0 (clang-2100.3.34.1)’ * used SDK: ‘MacOSX27.2.sdk’ * 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 pragmas in C/C++ headers and code ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... OK * checking tests ... ERROR Running ‘testthat.R’ Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(vectra) Attaching package: 'vectra' The following object is masked from 'package:stats': filter The following object is masked from 'package:graphics': grid > > test_check("vectra") vtr_codec_tdc.c:618:59: runtime error: signed integer overflow: -6076574518398440533 * -6076574518398440533 cannot be represented in type 'int64_t' (aka 'long long') #0 0x000110abb720 in vtr_decode_column_tdc_into vtr_codec_tdc.c:618 #1 0x000110abce74 in vtr_decode_column_tdc vtr_codec_tdc.c:772 #2 0x000110aa7d0c in fill_rg_batch vtr1_tdc.c #3 0x000110aa6540 in vtr1_read_rowgroup_tdc_defer vtr1_tdc.c:1556 #4 0x0001109f3e18 in scan_next_batch scan.c:962 #5 0x000110aaffe4 in vtr_append_node vtr_append.c:103 #6 0x000110ab0f7c in C_append_vtr vtr_append.c:174 #7 0x0001065412cc in R_doDotCall dotcode.c:760 #8 0x00010678ffc8 in bcEval_loop eval.c:8704 #9 0x000106738268 in bcEval eval.c:7533 #10 0x000106736300 in Rf_eval eval.c:1167 #11 0x0001067408ac in R_execClosure eval.c:2398 #12 0x00010673beac in applyClosure_core eval.c:2314 #13 0x00010673a014 in Rf_applyClosure eval.c:2333 #14 0x00010691cd10 in dispatchMethod objects.c:473 #15 0x00010691aab4 in Rf_usemethod objects.c:513 #16 0x00010691df9c in do_usemethod objects.c:579 #17 0x00010677ad74 in bcEval_loop eval.c:8170 #18 0x000106738268 in bcEval eval.c:7533 #19 0x000106736300 in Rf_eval eval.c:1167 #20 0x0001067408ac in R_execClosure eval.c:2398 #21 0x00010673beac in applyClosure_core eval.c:2314 #22 0x00010673a014 in Rf_applyClosure eval.c:2333 #23 0x000106736d28 in Rf_eval eval.c:1278 #24 0x00010653345c in do_External dotcode.c:573 #25 0x00010678c8ac in bcEval_loop eval.c:8150 #26 0x000106738268 in bcEval eval.c:7533 #27 0x000106736300 in Rf_eval eval.c:1167 #28 0x0001067408ac in R_execClosure eval.c:2398 #29 0x00010673beac in applyClosure_core eval.c:2314 #30 0x00010673a014 in Rf_applyClosure eval.c:2333 #31 0x000106736d28 in Rf_eval eval.c:1278 #32 0x00010674b130 in do_begin eval.c:3001 #33 0x00010673675c in Rf_eval eval.c:1230 #34 0x0001067554b4 in do_eval eval.c:3975 #35 0x00010678c8ac in bcEval_loop eval.c:8150 #36 0x000106738268 in bcEval eval.c:7533 #37 0x000106736300 in Rf_eval eval.c:1167 #38 0x0001067408ac in R_execClosure eval.c:2398 #39 0x00010673beac in applyClosure_core eval.c:2314 #40 0x00010673a014 in Rf_applyClosure eval.c:2333 #41 0x000106736d28 in Rf_eval eval.c:1278 #42 0x000106755980 in do_eval eval.c:3993 #43 0x00010678c8ac in bcEval_loop eval.c:8150 #44 0x000106738268 in bcEval eval.c:7533 #45 0x000106736300 in Rf_eval eval.c:1167 #46 0x0001067408ac in R_execClosure eval.c:2398 #47 0x00010673beac in applyClosure_core eval.c:2314 #48 0x00010673dca0 in Rf_applyClosure eval.c:2333 #49 0x00010673dca0 in R_forceAndCall eval.c:2465 #50 0x000106349fa8 in do_lapply apply.c:75 #51 0x000106912f78 in do_internal names.c:1425 #52 0x00010677ad74 in bcEval_loop eval.c:8170 #53 0x000106738268 in bcEval eval.c:7533 #54 0x000106736300 in Rf_eval eval.c:1167 #55 0x0001067408ac in R_execClosure eval.c:2398 #56 0x00010673beac in applyClosure_core eval.c:2314 #57 0x00010673a014 in Rf_applyClosure eval.c:2333 #58 0x000106736d28 in Rf_eval eval.c:1278 #59 0x00010689662c in Rf_ReplIteration main.c:264 #60 0x00010689a93c in R_ReplConsole main.c:319 #61 0x00010689a750 in run_Rmainloop main.c:1239 #62 0x00010689aa38 in Rf_mainloop main.c:1246 #63 0x000104d795f0 in main Rmain.c:29 #64 0x000193497e7c in start+0x1a1c (dyld:arm64e+0x31e7c) SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior vtr_codec_tdc.c:618:59 vtr_codec_tdc.c:618:62: runtime error: index 3 out of bounds for type 'int64_t[3]' (aka 'long long[3]') #0 0x000110abb558 in vtr_decode_column_tdc_into vtr_codec_tdc.c:618 #1 0x000110abce74 in vtr_decode_column_tdc vtr_codec_tdc.c:772 #2 0x000110aa7d0c in fill_rg_batch vtr1_tdc.c #3 0x000110aa6540 in vtr1_read_rowgroup_tdc_defer vtr1_tdc.c:1556 #4 0x0001109f3e18 in scan_next_batch scan.c:962 #5 0x000110aaffe4 in vtr_append_node vtr_append.c:103 #6 0x000110ab0f7c in C_append_vtr vtr_append.c:174 #7 0x0001065412cc in R_doDotCall dotcode.c:760 #8 0x00010678ffc8 in bcEval_loop eval.c:8704 #9 0x000106738268 in bcEval eval.c:7533 #10 0x000106736300 in Rf_eval eval.c:1167 #11 0x0001067408ac in R_execClosure eval.c:2398 #12 0x00010673beac in applyClosure_core eval.c:2314 #13 0x00010673a014 in Rf_applyClosure eval.c:2333 #14 0x00010691cd10 in dispatchMethod objects.c:473 #15 0x00010691aab4 in Rf_usemethod objects.c:513 #16 0x00010691df9c in do_usemethod objects.c:579 #17 0x00010677ad74 in bcEval_loop eval.c:8170 #18 0x000106738268 in bcEval eval.c:7533 #19 0x000106736300 in Rf_eval eval.c:1167 #20 0x0001067408ac in R_execClosure eval.c:2398 #21 0x00010673beac in applyClosure_core eval.c:2314 #22 0x00010673a014 in Rf_applyClosure eval.c:2333 #23 0x000106736d28 in Rf_eval eval.c:1278 #24 0x00010653345c in do_External dotcode.c:573 #25 0x00010678c8ac in bcEval_loop eval.c:8150 #26 0x000106738268 in bcEval eval.c:7533 #27 0x000106736300 in Rf_eval eval.c:1167 #28 0x0001067408ac in R_execClosure eval.c:2398 #29 0x00010673beac in applyClosure_core eval.c:2314 #30 0x00010673a014 in Rf_applyClosure eval.c:2333 #31 0x000106736d28 in Rf_eval eval.c:1278 #32 0x00010674b130 in do_begin eval.c:3001 #33 0x00010673675c in Rf_eval eval.c:1230 #34 0x0001067554b4 in do_eval eval.c:3975 #35 0x00010678c8ac in bcEval_loop eval.c:8150 #36 0x000106738268 in bcEval eval.c:7533 #37 0x000106736300 in Rf_eval eval.c:1167 #38 0x0001067408ac in R_execClosure eval.c:2398 #39 0x00010673beac in applyClosure_core eval.c:2314 #40 0x00010673a014 in Rf_applyClosure eval.c:2333 #41 0x000106736d28 in Rf_eval eval.c:1278 #42 0x000106755980 in do_eval eval.c:3993 #43 0x00010678c8ac in bcEval_loop eval.c:8150 #44 0x000106738268 in bcEval eval.c:7533 #45 0x000106736300 in Rf_eval eval.c:1167 #46 0x0001067408ac in R_execClosure eval.c:2398 #47 0x00010673beac in applyClosure_core eval.c:2314 #48 0x00010673dca0 in Rf_applyClosure eval.c:2333 #49 0x00010673dca0 in R_forceAndCall eval.c:2465 #50 0x000106349fa8 in do_lapply apply.c:75 #51 0x000106912f78 in do_internal names.c:1425 #52 0x00010677ad74 in bcEval_loop eval.c:8170 #53 0x000106738268 in bcEval eval.c:7533 #54 0x000106736300 in Rf_eval eval.c:1167 #55 0x0001067408ac in R_execClosure eval.c:2398 #56 0x00010673beac in applyClosure_core eval.c:2314 #57 0x00010673a014 in Rf_applyClosure eval.c:2333 #58 0x000106736d28 in Rf_eval eval.c:1278 #59 0x00010689662c in Rf_ReplIteration main.c:264 #60 0x00010689a93c in R_ReplConsole main.c:319 #61 0x00010689a750 in run_Rmainloop main.c:1239 #62 0x00010689aa38 in Rf_mainloop main.c:1246 #63 0x000104d795f0 in main Rmain.c:29 #64 0x000193497e7c in start+0x1a1c (dyld:arm64e+0x31e7c) SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior vtr_codec_tdc.c:618:62 ================================================================= ==40076==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x00016b075ad0 at pc 0x000110abb760 bp 0x00016b075a50 sp 0x00016b075a48 READ of size 8 at 0x00016b075ad0 thread T0 #0 0x000110abb75c in vtr_decode_column_tdc_into vtr_codec_tdc.c:618 #1 0x000110abce74 in vtr_decode_column_tdc vtr_codec_tdc.c:772 #2 0x000110aa7d0c in fill_rg_batch vtr1_tdc.c #3 0x000110aa6540 in vtr1_read_rowgroup_tdc_defer vtr1_tdc.c:1556 #4 0x0001109f3e18 in scan_next_batch scan.c:962 #5 0x000110aaffe4 in vtr_append_node vtr_append.c:103 #6 0x000110ab0f7c in C_append_vtr vtr_append.c:174 #7 0x0001065412cc in R_doDotCall dotcode.c:760 #8 0x00010678ffc8 in bcEval_loop eval.c:8704 #9 0x000106738268 in bcEval eval.c:7533 #10 0x000106736300 in Rf_eval eval.c:1167 #11 0x0001067408ac in R_execClosure eval.c:2398 #12 0x00010673beac in applyClosure_core eval.c:2314 #13 0x00010673a014 in Rf_applyClosure eval.c:2333 #14 0x00010691cd10 in dispatchMethod objects.c:473 #15 0x00010691aab4 in Rf_usemethod objects.c:513 #16 0x00010691df9c in do_usemethod objects.c:579 #17 0x00010677ad74 in bcEval_loop eval.c:8170 #18 0x000106738268 in bcEval eval.c:7533 #19 0x000106736300 in Rf_eval eval.c:1167 #20 0x0001067408ac in R_execClosure eval.c:2398 #21 0x00010673beac in applyClosure_core eval.c:2314 #22 0x00010673a014 in Rf_applyClosure eval.c:2333 #23 0x000106736d28 in Rf_eval eval.c:1278 #24 0x00010653345c in do_External dotcode.c:573 #25 0x00010678c8ac in bcEval_loop eval.c:8150 #26 0x000106738268 in bcEval eval.c:7533 #27 0x000106736300 in Rf_eval eval.c:1167 #28 0x0001067408ac in R_execClosure eval.c:2398 #29 0x00010673beac in applyClosure_core eval.c:2314 #30 0x00010673a014 in Rf_applyClosure eval.c:2333 #31 0x000106736d28 in Rf_eval eval.c:1278 #32 0x00010674b130 in do_begin eval.c:3001 #33 0x00010673675c in Rf_eval eval.c:1230 #34 0x0001067554b4 in do_eval eval.c:3975 #35 0x00010678c8ac in bcEval_loop eval.c:8150 #36 0x000106738268 in bcEval eval.c:7533 #37 0x000106736300 in Rf_eval eval.c:1167 #38 0x0001067408ac in R_execClosure eval.c:2398 #39 0x00010673beac in applyClosure_core eval.c:2314 #40 0x00010673a014 in Rf_applyClosure eval.c:2333 #41 0x000106736d28 in Rf_eval eval.c:1278 #42 0x000106755980 in do_eval eval.c:3993 #43 0x00010678c8ac in bcEval_loop eval.c:8150 #44 0x000106738268 in bcEval eval.c:7533 #45 0x000106736300 in Rf_eval eval.c:1167 #46 0x0001067408ac in R_execClosure eval.c:2398 #47 0x00010673beac in applyClosure_core eval.c:2314 #48 0x00010673dca0 in Rf_applyClosure eval.c:2333 #49 0x00010673dca0 in R_forceAndCall eval.c:2465 #50 0x000106349fa8 in do_lapply apply.c:75 #51 0x000106912f78 in do_internal names.c:1425 #52 0x00010677ad74 in bcEval_loop eval.c:8170 #53 0x000106738268 in bcEval eval.c:7533 #54 0x000106736300 in Rf_eval eval.c:1167 #55 0x0001067408ac in R_execClosure eval.c:2398 #56 0x00010673beac in applyClosure_core eval.c:2314 #57 0x00010673a014 in Rf_applyClosure eval.c:2333 #58 0x000106736d28 in Rf_eval eval.c:1278 #59 0x00010689662c in Rf_ReplIteration main.c:264 #60 0x00010689a93c in R_ReplConsole main.c:319 #61 0x00010689a750 in run_Rmainloop main.c:1239 #62 0x00010689aa38 in Rf_mainloop main.c:1246 #63 0x000104d795f0 in main Rmain.c:29 #64 0x000193497e7c in start+0x1a1c (dyld:arm64e+0x31e7c) Address 0x00016b075ad0 is located in stack of thread T0 at offset 112 in frame #0 0x000110abb2bc in vtr_decode_column_tdc_into vtr_codec_tdc.c:591 This frame has 2 object(s): [32, 112) 'hdr' (line 601) <== Memory access at offset 112 overflows this variable [144, 232) 'dst' (line 604) HINT: this may be a false positive if your program uses some custom stack unwind mechanism, swapcontext or vfork (longjmp and C++ exceptions *are* supported) SUMMARY: AddressSanitizer: stack-buffer-overflow vtr_codec_tdc.c:618 in vtr_decode_column_tdc_into Shadow bytes around the buggy address: 0x00016b075800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x00016b075880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x00016b075900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x00016b075980: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x00016b075a00: 00 00 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1 =>0x00016b075a80: 00 00 00 00 00 00 00 00 00 00[f2]f2 f2 f2 00 00 0x00016b075b00: 00 00 00 00 00 00 00 00 00 f3 f3 f3 f3 f3 f3 f3 0x00016b075b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x00016b075c00: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 f8 f8 f8 f8 0x00016b075c80: f8 f8 f8 f8 f8 f8 f2 f2 f2 f2 f8 f8 f8 f8 f8 f8 0x00016b075d00: f8 f8 f8 f8 f8 f2 f2 f2 f2 f2 f8 f8 f8 f8 f8 f3 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 ==40076==ABORTING * checking package vignettes ... OK * checking re-building of vignette outputs ... [37s/41s] OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR