* using log directory ‘/home/hornik/tmp/CRAN_special_clang-san/fastei.Rcheck’ * using R Under development (unstable) (2025-05-18 r88216) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 19.1.7 (3) Debian flang-new version 19.1.7 (3) * running under: Debian GNU/Linux 13 (trixie) * using session charset: UTF-8 * checking for file ‘fastei/DESCRIPTION’ ... OK * this is package ‘fastei’ version ‘0.0.0.5’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘fastei’ can be installed ... [21s/22s] OK * used C compiler: ‘Debian clang version 19.1.7 (3)’ * used C++ compiler: ‘Debian clang version 19.1.7 (3)’ * checking package directory ... OK * checking for future file timestamps ... OK * checking ‘build’ directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [1s/1s] OK * checking whether the package can be loaded with stated dependencies ... [1s/1s] OK * checking whether the package can be unloaded cleanly ... [1s/1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK * checking whether the namespace can be unloaded cleanly ... [1s/1s] OK * checking loading without being on the library search path ... [1s/1s] OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [14s/14s] OK * checking Rd files ... [1s/1s] OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... [1s/1s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK * checking pragmas in C/C++ headers and code ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [7s/6s] OK * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [4s/4s] ERROR Error(s) in re-building vignettes: ... --- re-building ‘demonstration.Rmd’ using rmarkdown ================================================================= ==3347127==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x51b000005398 at pc 0x7f14fded7d5a bp 0x7fff35278e70 sp 0x7fff35278e68 READ of size 8 at 0x51b000005398 thread T0 #0 0x7f14fded7d59 in computeQMultinomial /home/hornik/tmp/CRAN_special_clang-san/fastei.Rcheck/00_pkg_src/fastei/src/multinomial.c:187:16 #1 0x7f14fded407a in EMAlgoritm /home/hornik/tmp/CRAN_special_clang-san/fastei.Rcheck/00_pkg_src/fastei/src/main.c:498:17 #2 0x7f14fdeae772 in bootstrapA /home/hornik/tmp/CRAN_special_clang-san/fastei.Rcheck/00_pkg_src/fastei/src/bootstrap.c:188:26 #3 0x7f14fdefda0c in bootstrapAlg(Rcpp::Matrix<14, Rcpp::PreserveStorage>, Rcpp::Matrix<14, Rcpp::PreserveStorage>, Rcpp::Vector<13, Rcpp::PreserveStorage>, Rcpp::String, Rcpp::String, Rcpp::Vector<13, Rcpp::PreserveStorage>, Rcpp::Vector<14, Rcpp::PreserveStorage>, Rcpp::Vector<14, Rcpp::PreserveStorage>, Rcpp::Vector<14, Rcpp::PreserveStorage>, Rcpp::Vector<10, Rcpp::PreserveStorage>, Rcpp::Vector<13, Rcpp::PreserveStorage>, Rcpp::Vector<13, Rcpp::PreserveStorage>, Rcpp::String, Rcpp::Vector<14, Rcpp::PreserveStorage>, Rcpp::Vector<13, Rcpp::PreserveStorage>) /home/hornik/tmp/CRAN_special_clang-san/fastei.Rcheck/00_pkg_src/fastei/src/wrapper.cpp:173:9 #4 0x7f14fde9307f in _fastei_bootstrapAlg /home/hornik/tmp/CRAN_special_clang-san/fastei.Rcheck/00_pkg_src/fastei/src/RcppExports.cpp:67:34 #5 0x7f151c554855 in R_doDotCall /home/hornik/src/R/src/main/dotcode.c #6 0x7f151c719c69 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8668:21 #7 0x7f151c6a8824 in bcEval /home/hornik/src/R/src/main/eval.c:7501:16 #8 0x7f151c6a6f5f in Rf_eval /home/hornik/src/R/src/main/eval.c:1167:8 #9 0x7f151c6b16b5 in R_execClosure /home/hornik/src/R/src/main/eval.c:2393:22 #10 0x7f151c6ad1ac in applyClosure_core /home/hornik/src/R/src/main/eval.c:2306:16 #11 0x7f151c6a78df in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2328:16 #12 0x7f151c6a78df in Rf_eval /home/hornik/src/R/src/main/eval.c:1280:12 #13 0x7f151c6c0355 in do_set /home/hornik/src/R/src/main/eval.c:3567:8 #14 0x7f151c6a732b in Rf_eval /home/hornik/src/R/src/main/eval.c:1232:12 #15 0x7f151c6c5d42 in do_eval /home/hornik/src/R/src/main/eval.c:3941:13 #16 0x7f151c6f42a9 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8118:14 #17 0x7f151c6a8824 in bcEval /home/hornik/src/R/src/main/eval.c:7501:16 #18 0x7f151c6a6f5f in Rf_eval /home/hornik/src/R/src/main/eval.c:1167:8 #19 0x7f151c6a8e5f in forcePromise /home/hornik/src/R/src/main/eval.c:976:13 #20 0x7f151c6a77f7 in Rf_eval /home/hornik/src/R/src/main/eval.c:1187:6 #21 0x7f151c6c7617 in do_withVisible /home/hornik/src/R/src/main/eval.c:3984:9 #22 0x7f151c83af72 in do_internal /home/hornik/src/R/src/main/names.c:1411:11 #23 0x7f151c6e5892 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8138:15 #24 0x7f151c6a8824 in bcEval /home/hornik/src/R/src/main/eval.c:7501:16 #25 0x7f151c6a6f5f in Rf_eval /home/hornik/src/R/src/main/eval.c:1167:8 #26 0x7f151c6a8e5f in forcePromise /home/hornik/src/R/src/main/eval.c:976:13 #27 0x7f151c6a77f7 in Rf_eval /home/hornik/src/R/src/main/eval.c:1187:6 #28 0x7f151c6a8e5f in forcePromise /home/hornik/src/R/src/main/eval.c:976:13 #29 0x7f151c7442cf in getvar /home/hornik/src/R/src/main/eval.c:5835:6 #30 0x7f151c713d96 in bcEval_loop /home/hornik/src/R/src/main/eval.c:7848:20 #31 0x7f151c6a8824 in bcEval /home/hornik/src/R/src/main/eval.c:7501:16 #32 0x7f151c6a6f5f in Rf_eval /home/hornik/src/R/src/main/eval.c:1167:8 #33 0x7f151c6b16b5 in R_execClosure /home/hornik/src/R/src/main/eval.c:2393:22 #34 0x7f151c6ad1ac in applyClosure_core /home/hornik/src/R/src/main/eval.c:2306:16 #35 0x7f151c6a78df in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2328:16 #36 0x7f151c6a78df in Rf_eval /home/hornik/src/R/src/main/eval.c:1280:12 #37 0x7f151c6c5d42 in do_eval /home/hornik/src/R/src/main/eval.c:3941:13 #38 0x7f151c6f42a9 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8118:14 #39 0x7f151c6a8824 in bcEval /home/hornik/src/R/src/main/eval.c:7501:16 #40 0x7f151c6a6f5f in Rf_eval /home/hornik/src/R/src/main/eval.c:1167:8 #41 0x7f151c6b16b5 in R_execClosure /home/hornik/src/R/src/main/eval.c:2393:22 #42 0x7f151c6ad1ac in applyClosure_core /home/hornik/src/R/src/main/eval.c:2306:16 #43 0x7f151c6a78df in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2328:16 #44 0x7f151c6a78df in Rf_eval /home/hornik/src/R/src/main/eval.c:1280:12 #45 0x7f151c6b16b5 in R_execClosure /home/hornik/src/R/src/main/eval.c:2393:22 #46 0x7f151c6ad1ac in applyClosure_core /home/hornik/src/R/src/main/eval.c:2306:16 #47 0x7f151c6ff09d in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2328:16 #48 0x7f151c6ff09d in bcEval_loop /home/hornik/src/R/src/main/eval.c:8089:16 #49 0x7f151c6a8824 in bcEval /home/hornik/src/R/src/main/eval.c:7501:16 #50 0x7f151c6a6f5f in Rf_eval /home/hornik/src/R/src/main/eval.c:1167:8 #51 0x7f151c6b16b5 in R_execClosure /home/hornik/src/R/src/main/eval.c:2393:22 #52 0x7f151c6ad1ac in applyClosure_core /home/hornik/src/R/src/main/eval.c:2306:16 #53 0x7f151c6a78df in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2328:16 #54 0x7f151c6a78df in Rf_eval /home/hornik/src/R/src/main/eval.c:1280:12 #55 0x7f151c7eb3e7 in Rf_ReplIteration /home/hornik/src/R/src/main/main.c:265:2 #56 0x7f151c7ee370 in R_ReplConsole /home/hornik/src/R/src/main/main.c:317:11 #57 0x7f151c7ee184 in run_Rmainloop /home/hornik/src/R/src/main/main.c:1234:5 #58 0x7f151c7ee46a in Rf_mainloop /home/hornik/src/R/src/main/main.c:1241:5 #59 0x55c3fb7d0dd4 in main /home/hornik/src/R/src/main/Rmain.c:29:5 #60 0x7f151b943ca7 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #61 0x7f151b943d64 in __libc_start_main csu/../csu/libc-start.c:360:3 #62 0x55c3fb6ed370 in _start (/home/hornik/tmp/R-d-clang-xtra/bin/exec/R+0x2b370) (BuildId: cb572fc433d0ad213d4bcc3b6ed58fac2d1ab683) 0x51b000005398 is located 32 bytes after 1528-byte region [0x51b000004d80,0x51b000005378) allocated by thread T0 here: #0 0x55c3fb78d38d in calloc (/home/hornik/tmp/R-d-clang-xtra/bin/exec/R+0xcb38d) (BuildId: cb572fc433d0ad213d4bcc3b6ed58fac2d1ab683) #1 0x7f151c80c3fc in R_chk_calloc /home/hornik/src/R/src/main/memory.c:3549:9 #2 0x7f14fded80f8 in precomputeLogGammas /home/hornik/tmp/CRAN_special_clang-san/fastei.Rcheck/00_pkg_src/fastei/src/multinomial.c:83:30 #3 0x7f14fded80f8 in computeQMultinomial /home/hornik/tmp/CRAN_special_clang-san/fastei.Rcheck/00_pkg_src/fastei/src/multinomial.c:109:9 #4 0x7f14fded407a in EMAlgoritm /home/hornik/tmp/CRAN_special_clang-san/fastei.Rcheck/00_pkg_src/fastei/src/main.c:498:17 #5 0x7f14fdeae772 in bootstrapA /home/hornik/tmp/CRAN_special_clang-san/fastei.Rcheck/00_pkg_src/fastei/src/bootstrap.c:188:26 #6 0x7f14fdefda0c in bootstrapAlg(Rcpp::Matrix<14, Rcpp::PreserveStorage>, Rcpp::Matrix<14, Rcpp::PreserveStorage>, Rcpp::Vector<13, Rcpp::PreserveStorage>, Rcpp::String, Rcpp::String, Rcpp::Vector<13, Rcpp::PreserveStorage>, Rcpp::Vector<14, Rcpp::PreserveStorage>, Rcpp::Vector<14, Rcpp::PreserveStorage>, Rcpp::Vector<14, Rcpp::PreserveStorage>, Rcpp::Vector<10, Rcpp::PreserveStorage>, Rcpp::Vector<13, Rcpp::PreserveStorage>, Rcpp::Vector<13, Rcpp::PreserveStorage>, Rcpp::String, Rcpp::Vector<14, Rcpp::PreserveStorage>, Rcpp::Vector<13, Rcpp::PreserveStorage>) /home/hornik/tmp/CRAN_special_clang-san/fastei.Rcheck/00_pkg_src/fastei/src/wrapper.cpp:173:9 #7 0x7f14fde9307f in _fastei_bootstrapAlg /home/hornik/tmp/CRAN_special_clang-san/fastei.Rcheck/00_pkg_src/fastei/src/RcppExports.cpp:67:34 #8 0x7f151c554855 in R_doDotCall /home/hornik/src/R/src/main/dotcode.c #9 0x7f151c719c69 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8668:21 #10 0x7f151c6a8824 in bcEval /home/hornik/src/R/src/main/eval.c:7501:16 #11 0x7f151c6a6f5f in Rf_eval /home/hornik/src/R/src/main/eval.c:1167:8 #12 0x7f151c6b16b5 in R_execClosure /home/hornik/src/R/src/main/eval.c:2393:22 #13 0x7f151c6ad1ac in applyClosure_core /home/hornik/src/R/src/main/eval.c:2306:16 #14 0x7f151c6a78df in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2328:16 #15 0x7f151c6a78df in Rf_eval /home/hornik/src/R/src/main/eval.c:1280:12 #16 0x7f151c6c0355 in do_set /home/hornik/src/R/src/main/eval.c:3567:8 #17 0x7f151c6a732b in Rf_eval /home/hornik/src/R/src/main/eval.c:1232:12 #18 0x7f151c6c5d42 in do_eval /home/hornik/src/R/src/main/eval.c:3941:13 #19 0x7f151c6f42a9 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8118:14 #20 0x7f151c6a8824 in bcEval /home/hornik/src/R/src/main/eval.c:7501:16 #21 0x7f151c6a6f5f in Rf_eval /home/hornik/src/R/src/main/eval.c:1167:8 #22 0x7f151c6a8e5f in forcePromise /home/hornik/src/R/src/main/eval.c:976:13 #23 0x7f151c6a77f7 in Rf_eval /home/hornik/src/R/src/main/eval.c:1187:6 #24 0x7f151c6c7617 in do_withVisible /home/hornik/src/R/src/main/eval.c:3984:9 #25 0x7f151c83af72 in do_internal /home/hornik/src/R/src/main/names.c:1411:11 #26 0x7f151c6e5892 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8138:15 #27 0x7f151c6a8824 in bcEval /home/hornik/src/R/src/main/eval.c:7501:16 #28 0x7f151c6a6f5f in Rf_eval /home/hornik/src/R/src/main/eval.c:1167:8 #29 0x7f151c6a8e5f in forcePromise /home/hornik/src/R/src/main/eval.c:976:13 #30 0x7f151c6a77f7 in Rf_eval /home/hornik/src/R/src/main/eval.c:1187:6 #31 0x7f151c6a8e5f in forcePromise /home/hornik/src/R/src/main/eval.c:976:13 SUMMARY: AddressSanitizer: heap-buffer-overflow /home/hornik/tmp/CRAN_special_clang-san/fastei.Rcheck/00_pkg_src/fastei/src/multinomial.c:187:16 in computeQMultinomial Shadow bytes around the buggy address: 0x51b000005100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x51b000005180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x51b000005200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x51b000005280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x51b000005300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fa =>0x51b000005380: fa fa fa[fa]fa fa fa fa fa fa fa fa fa fa fa fa 0x51b000005400: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x51b000005480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x51b000005500: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x51b000005580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x51b000005600: 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 ==3347127==ABORTING * checking PDF version of manual ... [5s/5s] OK * checking HTML version of manual ... [2s/2s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR