Package check result: ERROR Check: re-building of vignette outputs, Result: 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 Post-processing issues found: File: build_vignettes.log ==3347127==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x51b000005398 at pc 0x7f14fded7d5a bp 0x7fff35278e70 sp 0x7fff35278e68 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 ASan internal: fe File: 00check.log ==3347127==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x51b000005398 at pc 0x7f14fded7d5a bp 0x7fff35278e70 sp 0x7fff35278e68 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 ASan internal: fe