* using log directory ‘/home/hornik/tmp/CRAN_special_clang-san/iglm.Rcheck’ * using R Under development (unstable) (2026-03-15 r89634) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 21.1.8 (3+b1) Debian flang version 21.1.8 (3+b1) * running under: Debian GNU/Linux forky/sid * using session charset: UTF-8 * current time: 2026-03-16 16:27:45 UTC * checking for file ‘iglm/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘iglm’ version ‘1.21’ * 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 ‘iglm’ can be installed ... [108s/108s] OK * used C++ compiler: ‘Debian clang version 21.1.8 (3+b1)’ * checking C++ specification ... INFO specified C++17 * 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 ... [4s/4s] OK * checking whether the package can be loaded with stated dependencies ... [3s/3s] OK * checking whether the package can be unloaded cleanly ... [3s/3s] OK * checking whether the namespace can be loaded with stated dependencies ... [3s/3s] OK * checking whether the namespace can be unloaded cleanly ... [4s/4s] OK * checking loading without being on the library search path ... [4s/4s] 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 ... [31s/31s] OK * checking Rd files ... [2s/2s] 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 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 ... [14s/14s] OK Examples with CPU (user + system) or elapsed time > 5s user system elapsed iglm 8.097 0.264 8.364 * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [10s/10s] ERROR Running ‘testthat.R’ [9s/9s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(iglm) Loading required package: RcppProgress > > test_check("iglm") 0% 10 20 30 40 50 60 70 80 90 100% [----|----|----|----|----|----|----|----|----|----| **************************************************| 0% 10 20 30 40 50 60 70 80 90 100% [----|----|----|----|----|----|----|----|----|----| **************************************************| /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_vector.h:1283:34: runtime error: addition of unsigned offset to 0x7b9dc0ae9ef0 overflowed to 0x7b9dc0ae9eed #0 0x7b7da2b3be4c in std::vector>::operator[](unsigned long) const /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_vector.h:1283:34 #1 0x7b7da2b3be4c in Network::get_val(int, int) const /home/hornik/tmp/CRAN_special_clang-san/iglm.Rcheck/00_pkg_src/iglm/src/../inst/include/iglm/network_class.h:38:12 #2 0x7b7da2b4c59c in XZ_class::initialize_overlap_counts() /home/hornik/tmp/CRAN_special_clang-san/iglm.Rcheck/00_pkg_src/iglm/src/iglm_classes.cpp:346:23 #3 0x7b7da2b507f5 in XZ_class::XZ_class(int, bool, arma::Mat, arma::Col, arma::Mat, arma::Mat, std::__cxx11::basic_string, std::allocator>, double) /home/hornik/tmp/CRAN_special_clang-san/iglm.Rcheck/00_pkg_src/iglm/src/iglm_classes.cpp:321:5 #4 0x7b7da2bfd07f in XYZ_class::XYZ_class(int, bool, arma::Col, arma::Col, arma::Mat, arma::Mat, arma::Mat, std::__cxx11::basic_string, std::allocator>, std::__cxx11::basic_string, std::allocator>, double, double) /home/hornik/tmp/CRAN_special_clang-san/iglm.Rcheck/00_pkg_src/iglm/src/../inst/include/iglm/xyz_class.h:34:5 #5 0x7b7da2b6f250 in xyz_count_global(arma::Mat const&, arma::Col const&, arma::Col const&, arma::Mat const&, arma::Mat const&, bool, std::vector, std::allocator>, std::allocator, std::allocator>>>, int, std::vector, std::allocator>>&, std::vector>&, std::__cxx11::basic_string, std::allocator>, std::__cxx11::basic_string, std::allocator>, double, double) /home/hornik/tmp/CRAN_special_clang-san/iglm.Rcheck/00_pkg_src/iglm/src/xyz_sampling.cpp:224:13 #6 0x7b7da2ae3598 in _iglm_xyz_count_global /home/hornik/tmp/CRAN_special_clang-san/iglm.Rcheck/00_pkg_src/iglm/src/RcppExports.cpp:43:34 #7 0x7f7dc414ed1b in R_doDotCall /home/hornik/src/R/src/main/dotcode.c #8 0x7f7dc42f2802 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8682:21 #9 0x7f7dc42a0ab4 in bcEval /home/hornik/src/R/src/main/eval.c:7515:16 #10 0x7f7dc429f1ef in Rf_eval /home/hornik/src/R/src/main/eval.c:1167:8 #11 0x7f7dc42a9a1b in R_execClosure /home/hornik/src/R/src/main/eval.c:2389:22 #12 0x7f7dc42a5313 in applyClosure_core /home/hornik/src/R/src/main/eval.c:2302:16 #13 0x7f7dc429fb6f in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2324:16 #14 0x7f7dc429fb6f in Rf_eval /home/hornik/src/R/src/main/eval.c:1280:12 #15 0x7f7dc42b8475 in do_set /home/hornik/src/R/src/main/eval.c:3581:8 #16 0x7f7dc429f5bb in Rf_eval /home/hornik/src/R/src/main/eval.c:1232:12 #17 0x7f7dc42b4112 in do_begin /home/hornik/src/R/src/main/eval.c:2992:10 #18 0x7f7dc429f5bb in Rf_eval /home/hornik/src/R/src/main/eval.c:1232:12 #19 0x7f7dc42be11a in do_eval /home/hornik/src/R/src/main/eval.c:3955:13 #20 0x7f7dc42ec256 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8132:14 #21 0x7f7dc42a0ab4 in bcEval /home/hornik/src/R/src/main/eval.c:7515:16 #22 0x7f7dc429f1ef in Rf_eval /home/hornik/src/R/src/main/eval.c:1167:8 #23 0x7f7dc42a9a1b in R_execClosure /home/hornik/src/R/src/main/eval.c:2389:22 #24 0x7f7dc42a5313 in applyClosure_core /home/hornik/src/R/src/main/eval.c:2302:16 #25 0x7f7dc429fb6f in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2324:16 #26 0x7f7dc429fb6f in Rf_eval /home/hornik/src/R/src/main/eval.c:1280:12 #27 0x7f7dc42be79a in do_eval /home/hornik/src/R/src/main/eval.c:3973:9 #28 0x7f7dc42ec256 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8132:14 #29 0x7f7dc42a0ab4 in bcEval /home/hornik/src/R/src/main/eval.c:7515:16 #30 0x7f7dc429f1ef in Rf_eval /home/hornik/src/R/src/main/eval.c:1167:8 #31 0x7f7dc42a9a1b in R_execClosure /home/hornik/src/R/src/main/eval.c:2389:22 #32 0x7f7dc42a5313 in applyClosure_core /home/hornik/src/R/src/main/eval.c:2302:16 #33 0x7f7dc42a715f in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2324:16 #34 0x7f7dc42a715f in R_forceAndCall /home/hornik/src/R/src/main/eval.c:2456:8 #35 0x7f7dc3f51580 in do_lapply /home/hornik/src/R/src/main/apply.c:75:8 #36 0x7f7dc4434fb9 in do_internal /home/hornik/src/R/src/main/names.c:1419:11 #37 0x7f7dc42dd941 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8152:15 #38 0x7f7dc42a0ab4 in bcEval /home/hornik/src/R/src/main/eval.c:7515:16 #39 0x7f7dc429f1ef in Rf_eval /home/hornik/src/R/src/main/eval.c:1167:8 #40 0x7f7dc42a9a1b in R_execClosure /home/hornik/src/R/src/main/eval.c:2389:22 #41 0x7f7dc42a5313 in applyClosure_core /home/hornik/src/R/src/main/eval.c:2302:16 #42 0x7f7dc429fb6f in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2324:16 #43 0x7f7dc429fb6f in Rf_eval /home/hornik/src/R/src/main/eval.c:1280:12 #44 0x7f7dc43e43e5 in Rf_ReplIteration /home/hornik/src/R/src/main/main.c:264:15 #45 0x7f7dc43e7540 in R_ReplConsole /home/hornik/src/R/src/main/main.c:317:11 #46 0x7f7dc43e7354 in run_Rmainloop /home/hornik/src/R/src/main/main.c:1235:5 #47 0x7f7dc43e763a in Rf_mainloop /home/hornik/src/R/src/main/main.c:1242:5 #48 0x55cdc4c5a004 in main /home/hornik/src/R/src/main/Rmain.c:29:5 #49 0x7f7dc353df74 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #50 0x7f7dc353e026 in __libc_start_main csu/../csu/libc-start.c:360:3 #51 0x55cdc4b6f380 in _start (/home/hornik/tmp/R-d-clang-xtra/bin/exec/R+0x2c380) (BuildId: 37ac39df98fa9905e197ad616afddab84f9d7122) SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_vector.h:1283:34 ================================================================= ==77231==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x7b9dc0ae9eed at pc 0x7b7da2b3be3b bp 0x7ffc657485d0 sp 0x7ffc657485c8 READ of size 1 at 0x7b9dc0ae9eed thread T0 #0 0x7b7da2b3be3a in Network::get_val(int, int) const /home/hornik/tmp/CRAN_special_clang-san/iglm.Rcheck/00_pkg_src/iglm/src/../inst/include/iglm/network_class.h:38:12 #1 0x7b7da2b4c59c in XZ_class::initialize_overlap_counts() /home/hornik/tmp/CRAN_special_clang-san/iglm.Rcheck/00_pkg_src/iglm/src/iglm_classes.cpp:346:23 #2 0x7b7da2b507f5 in XZ_class::XZ_class(int, bool, arma::Mat, arma::Col, arma::Mat, arma::Mat, std::__cxx11::basic_string, std::allocator>, double) /home/hornik/tmp/CRAN_special_clang-san/iglm.Rcheck/00_pkg_src/iglm/src/iglm_classes.cpp:321:5 #3 0x7b7da2bfd07f in XYZ_class::XYZ_class(int, bool, arma::Col, arma::Col, arma::Mat, arma::Mat, arma::Mat, std::__cxx11::basic_string, std::allocator>, std::__cxx11::basic_string, std::allocator>, double, double) /home/hornik/tmp/CRAN_special_clang-san/iglm.Rcheck/00_pkg_src/iglm/src/../inst/include/iglm/xyz_class.h:34:5 #4 0x7b7da2b6f250 in xyz_count_global(arma::Mat const&, arma::Col const&, arma::Col const&, arma::Mat const&, arma::Mat const&, bool, std::vector, std::allocator>, std::allocator, std::allocator>>>, int, std::vector, std::allocator>>&, std::vector>&, std::__cxx11::basic_string, std::allocator>, std::__cxx11::basic_string, std::allocator>, double, double) /home/hornik/tmp/CRAN_special_clang-san/iglm.Rcheck/00_pkg_src/iglm/src/xyz_sampling.cpp:224:13 #5 0x7b7da2ae3598 in _iglm_xyz_count_global /home/hornik/tmp/CRAN_special_clang-san/iglm.Rcheck/00_pkg_src/iglm/src/RcppExports.cpp:43:34 #6 0x7f7dc414ed1b in R_doDotCall /home/hornik/src/R/src/main/dotcode.c #7 0x7f7dc42f2802 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8682:21 #8 0x7f7dc42a0ab4 in bcEval /home/hornik/src/R/src/main/eval.c:7515:16 #9 0x7f7dc429f1ef in Rf_eval /home/hornik/src/R/src/main/eval.c:1167:8 #10 0x7f7dc42a9a1b in R_execClosure /home/hornik/src/R/src/main/eval.c:2389:22 #11 0x7f7dc42a5313 in applyClosure_core /home/hornik/src/R/src/main/eval.c:2302:16 #12 0x7f7dc429fb6f in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2324:16 #13 0x7f7dc429fb6f in Rf_eval /home/hornik/src/R/src/main/eval.c:1280:12 #14 0x7f7dc42b8475 in do_set /home/hornik/src/R/src/main/eval.c:3581:8 #15 0x7f7dc429f5bb in Rf_eval /home/hornik/src/R/src/main/eval.c:1232:12 #16 0x7f7dc42b4112 in do_begin /home/hornik/src/R/src/main/eval.c:2992:10 #17 0x7f7dc429f5bb in Rf_eval /home/hornik/src/R/src/main/eval.c:1232:12 #18 0x7f7dc42be11a in do_eval /home/hornik/src/R/src/main/eval.c:3955:13 #19 0x7f7dc42ec256 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8132:14 #20 0x7f7dc42a0ab4 in bcEval /home/hornik/src/R/src/main/eval.c:7515:16 #21 0x7f7dc429f1ef in Rf_eval /home/hornik/src/R/src/main/eval.c:1167:8 #22 0x7f7dc42a9a1b in R_execClosure /home/hornik/src/R/src/main/eval.c:2389:22 #23 0x7f7dc42a5313 in applyClosure_core /home/hornik/src/R/src/main/eval.c:2302:16 #24 0x7f7dc429fb6f in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2324:16 #25 0x7f7dc429fb6f in Rf_eval /home/hornik/src/R/src/main/eval.c:1280:12 #26 0x7f7dc42be79a in do_eval /home/hornik/src/R/src/main/eval.c:3973:9 #27 0x7f7dc42ec256 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8132:14 #28 0x7f7dc42a0ab4 in bcEval /home/hornik/src/R/src/main/eval.c:7515:16 #29 0x7f7dc429f1ef in Rf_eval /home/hornik/src/R/src/main/eval.c:1167:8 #30 0x7f7dc42a9a1b in R_execClosure /home/hornik/src/R/src/main/eval.c:2389:22 #31 0x7f7dc42a5313 in applyClosure_core /home/hornik/src/R/src/main/eval.c:2302:16 #32 0x7f7dc42a715f in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2324:16 #33 0x7f7dc42a715f in R_forceAndCall /home/hornik/src/R/src/main/eval.c:2456:8 #34 0x7f7dc3f51580 in do_lapply /home/hornik/src/R/src/main/apply.c:75:8 #35 0x7f7dc4434fb9 in do_internal /home/hornik/src/R/src/main/names.c:1419:11 #36 0x7f7dc42dd941 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8152:15 #37 0x7f7dc42a0ab4 in bcEval /home/hornik/src/R/src/main/eval.c:7515:16 #38 0x7f7dc429f1ef in Rf_eval /home/hornik/src/R/src/main/eval.c:1167:8 #39 0x7f7dc42a9a1b in R_execClosure /home/hornik/src/R/src/main/eval.c:2389:22 #40 0x7f7dc42a5313 in applyClosure_core /home/hornik/src/R/src/main/eval.c:2302:16 #41 0x7f7dc429fb6f in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2324:16 #42 0x7f7dc429fb6f in Rf_eval /home/hornik/src/R/src/main/eval.c:1280:12 #43 0x7f7dc43e43e5 in Rf_ReplIteration /home/hornik/src/R/src/main/main.c:264:15 #44 0x7f7dc43e7540 in R_ReplConsole /home/hornik/src/R/src/main/main.c:317:11 #45 0x7f7dc43e7354 in run_Rmainloop /home/hornik/src/R/src/main/main.c:1235:5 #46 0x7f7dc43e763a in Rf_mainloop /home/hornik/src/R/src/main/main.c:1242:5 #47 0x55cdc4c5a004 in main /home/hornik/src/R/src/main/Rmain.c:29:5 #48 0x7f7dc353df74 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #49 0x7f7dc353e026 in __libc_start_main csu/../csu/libc-start.c:360:3 #50 0x55cdc4b6f380 in _start (/home/hornik/tmp/R-d-clang-xtra/bin/exec/R+0x2c380) (BuildId: 37ac39df98fa9905e197ad616afddab84f9d7122) 0x7b9dc0ae9eed is located 3 bytes before 9-byte region [0x7b9dc0ae9ef0,0x7b9dc0ae9ef9) allocated by thread T0 here: #0 0x55cdc4c58b51 in operator new(unsigned long) (/home/hornik/tmp/R-d-clang-xtra/bin/exec/R+0x115b51) (BuildId: 37ac39df98fa9905e197ad616afddab84f9d7122) #1 0x7b7da2b629df in std::__new_allocator::allocate(unsigned long, void const*) /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/new_allocator.h:151:27 #2 0x7b7da2b629df in std::allocator_traits>::allocate(std::allocator&, unsigned long) /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:614:20 #3 0x7b7da2b629df in std::_Vector_base>::_M_allocate(unsigned long) /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_vector.h:387:20 #4 0x7b7da2b629df in std::_Vector_base>::_M_create_storage(unsigned long) /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_vector.h:405:33 #5 0x7b7da2b629df in std::_Vector_base>::_Vector_base(unsigned long, std::allocator const&) /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_vector.h:341:9 #6 0x7b7da2b629df in std::vector>::vector(unsigned long, char const&, std::allocator const&) /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_vector.h:601:9 #7 0x7b7da2b625ea in std::vector>::_M_fill_assign(unsigned long, char const&) /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/vector.tcc:278:11 #8 0x7b7da2b451a1 in std::vector>::assign(unsigned long, char const&) /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_vector.h:876:9 #9 0x7b7da2b451a1 in Network::Network(int, bool, arma::Mat) /home/hornik/tmp/CRAN_special_clang-san/iglm.Rcheck/00_pkg_src/iglm/src/iglm_classes.cpp:65:13 #10 0x7b7da2b4f96b in XZ_class::XZ_class(int, bool, arma::Mat, arma::Col, arma::Mat, arma::Mat, std::__cxx11::basic_string, std::allocator>, double) /home/hornik/tmp/CRAN_special_clang-san/iglm.Rcheck/00_pkg_src/iglm/src/iglm_classes.cpp:301:5 #11 0x7b7da2bfd07f in XYZ_class::XYZ_class(int, bool, arma::Col, arma::Col, arma::Mat, arma::Mat, arma::Mat, std::__cxx11::basic_string, std::allocator>, std::__cxx11::basic_string, std::allocator>, double, double) /home/hornik/tmp/CRAN_special_clang-san/iglm.Rcheck/00_pkg_src/iglm/src/../inst/include/iglm/xyz_class.h:34:5 #12 0x7b7da2b6f250 in xyz_count_global(arma::Mat const&, arma::Col const&, arma::Col const&, arma::Mat const&, arma::Mat const&, bool, std::vector, std::allocator>, std::allocator, std::allocator>>>, int, std::vector, std::allocator>>&, std::vector>&, std::__cxx11::basic_string, std::allocator>, std::__cxx11::basic_string, std::allocator>, double, double) /home/hornik/tmp/CRAN_special_clang-san/iglm.Rcheck/00_pkg_src/iglm/src/xyz_sampling.cpp:224:13 #13 0x7b7da2ae3598 in _iglm_xyz_count_global /home/hornik/tmp/CRAN_special_clang-san/iglm.Rcheck/00_pkg_src/iglm/src/RcppExports.cpp:43:34 #14 0x7f7dc414ed1b in R_doDotCall /home/hornik/src/R/src/main/dotcode.c #15 0x7f7dc42f2802 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8682:21 #16 0x7f7dc42a0ab4 in bcEval /home/hornik/src/R/src/main/eval.c:7515:16 #17 0x7f7dc429f1ef in Rf_eval /home/hornik/src/R/src/main/eval.c:1167:8 #18 0x7f7dc42a9a1b in R_execClosure /home/hornik/src/R/src/main/eval.c:2389:22 #19 0x7f7dc42a5313 in applyClosure_core /home/hornik/src/R/src/main/eval.c:2302:16 #20 0x7f7dc429fb6f in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2324:16 #21 0x7f7dc429fb6f in Rf_eval /home/hornik/src/R/src/main/eval.c:1280:12 #22 0x7f7dc42b8475 in do_set /home/hornik/src/R/src/main/eval.c:3581:8 #23 0x7f7dc429f5bb in Rf_eval /home/hornik/src/R/src/main/eval.c:1232:12 #24 0x7f7dc42b4112 in do_begin /home/hornik/src/R/src/main/eval.c:2992:10 #25 0x7f7dc429f5bb in Rf_eval /home/hornik/src/R/src/main/eval.c:1232:12 #26 0x7f7dc42be11a in do_eval /home/hornik/src/R/src/main/eval.c:3955:13 #27 0x7f7dc42ec256 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8132:14 #28 0x7f7dc42a0ab4 in bcEval /home/hornik/src/R/src/main/eval.c:7515:16 #29 0x7f7dc429f1ef in Rf_eval /home/hornik/src/R/src/main/eval.c:1167:8 #30 0x7f7dc42a9a1b in R_execClosure /home/hornik/src/R/src/main/eval.c:2389:22 #31 0x7f7dc42a5313 in applyClosure_core /home/hornik/src/R/src/main/eval.c:2302:16 #32 0x7f7dc429fb6f in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2324:16 #33 0x7f7dc429fb6f in Rf_eval /home/hornik/src/R/src/main/eval.c:1280:12 #34 0x7f7dc42be79a in do_eval /home/hornik/src/R/src/main/eval.c:3973:9 #35 0x7f7dc42ec256 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8132:14 #36 0x7f7dc42a0ab4 in bcEval /home/hornik/src/R/src/main/eval.c:7515:16 #37 0x7f7dc429f1ef in Rf_eval /home/hornik/src/R/src/main/eval.c:1167:8 SUMMARY: AddressSanitizer: heap-buffer-overflow /home/hornik/tmp/CRAN_special_clang-san/iglm.Rcheck/00_pkg_src/iglm/src/../inst/include/iglm/network_class.h:38:12 in Network::get_val(int, int) const Shadow bytes around the buggy address: 0x7b9dc0ae9c00: fa fa 00 00 fa fa fd fa fa fa fd fa fa fa 00 00 0x7b9dc0ae9c80: fa fa fd fa fa fa 00 00 fa fa 00 00 fa fa fd fa 0x7b9dc0ae9d00: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa 0x7b9dc0ae9d80: fa fa 00 00 fa fa fd fa fa fa 00 00 fa fa 00 00 0x7b9dc0ae9e00: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa =>0x7b9dc0ae9e80: fa fa fd fa fa fa 00 01 fa fa 00 01 fa[fa]00 01 0x7b9dc0ae9f00: fa fa 00 fa fa fa fd fa fa fa fd fd fa fa fd fd 0x7b9dc0ae9f80: fa fa fd fd fa fa fd fd fa fa fd fd fa fa fd fd 0x7b9dc0aea000: fa fa fd fd fa fa fd fd fa fa fd fd fa fa fd fd 0x7b9dc0aea080: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa 0x7b9dc0aea100: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fa 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 ==77231==ABORTING * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [14s/14s] OK * checking PDF version of manual ... [6s/5s] OK * checking HTML version of manual ... [12s/12s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR