* using log directory ‘/data/gannet/ripley/R/packages/tests-gcc-SAN/msBP.Rcheck’ * using R Under development (unstable) (2025-01-08 r87545) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc-14 (GCC) 14.2.0 GNU Fortran (GCC) 14.2.0 * running under: Fedora Linux 36 (Workstation Edition) * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘msBP/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘msBP’ version ‘1.4-1’ * 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 ‘msBP’ can be installed ... [29s/31s] OK * used C compiler: ‘gcc-14 (GCC) 14.2.0’ * used C++ compiler: ‘g++-14 (GCC) 14.2.0’ * 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 installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... ERROR Running examples in ‘msBP-Ex.R’ failed The error most likely occurred in: > ### Name: msBP.compute.prob > ### Title: Compute binary tree of probabilities > ### Aliases: msBP.compute.prob > > ### ** Examples > > S <-structure(list( T = list(1/8,c(1/3,1/3), c(1/4,1/4,1/4,1/4), + rep(1,8)), max.s=3), class = "binaryTree") > R <-structure(list( T = list(1/2,c(1/2,1/2), c(1/4,1/2,1/2,1/2), + rep(1,8)), max.s=3), class = "binaryTree") > RS <-structure(list(S = S, R = R), class = "msbpTree") > probabilities <- msBP.compute.prob(RS) wrapper.cpp:29:39: runtime error: load of misaligned address 0x000000000001 for type 'double', which requires 8 byte alignment 0x000000000001: note: pointer points here #0 0x7f8ab874d069 in computeprob_C /data/gannet/ripley/R/packages/tests-gcc-SAN/msBP/src/wrapper.cpp:29 #1 0x75bb04 in do_dotCode /data/gannet/ripley/R/svn/R-devel/src/main/dotcode.c:1986 #2 0x8a2ae3 in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:8122 #3 0x873caf in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7505 #4 0x83aa12 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167 #5 0x8459e2 in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2393 #6 0x83938a in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2306 #7 0x83b096 in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2328 #8 0x83b096 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1280 #9 0x85eb86 in do_set /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:3571 #10 0x83b4c6 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1232 #11 0x9c4e19 in Rf_ReplIteration /data/gannet/ripley/R/svn/R-devel/src/main/main.c:265 #12 0x9c4e19 in R_ReplConsole /data/gannet/ripley/R/svn/R-devel/src/main/main.c:317 #13 0x9c631b in run_Rmainloop /data/gannet/ripley/R/svn/R-devel/src/main/main.c:1219 #14 0x9d0892 in Rf_mainloop /data/gannet/ripley/R/svn/R-devel/src/main/main.c:1226 #15 0x4290cf in main /data/gannet/ripley/R/svn/R-devel/src/main/Rmain.c:29 #16 0x7f8ac422950f in __libc_start_call_main (/lib64/libc.so.6+0x2950f) (BuildId: 8257ee907646e9b057197533d1e4ac8ede7a9c5c) #17 0x7f8ac42295c8 in __libc_start_main_alias_2 (/lib64/libc.so.6+0x295c8) (BuildId: 8257ee907646e9b057197533d1e4ac8ede7a9c5c) #18 0x429ab4 in _start (/data/gannet/ripley/R/gcc-SAN3/bin/exec/R+0x429ab4) (BuildId: b25c18b29da9020de134f39d59f7dee05849d9e9) *** caught segfault *** address 0x1, cause 'memory not mapped' Traceback: 1: msBP.compute.prob(RS) An irrecoverable exception occurred. R is aborting now ... * checking package vignettes ... OK * checking re-building of vignette outputs ... [65s/67s] OK * DONE Status: 1 ERROR