Skip to content

valgrind issue in 1.18.0 #7546

@MichaelChirico

Description

@MichaelChirico

From CRAN:

https://www.stats.ox.ac.uk/pub/bdr/memtests/valgrind/data.table/00check.log

  Test 6001.732 ran without errors but failed check that x equals y:
  > x = frollsd(y, 3)[4L] 
  First 1 of 1 (type 'double'): 
  [1] 1.825012e-08
  > y = 0 
  First 1 of 1 (type 'double'): 
  [1] 0
  Mean relative difference: 1
  Error in test.data.table(script = "froll.Rraw") : 
    1 error out of 1316. Search tests/froll.Rraw.bz2 for test number 6001.732. Duration: 00:03:47 elapsed (00:03:20 cpu).
  Calls: test.data.table -> stopf -> raise_condition -> signal
  Execution halted
  ==3229069== 
  ==3229069== HEAP SUMMARY:
  ==3229069==     in use at exit: 92,363,323 bytes in 16,467 blocks
  ==3229069==   total heap usage: 174,670 allocs, 158,203 frees, 332,134,037 bytes allocated
  ==3229069== 
  ==3229069== 432 bytes in 1 blocks are possibly lost in loss record 358 of 2,244
  ==3229069==    at 0x484B133: calloc (/builddir/build/BUILD/valgrind-3.24.0/coregrind/m_replacemalloc/vg_replace_malloc.c:1675)
  ==3229069==    by 0x4011F63: UnknownInlinedFun (/usr/src/debug/glibc-2.39-38.fc40.x86_64/elf/../include/rtld-malloc.h:44)
  ==3229069==    by 0x4011F63: allocate_dtv (/usr/src/debug/glibc-2.39-38.fc40.x86_64/elf/../elf/dl-tls.c:395)
  ==3229069==    by 0x4012A61: _dl_allocate_tls (/usr/src/debug/glibc-2.39-38.fc40.x86_64/elf/../elf/dl-tls.c:673)
  ==3229069==    by 0x557CC03: allocate_stack (/usr/src/debug/glibc-2.39-38.fc40.x86_64/nptl/allocatestack.c:431)
  ==3229069==    by 0x557CC03: pthread_create@@GLIBC_2.34 (/usr/src/debug/glibc-2.39-38.fc40.x86_64/nptl/pthread_create.c:660)
  ==3229069==    by 0x54B0076: gomp_team_start (/usr/src/debug/gcc-14.2.1-3.fc40.x86_64/obj-x86_64-redhat-linux/x86_64-redhat-linux/libgomp/../../../libgomp/team.c:859)
  ==3229069==    by 0x54A60A0: GOMP_parallel (/usr/src/debug/gcc-14.2.1-3.fc40.x86_64/obj-x86_64-redhat-linux/x86_64-redhat-linux/libgomp/../../../libgomp/parallel.c:176)
  ==3229069==    by 0x173DE573: frollfunR (packages/tests-vg/data.table/src/frollR.c:208)
  ==3229069==    by 0x4A711D: R_doDotCall (svn/R-devel/src/main/dotcode.c:790)
  ==3229069==    by 0x4E1283: bcEval_loop (svn/R-devel/src/main/eval.c:8682)
  ==3229069==    by 0x4F13D7: bcEval (svn/R-devel/src/main/eval.c:7515)
  ==3229069==    by 0x4F13D7: bcEval (svn/R-devel/src/main/eval.c:7500)
  ==3229069==    by 0x4F170A: Rf_eval (svn/R-devel/src/main/eval.c:1167)
  ==3229069==    by 0x4F348D: R_execClosure (svn/R-devel/src/main/eval.c:2389)
  ==3229069== 
  ==3229069== LEAK SUMMARY:
  ==3229069==    definitely lost: 0 bytes in 0 blocks
  ==3229069==    indirectly lost: 0 bytes in 0 blocks
  ==3229069==      possibly lost: 432 bytes in 1 blocks
  ==3229069==    still reachable: 92,360,875 bytes in 16,445 blocks
  ==3229069==         suppressed: 0 bytes in 0 blocks
  ==3229069== Reachable blocks (those to which a pointer was found) are not shown.
  ==3229069== To see them, rerun with: --leak-check=full --show-leak-kinds=all
  ==3229069== 
  ==3229069== For lists of detected and suppressed errors, rerun with: -s
  ==3229069== ERROR SUMMARY: 375255 errors from 4 contexts (suppressed: 0 from 0)

Possibly, it just means we need to include another test to be skipped:

  **** Skipping 7 NaN/NA algo='exact' tests because .Machine$longdouble.digits==53 (!=64); e.g. under valgrind

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions