pmem / issues

Old issues repo for PMDK.
http://pmem.io
13 stars 7 forks source link

Test: obj_heap/TEST01 fails #1081

Closed Greg091 closed 5 years ago

Greg091 commented 5 years ago

ISSUE:

Environment Information

Please provide a reproduction of the bug:

$ ./RUNTESTS obj_heap -m force-enable -t all
obj_heap/TEST0: SETUP (all/pmem/debug/memcheck)
obj_heap/TEST0 failed with Valgrind. See memcheck0.log. Last 20 lines below.
obj_heap/TEST0 memcheck0.log ==26817== 
obj_heap/TEST0 memcheck0.log ==26817== 56 bytes in 1 blocks are definitely lost in loss record 1 of 1
obj_heap/TEST0 memcheck0.log ==26817==    at 0x4838757: malloc (vg_replace_malloc.c:309)
obj_heap/TEST0 memcheck0.log ==26817==    by 0x433C50: _Malloc (alloc.c:101)
obj_heap/TEST0 memcheck0.log ==26817==    by 0x433CE8: Zalloc (alloc.c:129)
obj_heap/TEST0 memcheck0.log ==26817==    by 0x4096BF: bucket_new (bucket.c:74)
obj_heap/TEST0 memcheck0.log ==26817==    by 0x40CD4C: heap_arena_new (heap.c:178)
obj_heap/TEST0 memcheck0.log ==26817==    by 0x410149: heap_boot (heap.c:1470)
obj_heap/TEST0 memcheck0.log ==26817==    by 0x40669C: test_heap (obj_heap.c:344)
obj_heap/TEST0 memcheck0.log ==26817==    by 0x407D96: main (obj_heap.c:577)
obj_heap/TEST0 memcheck0.log ==26817== 
obj_heap/TEST0 memcheck0.log ==26817== LEAK SUMMARY:
obj_heap/TEST0 memcheck0.log ==26817==    definitely lost: 56 bytes in 1 blocks
obj_heap/TEST0 memcheck0.log ==26817==    indirectly lost: 0 bytes in 0 blocks
obj_heap/TEST0 memcheck0.log ==26817==      possibly lost: 0 bytes in 0 blocks
obj_heap/TEST0 memcheck0.log ==26817==    still reachable: 0 bytes in 0 blocks
obj_heap/TEST0 memcheck0.log ==26817==         suppressed: 0 bytes in 0 blocks
obj_heap/TEST0 memcheck0.log ==26817== 
obj_heap/TEST0 memcheck0.log ==26817== For lists of detected and suppressed errors, rerun with: -s
obj_heap/TEST0 memcheck0.log ==26817== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
RUNTESTS: stopping: obj_heap/TEST0 failed, TEST=all FS=pmem BUILD=debug

How often bug is revealed: (always, often, rare): always

Actual behavior:

Test fails.

Expected behavior:

The test should pass.

Details

Additional information about Priority and Help Requested:

Are you willing to submit a pull request with a proposed change? (Yes, No)

Requested priority: (Showstopper, High, Medium, Low) Medium

Logs: pmem0.log pmemobj0.log memcheck0.log

Greg091 commented 5 years ago

Verified on: 1.6-346-g95d96e4c0