R Under development (unstable) (2025-01-09 r87547) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > 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