==3369746== Memcheck, a memory error detector ==3369746== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al. ==3369746== Using Valgrind-3.22.0 and LibVEX; rerun with -h for copyright info ==3369746== Command: /data/blackswan/ripley/R/R-devel-vg/bin/exec/R -f testthat-i.R --restore --save --no-readline --vanilla ==3369746== R Under development (unstable) (2024-02-04 r85857) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library("testthat") > test_check("gbm3", filter="^i") Loading required package: gbm3 ==3369746== Conditional jump or move depends on uninitialised value(s) ==3369746== at 0x2124E95C: gbm_plot (packages/tests-vg/gbm3/src/gbmentry.cpp:429) ==3369746== by 0x4A45C7: R_doDotCall (svn/R-devel/src/main/dotcode.c:780) ==3369746== by 0x4A4B83: do_dotcall (svn/R-devel/src/main/dotcode.c:1437) ==3369746== by 0x4DE096: bcEval (svn/R-devel/src/main/eval.c:7724) ==3369746== by 0x4F678F: Rf_eval (svn/R-devel/src/main/eval.c:1152) ==3369746== by 0x4F8531: R_execClosure (svn/R-devel/src/main/eval.c:2362) ==3369746== by 0x4F92ED: applyClosure_core (svn/R-devel/src/main/eval.c:2250) ==3369746== by 0x4F97C6: Rf_applyClosure (svn/R-devel/src/main/eval.c:2270) ==3369746== by 0x4F6895: Rf_eval (svn/R-devel/src/main/eval.c:1270) ==3369746== by 0x5B2B42: R_DispatchOrEvalSP (svn/R-devel/src/main/subset.c:657) ==3369746== by 0x5B83A5: do_subset2 (svn/R-devel/src/main/subset.c:944) ==3369746== by 0x4F6AD3: Rf_eval (svn/R-devel/src/main/eval.c:1222) ==3369746== Uninitialised value was created by a heap allocation ==3369746== at 0x484280F: malloc (/builddir/build/BUILD/valgrind-3.22.0/coregrind/m_replacemalloc/vg_replace_malloc.c:442) ==3369746== by 0x534830: GetNewPage (svn/R-devel/src/main/memory.c:998) ==3369746== by 0x53657B: Rf_allocVector3 (svn/R-devel/src/main/memory.c:2861) ==3369746== by 0x593792: Rf_allocVector (svn/R-devel/src/include/Rinlinedfuns.h:595) ==3369746== by 0x593792: ReadItem_Recursive (svn/R-devel/src/main/serialize.c:2017) ==3369746== by 0x594B97: ReadItem (svn/R-devel/src/main/serialize.c:2116) ==3369746== by 0x594B97: ReadBC1 (svn/R-devel/src/main/serialize.c:2206) ==3369746== by 0x594D56: ReadBCConsts (svn/R-devel/src/main/serialize.c:2179) ==3369746== by 0x594D56: ReadBC1 (svn/R-devel/src/main/serialize.c:2210) ==3369746== by 0x593D13: ReadBC (svn/R-devel/src/main/serialize.c:2221) ==3369746== by 0x593D13: ReadItem_Recursive (svn/R-devel/src/main/serialize.c:2052) ==3369746== by 0x593724: ReadItem (svn/R-devel/src/main/serialize.c:2116) ==3369746== by 0x593724: ReadItem_Recursive (svn/R-devel/src/main/serialize.c:2047) ==3369746== by 0x594C73: ReadItem (svn/R-devel/src/main/serialize.c:2116) ==3369746== by 0x594C73: ReadBCConsts (svn/R-devel/src/main/serialize.c:2193) ==3369746== by 0x594C73: ReadBC1 (svn/R-devel/src/main/serialize.c:2210) ==3369746== by 0x593D13: ReadBC (svn/R-devel/src/main/serialize.c:2221) ==3369746== by 0x593D13: ReadItem_Recursive (svn/R-devel/src/main/serialize.c:2052) ==3369746== by 0x5935BC: ReadItem_Iterative (svn/R-devel/src/main/serialize.c:1863) ==3369746== by 0x5935BC: ReadItem_Recursive (svn/R-devel/src/main/serialize.c:1963) ==3369746== by 0x593724: ReadItem (svn/R-devel/src/main/serialize.c:2116) ==3369746== by 0x593724: ReadItem_Recursive (svn/R-devel/src/main/serialize.c:2047) ==3369746== ==3369746== Conditional jump or move depends on uninitialised value(s) ==3369746== at 0x2124E965: gbm_plot (packages/tests-vg/gbm3/src/gbmentry.cpp:431) ==3369746== by 0x4A45C7: R_doDotCall (svn/R-devel/src/main/dotcode.c:780) ==3369746== by 0x4A4B83: do_dotcall (svn/R-devel/src/main/dotcode.c:1437) ==3369746== by 0x4DE096: bcEval (svn/R-devel/src/main/eval.c:7724) ==3369746== by 0x4F678F: Rf_eval (svn/R-devel/src/main/eval.c:1152) ==3369746== by 0x4F8531: R_execClosure (svn/R-devel/src/main/eval.c:2362) ==3369746== by 0x4F92ED: applyClosure_core (svn/R-devel/src/main/eval.c:2250) ==3369746== by 0x4F97C6: Rf_applyClosure (svn/R-devel/src/main/eval.c:2270) ==3369746== by 0x4F6895: Rf_eval (svn/R-devel/src/main/eval.c:1270) ==3369746== by 0x5B2B42: R_DispatchOrEvalSP (svn/R-devel/src/main/subset.c:657) ==3369746== by 0x5B83A5: do_subset2 (svn/R-devel/src/main/subset.c:944) ==3369746== by 0x4F6AD3: Rf_eval (svn/R-devel/src/main/eval.c:1222) ==3369746== Uninitialised value was created by a heap allocation ==3369746== at 0x484280F: malloc (/builddir/build/BUILD/valgrind-3.22.0/coregrind/m_replacemalloc/vg_replace_malloc.c:442) ==3369746== by 0x534830: GetNewPage (svn/R-devel/src/main/memory.c:998) ==3369746== by 0x53657B: Rf_allocVector3 (svn/R-devel/src/main/memory.c:2861) ==3369746== by 0x593792: Rf_allocVector (svn/R-devel/src/include/Rinlinedfuns.h:595) ==3369746== by 0x593792: ReadItem_Recursive (svn/R-devel/src/main/serialize.c:2017) ==3369746== by 0x594B97: ReadItem (svn/R-devel/src/main/serialize.c:2116) ==3369746== by 0x594B97: ReadBC1 (svn/R-devel/src/main/serialize.c:2206) ==3369746== by 0x594D56: ReadBCConsts (svn/R-devel/src/main/serialize.c:2179) ==3369746== by 0x594D56: ReadBC1 (svn/R-devel/src/main/serialize.c:2210) ==3369746== by 0x593D13: ReadBC (svn/R-devel/src/main/serialize.c:2221) ==3369746== by 0x593D13: ReadItem_Recursive (svn/R-devel/src/main/serialize.c:2052) ==3369746== by 0x593724: ReadItem (svn/R-devel/src/main/serialize.c:2116) ==3369746== by 0x593724: ReadItem_Recursive (svn/R-devel/src/main/serialize.c:2047) ==3369746== by 0x594C73: ReadItem (svn/R-devel/src/main/serialize.c:2116) ==3369746== by 0x594C73: ReadBCConsts (svn/R-devel/src/main/serialize.c:2193) ==3369746== by 0x594C73: ReadBC1 (svn/R-devel/src/main/serialize.c:2210) ==3369746== by 0x593D13: ReadBC (svn/R-devel/src/main/serialize.c:2221) ==3369746== by 0x593D13: ReadItem_Recursive (svn/R-devel/src/main/serialize.c:2052) ==3369746== by 0x5935BC: ReadItem_Iterative (svn/R-devel/src/main/serialize.c:1863) ==3369746== by 0x5935BC: ReadItem_Recursive (svn/R-devel/src/main/serialize.c:1963) ==3369746== by 0x593724: ReadItem (svn/R-devel/src/main/serialize.c:2116) ==3369746== by 0x593724: ReadItem_Recursive (svn/R-devel/src/main/serialize.c:2047) ==3369746== [ FAIL 0 | WARN 4 | SKIP 0 | PASS 23 ] [ FAIL 0 | WARN 4 | SKIP 0 | PASS 23 ] > > proc.time() user system elapsed 1473.079 11.946 1489.209 ==3369746== ==3369746== HEAP SUMMARY: ==3369746== in use at exit: 278,500,933 bytes in 51,684 blocks ==3369746== total heap usage: 67,102,217 allocs, 67,050,533 frees, 9,577,458,326 bytes allocated ==3369746== ==3369746== 368 bytes in 1 blocks are possibly lost in loss record 159 of 2,612 ==3369746== at 0x4849E60: calloc (/builddir/build/BUILD/valgrind-3.22.0/coregrind/m_replacemalloc/vg_replace_malloc.c:1595) ==3369746== by 0x4011CD3: UnknownInlinedFun (/usr/src/debug/glibc-2.37-18.fc38.x86_64/elf/../include/rtld-malloc.h:44) ==3369746== by 0x4011CD3: allocate_dtv (/usr/src/debug/glibc-2.37-18.fc38.x86_64/elf/../elf/dl-tls.c:376) ==3369746== by 0x4012751: _dl_allocate_tls (/usr/src/debug/glibc-2.37-18.fc38.x86_64/elf/../elf/dl-tls.c:635) ==3369746== by 0x5476515: allocate_stack (/usr/src/debug/glibc-2.37-18.fc38.x86_64/nptl/allocatestack.c:423) ==3369746== by 0x5476515: pthread_create@@GLIBC_2.34 (/usr/src/debug/glibc-2.37-18.fc38.x86_64/nptl/pthread_create.c:652) ==3369746== by 0x1618A1B6: cli__start_thread (/tmp/RtmpM9W2Tk/R.INSTALL1e876ae9ca8bd/cli/src/thread.c:54) ==3369746== by 0x1618A1F7: clic_start_thread (/tmp/RtmpM9W2Tk/R.INSTALL1e876ae9ca8bd/cli/src/thread.c:78) ==3369746== by 0x4A466D: R_doDotCall (svn/R-devel/src/main/dotcode.c:760) ==3369746== by 0x4E324D: bcEval (svn/R-devel/src/main/eval.c:8274) ==3369746== by 0x4F678F: Rf_eval (svn/R-devel/src/main/eval.c:1152) ==3369746== by 0x4F8531: R_execClosure (svn/R-devel/src/main/eval.c:2362) ==3369746== by 0x4F92ED: applyClosure_core (svn/R-devel/src/main/eval.c:2250) ==3369746== by 0x4F97C6: Rf_applyClosure (svn/R-devel/src/main/eval.c:2270) ==3369746== ==3369746== LEAK SUMMARY: ==3369746== definitely lost: 0 bytes in 0 blocks ==3369746== indirectly lost: 0 bytes in 0 blocks ==3369746== possibly lost: 368 bytes in 1 blocks ==3369746== still reachable: 278,500,565 bytes in 51,683 blocks ==3369746== suppressed: 0 bytes in 0 blocks ==3369746== Reachable blocks (those to which a pointer was found) are not shown. ==3369746== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==3369746== ==3369746== For lists of detected and suppressed errors, rerun with: -s ==3369746== ERROR SUMMARY: 18109 errors from 3 contexts (suppressed: 0 from 0)