==2115167== Memcheck, a memory error detector ==2115167== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==2115167== Using Valgrind-3.16.1 and LibVEX; rerun with -h for copyright info ==2115167== Command: /data/blackswan/ripley/R/R-devel-vg/bin/exec/R -f testthat.R --restore --save --no-readline --vanilla ==2115167== R Under development (unstable) (2022-02-15 r81739) -- "Unsuffered Consequences" Copyright (C) 2022 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu (64-bit) 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(mwaved) > > test_check("mwaved") ==2115167== Invalid read of size 8 ==2115167== at 0x18DB4F6B: multiEstimate(Rcpp::Matrix<14, Rcpp::PreserveStorage>, Rcpp::Matrix<14, Rcpp::PreserveStorage>, Rcpp::Vector<14, Rcpp::PreserveStorage>, Rcpp::String, Rcpp::String, Rcpp::Vector<14, Rcpp::PreserveStorage>, int, int, double, Rcpp::Vector<14, Rcpp::PreserveStorage>, Rcpp::String, int) (packages/tests-vg/mwaved/src/mwaved.cpp:1674) ==2115167== by 0x18D9D59B: _mwaved_multiEstimate (packages/tests-vg/mwaved/src/RcppExports.cpp:90) ==2115167== by 0x49DFB5: R_doDotCall (svn/R-devel/src/main/dotcode.c:648) ==2115167== by 0x4DC11D: bcEval (svn/R-devel/src/main/eval.c:7695) ==2115167== by 0x4F1E27: Rf_eval (svn/R-devel/src/main/eval.c:748) ==2115167== by 0x4F384D: R_execClosure (svn/R-devel/src/main/eval.c:1918) ==2115167== by 0x4F4543: Rf_applyClosure (svn/R-devel/src/main/eval.c:1844) ==2115167== by 0x4F1FF3: Rf_eval (svn/R-devel/src/main/eval.c:871) ==2115167== by 0x4F6059: do_set (svn/R-devel/src/main/eval.c:2990) ==2115167== by 0x4F2274: Rf_eval (svn/R-devel/src/main/eval.c:823) ==2115167== by 0x4F7278: do_eval (svn/R-devel/src/main/eval.c:3388) ==2115167== by 0x4D5316: bcEval (svn/R-devel/src/main/eval.c:7139) ==2115167== Address 0x1a7b0480 is 16 bytes after a block of size 7,968 in arena "client" ==2115167== ==2115167== Invalid read of size 8 ==2115167== at 0x18DB45C5: multiEstimate(Rcpp::Matrix<14, Rcpp::PreserveStorage>, Rcpp::Matrix<14, Rcpp::PreserveStorage>, Rcpp::Vector<14, Rcpp::PreserveStorage>, Rcpp::String, Rcpp::String, Rcpp::Vector<14, Rcpp::PreserveStorage>, int, int, double, Rcpp::Vector<14, Rcpp::PreserveStorage>, Rcpp::String, int) (packages/tests-vg/mwaved/src/mwaved.cpp:1752) ==2115167== by 0x18D9D59B: _mwaved_multiEstimate (packages/tests-vg/mwaved/src/RcppExports.cpp:90) ==2115167== by 0x49DFB5: R_doDotCall (svn/R-devel/src/main/dotcode.c:648) ==2115167== by 0x4DC11D: bcEval (svn/R-devel/src/main/eval.c:7695) ==2115167== by 0x4F1E27: Rf_eval (svn/R-devel/src/main/eval.c:748) ==2115167== by 0x4F384D: R_execClosure (svn/R-devel/src/main/eval.c:1918) ==2115167== by 0x4F4543: Rf_applyClosure (svn/R-devel/src/main/eval.c:1844) ==2115167== by 0x4F1FF3: Rf_eval (svn/R-devel/src/main/eval.c:871) ==2115167== by 0x4F6059: do_set (svn/R-devel/src/main/eval.c:2990) ==2115167== by 0x4F2274: Rf_eval (svn/R-devel/src/main/eval.c:823) ==2115167== by 0x4F7278: do_eval (svn/R-devel/src/main/eval.c:3388) ==2115167== by 0x4D5316: bcEval (svn/R-devel/src/main/eval.c:7139) ==2115167== Address 0x1a7b0468 is 0 bytes after a block of size 7,960 alloc'd ==2115167== at 0x483A809: malloc (/builddir/build/BUILD/valgrind-3.16.1/coregrind/m_replacemalloc/vg_replace_malloc.c:307) ==2115167== by 0x52E7E0: GetNewPage (svn/R-devel/src/main/memory.c:974) ==2115167== by 0x530499: Rf_allocVector3 (svn/R-devel/src/main/memory.c:2661) ==2115167== by 0x502A47: Rf_allocVector (svn/R-devel/src/include/Rinlinedfuns.h:595) ==2115167== by 0x502A47: Rf_ScalarReal (svn/R-devel/src/include/Rinlinedfuns.h:1009) ==2115167== by 0x502A47: mkFloat (svn/R-devel/src/main/gram.c:4362) ==2115167== by 0x502A47: NumericValue (svn/R-devel/src/main/gram.c:4777) ==2115167== by 0x505687: token (svn/R-devel/src/main/gram.c:5544) ==2115167== by 0x505687: token_ (svn/R-devel/src/main/gram.c:5764) ==2115167== by 0x506684: yylex (svn/R-devel/src/main/gram.c:5790) ==2115167== by 0x506684: Rf_yyparse (svn/R-devel/src/main/gram.c:1893) ==2115167== by 0x508B08: R_Parse1 (svn/R-devel/src/main/gram.c:3845) ==2115167== by 0x5095BD: R_Parse (svn/R-devel/src/main/gram.c:3990) ==2115167== by 0x59A276: do_parse (svn/R-devel/src/main/source.c:294) ==2115167== by 0x4D5316: bcEval (svn/R-devel/src/main/eval.c:7139) ==2115167== by 0x4F1E27: Rf_eval (svn/R-devel/src/main/eval.c:748) ==2115167== by 0x4F384D: R_execClosure (svn/R-devel/src/main/eval.c:1918) ==2115167== [ FAIL 0 | WARN 0 | SKIP 0 | PASS 16 ] > > proc.time() user system elapsed 84.727 0.773 86.660 ==2115167== ==2115167== HEAP SUMMARY: ==2115167== in use at exit: 102,151,815 bytes in 23,627 blocks ==2115167== total heap usage: 106,852 allocs, 83,225 frees, 199,859,618 bytes allocated ==2115167== ==2115167== 352 bytes in 1 blocks are possibly lost in loss record 196 of 2,551 ==2115167== at 0x483CAE9: calloc (/builddir/build/BUILD/valgrind-3.16.1/coregrind/m_replacemalloc/vg_replace_malloc.c:760) ==2115167== by 0x40145BA: _dl_allocate_tls (in /usr/lib64/ld-2.31.so) ==2115167== by 0x53F612E: pthread_create@@GLIBC_2.2.5 (in /usr/lib64/libpthread-2.31.so) ==2115167== by 0x16F06DA6: cli__start_thread (/tmp/RtmpJWZo2j/R.INSTALL28aa4759283bff/cli/src/thread.c:51) ==2115167== by 0x16F06DEA: clic_start_thread (/tmp/RtmpJWZo2j/R.INSTALL28aa4759283bff/cli/src/thread.c:74) ==2115167== by 0x49E0EF: R_doDotCall (svn/R-devel/src/main/dotcode.c:607) ==2115167== by 0x4DC11D: bcEval (svn/R-devel/src/main/eval.c:7695) ==2115167== by 0x4F1E27: Rf_eval (svn/R-devel/src/main/eval.c:748) ==2115167== by 0x4F384D: R_execClosure (svn/R-devel/src/main/eval.c:1918) ==2115167== by 0x4F4543: Rf_applyClosure (svn/R-devel/src/main/eval.c:1844) ==2115167== by 0x4E13CD: bcEval (svn/R-devel/src/main/eval.c:7107) ==2115167== by 0x4F1E27: Rf_eval (svn/R-devel/src/main/eval.c:748) ==2115167== ==2115167== LEAK SUMMARY: ==2115167== definitely lost: 0 bytes in 0 blocks ==2115167== indirectly lost: 0 bytes in 0 blocks ==2115167== possibly lost: 352 bytes in 1 blocks ==2115167== still reachable: 102,151,463 bytes in 23,626 blocks ==2115167== suppressed: 0 bytes in 0 blocks ==2115167== Reachable blocks (those to which a pointer was found) are not shown. ==2115167== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==2115167== ==2115167== For lists of detected and suppressed errors, rerun with: -s ==2115167== ERROR SUMMARY: 5 errors from 3 contexts (suppressed: 0 from 0)