* using log directory ‘/data/gannet/ripley/R/packages/tests-clang-UBSAN/RFpredInterval.Rcheck’ * using R Under development (unstable) (2025-01-09 r87547) * using platform: x86_64-pc-linux-gnu * R was compiled by clang version 19.1.6 flang-new version 19.1.6 * running under: Fedora Linux 36 (Workstation Edition) * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘RFpredInterval/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘RFpredInterval’ version ‘1.0.8’ * 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 ‘RFpredInterval’ can be installed ... [158s/208s] OK * used C compiler: ‘clang version 19.1.6’ * 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 ... NOTE File ‘RFpredInterval/libs/RFpredInterval.so’: Found non-API call to R: ‘STRING_PTR’ Compiled code should not call non-API entry points in R. See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual, and section ‘Moving into C API compliance’ for issues with the use of non-API entry points. * checking examples ... OK * checking tests ... [17s/21s] ERROR Running ‘testthat.R’ [16s/21s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(RFpredInterval) RFpredInterval 1.0.8 > > test_check("RFpredInterval") randomForestSRC.c:32478:56: runtime error: pointer index expression with base 0x000000000001 overflowed to 0xfffffffffffffff9 #0 0x7f748cb18741 in rfsrcGrow /data/gannet/ripley/R/packages/tests-clang-UBSAN/RFpredInterval/src/randomForestSRC.c:32478:56 #1 0x555616f458cb in R_doDotCall (/data/gannet/ripley/R/R-clang/bin/exec/R+0xf28cb) #2 0x555616f461bd in do_dotcall (/data/gannet/ripley/R/R-clang/bin/exec/R+0xf31bd) #3 0x555616f82482 in bcEval_loop eval.c #4 0x555616f7bbbb in bcEval eval.c #5 0x555616f7b344 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x128344) #6 0x555616f93e61 in R_execClosure eval.c #7 0x555616f9334b in applyClosure_core eval.c #8 0x555616f7b795 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x128795) #9 0x555616f0c970 in do_docall (/data/gannet/ripley/R/R-clang/bin/exec/R+0xb9970) #10 0x555616f82482 in bcEval_loop eval.c #11 0x555616f7bbbb in bcEval eval.c #12 0x555616f7b344 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x128344) #13 0x555616f93e61 in R_execClosure eval.c #14 0x555616f9334b in applyClosure_core eval.c #15 0x555616f7b795 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x128795) #16 0x555616f994a6 in do_set (/data/gannet/ripley/R/R-clang/bin/exec/R+0x1464a6) #17 0x555616f7b56f in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x12856f) #18 0x555616f9aba7 in do_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x147ba7) #19 0x555616f82482 in bcEval_loop eval.c #20 0x555616f7bbbb in bcEval eval.c #21 0x555616f7b344 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x128344) #22 0x555616f93e61 in R_execClosure eval.c #23 0x555616f9334b in applyClosure_core eval.c #24 0x555616f96904 in R_forceAndCall (/data/gannet/ripley/R/R-clang/bin/exec/R+0x143904) #25 0x555616ecd6bb in do_lapply (/data/gannet/ripley/R/R-clang/bin/exec/R+0x7a6bb) #26 0x555616fddd67 in do_internal (/data/gannet/ripley/R/R-clang/bin/exec/R+0x18ad67) #27 0x555616f8517a in bcEval_loop eval.c #28 0x555616f7bbbb in bcEval eval.c #29 0x555616f7b344 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x128344) #30 0x555616f93e61 in R_execClosure eval.c #31 0x555616f9334b in applyClosure_core eval.c #32 0x555616f7b795 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x128795) #33 0x555616fc92c0 in Rf_ReplIteration (/data/gannet/ripley/R/R-clang/bin/exec/R+0x1762c0) #34 0x555616fcac5e in run_Rmainloop (/data/gannet/ripley/R/R-clang/bin/exec/R+0x177c5e) #35 0x555616fcacca in Rf_mainloop (/data/gannet/ripley/R/R-clang/bin/exec/R+0x177cca) #36 0x555616eba947 in main (/data/gannet/ripley/R/R-clang/bin/exec/R+0x67947) #37 0x7f749d22950f in __libc_start_call_main (/lib64/libc.so.6+0x2950f) (BuildId: 8257ee907646e9b057197533d1e4ac8ede7a9c5c) #38 0x7f749d2295c8 in __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x295c8) (BuildId: 8257ee907646e9b057197533d1e4ac8ede7a9c5c) #39 0x555616eba864 in _start (/data/gannet/ripley/R/R-clang/bin/exec/R+0x67864) SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior randomForestSRC.c:32478:56 randomForestSRC.c:32602:65: runtime error: pointer index expression with base 0x000000000001 overflowed to 0xfffffffffffffff9 #0 0x7f748cb1879d in rfsrcGrow /data/gannet/ripley/R/packages/tests-clang-UBSAN/RFpredInterval/src/randomForestSRC.c:32602:65 #1 0x555616f458cb in R_doDotCall (/data/gannet/ripley/R/R-clang/bin/exec/R+0xf28cb) #2 0x555616f461bd in do_dotcall (/data/gannet/ripley/R/R-clang/bin/exec/R+0xf31bd) #3 0x555616f82482 in bcEval_loop eval.c #4 0x555616f7bbbb in bcEval eval.c #5 0x555616f7b344 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x128344) #6 0x555616f93e61 in R_execClosure eval.c #7 0x555616f9334b in applyClosure_core eval.c #8 0x555616f7b795 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x128795) #9 0x555616f0c970 in do_docall (/data/gannet/ripley/R/R-clang/bin/exec/R+0xb9970) #10 0x555616f82482 in bcEval_loop eval.c #11 0x555616f7bbbb in bcEval eval.c #12 0x555616f7b344 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x128344) #13 0x555616f93e61 in R_execClosure eval.c #14 0x555616f9334b in applyClosure_core eval.c #15 0x555616f7b795 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x128795) #16 0x555616f994a6 in do_set (/data/gannet/ripley/R/R-clang/bin/exec/R+0x1464a6) #17 0x555616f7b56f in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x12856f) #18 0x555616f9aba7 in do_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x147ba7) #19 0x555616f82482 in bcEval_loop eval.c #20 0x555616f7bbbb in bcEval eval.c #21 0x555616f7b344 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x128344) #22 0x555616f93e61 in R_execClosure eval.c #23 0x555616f9334b in applyClosure_core eval.c #24 0x555616f96904 in R_forceAndCall (/data/gannet/ripley/R/R-clang/bin/exec/R+0x143904) #25 0x555616ecd6bb in do_lapply (/data/gannet/ripley/R/R-clang/bin/exec/R+0x7a6bb) #26 0x555616fddd67 in do_internal (/data/gannet/ripley/R/R-clang/bin/exec/R+0x18ad67) #27 0x555616f8517a in bcEval_loop eval.c #28 0x555616f7bbbb in bcEval eval.c #29 0x555616f7b344 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x128344) #30 0x555616f93e61 in R_execClosure eval.c #31 0x555616f9334b in applyClosure_core eval.c #32 0x555616f7b795 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x128795) #33 0x555616fc92c0 in Rf_ReplIteration (/data/gannet/ripley/R/R-clang/bin/exec/R+0x1762c0) #34 0x555616fcac5e in run_Rmainloop (/data/gannet/ripley/R/R-clang/bin/exec/R+0x177c5e) #35 0x555616fcacca in Rf_mainloop (/data/gannet/ripley/R/R-clang/bin/exec/R+0x177cca) #36 0x555616eba947 in main (/data/gannet/ripley/R/R-clang/bin/exec/R+0x67947) #37 0x7f749d22950f in __libc_start_call_main (/lib64/libc.so.6+0x2950f) (BuildId: 8257ee907646e9b057197533d1e4ac8ede7a9c5c) #38 0x7f749d2295c8 in __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x295c8) (BuildId: 8257ee907646e9b057197533d1e4ac8ede7a9c5c) #39 0x555616eba864 in _start (/data/gannet/ripley/R/R-clang/bin/exec/R+0x67864) SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior randomForestSRC.c:32602:65 randomForestSRC.c:32606:57: runtime error: pointer index expression with base 0x000000000001 overflowed to 0xfffffffffffffff9 #0 0x7f748cb187b4 in rfsrcGrow /data/gannet/ripley/R/packages/tests-clang-UBSAN/RFpredInterval/src/randomForestSRC.c:32606:57 #1 0x555616f458cb in R_doDotCall (/data/gannet/ripley/R/R-clang/bin/exec/R+0xf28cb) #2 0x555616f461bd in do_dotcall (/data/gannet/ripley/R/R-clang/bin/exec/R+0xf31bd) #3 0x555616f82482 in bcEval_loop eval.c #4 0x555616f7bbbb in bcEval eval.c #5 0x555616f7b344 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x128344) #6 0x555616f93e61 in R_execClosure eval.c #7 0x555616f9334b in applyClosure_core eval.c #8 0x555616f7b795 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x128795) #9 0x555616f0c970 in do_docall (/data/gannet/ripley/R/R-clang/bin/exec/R+0xb9970) #10 0x555616f82482 in bcEval_loop eval.c #11 0x555616f7bbbb in bcEval eval.c #12 0x555616f7b344 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x128344) #13 0x555616f93e61 in R_execClosure eval.c #14 0x555616f9334b in applyClosure_core eval.c #15 0x555616f7b795 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x128795) #16 0x555616f994a6 in do_set (/data/gannet/ripley/R/R-clang/bin/exec/R+0x1464a6) #17 0x555616f7b56f in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x12856f) #18 0x555616f9aba7 in do_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x147ba7) #19 0x555616f82482 in bcEval_loop eval.c #20 0x555616f7bbbb in bcEval eval.c #21 0x555616f7b344 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x128344) #22 0x555616f93e61 in R_execClosure eval.c #23 0x555616f9334b in applyClosure_core eval.c #24 0x555616f96904 in R_forceAndCall (/data/gannet/ripley/R/R-clang/bin/exec/R+0x143904) #25 0x555616ecd6bb in do_lapply (/data/gannet/ripley/R/R-clang/bin/exec/R+0x7a6bb) #26 0x555616fddd67 in do_internal (/data/gannet/ripley/R/R-clang/bin/exec/R+0x18ad67) #27 0x555616f8517a in bcEval_loop eval.c #28 0x555616f7bbbb in bcEval eval.c #29 0x555616f7b344 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x128344) #30 0x555616f93e61 in R_execClosure eval.c #31 0x555616f9334b in applyClosure_core eval.c #32 0x555616f7b795 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x128795) #33 0x555616fc92c0 in Rf_ReplIteration (/data/gannet/ripley/R/R-clang/bin/exec/R+0x1762c0) #34 0x555616fcac5e in run_Rmainloop (/data/gannet/ripley/R/R-clang/bin/exec/R+0x177c5e) #35 0x555616fcacca in Rf_mainloop (/data/gannet/ripley/R/R-clang/bin/exec/R+0x177cca) #36 0x555616eba947 in main (/data/gannet/ripley/R/R-clang/bin/exec/R+0x67947) #37 0x7f749d22950f in __libc_start_call_main (/lib64/libc.so.6+0x2950f) (BuildId: 8257ee907646e9b057197533d1e4ac8ede7a9c5c) #38 0x7f749d2295c8 in __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x295c8) (BuildId: 8257ee907646e9b057197533d1e4ac8ede7a9c5c) #39 0x555616eba864 in _start (/data/gannet/ripley/R/R-clang/bin/exec/R+0x67864) SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior randomForestSRC.c:32606:57 randomForestSRC.c:32607:29: runtime error: load of misaligned address 0x000000000001 for type 'double', which requires 8 byte alignment 0x000000000001: note: pointer points here #0 0x7f748cb18698 in rfsrcGrow /data/gannet/ripley/R/packages/tests-clang-UBSAN/RFpredInterval/src/randomForestSRC.c:32607:29 #1 0x555616f458cb in R_doDotCall (/data/gannet/ripley/R/R-clang/bin/exec/R+0xf28cb) #2 0x555616f461bd in do_dotcall (/data/gannet/ripley/R/R-clang/bin/exec/R+0xf31bd) #3 0x555616f82482 in bcEval_loop eval.c #4 0x555616f7bbbb in bcEval eval.c #5 0x555616f7b344 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x128344) #6 0x555616f93e61 in R_execClosure eval.c #7 0x555616f9334b in applyClosure_core eval.c #8 0x555616f7b795 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x128795) #9 0x555616f0c970 in do_docall (/data/gannet/ripley/R/R-clang/bin/exec/R+0xb9970) #10 0x555616f82482 in bcEval_loop eval.c #11 0x555616f7bbbb in bcEval eval.c #12 0x555616f7b344 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x128344) #13 0x555616f93e61 in R_execClosure eval.c #14 0x555616f9334b in applyClosure_core eval.c #15 0x555616f7b795 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x128795) #16 0x555616f994a6 in do_set (/data/gannet/ripley/R/R-clang/bin/exec/R+0x1464a6) #17 0x555616f7b56f in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x12856f) #18 0x555616f9aba7 in do_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x147ba7) #19 0x555616f82482 in bcEval_loop eval.c #20 0x555616f7bbbb in bcEval eval.c #21 0x555616f7b344 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x128344) #22 0x555616f93e61 in R_execClosure eval.c #23 0x555616f9334b in applyClosure_core eval.c #24 0x555616f96904 in R_forceAndCall (/data/gannet/ripley/R/R-clang/bin/exec/R+0x143904) #25 0x555616ecd6bb in do_lapply (/data/gannet/ripley/R/R-clang/bin/exec/R+0x7a6bb) #26 0x555616fddd67 in do_internal (/data/gannet/ripley/R/R-clang/bin/exec/R+0x18ad67) #27 0x555616f8517a in bcEval_loop eval.c #28 0x555616f7bbbb in bcEval eval.c #29 0x555616f7b344 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x128344) #30 0x555616f93e61 in R_execClosure eval.c #31 0x555616f9334b in applyClosure_core eval.c #32 0x555616f7b795 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x128795) #33 0x555616fc92c0 in Rf_ReplIteration (/data/gannet/ripley/R/R-clang/bin/exec/R+0x1762c0) #34 0x555616fcac5e in run_Rmainloop (/data/gannet/ripley/R/R-clang/bin/exec/R+0x177c5e) #35 0x555616fcacca in Rf_mainloop (/data/gannet/ripley/R/R-clang/bin/exec/R+0x177cca) #36 0x555616eba947 in main (/data/gannet/ripley/R/R-clang/bin/exec/R+0x67947) #37 0x7f749d22950f in __libc_start_call_main (/lib64/libc.so.6+0x2950f) (BuildId: 8257ee907646e9b057197533d1e4ac8ede7a9c5c) #38 0x7f749d2295c8 in __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x295c8) (BuildId: 8257ee907646e9b057197533d1e4ac8ede7a9c5c) #39 0x555616eba864 in _start (/data/gannet/ripley/R/R-clang/bin/exec/R+0x67864) SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior randomForestSRC.c:32607:29 UndefinedBehaviorSanitizer:DEADLYSIGNAL ==3108092==ERROR: UndefinedBehaviorSanitizer: SEGV on unknown address 0x000000000001 (pc 0x7f748cb18005 bp 0x7ffff66a3a00 sp 0x7ffff66a39c0 T3108092) ==3108092==The signal is caused by a READ memory access. ==3108092==Hint: address points to the zero page. #0 0x7f748cb18005 in rfsrcGrow /data/gannet/ripley/R/packages/tests-clang-UBSAN/RFpredInterval/src/randomForestSRC.c:32607:29 #1 0x555616f458cb in R_doDotCall (/data/gannet/ripley/R/R-clang/bin/exec/R+0xf28cb) #2 0x555616f461bd in do_dotcall (/data/gannet/ripley/R/R-clang/bin/exec/R+0xf31bd) #3 0x555616f82482 in bcEval_loop eval.c #4 0x555616f7bbbb in bcEval eval.c #5 0x555616f7b344 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x128344) #6 0x555616f93e61 in R_execClosure eval.c #7 0x555616f9334b in applyClosure_core eval.c #8 0x555616f7b795 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x128795) #9 0x555616f0c970 in do_docall (/data/gannet/ripley/R/R-clang/bin/exec/R+0xb9970) #10 0x555616f82482 in bcEval_loop eval.c #11 0x555616f7bbbb in bcEval eval.c #12 0x555616f7b344 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x128344) #13 0x555616f93e61 in R_execClosure eval.c #14 0x555616f9334b in applyClosure_core eval.c #15 0x555616f7b795 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x128795) #16 0x555616f994a6 in do_set (/data/gannet/ripley/R/R-clang/bin/exec/R+0x1464a6) #17 0x555616f7b56f in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x12856f) #18 0x555616f9aba7 in do_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x147ba7) #19 0x555616f82482 in bcEval_loop eval.c #20 0x555616f7bbbb in bcEval eval.c #21 0x555616f7b344 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x128344) #22 0x555616f93e61 in R_execClosure eval.c #23 0x555616f9334b in applyClosure_core eval.c #24 0x555616f96904 in R_forceAndCall (/data/gannet/ripley/R/R-clang/bin/exec/R+0x143904) #25 0x555616ecd6bb in do_lapply (/data/gannet/ripley/R/R-clang/bin/exec/R+0x7a6bb) #26 0x555616fddd67 in do_internal (/data/gannet/ripley/R/R-clang/bin/exec/R+0x18ad67) #27 0x555616f8517a in bcEval_loop eval.c #28 0x555616f7bbbb in bcEval eval.c #29 0x555616f7b344 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x128344) #30 0x555616f93e61 in R_execClosure eval.c #31 0x555616f9334b in applyClosure_core eval.c #32 0x555616f7b795 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0x128795) #33 0x555616fc92c0 in Rf_ReplIteration (/data/gannet/ripley/R/R-clang/bin/exec/R+0x1762c0) #34 0x555616fcac5e in run_Rmainloop (/data/gannet/ripley/R/R-clang/bin/exec/R+0x177c5e) #35 0x555616fcacca in Rf_mainloop (/data/gannet/ripley/R/R-clang/bin/exec/R+0x177cca) #36 0x555616eba947 in main (/data/gannet/ripley/R/R-clang/bin/exec/R+0x67947) #37 0x7f749d22950f in __libc_start_call_main (/lib64/libc.so.6+0x2950f) (BuildId: 8257ee907646e9b057197533d1e4ac8ede7a9c5c) #38 0x7f749d2295c8 in __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x295c8) (BuildId: 8257ee907646e9b057197533d1e4ac8ede7a9c5c) #39 0x555616eba864 in _start (/data/gannet/ripley/R/R-clang/bin/exec/R+0x67864) ==3108092==Register values: rax = 0x0000000000000001 rbx = 0x0000000000000001 rcx = 0x0000000000000000 rdx = 0x0000000000000000 rdi = 0x0000000000000000 rsi = 0x0000000000000000 rbp = 0x00007ffff66a3a00 rsp = 0x00007ffff66a39c0 r8 = 0x0000000000000067 r9 = 0x0000000000000002 r10 = 0x0000000000000043 r11 = 0x0000000000000206 r12 = 0xfffffffffffffff9 r13 = 0x00005556171c4c98 r14 = 0x000055562233adc8 r15 = 0x0000555617d92dd0 UndefinedBehaviorSanitizer can not provide additional info. SUMMARY: UndefinedBehaviorSanitizer: SEGV /data/gannet/ripley/R/packages/tests-clang-UBSAN/RFpredInterval/src/randomForestSRC.c:32607:29 in rfsrcGrow ==3108092==ABORTING * DONE Status: 1 ERROR, 1 NOTE