==948249== Memcheck, a memory error detector ==948249== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. ==948249== Using Valgrind-3.24.0 and LibVEX; rerun with -h for copyright info ==948249== Command: /data/blackswan/ripley/R/R-devel-vg/bin/exec/R -f testthat.R --restore --save --no-readline --vanilla ==948249== R Under development (unstable) (2026-07-06 r90208) -- "Unsuffered Consequences" Copyright (C) 2026 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) > library(gbm) Loaded gbm 2.3.0 This version of gbm is no longer under development. Consider transitioning to gbm3, https://github.com/gbm-developers/gbm3 > > test_check("gbm") CV: 1 CV: 2 CV: 3 CV: 4 CV: 5 CV: 1 CV: 2 CV: 3 CV: 4 CV: 5 CV: 1 CV: 2 CV: 3 CV: 1 CV: 2 CV: 1 CV: 2 CV: 3 CV: 1 CV: 2 CV: 3 CV: 4 CV: 5 CV: 6 CV: 7 CV: 8 CV: 9 CV: 10 CV: 1 ==948249== Conditional jump or move depends on uninitialised value(s) ==948249== at 0x20CE15BD: CQuantile::FitBestConstant(double*, double*, double*, double*, double*, double*, unsigned long*, unsigned long, std::vector >, unsigned long, unsigned long, bool*, double*, int) (packages/tests-vg/gbm/src/quantile.cpp:193) ==948249== by 0x20CD2E7F: CGBM::iterate(double*, double&, double&, double&, int&, int, int) (packages/tests-vg/gbm/src/gbm_engine.cpp:411) ==948249== by 0x20CD44DE: gbm_fit (packages/tests-vg/gbm/src/gbmentry.cpp:233) ==948249== by 0x4A8F23: R_doDotCall (svn/R-devel/src/main/dotcode.c:868) ==948249== by 0x4A97A3: do_dotcall (svn/R-devel/src/main/dotcode.c:1437) ==948249== by 0x4E63CC: bcEval_loop (svn/R-devel/src/main/eval.c:8150) ==948249== by 0x4F4317: bcEval (svn/R-devel/src/main/eval.c:7533) ==948249== by 0x4F4317: bcEval (svn/R-devel/src/main/eval.c:7518) ==948249== by 0x4F464A: Rf_eval (svn/R-devel/src/main/eval.c:1167) ==948249== by 0x4F65DD: R_execClosure (svn/R-devel/src/main/eval.c:2398) ==948249== by 0x4F729F: applyClosure_core (svn/R-devel/src/main/eval.c:2314) ==948249== by 0x4F475A: Rf_applyClosure (svn/R-devel/src/main/eval.c:2333) ==948249== by 0x4F475A: Rf_eval (svn/R-devel/src/main/eval.c:1278) ==948249== by 0x4F96BC: do_set (svn/R-devel/src/main/eval.c:3585) ==948249== Uninitialised value was created by a heap allocation ==948249== at 0x4843FEC: operator new(unsigned long) (/builddir/build/BUILD/valgrind-3.24.0/coregrind/m_replacemalloc/vg_replace_malloc.c:487) ==948249== by 0x20CD3477: CGBM::Initialize(CDataset*, CDistribution*, double, unsigned long, double, unsigned long, unsigned long, unsigned long, int) (packages/tests-vg/gbm/src/gbm_engine.cpp:135) ==948249== by 0x20CD3DE9: gbm_fit (packages/tests-vg/gbm/src/gbmentry.cpp:132) ==948249== by 0x4A8F23: R_doDotCall (svn/R-devel/src/main/dotcode.c:868) ==948249== by 0x4A97A3: do_dotcall (svn/R-devel/src/main/dotcode.c:1437) ==948249== by 0x4E63CC: bcEval_loop (svn/R-devel/src/main/eval.c:8150) ==948249== by 0x4F4317: bcEval (svn/R-devel/src/main/eval.c:7533) ==948249== by 0x4F4317: bcEval (svn/R-devel/src/main/eval.c:7518) ==948249== by 0x4F464A: Rf_eval (svn/R-devel/src/main/eval.c:1167) ==948249== by 0x4F65DD: R_execClosure (svn/R-devel/src/main/eval.c:2398) ==948249== by 0x4F729F: applyClosure_core (svn/R-devel/src/main/eval.c:2314) ==948249== by 0x4F475A: Rf_applyClosure (svn/R-devel/src/main/eval.c:2333) ==948249== by 0x4F475A: Rf_eval (svn/R-devel/src/main/eval.c:1278) ==948249== by 0x4F96BC: do_set (svn/R-devel/src/main/eval.c:3585) ==948249== Distribution not specified, assuming bernoulli ... CV: 1 CV: 2 CV: 3 CV: 4 CV: 5 n.trees not given. Using 1000 trees. [ FAIL 0 | WARN 0 | SKIP 0 | PASS 38 ] > > proc.time() user system elapsed 1350.513 6.489 1366.057 ==948249== ==948249== HEAP SUMMARY: ==948249== in use at exit: 250,906,659 bytes in 51,067 blocks ==948249== total heap usage: 427,657 allocs, 376,590 frees, 623,392,982 bytes allocated ==948249== ==948249== LEAK SUMMARY: ==948249== definitely lost: 0 bytes in 0 blocks ==948249== indirectly lost: 0 bytes in 0 blocks ==948249== possibly lost: 0 bytes in 0 blocks ==948249== still reachable: 250,906,511 bytes in 51,066 blocks ==948249== suppressed: 148 bytes in 1 blocks ==948249== Reachable blocks (those to which a pointer was found) are not shown. ==948249== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==948249== ==948249== For lists of detected and suppressed errors, rerun with: -s ==948249== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)