Re: [R-pkg-devel] potential memory leak using openMP

2019-11-15 Thread Ivan Krylov
On Fri, 15 Nov 2019 10:49:25 -0600 Marcin Jurek wrote: > 1) what should I do to reproduce the error? The following is a quick, unchecked suggestion, but: `R CMD check --use-valgrind` just adds `-d valgrind` to the command line, while the report you are seeing can only be obtained with

[R-pkg-devel] potential memory leak using openMP

2019-11-15 Thread Marcin Jurek
Hello everyone, so my package was rejected from CRAN because of the following error: ==29416== 640 bytes in 2 blocks are possibly lost in loss record 162 of 2,089 ==29416==at 0x4837B65: calloc (coregrind/m_replacemalloc/vg_replace_malloc.c:762) ==29416==by 0x40118B1: allocate_dtv