--- re-building ‘spBFA-example.Rmd’ using rmarkdown /data/gannet/ripley/R/test-clang/RcppArmadillo/include/current/armadillo_bits/subview_meat.hpp:1413:23: runtime error: reference binding to null pointer of type 'const double' #0 0x7f4c78e9a148 in arma::subview::colptr(unsigned int) /data/gannet/ripley/R/test-clang/RcppArmadillo/include/current/armadillo_bits/subview_meat.hpp:1413:12 #1 0x7f4c78e9a148 in arma::subview_row::subview_row(arma::Mat const&, unsigned int) /data/gannet/ripley/R/test-clang/RcppArmadillo/include/current/armadillo_bits/subview_meat.hpp:4271:25 #2 0x7f4c78e9a148 in arma::Mat::row(unsigned int) /data/gannet/ripley/R/test-clang/RcppArmadillo/include/current/armadillo_bits/Mat_meat.hpp:3350:10 #3 0x7f4c78e9a148 in GetLogLik(Rcpp::Vector<19, Rcpp::PreserveStorage>, Rcpp::Vector<19, Rcpp::PreserveStorage>, int, bool) /data/gannet/ripley/R/packages/tests-clang-UBSAN/spBFA/src/DIAG_GetLogLik.cpp:63:20 #4 0x7f4c78f1a4bc in _spBFA_GetLogLik /data/gannet/ripley/R/packages/tests-clang-UBSAN/spBFA/src/RcppExports.cpp:63:34 #5 0x55f6e8ca5a45 in R_doDotCall (/data/gannet/ripley/R/R-clang/bin/exec/R+0x8ea45) #6 0x55f6e8ca7bfd in do_dotcall (/data/gannet/ripley/R/R-clang/bin/exec/R+0x90bfd) #7 0x55f6e8ce57ea in bcEval_loop eval.c #8 0x55f6e8cddbeb in bcEval eval.c #9 0x55f6e8cdd374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #10 0x55f6e8cfa768 in R_execClosure eval.c #11 0x55f6e8cf9c6b in applyClosure_core eval.c #12 0x55f6e8cdd7c5 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc67c5) #13 0x55f6e8cffd6d in do_set (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe8d6d) #14 0x55f6e8cdd59f in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc659f) #15 0x55f6e8d011d7 in do_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xea1d7) #16 0x55f6e8ce57ea in bcEval_loop eval.c #17 0x55f6e8cddbeb in bcEval eval.c #18 0x55f6e8cdd374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #19 0x55f6e8cdde73 in forcePromise eval.c #20 0x55f6e8cdd43d in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc643d) #21 0x55f6e8d016b6 in do_withVisible (/data/gannet/ripley/R/R-clang/bin/exec/R+0xea6b6) #22 0x55f6e8d44bc7 in do_internal (/data/gannet/ripley/R/R-clang/bin/exec/R+0x12dbc7) #23 0x55f6e8ce5a6b in bcEval_loop eval.c #24 0x55f6e8cddbeb in bcEval eval.c #25 0x55f6e8cdd374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #26 0x55f6e8cdde73 in forcePromise eval.c #27 0x55f6e8cdd43d in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc643d) #28 0x55f6e8cdde73 in forcePromise eval.c #29 0x55f6e8cf6eef in getvar eval.c #30 0x55f6e8ce28d1 in bcEval_loop eval.c #31 0x55f6e8cddbeb in bcEval eval.c #32 0x55f6e8cdd374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #33 0x55f6e8cfa768 in R_execClosure eval.c #34 0x55f6e8cf9c6b in applyClosure_core eval.c #35 0x55f6e8cdd7c5 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc67c5) #36 0x55f6e8d011d7 in do_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xea1d7) #37 0x55f6e8ce57ea in bcEval_loop eval.c #38 0x55f6e8cddbeb in bcEval eval.c #39 0x55f6e8cdd374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #40 0x55f6e8cfa768 in R_execClosure eval.c #41 0x55f6e8cf9c6b in applyClosure_core eval.c #42 0x55f6e8cdd7c5 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc67c5) #43 0x55f6e8cfa768 in R_execClosure eval.c #44 0x55f6e8cf9c6b in applyClosure_core eval.c #45 0x55f6e8ce4ff2 in bcEval_loop eval.c #46 0x55f6e8cddbeb in bcEval eval.c #47 0x55f6e8cdd374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #48 0x55f6e8cfa768 in R_execClosure eval.c #49 0x55f6e8cf9c6b in applyClosure_core eval.c #50 0x55f6e8cdd7c5 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc67c5) #51 0x55f6e8d2f717 in Rf_ReplIteration (/data/gannet/ripley/R/R-clang/bin/exec/R+0x118717) #52 0x55f6e8d3121e in run_Rmainloop (/data/gannet/ripley/R/R-clang/bin/exec/R+0x11a21e) #53 0x55f6e8d3128a in Rf_mainloop (/data/gannet/ripley/R/R-clang/bin/exec/R+0x11a28a) #54 0x55f6e8c18da7 in main (/data/gannet/ripley/R/R-clang/bin/exec/R+0x1da7) #55 0x7f4c8a3135f4 in __libc_start_call_main (/lib64/libc.so.6+0x35f4) (BuildId: a1dda014206b55b07f58fe8db80121b752dc3d03) #56 0x7f4c8a3136a7 in __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x36a7) (BuildId: a1dda014206b55b07f58fe8db80121b752dc3d03) #57 0x55f6e8c18cc4 in _start (/data/gannet/ripley/R/R-clang/bin/exec/R+0x1cc4) SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /data/gannet/ripley/R/test-clang/RcppArmadillo/include/current/armadillo_bits/subview_meat.hpp:1413:23 /data/gannet/ripley/R/test-clang/RcppArmadillo/include/current/armadillo_bits/subview_meat.hpp:1413:23: runtime error: applying non-zero offset 8 to null pointer #0 0x7f4c78e9a130 in arma::subview::colptr(unsigned int) /data/gannet/ripley/R/test-clang/RcppArmadillo/include/current/armadillo_bits/subview_meat.hpp:1413:23 #1 0x7f4c78e9a130 in arma::subview_row::subview_row(arma::Mat const&, unsigned int) /data/gannet/ripley/R/test-clang/RcppArmadillo/include/current/armadillo_bits/subview_meat.hpp:4271:25 #2 0x7f4c78e9a130 in arma::Mat::row(unsigned int) /data/gannet/ripley/R/test-clang/RcppArmadillo/include/current/armadillo_bits/Mat_meat.hpp:3350:10 #3 0x7f4c78e9a130 in GetLogLik(Rcpp::Vector<19, Rcpp::PreserveStorage>, Rcpp::Vector<19, Rcpp::PreserveStorage>, int, bool) /data/gannet/ripley/R/packages/tests-clang-UBSAN/spBFA/src/DIAG_GetLogLik.cpp:63:20 #4 0x7f4c78f1a4bc in _spBFA_GetLogLik /data/gannet/ripley/R/packages/tests-clang-UBSAN/spBFA/src/RcppExports.cpp:63:34 #5 0x55f6e8ca5a45 in R_doDotCall (/data/gannet/ripley/R/R-clang/bin/exec/R+0x8ea45) #6 0x55f6e8ca7bfd in do_dotcall (/data/gannet/ripley/R/R-clang/bin/exec/R+0x90bfd) #7 0x55f6e8ce57ea in bcEval_loop eval.c #8 0x55f6e8cddbeb in bcEval eval.c #9 0x55f6e8cdd374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #10 0x55f6e8cfa768 in R_execClosure eval.c #11 0x55f6e8cf9c6b in applyClosure_core eval.c #12 0x55f6e8cdd7c5 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc67c5) #13 0x55f6e8cffd6d in do_set (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe8d6d) #14 0x55f6e8cdd59f in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc659f) #15 0x55f6e8d011d7 in do_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xea1d7) #16 0x55f6e8ce57ea in bcEval_loop eval.c #17 0x55f6e8cddbeb in bcEval eval.c #18 0x55f6e8cdd374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #19 0x55f6e8cdde73 in forcePromise eval.c #20 0x55f6e8cdd43d in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc643d) #21 0x55f6e8d016b6 in do_withVisible (/data/gannet/ripley/R/R-clang/bin/exec/R+0xea6b6) #22 0x55f6e8d44bc7 in do_internal (/data/gannet/ripley/R/R-clang/bin/exec/R+0x12dbc7) #23 0x55f6e8ce5a6b in bcEval_loop eval.c #24 0x55f6e8cddbeb in bcEval eval.c #25 0x55f6e8cdd374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #26 0x55f6e8cdde73 in forcePromise eval.c #27 0x55f6e8cdd43d in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc643d) #28 0x55f6e8cdde73 in forcePromise eval.c #29 0x55f6e8cf6eef in getvar eval.c #30 0x55f6e8ce28d1 in bcEval_loop eval.c #31 0x55f6e8cddbeb in bcEval eval.c #32 0x55f6e8cdd374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #33 0x55f6e8cfa768 in R_execClosure eval.c #34 0x55f6e8cf9c6b in applyClosure_core eval.c #35 0x55f6e8cdd7c5 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc67c5) #36 0x55f6e8d011d7 in do_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xea1d7) #37 0x55f6e8ce57ea in bcEval_loop eval.c #38 0x55f6e8cddbeb in bcEval eval.c #39 0x55f6e8cdd374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #40 0x55f6e8cfa768 in R_execClosure eval.c #41 0x55f6e8cf9c6b in applyClosure_core eval.c #42 0x55f6e8cdd7c5 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc67c5) #43 0x55f6e8cfa768 in R_execClosure eval.c #44 0x55f6e8cf9c6b in applyClosure_core eval.c #45 0x55f6e8ce4ff2 in bcEval_loop eval.c #46 0x55f6e8cddbeb in bcEval eval.c #47 0x55f6e8cdd374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #48 0x55f6e8cfa768 in R_execClosure eval.c #49 0x55f6e8cf9c6b in applyClosure_core eval.c #50 0x55f6e8cdd7c5 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc67c5) #51 0x55f6e8d2f717 in Rf_ReplIteration (/data/gannet/ripley/R/R-clang/bin/exec/R+0x118717) #52 0x55f6e8d3121e in run_Rmainloop (/data/gannet/ripley/R/R-clang/bin/exec/R+0x11a21e) #53 0x55f6e8d3128a in Rf_mainloop (/data/gannet/ripley/R/R-clang/bin/exec/R+0x11a28a) #54 0x55f6e8c18da7 in main (/data/gannet/ripley/R/R-clang/bin/exec/R+0x1da7) #55 0x7f4c8a3135f4 in __libc_start_call_main (/lib64/libc.so.6+0x35f4) (BuildId: a1dda014206b55b07f58fe8db80121b752dc3d03) #56 0x7f4c8a3136a7 in __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x36a7) (BuildId: a1dda014206b55b07f58fe8db80121b752dc3d03) #57 0x55f6e8c18cc4 in _start (/data/gannet/ripley/R/R-clang/bin/exec/R+0x1cc4) SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /data/gannet/ripley/R/test-clang/RcppArmadillo/include/current/armadillo_bits/subview_meat.hpp:1413:23 /data/gannet/ripley/R/test-clang/RcppArmadillo/include/current/armadillo_bits/subview_meat.hpp:1413:23: runtime error: reference binding to null pointer of type 'const double' #0 0x7f4c78ea3803 in arma::subview::colptr(unsigned int) /data/gannet/ripley/R/test-clang/RcppArmadillo/include/current/armadillo_bits/subview_meat.hpp:1413:12 #1 0x7f4c78ea3803 in arma::subview_row::subview_row(arma::Mat const&, unsigned int) /data/gannet/ripley/R/test-clang/RcppArmadillo/include/current/armadillo_bits/subview_meat.hpp:4271:25 #2 0x7f4c78ea3803 in arma::Mat::row(unsigned int) /data/gannet/ripley/R/test-clang/RcppArmadillo/include/current/armadillo_bits/Mat_meat.hpp:3350:10 #3 0x7f4c78ea3803 in SamplePPD(Rcpp::Vector<19, Rcpp::PreserveStorage>, Rcpp::Vector<19, Rcpp::PreserveStorage>, int, bool) /data/gannet/ripley/R/packages/tests-clang-UBSAN/spBFA/src/DIAG_SamplePPD.cpp:56:20 #4 0x7f4c78f1b02c in _spBFA_SamplePPD /data/gannet/ripley/R/packages/tests-clang-UBSAN/spBFA/src/RcppExports.cpp:89:34 #5 0x55f6e8ca5a45 in R_doDotCall (/data/gannet/ripley/R/R-clang/bin/exec/R+0x8ea45) #6 0x55f6e8ca7bfd in do_dotcall (/data/gannet/ripley/R/R-clang/bin/exec/R+0x90bfd) #7 0x55f6e8ce57ea in bcEval_loop eval.c #8 0x55f6e8cddbeb in bcEval eval.c #9 0x55f6e8cdd374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #10 0x55f6e8cfa768 in R_execClosure eval.c #11 0x55f6e8cf9c6b in applyClosure_core eval.c #12 0x55f6e8cdd7c5 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc67c5) #13 0x55f6e8cffd6d in do_set (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe8d6d) #14 0x55f6e8cdd59f in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc659f) #15 0x55f6e8d011d7 in do_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xea1d7) #16 0x55f6e8ce57ea in bcEval_loop eval.c #17 0x55f6e8cddbeb in bcEval eval.c #18 0x55f6e8cdd374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #19 0x55f6e8cdde73 in forcePromise eval.c #20 0x55f6e8cdd43d in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc643d) #21 0x55f6e8d016b6 in do_withVisible (/data/gannet/ripley/R/R-clang/bin/exec/R+0xea6b6) #22 0x55f6e8d44bc7 in do_internal (/data/gannet/ripley/R/R-clang/bin/exec/R+0x12dbc7) #23 0x55f6e8ce5a6b in bcEval_loop eval.c #24 0x55f6e8cddbeb in bcEval eval.c #25 0x55f6e8cdd374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #26 0x55f6e8cdde73 in forcePromise eval.c #27 0x55f6e8cdd43d in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc643d) #28 0x55f6e8cdde73 in forcePromise eval.c #29 0x55f6e8cf6eef in getvar eval.c #30 0x55f6e8ce28d1 in bcEval_loop eval.c #31 0x55f6e8cddbeb in bcEval eval.c #32 0x55f6e8cdd374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #33 0x55f6e8cfa768 in R_execClosure eval.c #34 0x55f6e8cf9c6b in applyClosure_core eval.c #35 0x55f6e8cdd7c5 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc67c5) #36 0x55f6e8d011d7 in do_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xea1d7) #37 0x55f6e8ce57ea in bcEval_loop eval.c #38 0x55f6e8cddbeb in bcEval eval.c #39 0x55f6e8cdd374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #40 0x55f6e8cfa768 in R_execClosure eval.c #41 0x55f6e8cf9c6b in applyClosure_core eval.c #42 0x55f6e8cdd7c5 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc67c5) #43 0x55f6e8cfa768 in R_execClosure eval.c #44 0x55f6e8cf9c6b in applyClosure_core eval.c #45 0x55f6e8ce4ff2 in bcEval_loop eval.c #46 0x55f6e8cddbeb in bcEval eval.c #47 0x55f6e8cdd374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #48 0x55f6e8cfa768 in R_execClosure eval.c #49 0x55f6e8cf9c6b in applyClosure_core eval.c #50 0x55f6e8cdd7c5 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc67c5) #51 0x55f6e8d2f717 in Rf_ReplIteration (/data/gannet/ripley/R/R-clang/bin/exec/R+0x118717) #52 0x55f6e8d3121e in run_Rmainloop (/data/gannet/ripley/R/R-clang/bin/exec/R+0x11a21e) #53 0x55f6e8d3128a in Rf_mainloop (/data/gannet/ripley/R/R-clang/bin/exec/R+0x11a28a) #54 0x55f6e8c18da7 in main (/data/gannet/ripley/R/R-clang/bin/exec/R+0x1da7) #55 0x7f4c8a3135f4 in __libc_start_call_main (/lib64/libc.so.6+0x35f4) (BuildId: a1dda014206b55b07f58fe8db80121b752dc3d03) #56 0x7f4c8a3136a7 in __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x36a7) (BuildId: a1dda014206b55b07f58fe8db80121b752dc3d03) #57 0x55f6e8c18cc4 in _start (/data/gannet/ripley/R/R-clang/bin/exec/R+0x1cc4) SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /data/gannet/ripley/R/test-clang/RcppArmadillo/include/current/armadillo_bits/subview_meat.hpp:1413:23 /data/gannet/ripley/R/test-clang/RcppArmadillo/include/current/armadillo_bits/subview_meat.hpp:1413:23: runtime error: applying non-zero offset 8 to null pointer #0 0x7f4c78ea37eb in arma::subview::colptr(unsigned int) /data/gannet/ripley/R/test-clang/RcppArmadillo/include/current/armadillo_bits/subview_meat.hpp:1413:23 #1 0x7f4c78ea37eb in arma::subview_row::subview_row(arma::Mat const&, unsigned int) /data/gannet/ripley/R/test-clang/RcppArmadillo/include/current/armadillo_bits/subview_meat.hpp:4271:25 #2 0x7f4c78ea37eb in arma::Mat::row(unsigned int) /data/gannet/ripley/R/test-clang/RcppArmadillo/include/current/armadillo_bits/Mat_meat.hpp:3350:10 #3 0x7f4c78ea37eb in SamplePPD(Rcpp::Vector<19, Rcpp::PreserveStorage>, Rcpp::Vector<19, Rcpp::PreserveStorage>, int, bool) /data/gannet/ripley/R/packages/tests-clang-UBSAN/spBFA/src/DIAG_SamplePPD.cpp:56:20 #4 0x7f4c78f1b02c in _spBFA_SamplePPD /data/gannet/ripley/R/packages/tests-clang-UBSAN/spBFA/src/RcppExports.cpp:89:34 #5 0x55f6e8ca5a45 in R_doDotCall (/data/gannet/ripley/R/R-clang/bin/exec/R+0x8ea45) #6 0x55f6e8ca7bfd in do_dotcall (/data/gannet/ripley/R/R-clang/bin/exec/R+0x90bfd) #7 0x55f6e8ce57ea in bcEval_loop eval.c #8 0x55f6e8cddbeb in bcEval eval.c #9 0x55f6e8cdd374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #10 0x55f6e8cfa768 in R_execClosure eval.c #11 0x55f6e8cf9c6b in applyClosure_core eval.c #12 0x55f6e8cdd7c5 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc67c5) #13 0x55f6e8cffd6d in do_set (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe8d6d) #14 0x55f6e8cdd59f in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc659f) #15 0x55f6e8d011d7 in do_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xea1d7) #16 0x55f6e8ce57ea in bcEval_loop eval.c #17 0x55f6e8cddbeb in bcEval eval.c #18 0x55f6e8cdd374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #19 0x55f6e8cdde73 in forcePromise eval.c #20 0x55f6e8cdd43d in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc643d) #21 0x55f6e8d016b6 in do_withVisible (/data/gannet/ripley/R/R-clang/bin/exec/R+0xea6b6) #22 0x55f6e8d44bc7 in do_internal (/data/gannet/ripley/R/R-clang/bin/exec/R+0x12dbc7) #23 0x55f6e8ce5a6b in bcEval_loop eval.c #24 0x55f6e8cddbeb in bcEval eval.c #25 0x55f6e8cdd374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #26 0x55f6e8cdde73 in forcePromise eval.c #27 0x55f6e8cdd43d in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc643d) #28 0x55f6e8cdde73 in forcePromise eval.c #29 0x55f6e8cf6eef in getvar eval.c #30 0x55f6e8ce28d1 in bcEval_loop eval.c #31 0x55f6e8cddbeb in bcEval eval.c #32 0x55f6e8cdd374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #33 0x55f6e8cfa768 in R_execClosure eval.c #34 0x55f6e8cf9c6b in applyClosure_core eval.c #35 0x55f6e8cdd7c5 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc67c5) #36 0x55f6e8d011d7 in do_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xea1d7) #37 0x55f6e8ce57ea in bcEval_loop eval.c #38 0x55f6e8cddbeb in bcEval eval.c #39 0x55f6e8cdd374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #40 0x55f6e8cfa768 in R_execClosure eval.c #41 0x55f6e8cf9c6b in applyClosure_core eval.c #42 0x55f6e8cdd7c5 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc67c5) #43 0x55f6e8cfa768 in R_execClosure eval.c #44 0x55f6e8cf9c6b in applyClosure_core eval.c #45 0x55f6e8ce4ff2 in bcEval_loop eval.c #46 0x55f6e8cddbeb in bcEval eval.c #47 0x55f6e8cdd374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #48 0x55f6e8cfa768 in R_execClosure eval.c #49 0x55f6e8cf9c6b in applyClosure_core eval.c #50 0x55f6e8cdd7c5 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc67c5) #51 0x55f6e8d2f717 in Rf_ReplIteration (/data/gannet/ripley/R/R-clang/bin/exec/R+0x118717) #52 0x55f6e8d3121e in run_Rmainloop (/data/gannet/ripley/R/R-clang/bin/exec/R+0x11a21e) #53 0x55f6e8d3128a in Rf_mainloop (/data/gannet/ripley/R/R-clang/bin/exec/R+0x11a28a) #54 0x55f6e8c18da7 in main (/data/gannet/ripley/R/R-clang/bin/exec/R+0x1da7) #55 0x7f4c8a3135f4 in __libc_start_call_main (/lib64/libc.so.6+0x35f4) (BuildId: a1dda014206b55b07f58fe8db80121b752dc3d03) #56 0x7f4c8a3136a7 in __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x36a7) (BuildId: a1dda014206b55b07f58fe8db80121b752dc3d03) #57 0x55f6e8c18cc4 in _start (/data/gannet/ripley/R/R-clang/bin/exec/R+0x1cc4) SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /data/gannet/ripley/R/test-clang/RcppArmadillo/include/current/armadillo_bits/subview_meat.hpp:1413:23 /data/gannet/ripley/R/test-clang/RcppArmadillo/include/current/armadillo_bits/subview_meat.hpp:1413:23: runtime error: reference binding to null pointer of type 'const double' #0 0x7f4c78f16783 in arma::subview::colptr(unsigned int) /data/gannet/ripley/R/test-clang/RcppArmadillo/include/current/armadillo_bits/subview_meat.hpp:1413:12 #1 0x7f4c78f16783 in arma::subview_row::subview_row(arma::Mat const&, unsigned int) /data/gannet/ripley/R/test-clang/RcppArmadillo/include/current/armadillo_bits/subview_meat.hpp:4271:25 #2 0x7f4c78f16783 in arma::Mat::row(unsigned int) /data/gannet/ripley/R/test-clang/RcppArmadillo/include/current/armadillo_bits/Mat_meat.hpp:3350:10 #3 0x7f4c78f16783 in YKrigging(Rcpp::Vector<19, Rcpp::PreserveStorage>, Rcpp::Vector<19, Rcpp::PreserveStorage>, arma::Mat, int, bool) /data/gannet/ripley/R/packages/tests-clang-UBSAN/spBFA/src/PRED_YKrigging.cpp:53:20 #4 0x7f4c78f1c500 in _spBFA_YKrigging /data/gannet/ripley/R/packages/tests-clang-UBSAN/spBFA/src/RcppExports.cpp:136:34 #5 0x55f6e8ca63fa in R_doDotCall (/data/gannet/ripley/R/R-clang/bin/exec/R+0x8f3fa) #6 0x55f6e8ca7bfd in do_dotcall (/data/gannet/ripley/R/R-clang/bin/exec/R+0x90bfd) #7 0x55f6e8ce57ea in bcEval_loop eval.c #8 0x55f6e8cddbeb in bcEval eval.c #9 0x55f6e8cdd374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #10 0x55f6e8cfa768 in R_execClosure eval.c #11 0x55f6e8cf9c6b in applyClosure_core eval.c #12 0x55f6e8cde595 in Rf_applyClosure (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc7595) #13 0x55f6e8d46e91 in dispatchMethod objects.c #14 0x55f6e8d468b8 in Rf_usemethod (/data/gannet/ripley/R/R-clang/bin/exec/R+0x12f8b8) #15 0x55f6e8d473ed in do_usemethod (/data/gannet/ripley/R/R-clang/bin/exec/R+0x1303ed) #16 0x55f6e8ce5a6b in bcEval_loop eval.c #17 0x55f6e8cddbeb in bcEval eval.c #18 0x55f6e8cdd374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #19 0x55f6e8cfa768 in R_execClosure eval.c #20 0x55f6e8cf9c6b in applyClosure_core eval.c #21 0x55f6e8cdd7c5 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc67c5) #22 0x55f6e8cffd6d in do_set (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe8d6d) #23 0x55f6e8cdd59f in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc659f) #24 0x55f6e8d011d7 in do_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xea1d7) #25 0x55f6e8ce57ea in bcEval_loop eval.c #26 0x55f6e8cddbeb in bcEval eval.c #27 0x55f6e8cdd374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #28 0x55f6e8cdde73 in forcePromise eval.c #29 0x55f6e8cdd43d in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc643d) #30 0x55f6e8d016b6 in do_withVisible (/data/gannet/ripley/R/R-clang/bin/exec/R+0xea6b6) #31 0x55f6e8d44bc7 in do_internal (/data/gannet/ripley/R/R-clang/bin/exec/R+0x12dbc7) #32 0x55f6e8ce5a6b in bcEval_loop eval.c #33 0x55f6e8cddbeb in bcEval eval.c #34 0x55f6e8cdd374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #35 0x55f6e8cdde73 in forcePromise eval.c #36 0x55f6e8cdd43d in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc643d) #37 0x55f6e8cdde73 in forcePromise eval.c #38 0x55f6e8cf6eef in getvar eval.c #39 0x55f6e8ce28d1 in bcEval_loop eval.c #40 0x55f6e8cddbeb in bcEval eval.c #41 0x55f6e8cdd374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #42 0x55f6e8cfa768 in R_execClosure eval.c #43 0x55f6e8cf9c6b in applyClosure_core eval.c #44 0x55f6e8cdd7c5 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc67c5) #45 0x55f6e8d011d7 in do_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xea1d7) #46 0x55f6e8ce57ea in bcEval_loop eval.c #47 0x55f6e8cddbeb in bcEval eval.c #48 0x55f6e8cdd374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #49 0x55f6e8cfa768 in R_execClosure eval.c #50 0x55f6e8cf9c6b in applyClosure_core eval.c #51 0x55f6e8cdd7c5 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc67c5) #52 0x55f6e8cfa768 in R_execClosure eval.c #53 0x55f6e8cf9c6b in applyClosure_core eval.c #54 0x55f6e8ce4ff2 in bcEval_loop eval.c #55 0x55f6e8cddbeb in bcEval eval.c #56 0x55f6e8cdd374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #57 0x55f6e8cfa768 in R_execClosure eval.c #58 0x55f6e8cf9c6b in applyClosure_core eval.c #59 0x55f6e8cdd7c5 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc67c5) #60 0x55f6e8d2f717 in Rf_ReplIteration (/data/gannet/ripley/R/R-clang/bin/exec/R+0x118717) #61 0x55f6e8d3121e in run_Rmainloop (/data/gannet/ripley/R/R-clang/bin/exec/R+0x11a21e) #62 0x55f6e8d3128a in Rf_mainloop (/data/gannet/ripley/R/R-clang/bin/exec/R+0x11a28a) #63 0x55f6e8c18da7 in main (/data/gannet/ripley/R/R-clang/bin/exec/R+0x1da7) #64 0x7f4c8a3135f4 in __libc_start_call_main (/lib64/libc.so.6+0x35f4) (BuildId: a1dda014206b55b07f58fe8db80121b752dc3d03) #65 0x7f4c8a3136a7 in __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x36a7) (BuildId: a1dda014206b55b07f58fe8db80121b752dc3d03) #66 0x55f6e8c18cc4 in _start (/data/gannet/ripley/R/R-clang/bin/exec/R+0x1cc4) SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /data/gannet/ripley/R/test-clang/RcppArmadillo/include/current/armadillo_bits/subview_meat.hpp:1413:23 /data/gannet/ripley/R/test-clang/RcppArmadillo/include/current/armadillo_bits/subview_meat.hpp:1413:23: runtime error: applying non-zero offset 8 to null pointer #0 0x7f4c78f1676b in arma::subview::colptr(unsigned int) /data/gannet/ripley/R/test-clang/RcppArmadillo/include/current/armadillo_bits/subview_meat.hpp:1413:23 #1 0x7f4c78f1676b in arma::subview_row::subview_row(arma::Mat const&, unsigned int) /data/gannet/ripley/R/test-clang/RcppArmadillo/include/current/armadillo_bits/subview_meat.hpp:4271:25 #2 0x7f4c78f1676b in arma::Mat::row(unsigned int) /data/gannet/ripley/R/test-clang/RcppArmadillo/include/current/armadillo_bits/Mat_meat.hpp:3350:10 #3 0x7f4c78f1676b in YKrigging(Rcpp::Vector<19, Rcpp::PreserveStorage>, Rcpp::Vector<19, Rcpp::PreserveStorage>, arma::Mat, int, bool) /data/gannet/ripley/R/packages/tests-clang-UBSAN/spBFA/src/PRED_YKrigging.cpp:53:20 #4 0x7f4c78f1c500 in _spBFA_YKrigging /data/gannet/ripley/R/packages/tests-clang-UBSAN/spBFA/src/RcppExports.cpp:136:34 #5 0x55f6e8ca63fa in R_doDotCall (/data/gannet/ripley/R/R-clang/bin/exec/R+0x8f3fa) #6 0x55f6e8ca7bfd in do_dotcall (/data/gannet/ripley/R/R-clang/bin/exec/R+0x90bfd) #7 0x55f6e8ce57ea in bcEval_loop eval.c #8 0x55f6e8cddbeb in bcEval eval.c #9 0x55f6e8cdd374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #10 0x55f6e8cfa768 in R_execClosure eval.c #11 0x55f6e8cf9c6b in applyClosure_core eval.c #12 0x55f6e8cde595 in Rf_applyClosure (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc7595) #13 0x55f6e8d46e91 in dispatchMethod objects.c #14 0x55f6e8d468b8 in Rf_usemethod (/data/gannet/ripley/R/R-clang/bin/exec/R+0x12f8b8) #15 0x55f6e8d473ed in do_usemethod (/data/gannet/ripley/R/R-clang/bin/exec/R+0x1303ed) #16 0x55f6e8ce5a6b in bcEval_loop eval.c #17 0x55f6e8cddbeb in bcEval eval.c #18 0x55f6e8cdd374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #19 0x55f6e8cfa768 in R_execClosure eval.c #20 0x55f6e8cf9c6b in applyClosure_core eval.c #21 0x55f6e8cdd7c5 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc67c5) #22 0x55f6e8cffd6d in do_set (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe8d6d) #23 0x55f6e8cdd59f in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc659f) #24 0x55f6e8d011d7 in do_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xea1d7) #25 0x55f6e8ce57ea in bcEval_loop eval.c #26 0x55f6e8cddbeb in bcEval eval.c #27 0x55f6e8cdd374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #28 0x55f6e8cdde73 in forcePromise eval.c #29 0x55f6e8cdd43d in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc643d) #30 0x55f6e8d016b6 in do_withVisible (/data/gannet/ripley/R/R-clang/bin/exec/R+0xea6b6) #31 0x55f6e8d44bc7 in do_internal (/data/gannet/ripley/R/R-clang/bin/exec/R+0x12dbc7) #32 0x55f6e8ce5a6b in bcEval_loop eval.c #33 0x55f6e8cddbeb in bcEval eval.c #34 0x55f6e8cdd374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #35 0x55f6e8cdde73 in forcePromise eval.c #36 0x55f6e8cdd43d in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc643d) #37 0x55f6e8cdde73 in forcePromise eval.c #38 0x55f6e8cf6eef in getvar eval.c #39 0x55f6e8ce28d1 in bcEval_loop eval.c #40 0x55f6e8cddbeb in bcEval eval.c #41 0x55f6e8cdd374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #42 0x55f6e8cfa768 in R_execClosure eval.c #43 0x55f6e8cf9c6b in applyClosure_core eval.c #44 0x55f6e8cdd7c5 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc67c5) #45 0x55f6e8d011d7 in do_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xea1d7) #46 0x55f6e8ce57ea in bcEval_loop eval.c #47 0x55f6e8cddbeb in bcEval eval.c #48 0x55f6e8cdd374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #49 0x55f6e8cfa768 in R_execClosure eval.c #50 0x55f6e8cf9c6b in applyClosure_core eval.c #51 0x55f6e8cdd7c5 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc67c5) #52 0x55f6e8cfa768 in R_execClosure eval.c #53 0x55f6e8cf9c6b in applyClosure_core eval.c #54 0x55f6e8ce4ff2 in bcEval_loop eval.c #55 0x55f6e8cddbeb in bcEval eval.c #56 0x55f6e8cdd374 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6374) #57 0x55f6e8cfa768 in R_execClosure eval.c #58 0x55f6e8cf9c6b in applyClosure_core eval.c #59 0x55f6e8cdd7c5 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc67c5) #60 0x55f6e8d2f717 in Rf_ReplIteration (/data/gannet/ripley/R/R-clang/bin/exec/R+0x118717) #61 0x55f6e8d3121e in run_Rmainloop (/data/gannet/ripley/R/R-clang/bin/exec/R+0x11a21e) #62 0x55f6e8d3128a in Rf_mainloop (/data/gannet/ripley/R/R-clang/bin/exec/R+0x11a28a) #63 0x55f6e8c18da7 in main (/data/gannet/ripley/R/R-clang/bin/exec/R+0x1da7) #64 0x7f4c8a3135f4 in __libc_start_call_main (/lib64/libc.so.6+0x35f4) (BuildId: a1dda014206b55b07f58fe8db80121b752dc3d03) #65 0x7f4c8a3136a7 in __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x36a7) (BuildId: a1dda014206b55b07f58fe8db80121b752dc3d03) #66 0x55f6e8c18cc4 in _start (/data/gannet/ripley/R/R-clang/bin/exec/R+0x1cc4) SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /data/gannet/ripley/R/test-clang/RcppArmadillo/include/current/armadillo_bits/subview_meat.hpp:1413:23 [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘spBFA-example.Rmd’