* using log directory ‘/data/localhost/ripley/R/packages/tests-gcc-SAN/mritc.Rcheck’ * using R Under development (unstable) (2026-07-23 r90295) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 16.1.1 20260515 (Red Hat 16.1.1-2) GNU Fortran (GCC) 16.1.1 20260515 (Red Hat 16.1.1-2) * running under: Fedora Linux 44 (Server Edition) * using session charset: UTF-8 * current time: 2026-07-24 17:35:12 UTC * using option ‘--no-stop-on-test-error’ * checking for file ‘mritc/DESCRIPTION’ ... OK * this is package ‘mritc’ version ‘0.6.0’ * 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 ‘mritc’ can be installed ... [18s/34s] OK * used C compiler: ‘gcc (GCC) 16.1.1 20260515 (Red Hat 16.1.1-2)’ * 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 examples ... [31s/44s] OK * checking tests ... [138s/148s] ERROR Running ‘tinytest.R’ [138s/147s] Running the tests in ‘tests/tinytest.R’ failed. Complete output: > Sys.setenv(OMP_THREAD_LIMIT=2) > > if (requireNamespace("tinytest", quietly=TRUE)) + tinytest::test_package("mritc") test_checkErrors.R............ 1 tests OK test_checkErrors.R............ 2 tests OK test_checkErrors.R............ 3 tests OK test_checkErrors.R............ 4 tests OK test_checkErrors.R............ 5 tests OK test_checkErrors.R............ 6 tests OK test_checkErrors.R............ 7 tests OK test_checkErrors.R............ 8 tests OK test_checkErrors.R............ 9 tests OK test_checkErrors.R............ 10 tests OK test_checkErrors.R............ 11 tests OK test_checkErrors.R............ 12 tests OK test_checkErrors.R............ 13 tests OK 0.2s test_initNormMix.R............ 0 tests test_initNormMix.R............ 0 tests test_initNormMix.R............ 0 tests test_initNormMix.R............ 1 tests OK test_initNormMix.R............ 2 tests OK test_initNormMix.R............ 3 tests OK test_initNormMix.R............ 4 tests OK test_initNormMix.R............ 5 tests OK test_initNormMix.R............ 6 tests OK test_initNormMix.R............ 6 tests OK test_initNormMix.R............ 7 tests OK test_initNormMix.R............ 8 tests OK test_initNormMix.R............ 8 tests OK test_initNormMix.R............ 9 tests OK test_initNormMix.R............ 10 tests OK test_initNormMix.R............ 11 tests OK test_initNormMix.R............ 12 tests OK test_initNormMix.R............ 13 tests OK test_initNormMix.R............ 14 tests OK test_initNormMix.R............ 15 tests OK test_initNormMix.R............ 16 tests OK test_initNormMix.R............ 16 tests OK test_initNormMix.R............ 16 tests OK test_initNormMix.R............ 17 tests OK test_initNormMix.R............ 18 tests OK test_initNormMix.R............ 18 tests OK test_initNormMix.R............ 19 tests OK test_initNormMix.R............ 20 tests OK test_initNormMix.R............ 21 tests OK 1.3s test_io.R..................... 0 tests test_io.R..................... 0 tests test_io.R..................... 0 tests test_io.R..................... 0 tests test_io.R..................... 0 tests test_io.R..................... 1 tests OK test_io.R..................... 2 tests OK test_io.R..................... 2 tests OK test_io.R..................... 2 tests OK test_io.R..................... 2 tests OK test_io.R..................... 3 tests OK test_io.R..................... 3 tests OK test_io.R..................... 4 tests OK test_io.R..................... 5 tests OK test_io.R..................... 6 tests OK test_io.R..................... 7 tests OK test_io.R..................... 7 tests OK test_io.R..................... 7 tests OK test_io.R..................... 8 tests OK test_io.R..................... 8 tests OK test_io.R..................... 9 tests OK test_io.R..................... 9 tests OK test_io.R..................... 9 tests OK test_io.R..................... 9 tests OK test_io.R..................... 10 tests OK test_io.R..................... 11 tests OK test_io.R..................... 12 tests OK 0.2s test_measureMRI.R............. 0 tests test_measureMRI.R............. 0 tests test_measureMRI.R............. 0 tests test_measureMRI.R............. 1 tests OK test_measureMRI.R............. 2 tests OK test_measureMRI.R............. 3 tests OK test_measureMRI.R............. 4 tests OK test_measureMRI.R............. 5 tests OK test_measureMRI.R............. 5 tests OK test_measureMRI.R............. 5 tests OK test_measureMRI.R............. 6 tests OK test_measureMRI.R............. 7 tests OK test_measureMRI.R............. 8 tests OK test_measureMRI.R............. 9 tests OK test_measureMRI.R............. 10 tests OK test_measureMRI.R............. 11 tests OK test_measureMRI.R............. 11 tests OK test_measureMRI.R............. 12 tests OK test_measureMRI.R............. 13 tests OK test_measureMRI.R............. 13 tests OK test_measureMRI.R............. 14 tests OK test_measureMRI.R............. 15 tests OK test_measureMRI.R............. 16 tests OK test_measureMRI.R............. 17 tests OK 27ms test_mritc_algorithms.R....... 0 tests test_mritc_algorithms.R....... 0 tests test_mritc_algorithms.R....... 0 tests test_mritc_algorithms.R....... 0 tests test_mritc_algorithms.R....... 1 tests OK test_mritc_algorithms.R....... 2 tests OK test_mritc_algorithms.R....... 3 tests OK test_mritc_algorithms.R....... 4 tests OK test_mritc_algorithms.R....... 5 tests OK test_mritc_algorithms.R....... 5 tests OK test_mritc_algorithms.R....... 5 tests OK test_mritc_algorithms.R....... 5 tests OK test_mritc_algorithms.R....... 6 tests OK test_mritc_algorithms.R....... 7 tests OK test_mritc_algorithms.R....... 8 tests OK test_mritc_algorithms.R....... 8 tests OK test_mritc_algorithms.R....... 9 tests OK test_mritc_algorithms.R....... 10 tests OK test_mritc_algorithms.R....... 10 tests OK test_mritc_algorithms.R....... 10 tests OK test_mritc_algorithms.R....... 10 tests OK test_mritc_algorithms.R....... 10 tests OK test_mritc_algorithms.R....... 10 tests OK test_mritc_algorithms.R....... 10 tests OK test_mritc_algorithms.R....... 10 tests OK test_mritc_algorithms.R....... 10 tests OK test_mritc_algorithms.R....... 10 tests OK test_mritc_algorithms.R....... 11 tests OK test_mritc_algorithms.R....... 12 tests OK test_mritc_algorithms.R....... 13 tests OK test_mritc_algorithms.R....... 13 tests OK test_mritc_algorithms.R....... 14 tests OK test_mritc_algorithms.R....... 15 tests OK test_mritc_algorithms.R....... 15 tests OK test_mritc_algorithms.R....... 16 tests OK test_mritc_algorithms.R....... 17 tests OK test_mritc_algorithms.R....... 18 tests OK test_mritc_algorithms.R....... 19 tests OK test_mritc_algorithms.R....... 20 tests OK test_mritc_algorithms.R....... 21 tests OK test_mritc_algorithms.R....... 22 tests OK 1.0s test_mritc_bayes.R............ 0 tests test_mritc_bayes.R............ 0 tests test_mritc_bayes.R............ 0 tests test_mritc_bayes.R............ 0 tests test_mritc_bayes.R............ 0 tests test_mritc_bayes.R............ 0 tests test_mritc_bayes.R............ 0 tests test_mritc_bayes.R............ 0 tests test_mritc_bayes.R............ 0 tests test_mritc_bayes.R............ 1 tests OK test_mritc_bayes.R............ 2 tests OK test_mritc_bayes.R............ 3 tests OK test_mritc_bayes.R............ 4 tests OK test_mritc_bayes.R............ 4 tests OK test_mritc_bayes.R............ 4 tests OK test_mritc_bayes.R............ 5 tests OK test_mritc_bayes.R............ 6 tests OK test_mritc_bayes.R............ 6 tests OK ================================================================= ==659645==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x7d98648edf38 at pc 0x7b285b9273c5 bp 0x7ffdbc7c2fa0 sp 0x7ffdbc7c2f98 READ of size 8 at 0x7d98648edf38 thread T0 #0 0x7b285b9273c4 in updateDistanceUnit._omp_fn.0 /data/localhost/ripley/R/packages/tests-gcc-SAN/mritc/src/updateDistanceUnit_omp.c:54 #1 0x7f28688452f5 in GOMP_parallel (/lib64/libgomp.so.1+0xe2f5) (BuildId: 8656fd4d61733363788824c29ba27efb455fbd66) #2 0x7b285b92ea24 in updateDistanceUnit /data/localhost/ripley/R/packages/tests-gcc-SAN/mritc/src/updateDistanceUnit_omp.c:46 #3 0x00000075ced0 in R_doDotCall /data/localhost/ripley/R/svn/R-devel/src/main/dotcode.c:785 #4 0x000000761d6a in do_dotcall /data/localhost/ripley/R/svn/R-devel/src/main/dotcode.c:1437 #5 0x0000008ff690 in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8700 #6 0x0000008d6ccb in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7533 #7 0x00000087830a in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167 #8 0x00000088eb1a in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2398 #9 0x0000008927ad in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2314 #10 0x0000008789b8 in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2333 #11 0x0000008789b8 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278 #12 0x0000008a6cee in do_set /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3585 #13 0x000000878de6 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1230 #14 0x0000008b10b9 in do_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3975 #15 0x0000008ebdcb in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8150 #16 0x0000008d6ccb in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7533 #17 0x00000087830a in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167 #18 0x00000088eb1a in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2398 #19 0x0000008927ad in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2314 #20 0x000000894519 in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2333 #21 0x000000894519 in R_forceAndCall /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2465 #22 0x0000004a2307 in do_lapply /data/localhost/ripley/R/svn/R-devel/src/main/apply.c:75 #23 0x000000ab9511 in do_internal /data/localhost/ripley/R/svn/R-devel/src/main/names.c:1425 #24 0x0000008f5a9c in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8170 #25 0x0000008d6ccb in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7533 #26 0x00000087830a in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167 #27 0x00000088eb1a in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2398 #28 0x0000008927ad in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2314 #29 0x0000008789b8 in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2333 #30 0x0000008789b8 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278 #31 0x000000878de6 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1230 #32 0x000000a1f2c8 in Rf_ReplIteration /data/localhost/ripley/R/svn/R-devel/src/main/main.c:264 #33 0x000000a1f2c8 in R_ReplConsole /data/localhost/ripley/R/svn/R-devel/src/main/main.c:317 #34 0x000000a3cf5a in run_Rmainloop /data/localhost/ripley/R/svn/R-devel/src/main/main.c:1237 #35 0x000000a3cff2 in Rf_mainloop /data/localhost/ripley/R/svn/R-devel/src/main/main.c:1244 #36 0x000000411f9f in main /data/localhost/ripley/R/svn/R-devel/src/main/Rmain.c:29 #37 0x7f286780a680 in __libc_start_call_main (/lib64/libc.so.6+0x3680) (BuildId: 17f2e1fd905f485786f6fd6e3bede4ad737137e7) #38 0x7f286780a797 in __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x3797) (BuildId: 17f2e1fd905f485786f6fd6e3bede4ad737137e7) #39 0x000000412964 in _start (/data/localhost/ripley/R/gcc-SAN3/bin/exec/R+0x412964) (BuildId: 519676d81cb7fb69610f5b477584dea05fd6fcb4) 0x7d98648edf38 is located 0 bytes after 13880-byte region [0x7d98648ea900,0x7d98648edf38) allocated by thread T0 here: #0 0x7f28690ef41f in malloc (/lib64/libasan.so.8+0xef41f) (BuildId: 5395ec74f54d9ec7bf97c06583dd39a96c230822) #1 0x000000a8eb60 in Rf_allocVector3 /data/localhost/ripley/R/svn/R-devel/src/main/memory.c:2894 #2 0x0000007b4164 in Rf_allocVector /data/localhost/ripley/R/svn/R-devel/src/include/Rinlinedfuns.h:609 #3 0x0000007b4164 in duplicate1 /data/localhost/ripley/R/svn/R-devel/src/main/duplicate.c:348 #4 0x7b285b92e325 in updateBias /data/localhost/ripley/R/packages/tests-gcc-SAN/mritc/src/updateBiasWeights_omp.c:115 #5 0x00000075cb03 in R_doDotCall /data/localhost/ripley/R/svn/R-devel/src/main/dotcode.c:801 #6 0x000000761d6a in do_dotcall /data/localhost/ripley/R/svn/R-devel/src/main/dotcode.c:1437 #7 0x0000008ff690 in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8700 #8 0x0000008d6ccb in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7533 #9 0x00000087830a in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167 #10 0x00000088eb1a in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2398 #11 0x0000008927ad in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2314 #12 0x0000008789b8 in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2333 #13 0x0000008789b8 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278 #14 0x0000008a6cee in do_set /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3585 #15 0x000000878de6 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1230 #16 0x0000008b10b9 in do_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3975 #17 0x0000008ebdcb in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8150 #18 0x0000008d6ccb in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7533 #19 0x00000087830a in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167 #20 0x00000088eb1a in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2398 #21 0x0000008927ad in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2314 #22 0x000000894519 in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2333 #23 0x000000894519 in R_forceAndCall /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2465 #24 0x0000004a2307 in do_lapply /data/localhost/ripley/R/svn/R-devel/src/main/apply.c:75 #25 0x000000ab9511 in do_internal /data/localhost/ripley/R/svn/R-devel/src/main/names.c:1425 #26 0x0000008f5a9c in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8170 #27 0x0000008d6ccb in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7533 #28 0x00000087830a in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167 #29 0x00000088eb1a in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2398 #30 0x0000008927ad in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2314 #31 0x0000008789b8 in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2333 #32 0x0000008789b8 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278 #33 0x000000878de6 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1230 SUMMARY: AddressSanitizer: heap-buffer-overflow /data/localhost/ripley/R/packages/tests-gcc-SAN/mritc/src/updateDistanceUnit_omp.c:54 in updateDistanceUnit._omp_fn.0 Shadow bytes around the buggy address: 0x7d98648edc80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7d98648edd00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7d98648edd80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7d98648ede00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7d98648ede80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x7d98648edf00: 00 00 00 00 00 00 00[fa]fa fa fa fa fa fa fa fa 0x7d98648edf80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7d98648ee000: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7d98648ee080: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7d98648ee100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7d98648ee180: 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 ==659645==ABORTING * DONE Status: 1 ERROR