* using log directory ‘/data/blackswan/ripley/R/packages/tests-vg/maxnodf.Rcheck’ * using R Under development (unstable) (2024-07-04 r86871) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 13.2.1 20240316 (Red Hat 13.2.1-7) GNU Fortran (GCC) 13.2.1 20240316 (Red Hat 13.2.1-7) * running under: Fedora Linux 38 (Workstation Edition) * using session charset: UTF-8 * using options ‘--use-valgrind --no-stop-on-test-error’ * checking for file ‘maxnodf/DESCRIPTION’ ... OK * this is package ‘maxnodf’ version ‘1.0.0’ * package encoding: UTF-8 * 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 ‘maxnodf’ can be installed ... [17s/17s] OK * used C++ compiler: ‘g++ (GCC) 13.2.1 20240316 (Red Hat 13.2.1-7)’ * 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 examples ... [36s/37s] ERROR Running examples in ‘maxnodf-Ex.R’ failed The error most likely occurred in: > ### Name: maxnodf > ### Title: Calculate the maximum nestedness of a bipartite network > ### Aliases: maxnodf > > ### ** Examples > > maxnodf(matrix(1.0, 12, 10)) | | | 0% | |= | 1% | |= | 2% | |== | 3% | |=== | 4% | |==== | 5% | |==== | 6% | |===== | 7% | |====== | 8% | |====== | 9% | |======= | 10% | |======== | 11% | |========= | 12% | |========= | 13% | |========== | 14% | |=========== | 15% | |=========== | 16% | |============ | 17% | |============= | 18% | |============== | 19% | |============== | 20% | |=============== | 21% | |================ | 22% | |================ | 23% | |================= | 24% | |================== | 26% | |=================== | 27% | |=================== | 28% | |==================== | 29% | |===================== | 30% | |===================== | 31% | |====================== | 32% | |======================= | 33% | |======================== | 34% | |======================== | 35% | |========================= | 36% | |========================== | 37% | |========================== | 38% | |=========================== | 39% | |============================ | 40% | |============================= | 41% | |============================= | 42% | |============================== | 43% | |=============================== | 44% | |=============================== | 45% | |================================ | 46% | |================================= | 47% | |================================== | 48% | |================================== | 49% | |=================================== | 50% | |==================================== | 51% | |==================================== | 52% | |===================================== | 53% | |====================================== | 54% | |======================================= | 55% | |======================================= | 56% | |======================================== | 57% | |========================================= | 58% | |========================================= | 59% | |========================================== | 60% | |=========================================== | 61% | |============================================ | 62% | |============================================ | 63% | |============================================= | 64% | |============================================== | 65% | |============================================== | 66% | |=============================================== | 67% | |================================================ | 68% | |================================================= | 69% | |================================================= | 70% | |================================================== | 71% | |=================================================== | 72% | |=================================================== | 73% | |==================================================== | 74% | |===================================================== | 76% | |====================================================== | 77% | |====================================================== | 78% | |======================================================= | 79% | |======================================================== | 80% | |======================================================== | 81% | |========================================================= | 82% | |========================================================== | 83% | |=========================================================== | 84% | |=========================================================== | 85% | |============================================================ | 86% | |============================================================= | 87% | |============================================================= | 88% | |============================================================== | 89% | |=============================================================== | 90% | |================================================================ | 91% | |================================================================ | 92% | |================================================================= | 93% | |================================================================== | 94% | |================================================================== | 95% | |=================================================================== | 96% | |==================================================================== | 97% | |===================================================================== | 98% | |===================================================================== | 99% | |======================================================================| 100% $max_nodf [1] 0 $max_nodf_mtx [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [1,] 1 1 1 1 1 1 1 1 1 1 [2,] 1 1 1 1 1 1 1 1 1 1 [3,] 1 1 1 1 1 1 1 1 1 1 [4,] 1 1 1 1 1 1 1 1 1 1 [5,] 1 1 1 1 1 1 1 1 1 1 [6,] 1 1 1 1 1 1 1 1 1 1 [7,] 1 1 1 1 1 1 1 1 1 1 [8,] 1 1 1 1 1 1 1 1 1 1 [9,] 1 1 1 1 1 1 1 1 1 1 [10,] 1 1 1 1 1 1 1 1 1 1 [11,] 1 1 1 1 1 1 1 1 1 1 [12,] 1 1 1 1 1 1 1 1 1 1 > maxnodf(c(14, 13, 52), 2) | | | 0% | |=== | 4% | |====== | 8% | |======== | 12% | |=========== | 16% | |============== | 20% | |================= | 24% | |==================== | 28% | |====================== | 32% | |========================= | 36% | |============================ | 40% | |=============================== | 44% | |================================== | 48% | |==================================== | 52% | |======================================= | 56% | |========================================== | 60% | |============================================= | 64% | |================================================ | 68% | |================================================== | 72% | |===================================================== | 76% | |======================================================== | 80% | |=========================================================== | 84% | |============================================================== | 88% | |================================================================ | 92% | |=================================================================== | 96% | |======================================================================| 100% [> ] 0 % ==211820== Invalid read of size 8 ==211820== at 0x1222FDC0: sim_anneal_opt_cpp(Rcpp::Matrix<14, Rcpp::PreserveStorage>, double, int, double, double) (packages/tests-vg/maxnodf/src/fast_toolbox.cpp:693) ==211820== by 0x12222EE7: _maxnodf_sim_anneal_opt_cpp (packages/tests-vg/maxnodf/src/RcppExports.cpp:256) ==211820== by 0x4A27DD: R_doDotCall (svn/R-devel/src/main/dotcode.c:766) ==211820== by 0x4A2D33: do_dotcall (svn/R-devel/src/main/dotcode.c:1437) ==211820== by 0x4DE11A: bcEval_loop (svn/R-devel/src/main/eval.c:8140) ==211820== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7523) ==211820== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7508) ==211820== by 0x4F4DEA: Rf_eval (svn/R-devel/src/main/eval.c:1167) ==211820== by 0x4F6CED: R_execClosure (svn/R-devel/src/main/eval.c:2398) ==211820== by 0x4F7A46: applyClosure_core (svn/R-devel/src/main/eval.c:2311) ==211820== by 0x4F4EF5: Rf_applyClosure (svn/R-devel/src/main/eval.c:2333) ==211820== by 0x4F4EF5: Rf_eval (svn/R-devel/src/main/eval.c:1285) ==211820== by 0x52A11C: Rf_ReplIteration (svn/R-devel/src/main/main.c:265) ==211820== by 0x52A457: R_ReplConsole (svn/R-devel/src/main/main.c:317) ==211820== Address 0x1 is not stack'd, malloc'd or (recently) free'd ==211820== *** caught segfault *** address 0x1, cause 'memory not mapped' Traceback: 1: sim_anneal_opt_cpp(mtx) 2: maxnodf(c(14, 13, 52), 2) An irrecoverable exception occurred. R is aborting now ... ==211820== ==211820== Process terminating with default action of signal 11 (SIGSEGV): dumping core ==211820== at 0x547B884: __pthread_kill_implementation (/usr/src/debug/glibc-2.37-19.fc38.x86_64/nptl/pthread_kill.c:44) ==211820== by 0x542AAFD: raise (/usr/src/debug/glibc-2.37-19.fc38.x86_64/signal/../sysdeps/posix/raise.c:26) ==211820== by 0x542ABAF: ??? (in /usr/lib64/libc.so.6) ==211820== by 0x1222FDBF: fill_or_generate__impl (R-devel/site-library/Rcpp/include/Rcpp/vector/Vector.h:1096) ==211820== by 0x1222FDBF: fill_or_generate (R-devel/site-library/Rcpp/include/Rcpp/vector/Vector.h:1089) ==211820== by 0x1222FDBF: Vector (R-devel/site-library/Rcpp/include/Rcpp/vector/Vector.h:172) ==211820== by 0x1222FDBF: runif (R-devel/site-library/Rcpp/include/Rcpp/stats/random/random.h:298) ==211820== by 0x1222FDBF: sim_anneal_opt_cpp(Rcpp::Matrix<14, Rcpp::PreserveStorage>, double, int, double, double) (packages/tests-vg/maxnodf/src/fast_toolbox.cpp:693) ==211820== ==211820== HEAP SUMMARY: ==211820== in use at exit: 61,560,195 bytes in 12,677 blocks ==211820== total heap usage: 33,798 allocs, 21,121 frees, 97,934,422 bytes allocated ==211820== ==211820== 17 bytes in 1 blocks are possibly lost in loss record 35 of 1,746 ==211820== at 0x484280F: malloc (/builddir/build/BUILD/valgrind-3.22.0/coregrind/m_replacemalloc/vg_replace_malloc.c:442) ==211820== by 0x543043B: __add_to_environ (/usr/src/debug/glibc-2.37-19.fc38.x86_64/stdlib/setenv.c:217) ==211820== by 0x4850D26: setenv (/builddir/build/BUILD/valgrind-3.22.0/memcheck/../shared/vg_replace_strmem.c:2416) ==211820== by 0x5C1165: do_setenv (svn/R-devel/src/main/sysutils.c:480) ==211820== by 0x4DE11A: bcEval_loop (svn/R-devel/src/main/eval.c:8140) ==211820== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7523) ==211820== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7508) ==211820== by 0x4F4DEA: Rf_eval (svn/R-devel/src/main/eval.c:1167) ==211820== by 0x4F56CE: forcePromise (svn/R-devel/src/main/eval.c:976) ==211820== by 0x4F56CE: forcePromise (svn/R-devel/src/main/eval.c:954) ==211820== by 0x4F50C7: Rf_eval (svn/R-devel/src/main/eval.c:1198) ==211820== by 0x4EBBD0: bcEval_loop (svn/R-devel/src/main/eval.c:8034) ==211820== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7523) ==211820== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7508) ==211820== by 0x4F4DEA: Rf_eval (svn/R-devel/src/main/eval.c:1167) ==211820== ==211820== 21 bytes in 1 blocks are possibly lost in loss record 40 of 1,746 ==211820== at 0x484280F: malloc (/builddir/build/BUILD/valgrind-3.22.0/coregrind/m_replacemalloc/vg_replace_malloc.c:442) ==211820== by 0x543043B: __add_to_environ (/usr/src/debug/glibc-2.37-19.fc38.x86_64/stdlib/setenv.c:217) ==211820== by 0x4850D26: setenv (/builddir/build/BUILD/valgrind-3.22.0/memcheck/../shared/vg_replace_strmem.c:2416) ==211820== by 0x5C1165: do_setenv (svn/R-devel/src/main/sysutils.c:480) ==211820== by 0x4DE11A: bcEval_loop (svn/R-devel/src/main/eval.c:8140) ==211820== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7523) ==211820== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7508) ==211820== by 0x4F4DEA: Rf_eval (svn/R-devel/src/main/eval.c:1167) ==211820== by 0x4F6CED: R_execClosure (svn/R-devel/src/main/eval.c:2398) ==211820== by 0x4F7A46: applyClosure_core (svn/R-devel/src/main/eval.c:2311) ==211820== by 0x4F4EF5: Rf_applyClosure (svn/R-devel/src/main/eval.c:2333) ==211820== by 0x4F4EF5: Rf_eval (svn/R-devel/src/main/eval.c:1285) ==211820== by 0x4F9B0C: do_set (svn/R-devel/src/main/eval.c:3581) ==211820== by 0x4F5192: Rf_eval (svn/R-devel/src/main/eval.c:1237) ==211820== ==211820== 21 bytes in 1 blocks are possibly lost in loss record 41 of 1,746 ==211820== at 0x484280F: malloc (/builddir/build/BUILD/valgrind-3.22.0/coregrind/m_replacemalloc/vg_replace_malloc.c:442) ==211820== by 0x543043B: __add_to_environ (/usr/src/debug/glibc-2.37-19.fc38.x86_64/stdlib/setenv.c:217) ==211820== by 0x4850D26: setenv (/builddir/build/BUILD/valgrind-3.22.0/memcheck/../shared/vg_replace_strmem.c:2416) ==211820== by 0x5C1165: do_setenv (svn/R-devel/src/main/sysutils.c:480) ==211820== by 0x4DE11A: bcEval_loop (svn/R-devel/src/main/eval.c:8140) ==211820== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7523) ==211820== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7508) ==211820== by 0x4F4DEA: Rf_eval (svn/R-devel/src/main/eval.c:1167) ==211820== by 0x4F6CED: R_execClosure (svn/R-devel/src/main/eval.c:2398) ==211820== by 0x4F7A46: applyClosure_core (svn/R-devel/src/main/eval.c:2311) ==211820== by 0x4F4EF5: Rf_applyClosure (svn/R-devel/src/main/eval.c:2333) ==211820== by 0x4F4EF5: Rf_eval (svn/R-devel/src/main/eval.c:1285) ==211820== by 0x4F6403: loadCompilerNamespace (svn/R-devel/src/main/eval.c:1427) ==211820== by 0x4F67D9: R_init_jit_enabled (svn/R-devel/src/main/eval.c:1474) ==211820== ==211820== 24 bytes in 1 blocks are possibly lost in loss record 48 of 1,746 ==211820== at 0x484280F: malloc (/builddir/build/BUILD/valgrind-3.22.0/coregrind/m_replacemalloc/vg_replace_malloc.c:442) ==211820== by 0x54F93D7: tsearch (/usr/src/debug/glibc-2.37-19.fc38.x86_64/misc/tsearch.c:337) ==211820== by 0x5430462: __add_to_environ (/usr/src/debug/glibc-2.37-19.fc38.x86_64/stdlib/setenv.c:233) ==211820== by 0x4850D26: setenv (/builddir/build/BUILD/valgrind-3.22.0/memcheck/../shared/vg_replace_strmem.c:2416) ==211820== by 0x5C1165: do_setenv (svn/R-devel/src/main/sysutils.c:480) ==211820== by 0x4DE11A: bcEval_loop (svn/R-devel/src/main/eval.c:8140) ==211820== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7523) ==211820== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7508) ==211820== by 0x4F4DEA: Rf_eval (svn/R-devel/src/main/eval.c:1167) ==211820== by 0x4F6CED: R_execClosure (svn/R-devel/src/main/eval.c:2398) ==211820== by 0x4F7A46: applyClosure_core (svn/R-devel/src/main/eval.c:2311) ==211820== by 0x4F4EF5: Rf_applyClosure (svn/R-devel/src/main/eval.c:2333) ==211820== by 0x4F4EF5: Rf_eval (svn/R-devel/src/main/eval.c:1285) ==211820== by 0x4F9B0C: do_set (svn/R-devel/src/main/eval.c:3581) ==211820== ==211820== 24 bytes in 1 blocks are possibly lost in loss record 49 of 1,746 ==211820== at 0x484280F: malloc (/builddir/build/BUILD/valgrind-3.22.0/coregrind/m_replacemalloc/vg_replace_malloc.c:442) ==211820== by 0x54F93D7: tsearch (/usr/src/debug/glibc-2.37-19.fc38.x86_64/misc/tsearch.c:337) ==211820== by 0x5430462: __add_to_environ (/usr/src/debug/glibc-2.37-19.fc38.x86_64/stdlib/setenv.c:233) ==211820== by 0x4850D26: setenv (/builddir/build/BUILD/valgrind-3.22.0/memcheck/../shared/vg_replace_strmem.c:2416) ==211820== by 0x5C1165: do_setenv (svn/R-devel/src/main/sysutils.c:480) ==211820== by 0x4DE11A: bcEval_loop (svn/R-devel/src/main/eval.c:8140) ==211820== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7523) ==211820== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7508) ==211820== by 0x4F4DEA: Rf_eval (svn/R-devel/src/main/eval.c:1167) ==211820== by 0x4F6CED: R_execClosure (svn/R-devel/src/main/eval.c:2398) ==211820== by 0x4F7A46: applyClosure_core (svn/R-devel/src/main/eval.c:2311) ==211820== by 0x4F4EF5: Rf_applyClosure (svn/R-devel/src/main/eval.c:2333) ==211820== by 0x4F4EF5: Rf_eval (svn/R-devel/src/main/eval.c:1285) ==211820== by 0x4F6403: loadCompilerNamespace (svn/R-devel/src/main/eval.c:1427) ==211820== ==211820== 24 bytes in 1 blocks are possibly lost in loss record 50 of 1,746 ==211820== at 0x484280F: malloc (/builddir/build/BUILD/valgrind-3.22.0/coregrind/m_replacemalloc/vg_replace_malloc.c:442) ==211820== by 0x54F93D7: tsearch (/usr/src/debug/glibc-2.37-19.fc38.x86_64/misc/tsearch.c:337) ==211820== by 0x5430462: __add_to_environ (/usr/src/debug/glibc-2.37-19.fc38.x86_64/stdlib/setenv.c:233) ==211820== by 0x4850D26: setenv (/builddir/build/BUILD/valgrind-3.22.0/memcheck/../shared/vg_replace_strmem.c:2416) ==211820== by 0x5C1165: do_setenv (svn/R-devel/src/main/sysutils.c:480) ==211820== by 0x4DE11A: bcEval_loop (svn/R-devel/src/main/eval.c:8140) ==211820== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7523) ==211820== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7508) ==211820== by 0x4F4DEA: Rf_eval (svn/R-devel/src/main/eval.c:1167) ==211820== by 0x4F56CE: forcePromise (svn/R-devel/src/main/eval.c:976) ==211820== by 0x4F56CE: forcePromise (svn/R-devel/src/main/eval.c:954) ==211820== by 0x4F50C7: Rf_eval (svn/R-devel/src/main/eval.c:1198) ==211820== by 0x4EBBD0: bcEval_loop (svn/R-devel/src/main/eval.c:8034) ==211820== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7523) ==211820== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7508) ==211820== ==211820== 96 bytes in 4 blocks are possibly lost in loss record 102 of 1,746 ==211820== at 0x484280F: malloc (/builddir/build/BUILD/valgrind-3.22.0/coregrind/m_replacemalloc/vg_replace_malloc.c:442) ==211820== by 0x54F93D7: tsearch (/usr/src/debug/glibc-2.37-19.fc38.x86_64/misc/tsearch.c:337) ==211820== by 0x5430462: __add_to_environ (/usr/src/debug/glibc-2.37-19.fc38.x86_64/stdlib/setenv.c:233) ==211820== by 0x4850D26: setenv (/builddir/build/BUILD/valgrind-3.22.0/memcheck/../shared/vg_replace_strmem.c:2416) ==211820== by 0x41C4C1: Putenv (svn/R-devel/src/main/Renviron.c:241) ==211820== by 0x41C4C1: process_Renviron (svn/R-devel/src/main/Renviron.c:339) ==211820== by 0x41C617: process_system_Renviron (svn/R-devel/src/main/Renviron.c:380) ==211820== by 0x62509D: Rf_initialize_R (svn/R-devel/src/unix/system.c:336) ==211820== by 0x4168F2: main (svn/R-devel/src/main/Rmain.c:28) ==211820== ==211820== 4,608 bytes in 2 blocks are possibly lost in loss record 420 of 1,746 ==211820== at 0x484280F: malloc (/builddir/build/BUILD/valgrind-3.22.0/coregrind/m_replacemalloc/vg_replace_malloc.c:442) ==211820== by 0x4004A3C: UnknownInlinedFun (/usr/src/debug/glibc-2.37-19.fc38.x86_64/elf/../include/rtld-malloc.h:56) ==211820== by 0x4004A3C: _dlfo_mappings_segment_allocate (/usr/src/debug/glibc-2.37-19.fc38.x86_64/elf/dl-find_object.c:217) ==211820== by 0x4004A3C: _dl_find_object_update_1 (/usr/src/debug/glibc-2.37-19.fc38.x86_64/elf/dl-find_object.c:671) ==211820== by 0x4004A3C: _dl_find_object_update (/usr/src/debug/glibc-2.37-19.fc38.x86_64/elf/dl-find_object.c:805) ==211820== by 0x400CAD7: dl_open_worker_begin (/usr/src/debug/glibc-2.37-19.fc38.x86_64/elf/dl-open.c:754) ==211820== by 0x4001522: _dl_catch_exception (/usr/src/debug/glibc-2.37-19.fc38.x86_64/elf/dl-catch.c:237) ==211820== by 0x400BE8F: dl_open_worker (/usr/src/debug/glibc-2.37-19.fc38.x86_64/elf/dl-open.c:801) ==211820== by 0x4001522: _dl_catch_exception (/usr/src/debug/glibc-2.37-19.fc38.x86_64/elf/dl-catch.c:237) ==211820== by 0x400C2E3: _dl_open (/usr/src/debug/glibc-2.37-19.fc38.x86_64/elf/dl-open.c:903) ==211820== by 0x5475713: dlopen_doit (/usr/src/debug/glibc-2.37-19.fc38.x86_64/dlfcn/dlopen.c:56) ==211820== by 0x4001522: _dl_catch_exception (/usr/src/debug/glibc-2.37-19.fc38.x86_64/elf/dl-catch.c:237) ==211820== by 0x4001678: _dl_catch_error (/usr/src/debug/glibc-2.37-19.fc38.x86_64/elf/dl-catch.c:256) ==211820== by 0x54751F2: _dlerror_run (/usr/src/debug/glibc-2.37-19.fc38.x86_64/dlfcn/dlerror.c:138) ==211820== by 0x54757CE: UnknownInlinedFun (/usr/src/debug/glibc-2.37-19.fc38.x86_64/dlfcn/dlopen.c:71) ==211820== by 0x54757CE: dlopen@@GLIBC_2.34 (/usr/src/debug/glibc-2.37-19.fc38.x86_64/dlfcn/dlopen.c:81) ==211820== ==211820== LEAK SUMMARY: ==211820== definitely lost: 0 bytes in 0 blocks ==211820== indirectly lost: 0 bytes in 0 blocks ==211820== possibly lost: 4,835 bytes in 12 blocks ==211820== still reachable: 61,555,360 bytes in 12,665 blocks ==211820== suppressed: 0 bytes in 0 blocks ==211820== Reachable blocks (those to which a pointer was found) are not shown. ==211820== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==211820== ==211820== For lists of detected and suppressed errors, rerun with: -s ==211820== ERROR SUMMARY: 9 errors from 9 contexts (suppressed: 0 from 0) * checking tests ... [12m/12m] ERROR Running ‘testthat.R’ [12m/12m] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(maxnodf) > > test_check("maxnodf") | | | 0% | |=== | 4% | |====== | 8% | |======== | 12% | |=========== | 16% | |============== | 20% | |================= | 24% | |==================== | 28% | |====================== | 32% | |========================= | 36% | |============================ | 40% | |=============================== | 44% | |================================== | 48% | |==================================== | 52% | |======================================= | 56% | |========================================== | 60% | |============================================= | 64% | |================================================ | 68% | |================================================== | 72% | |===================================================== | 76% | |======================================================== | 80% | |=========================================================== | 84% | |============================================================== | 88% | |================================================================ | 92% | |=================================================================== | 96% | |======================================================================| 100% | | | 0% | | | 1% | |= | 1% | |= | 2% | |== | 2% | |== | 3% | |== | 4% | |=== | 4% | |=== | 5% | |==== | 5% | |==== | 6% | |===== | 6% | |===== | 7% | |===== | 8% | |====== | 8% | |====== | 9% | |======= | 9% | |======= | 10% | |======= | 11% | |======== | 11% | |======== | 12% | |========= | 12% | |========= | 13% | |========= | 14% | |========== | 14% | |========== | 15% | |=========== | 15% | |=========== | 16% | |============ | 16% | |============ | 17% | |============ | 18% | |============= | 18% | |============= | 19% | |============== | 19% | |============== | 20% | |============== | 21% | |=============== | 21% | |=============== | 22% | |================ | 22% | |================ | 23% | |================ | 24% | |================= | 24% | |================= | 25% | |================== | 25% | |================== | 26% | |=================== | 26% | |=================== | 27% | |=================== | 28% | |==================== | 28% | |==================== | 29% | |===================== | 29% | |===================== | 30% | |===================== | 31% | |====================== | 31% | |====================== | 32% | |======================= | 32% | |======================= | 33% | |======================= | 34% | |======================== | 34% | |======================== | 35% | |========================= | 35% | |========================= | 36% | |========================== | 36% | |========================== | 37% | |========================== | 38% | |=========================== | 38% | |=========================== | 39% | |============================ | 39% | |============================ | 40% | |============================ | 41% | |============================= | 41% | |============================= | 42% | |============================== | 42% | |============================== | 43% | |============================== | 44% | |=============================== | 44% | |=============================== | 45% | |================================ | 45% | |================================ | 46% | |================================= | 46% | |================================= | 47% | |================================= | 48% | |================================== | 48% | |================================== | 49% | |=================================== | 49% | |=================================== | 50% | |=================================== | 51% | |==================================== | 51% | |==================================== | 52% | |===================================== | 52% | |===================================== | 53% | |===================================== | 54% | |====================================== | 54% | |====================================== | 55% | |======================================= | 55% | |======================================= | 56% | |======================================== | 56% | |======================================== | 57% | |======================================== | 58% | |========================================= | 58% | |========================================= | 59% | |========================================== | 59% | |========================================== | 60% | |========================================== | 61% | |=========================================== | 61% | |=========================================== | 62% | |============================================ | 62% | |============================================ | 63% | |============================================ | 64% | |============================================= | 64% | |============================================= | 65% | |============================================== | 65% | |============================================== | 66% | |=============================================== | 66% | |=============================================== | 67% | |=============================================== | 68% | |================================================ | 68% | |================================================ | 69% | |================================================= | 69% | |================================================= | 70% | |================================================= | 71% | |================================================== | 71% | |================================================== | 72% | |=================================================== | 72% | |=================================================== | 73% | |=================================================== | 74% | |==================================================== | 74% | |==================================================== | 75% | |===================================================== | 75% | |===================================================== | 76% | |====================================================== | 76% | |====================================================== | 77% | |====================================================== | 78% | |======================================================= | 78% | |======================================================= | 79% | |======================================================== | 79% | |======================================================== | 80% | |======================================================== | 81% | |========================================================= | 81% | |========================================================= | 82% | |========================================================== | 82% | |========================================================== | 83% | |========================================================== | 84% | |=========================================================== | 84% | |=========================================================== | 85% | |============================================================ | 85% | |============================================================ | 86% | |============================================================= | 86% | |============================================================= | 87% | |============================================================= | 88% | |============================================================== | 88% | |============================================================== | 89% | |=============================================================== | 89% | |=============================================================== | 90% | |=============================================================== | 91% | |================================================================ | 91% | |================================================================ | 92% | |================================================================= | 92% | |================================================================= | 93% | |================================================================= | 94% | |================================================================== | 94% | |================================================================== | 95% | |=================================================================== | 95% | |=================================================================== | 96% | |==================================================================== | 96% | |==================================================================== | 97% | |==================================================================== | 98% | |===================================================================== | 98% | |===================================================================== | 99% | |======================================================================| 99% | |======================================================================| 100% | | | 0% | |=== | 4% | |====== | 8% | |======== | 12% | |=========== | 16% | |============== | 20% | |================= | 24% | |==================== | 28% | |====================== | 32% | |========================= | 36% | |============================ | 40% | |=============================== | 44% | |================================== | 48% | |==================================== | 52% | |======================================= | 56% | |========================================== | 60% | |============================================= | 64% | |================================================ | 68% | |================================================== | 72% | |===================================================== | 76% | |======================================================== | 80% | |=========================================================== | 84% | |============================================================== | 88% | |================================================================ | 92% | |=================================================================== | 96% | |======================================================================| 100% | | | 0% | |=== | 4% | |====== | 8% | |======== | 12% | |=========== | 16% | |============== | 20% | |================= | 24% | |==================== | 28% | |====================== | 32% | |========================= | 36% | |============================ | 40% | |=============================== | 44% | |================================== | 48% | |==================================== | 52% | |======================================= | 56% | |========================================== | 60% | |============================================= | 64% | |================================================ | 68% | |================================================== | 72% | |===================================================== | 76% | |======================================================== | 80% | |=========================================================== | 84% | |============================================================== | 88% | |================================================================ | 92% | |=================================================================== | 96% | |======================================================================| 100% | | | 0% | |=== | 4% | |====== | 8% | |======== | 12% | |=========== | 16% | |============== | 20% | |================= | 24% | |==================== | 28% | |====================== | 32% | |========================= | 36% | |============================ | 40% | |=============================== | 44% | |================================== | 48% | |==================================== | 52% | |======================================= | 56% | |========================================== | 60% | |============================================= | 64% | |================================================ | 68% | |================================================== | 72% | |===================================================== | 76% | |======================================================== | 80% | |=========================================================== | 84% | |============================================================== | 88% | |================================================================ | 92% | |=================================================================== | 96% | |======================================================================| 100% | | | 0% | |=== | 4% | |====== | 8% | |======== | 12% | |=========== | 16% | |============== | 20% | |================= | 24% | |==================== | 28% | |====================== | 32% | |========================= | 36% | |============================ | 40% | |=============================== | 44% | |================================== | 48% | |==================================== | 52% | |======================================= | 56% | |========================================== | 60% | |============================================= | 64% | |================================================ | 68% | |================================================== | 72% | |===================================================== | 76% | |======================================================== | 80% | |=========================================================== | 84% | |============================================================== | 88% | |================================================================ | 92% | |=================================================================== | 96% | |======================================================================| 100% | | | 0% | |======================= | 33% | |=============================================== | 67% | |======================================================================| 100% | | | 0% | |======================= | 33% | |=============================================== | 67% | |======================================================================| 100% Hillclimb round: 1. Current NODF= 0.9 | | | 0% | |======================= | 33% | |=============================================== | 67% | |======================================================================| 100% [> ] 0 % ==214271== Invalid read of size 8 ==214271== at 0x1B512DC0: sim_anneal_opt_cpp(Rcpp::Matrix<14, Rcpp::PreserveStorage>, double, int, double, double) (packages/tests-vg/maxnodf/src/fast_toolbox.cpp:693) ==214271== by 0x1B505EE7: _maxnodf_sim_anneal_opt_cpp (packages/tests-vg/maxnodf/src/RcppExports.cpp:256) ==214271== by 0x4A27DD: R_doDotCall (svn/R-devel/src/main/dotcode.c:766) ==214271== by 0x4A2D33: do_dotcall (svn/R-devel/src/main/dotcode.c:1437) ==214271== by 0x4DE11A: bcEval_loop (svn/R-devel/src/main/eval.c:8140) ==214271== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7523) ==214271== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7508) ==214271== by 0x4F4DEA: Rf_eval (svn/R-devel/src/main/eval.c:1167) ==214271== by 0x4F6CED: R_execClosure (svn/R-devel/src/main/eval.c:2398) ==214271== by 0x4F7A46: applyClosure_core (svn/R-devel/src/main/eval.c:2311) ==214271== by 0x4F4EF5: Rf_applyClosure (svn/R-devel/src/main/eval.c:2333) ==214271== by 0x4F4EF5: Rf_eval (svn/R-devel/src/main/eval.c:1285) ==214271== by 0x5B47D2: R_DispatchOrEvalSP (svn/R-devel/src/main/subset.c:657) ==214271== by 0x5BAA18: do_subset3 (svn/R-devel/src/main/subset.c:1264) ==214271== Address 0x1 is not stack'd, malloc'd or (recently) free'd ==214271== *** caught segfault *** address 0x1, cause 'memory not mapped' Traceback: 1: sim_anneal_opt_cpp(mtx) 2: maxnodf(m, quality = 2) 3: eval_bare(expr, quo_get_env(quo)) 4: quasi_label(enquo(object), label, arg = "object") 5: expect_equal(maxnodf(m, quality = 2)$max_nodf, 0.9) 6: eval(code, test_env) 7: eval(code, test_env) 8: withCallingHandlers({ eval(code, test_env) if (!handled && !is.null(test)) { skip_empty() }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error) 9: doTryCatch(return(expr), name, parentenv, handler) 10: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 11: tryCatchList(expr, names[-nh], parentenv, handlers[-nh]) 12: doTryCatch(return(expr), name, parentenv, handler) 13: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]), names[nh], parentenv, handlers[[nh]]) 14: tryCatchList(expr, classes, parentenv, handlers) 15: tryCatch(withCallingHandlers({ eval(code, test_env) if (!handled && !is.null(test)) { skip_empty() }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error), error = handle_fatal, skip = function(e) { }) 16: test_code(desc, code, env = parent.frame(), default_reporter = local_interactive_reporter()) 17: test_that("maxnodf", { m <- matrix(0, 5, 5) diag(m) <- 1 m[1:2, ] <- 1 expect_equal(maxnodf(m, quality = 0)$max_nodf, 0.9) expect_equal(maxnodf(m, quality = 1)$max_nodf, 0.9) expect_equal(maxnodf(m, quality = 2)$max_nodf, 0.9) expect_equal(maxnodf(c(5, 5, 13), quality = 0)$max_nodf, 0.9)}) 18: eval(code, test_env) 19: eval(code, test_env) 20: withCallingHandlers({ eval(code, test_env) if (!handled && !is.null(test)) { skip_empty() }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error) 21: doTryCatch(return(expr), name, parentenv, handler) 22: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 23: tryCatchList(expr, names[-nh], parentenv, handlers[-nh]) 24: doTryCatch(return(expr), name, parentenv, handler) 25: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]), names[nh], parentenv, handlers[[nh]]) 26: tryCatchList(expr, classes, parentenv, handlers) 27: tryCatch(withCallingHandlers({ eval(code, test_env) if (!handled && !is.null(test)) { skip_empty() }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error), error = handle_fatal, skip = function(e) { }) 28: test_code(test = NULL, code = exprs, env = env, default_reporter = StopReporter$new()) 29: source_file(path, env = env(env), desc = desc, error_call = error_call) 30: FUN(X[[i]], ...) 31: lapply(test_paths, test_one_file, env = env, desc = desc, error_call = error_call) 32: doTryCatch(return(expr), name, parentenv, handler) 33: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 34: tryCatchList(expr, classes, parentenv, handlers) 35: tryCatch(code, testthat_abort_reporter = function(cnd) { cat(conditionMessage(cnd), "\n") NULL}) 36: with_reporter(reporters$multi, lapply(test_paths, test_one_file, env = env, desc = desc, error_call = error_call)) 37: test_files_serial(test_dir = test_dir, test_package = test_package, test_paths = test_paths, load_helpers = load_helpers, reporter = reporter, env = env, stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning, desc = desc, load_package = load_package, error_call = error_call) 38: test_files(test_dir = path, test_paths = test_paths, test_package = package, reporter = reporter, load_helpers = load_helpers, env = env, stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning, load_package = load_package, parallel = parallel) 39: test_dir("testthat", package = package, reporter = reporter, ..., load_package = "installed") 40: test_check("maxnodf") An irrecoverable exception occurred. R is aborting now ... ==214271== ==214271== Process terminating with default action of signal 11 (SIGSEGV): dumping core ==214271== at 0x547B884: __pthread_kill_implementation (/usr/src/debug/glibc-2.37-19.fc38.x86_64/nptl/pthread_kill.c:44) ==214271== by 0x542AAFD: raise (/usr/src/debug/glibc-2.37-19.fc38.x86_64/signal/../sysdeps/posix/raise.c:26) ==214271== by 0x542ABAF: ??? (in /usr/lib64/libc.so.6) ==214271== by 0x1B512DBF: fill_or_generate__impl (R-devel/site-library/Rcpp/include/Rcpp/vector/Vector.h:1096) ==214271== by 0x1B512DBF: fill_or_generate (R-devel/site-library/Rcpp/include/Rcpp/vector/Vector.h:1089) ==214271== by 0x1B512DBF: Vector (R-devel/site-library/Rcpp/include/Rcpp/vector/Vector.h:172) ==214271== by 0x1B512DBF: runif (R-devel/site-library/Rcpp/include/Rcpp/stats/random/random.h:298) ==214271== by 0x1B512DBF: sim_anneal_opt_cpp(Rcpp::Matrix<14, Rcpp::PreserveStorage>, double, int, double, double) (packages/tests-vg/maxnodf/src/fast_toolbox.cpp:693) ==214271== ==214271== HEAP SUMMARY: ==214271== in use at exit: 111,364,755 bytes in 20,138 blocks ==214271== total heap usage: 360,740 allocs, 340,602 frees, 1,204,042,783 bytes allocated ==214271== ==214271== 12 bytes in 1 blocks are possibly lost in loss record 29 of 2,325 ==214271== at 0x484280F: malloc (/builddir/build/BUILD/valgrind-3.22.0/coregrind/m_replacemalloc/vg_replace_malloc.c:442) ==214271== by 0x543043B: __add_to_environ (/usr/src/debug/glibc-2.37-19.fc38.x86_64/stdlib/setenv.c:217) ==214271== by 0x4850D26: setenv (/builddir/build/BUILD/valgrind-3.22.0/memcheck/../shared/vg_replace_strmem.c:2416) ==214271== by 0x5C1165: do_setenv (svn/R-devel/src/main/sysutils.c:480) ==214271== by 0x4DE11A: bcEval_loop (svn/R-devel/src/main/eval.c:8140) ==214271== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7523) ==214271== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7508) ==214271== by 0x4F4DEA: Rf_eval (svn/R-devel/src/main/eval.c:1167) ==214271== by 0x4F6CED: R_execClosure (svn/R-devel/src/main/eval.c:2398) ==214271== by 0x4F7A46: applyClosure_core (svn/R-devel/src/main/eval.c:2311) ==214271== by 0x4F4EF5: Rf_applyClosure (svn/R-devel/src/main/eval.c:2333) ==214271== by 0x4F4EF5: Rf_eval (svn/R-devel/src/main/eval.c:1285) ==214271== by 0x46EC01: do_docall (svn/R-devel/src/main/coerce.c:2764) ==214271== by 0x4DE11A: bcEval_loop (svn/R-devel/src/main/eval.c:8140) ==214271== ==214271== 17 bytes in 1 blocks are possibly lost in loss record 41 of 2,325 ==214271== at 0x484280F: malloc (/builddir/build/BUILD/valgrind-3.22.0/coregrind/m_replacemalloc/vg_replace_malloc.c:442) ==214271== by 0x543043B: __add_to_environ (/usr/src/debug/glibc-2.37-19.fc38.x86_64/stdlib/setenv.c:217) ==214271== by 0x4850D26: setenv (/builddir/build/BUILD/valgrind-3.22.0/memcheck/../shared/vg_replace_strmem.c:2416) ==214271== by 0x5C1165: do_setenv (svn/R-devel/src/main/sysutils.c:480) ==214271== by 0x4DE11A: bcEval_loop (svn/R-devel/src/main/eval.c:8140) ==214271== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7523) ==214271== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7508) ==214271== by 0x4F4DEA: Rf_eval (svn/R-devel/src/main/eval.c:1167) ==214271== by 0x4F56CE: forcePromise (svn/R-devel/src/main/eval.c:976) ==214271== by 0x4F56CE: forcePromise (svn/R-devel/src/main/eval.c:954) ==214271== by 0x4F50C7: Rf_eval (svn/R-devel/src/main/eval.c:1198) ==214271== by 0x4EBBD0: bcEval_loop (svn/R-devel/src/main/eval.c:8034) ==214271== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7523) ==214271== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7508) ==214271== by 0x4F4DEA: Rf_eval (svn/R-devel/src/main/eval.c:1167) ==214271== ==214271== 21 bytes in 1 blocks are possibly lost in loss record 46 of 2,325 ==214271== at 0x484280F: malloc (/builddir/build/BUILD/valgrind-3.22.0/coregrind/m_replacemalloc/vg_replace_malloc.c:442) ==214271== by 0x543043B: __add_to_environ (/usr/src/debug/glibc-2.37-19.fc38.x86_64/stdlib/setenv.c:217) ==214271== by 0x4850D26: setenv (/builddir/build/BUILD/valgrind-3.22.0/memcheck/../shared/vg_replace_strmem.c:2416) ==214271== by 0x5C1165: do_setenv (svn/R-devel/src/main/sysutils.c:480) ==214271== by 0x4DE11A: bcEval_loop (svn/R-devel/src/main/eval.c:8140) ==214271== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7523) ==214271== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7508) ==214271== by 0x4F4DEA: Rf_eval (svn/R-devel/src/main/eval.c:1167) ==214271== by 0x4F6CED: R_execClosure (svn/R-devel/src/main/eval.c:2398) ==214271== by 0x4F7A46: applyClosure_core (svn/R-devel/src/main/eval.c:2311) ==214271== by 0x4F4EF5: Rf_applyClosure (svn/R-devel/src/main/eval.c:2333) ==214271== by 0x4F4EF5: Rf_eval (svn/R-devel/src/main/eval.c:1285) ==214271== by 0x4F9B0C: do_set (svn/R-devel/src/main/eval.c:3581) ==214271== by 0x4F5192: Rf_eval (svn/R-devel/src/main/eval.c:1237) ==214271== ==214271== 22 bytes in 1 blocks are possibly lost in loss record 47 of 2,325 ==214271== at 0x484280F: malloc (/builddir/build/BUILD/valgrind-3.22.0/coregrind/m_replacemalloc/vg_replace_malloc.c:442) ==214271== by 0x543043B: __add_to_environ (/usr/src/debug/glibc-2.37-19.fc38.x86_64/stdlib/setenv.c:217) ==214271== by 0x4850D26: setenv (/builddir/build/BUILD/valgrind-3.22.0/memcheck/../shared/vg_replace_strmem.c:2416) ==214271== by 0x5C1165: do_setenv (svn/R-devel/src/main/sysutils.c:480) ==214271== by 0x4DE11A: bcEval_loop (svn/R-devel/src/main/eval.c:8140) ==214271== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7523) ==214271== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7508) ==214271== by 0x4F4DEA: Rf_eval (svn/R-devel/src/main/eval.c:1167) ==214271== by 0x4F6CED: R_execClosure (svn/R-devel/src/main/eval.c:2398) ==214271== by 0x4F7A46: applyClosure_core (svn/R-devel/src/main/eval.c:2311) ==214271== by 0x4F4EF5: Rf_applyClosure (svn/R-devel/src/main/eval.c:2333) ==214271== by 0x4F4EF5: Rf_eval (svn/R-devel/src/main/eval.c:1285) ==214271== by 0x4BDB9E: callR1 (svn/R-devel/src/main/envir.c:3916) ==214271== by 0x4C2F1E: R_getNSValue (svn/R-devel/src/main/envir.c:3941) ==214271== ==214271== 24 bytes in 1 blocks are possibly lost in loss record 66 of 2,325 ==214271== at 0x484280F: malloc (/builddir/build/BUILD/valgrind-3.22.0/coregrind/m_replacemalloc/vg_replace_malloc.c:442) ==214271== by 0x54F93D7: tsearch (/usr/src/debug/glibc-2.37-19.fc38.x86_64/misc/tsearch.c:337) ==214271== by 0x5430462: __add_to_environ (/usr/src/debug/glibc-2.37-19.fc38.x86_64/stdlib/setenv.c:233) ==214271== by 0x4850D26: setenv (/builddir/build/BUILD/valgrind-3.22.0/memcheck/../shared/vg_replace_strmem.c:2416) ==214271== by 0x5BFF1D: R_reInitTempDir.part.0 (svn/R-devel/src/main/sysutils.c:2310) ==214271== by 0x528A41: setup_Rmainloop (svn/R-devel/src/main/main.c:967) ==214271== by 0x52A528: Rf_mainloop (svn/R-devel/src/main/main.c:1225) ==214271== by 0x4168F7: main (svn/R-devel/src/main/Rmain.c:29) ==214271== ==214271== 24 bytes in 1 blocks are possibly lost in loss record 67 of 2,325 ==214271== at 0x484280F: malloc (/builddir/build/BUILD/valgrind-3.22.0/coregrind/m_replacemalloc/vg_replace_malloc.c:442) ==214271== by 0x54F93D7: tsearch (/usr/src/debug/glibc-2.37-19.fc38.x86_64/misc/tsearch.c:337) ==214271== by 0x5430462: __add_to_environ (/usr/src/debug/glibc-2.37-19.fc38.x86_64/stdlib/setenv.c:233) ==214271== by 0x4850D26: setenv (/builddir/build/BUILD/valgrind-3.22.0/memcheck/../shared/vg_replace_strmem.c:2416) ==214271== by 0x5C1165: do_setenv (svn/R-devel/src/main/sysutils.c:480) ==214271== by 0x4DE11A: bcEval_loop (svn/R-devel/src/main/eval.c:8140) ==214271== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7523) ==214271== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7508) ==214271== by 0x4F4DEA: Rf_eval (svn/R-devel/src/main/eval.c:1167) ==214271== by 0x4F6CED: R_execClosure (svn/R-devel/src/main/eval.c:2398) ==214271== by 0x4F7A46: applyClosure_core (svn/R-devel/src/main/eval.c:2311) ==214271== by 0x4F4EF5: Rf_applyClosure (svn/R-devel/src/main/eval.c:2333) ==214271== by 0x4F4EF5: Rf_eval (svn/R-devel/src/main/eval.c:1285) ==214271== by 0x4BDB9E: callR1 (svn/R-devel/src/main/envir.c:3916) ==214271== ==214271== 24 bytes in 1 blocks are possibly lost in loss record 68 of 2,325 ==214271== at 0x484280F: malloc (/builddir/build/BUILD/valgrind-3.22.0/coregrind/m_replacemalloc/vg_replace_malloc.c:442) ==214271== by 0x54F93D7: tsearch (/usr/src/debug/glibc-2.37-19.fc38.x86_64/misc/tsearch.c:337) ==214271== by 0x5430462: __add_to_environ (/usr/src/debug/glibc-2.37-19.fc38.x86_64/stdlib/setenv.c:233) ==214271== by 0x4850D26: setenv (/builddir/build/BUILD/valgrind-3.22.0/memcheck/../shared/vg_replace_strmem.c:2416) ==214271== by 0x5C1165: do_setenv (svn/R-devel/src/main/sysutils.c:480) ==214271== by 0x4DE11A: bcEval_loop (svn/R-devel/src/main/eval.c:8140) ==214271== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7523) ==214271== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7508) ==214271== by 0x4F4DEA: Rf_eval (svn/R-devel/src/main/eval.c:1167) ==214271== by 0x4F6CED: R_execClosure (svn/R-devel/src/main/eval.c:2398) ==214271== by 0x4F7A46: applyClosure_core (svn/R-devel/src/main/eval.c:2311) ==214271== by 0x4F4EF5: Rf_applyClosure (svn/R-devel/src/main/eval.c:2333) ==214271== by 0x4F4EF5: Rf_eval (svn/R-devel/src/main/eval.c:1285) ==214271== by 0x4F9B0C: do_set (svn/R-devel/src/main/eval.c:3581) ==214271== ==214271== 24 bytes in 1 blocks are possibly lost in loss record 69 of 2,325 ==214271== at 0x484280F: malloc (/builddir/build/BUILD/valgrind-3.22.0/coregrind/m_replacemalloc/vg_replace_malloc.c:442) ==214271== by 0x54F93D7: tsearch (/usr/src/debug/glibc-2.37-19.fc38.x86_64/misc/tsearch.c:337) ==214271== by 0x5430462: __add_to_environ (/usr/src/debug/glibc-2.37-19.fc38.x86_64/stdlib/setenv.c:233) ==214271== by 0x4850D26: setenv (/builddir/build/BUILD/valgrind-3.22.0/memcheck/../shared/vg_replace_strmem.c:2416) ==214271== by 0x5C1165: do_setenv (svn/R-devel/src/main/sysutils.c:480) ==214271== by 0x4DE11A: bcEval_loop (svn/R-devel/src/main/eval.c:8140) ==214271== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7523) ==214271== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7508) ==214271== by 0x4F4DEA: Rf_eval (svn/R-devel/src/main/eval.c:1167) ==214271== by 0x4F56CE: forcePromise (svn/R-devel/src/main/eval.c:976) ==214271== by 0x4F56CE: forcePromise (svn/R-devel/src/main/eval.c:954) ==214271== by 0x4F50C7: Rf_eval (svn/R-devel/src/main/eval.c:1198) ==214271== by 0x4EBBD0: bcEval_loop (svn/R-devel/src/main/eval.c:8034) ==214271== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7523) ==214271== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7508) ==214271== ==214271== 77 bytes in 4 blocks are possibly lost in loss record 120 of 2,325 ==214271== at 0x484280F: malloc (/builddir/build/BUILD/valgrind-3.22.0/coregrind/m_replacemalloc/vg_replace_malloc.c:442) ==214271== by 0x543043B: __add_to_environ (/usr/src/debug/glibc-2.37-19.fc38.x86_64/stdlib/setenv.c:217) ==214271== by 0x4850D26: setenv (/builddir/build/BUILD/valgrind-3.22.0/memcheck/../shared/vg_replace_strmem.c:2416) ==214271== by 0x5C1165: do_setenv (svn/R-devel/src/main/sysutils.c:480) ==214271== by 0x4DE11A: bcEval_loop (svn/R-devel/src/main/eval.c:8140) ==214271== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7523) ==214271== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7508) ==214271== by 0x4F4DEA: Rf_eval (svn/R-devel/src/main/eval.c:1167) ==214271== by 0x4F6CED: R_execClosure (svn/R-devel/src/main/eval.c:2398) ==214271== by 0x4F7A46: applyClosure_core (svn/R-devel/src/main/eval.c:2311) ==214271== by 0x4F4EF5: Rf_applyClosure (svn/R-devel/src/main/eval.c:2333) ==214271== by 0x4F4EF5: Rf_eval (svn/R-devel/src/main/eval.c:1285) ==214271== by 0x52A11C: Rf_ReplIteration (svn/R-devel/src/main/main.c:265) ==214271== by 0x52A457: R_ReplConsole (svn/R-devel/src/main/main.c:317) ==214271== ==214271== 96 bytes in 4 blocks are possibly lost in loss record 133 of 2,325 ==214271== at 0x484280F: malloc (/builddir/build/BUILD/valgrind-3.22.0/coregrind/m_replacemalloc/vg_replace_malloc.c:442) ==214271== by 0x54F93D7: tsearch (/usr/src/debug/glibc-2.37-19.fc38.x86_64/misc/tsearch.c:337) ==214271== by 0x5430462: __add_to_environ (/usr/src/debug/glibc-2.37-19.fc38.x86_64/stdlib/setenv.c:233) ==214271== by 0x4850D26: setenv (/builddir/build/BUILD/valgrind-3.22.0/memcheck/../shared/vg_replace_strmem.c:2416) ==214271== by 0x5C1165: do_setenv (svn/R-devel/src/main/sysutils.c:480) ==214271== by 0x4DE11A: bcEval_loop (svn/R-devel/src/main/eval.c:8140) ==214271== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7523) ==214271== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7508) ==214271== by 0x4F4DEA: Rf_eval (svn/R-devel/src/main/eval.c:1167) ==214271== by 0x4F6CED: R_execClosure (svn/R-devel/src/main/eval.c:2398) ==214271== by 0x4F7A46: applyClosure_core (svn/R-devel/src/main/eval.c:2311) ==214271== by 0x4F4EF5: Rf_applyClosure (svn/R-devel/src/main/eval.c:2333) ==214271== by 0x4F4EF5: Rf_eval (svn/R-devel/src/main/eval.c:1285) ==214271== by 0x52A11C: Rf_ReplIteration (svn/R-devel/src/main/main.c:265) ==214271== ==214271== 192 bytes in 8 blocks are possibly lost in loss record 183 of 2,325 ==214271== at 0x484280F: malloc (/builddir/build/BUILD/valgrind-3.22.0/coregrind/m_replacemalloc/vg_replace_malloc.c:442) ==214271== by 0x54F93D7: tsearch (/usr/src/debug/glibc-2.37-19.fc38.x86_64/misc/tsearch.c:337) ==214271== by 0x5430462: __add_to_environ (/usr/src/debug/glibc-2.37-19.fc38.x86_64/stdlib/setenv.c:233) ==214271== by 0x4850D26: setenv (/builddir/build/BUILD/valgrind-3.22.0/memcheck/../shared/vg_replace_strmem.c:2416) ==214271== by 0x5C1165: do_setenv (svn/R-devel/src/main/sysutils.c:480) ==214271== by 0x4DE11A: bcEval_loop (svn/R-devel/src/main/eval.c:8140) ==214271== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7523) ==214271== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7508) ==214271== by 0x4F4DEA: Rf_eval (svn/R-devel/src/main/eval.c:1167) ==214271== by 0x4F6CED: R_execClosure (svn/R-devel/src/main/eval.c:2398) ==214271== by 0x4F7A46: applyClosure_core (svn/R-devel/src/main/eval.c:2311) ==214271== by 0x4F4EF5: Rf_applyClosure (svn/R-devel/src/main/eval.c:2333) ==214271== by 0x4F4EF5: Rf_eval (svn/R-devel/src/main/eval.c:1285) ==214271== by 0x46EC01: do_docall (svn/R-devel/src/main/coerce.c:2764) ==214271== ==214271== 240 bytes in 10 blocks are possibly lost in loss record 205 of 2,325 ==214271== at 0x484280F: malloc (/builddir/build/BUILD/valgrind-3.22.0/coregrind/m_replacemalloc/vg_replace_malloc.c:442) ==214271== by 0x54F93D7: tsearch (/usr/src/debug/glibc-2.37-19.fc38.x86_64/misc/tsearch.c:337) ==214271== by 0x5430462: __add_to_environ (/usr/src/debug/glibc-2.37-19.fc38.x86_64/stdlib/setenv.c:233) ==214271== by 0x4850D26: setenv (/builddir/build/BUILD/valgrind-3.22.0/memcheck/../shared/vg_replace_strmem.c:2416) ==214271== by 0x41C4C1: Putenv (svn/R-devel/src/main/Renviron.c:241) ==214271== by 0x41C4C1: process_Renviron (svn/R-devel/src/main/Renviron.c:339) ==214271== by 0x41C617: process_system_Renviron (svn/R-devel/src/main/Renviron.c:380) ==214271== by 0x62509D: Rf_initialize_R (svn/R-devel/src/unix/system.c:336) ==214271== by 0x4168F2: main (svn/R-devel/src/main/Rmain.c:28) ==214271== ==214271== 368 bytes in 1 blocks are possibly lost in loss record 334 of 2,325 ==214271== at 0x4849E60: calloc (/builddir/build/BUILD/valgrind-3.22.0/coregrind/m_replacemalloc/vg_replace_malloc.c:1595) ==214271== by 0x4011CD3: UnknownInlinedFun (/usr/src/debug/glibc-2.37-19.fc38.x86_64/elf/../include/rtld-malloc.h:44) ==214271== by 0x4011CD3: allocate_dtv (/usr/src/debug/glibc-2.37-19.fc38.x86_64/elf/../elf/dl-tls.c:376) ==214271== by 0x4012751: _dl_allocate_tls (/usr/src/debug/glibc-2.37-19.fc38.x86_64/elf/../elf/dl-tls.c:635) ==214271== by 0x547A515: allocate_stack (/usr/src/debug/glibc-2.37-19.fc38.x86_64/nptl/allocatestack.c:423) ==214271== by 0x547A515: pthread_create@@GLIBC_2.34 (/usr/src/debug/glibc-2.37-19.fc38.x86_64/nptl/pthread_create.c:652) ==214271== by 0x16222106: cli__start_thread (/tmp/RtmpzHDWk7/R.INSTALL217aeb4dd2aa86/cli/src/thread.c:54) ==214271== by 0x16222147: clic_start_thread (/tmp/RtmpzHDWk7/R.INSTALL217aeb4dd2aa86/cli/src/thread.c:78) ==214271== by 0x4A281D: R_doDotCall (svn/R-devel/src/main/dotcode.c:760) ==214271== by 0x4E25C6: bcEval_loop (svn/R-devel/src/main/eval.c:8690) ==214271== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7523) ==214271== by 0x4F4B3F: bcEval (svn/R-devel/src/main/eval.c:7508) ==214271== by 0x4F4DEA: Rf_eval (svn/R-devel/src/main/eval.c:1167) ==214271== by 0x4F6CED: R_execClosure (svn/R-devel/src/main/eval.c:2398) ==214271== by 0x4F7A46: applyClosure_core (svn/R-devel/src/main/eval.c:2311) ==214271== ==214271== 4,608 bytes in 2 blocks are possibly lost in loss record 575 of 2,325 ==214271== at 0x484280F: malloc (/builddir/build/BUILD/valgrind-3.22.0/coregrind/m_replacemalloc/vg_replace_malloc.c:442) ==214271== by 0x4004A3C: UnknownInlinedFun (/usr/src/debug/glibc-2.37-19.fc38.x86_64/elf/../include/rtld-malloc.h:56) ==214271== by 0x4004A3C: _dlfo_mappings_segment_allocate (/usr/src/debug/glibc-2.37-19.fc38.x86_64/elf/dl-find_object.c:217) ==214271== by 0x4004A3C: _dl_find_object_update_1 (/usr/src/debug/glibc-2.37-19.fc38.x86_64/elf/dl-find_object.c:671) ==214271== by 0x4004A3C: _dl_find_object_update (/usr/src/debug/glibc-2.37-19.fc38.x86_64/elf/dl-find_object.c:805) ==214271== by 0x400CAD7: dl_open_worker_begin (/usr/src/debug/glibc-2.37-19.fc38.x86_64/elf/dl-open.c:754) ==214271== by 0x4001522: _dl_catch_exception (/usr/src/debug/glibc-2.37-19.fc38.x86_64/elf/dl-catch.c:237) ==214271== by 0x400BE8F: dl_open_worker (/usr/src/debug/glibc-2.37-19.fc38.x86_64/elf/dl-open.c:801) ==214271== by 0x4001522: _dl_catch_exception (/usr/src/debug/glibc-2.37-19.fc38.x86_64/elf/dl-catch.c:237) ==214271== by 0x400C2E3: _dl_open (/usr/src/debug/glibc-2.37-19.fc38.x86_64/elf/dl-open.c:903) ==214271== by 0x5475713: dlopen_doit (/usr/src/debug/glibc-2.37-19.fc38.x86_64/dlfcn/dlopen.c:56) ==214271== by 0x4001522: _dl_catch_exception (/usr/src/debug/glibc-2.37-19.fc38.x86_64/elf/dl-catch.c:237) ==214271== by 0x4001678: _dl_catch_error (/usr/src/debug/glibc-2.37-19.fc38.x86_64/elf/dl-catch.c:256) ==214271== by 0x54751F2: _dlerror_run (/usr/src/debug/glibc-2.37-19.fc38.x86_64/dlfcn/dlerror.c:138) ==214271== by 0x54757CE: UnknownInlinedFun (/usr/src/debug/glibc-2.37-19.fc38.x86_64/dlfcn/dlopen.c:71) ==214271== by 0x54757CE: dlopen@@GLIBC_2.34 (/usr/src/debug/glibc-2.37-19.fc38.x86_64/dlfcn/dlopen.c:81) ==214271== ==214271== LEAK SUMMARY: ==214271== definitely lost: 0 bytes in 0 blocks ==214271== indirectly lost: 0 bytes in 0 blocks ==214271== possibly lost: 5,749 bytes in 37 blocks ==214271== still reachable: 111,359,006 bytes in 20,101 blocks ==214271== suppressed: 0 bytes in 0 blocks ==214271== Reachable blocks (those to which a pointer was found) are not shown. ==214271== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==214271== ==214271== For lists of detected and suppressed errors, rerun with: -s ==214271== ERROR SUMMARY: 15 errors from 15 contexts (suppressed: 0 from 0) * DONE Status: 2 ERRORs