DynamoRIO / DynamoRIO/drmemory
10K possible leaks on vortex
- Dominant language
- C
- Stars
- 2.7k
- Forks
- 290
- PR merge metrics
- No merged PRs in 30d
Description
_From [derek.br...@gmail.com](https://code.google.com/u/117968039472581148324/) on December 10, 2010 18:06:08_
PR 605235
vortex spec2k 3 runs:
```
501 unique, 9929 total, 5667840 byte(s) of possible leak(s)
462 unique, 9299 total, 4586624 byte(s) of possible leak(s)
334 unique, 9849 total, 4472768 byte(s) of possible leak(s)
```
I may need to add another heuristic, or an API and have vortex call it to
indicate that these are reachable blocks, or just have vortex use a
suppression file as reporting these isn't a big perf deal, it just fills up
the results file and approaches the max report limit (without -check_leaks,
where there are no uniqueness checks: though I plan to make -check_leaks
the default which would help here).
Need to figure out what vortex is doing: quick glance looks like some games
with alignment, so this is not some standard compiler-generated mid-chunk
pointer and does not look like any Dr. Memory bug.
Error `#19`: POSSIBLE LEAK 2432 direct bytes 0x08c40000-0x08c40980 + 0 indirect bytes
Elapsed time = 0:10:27.668 in thread 2544
0x0805556b vortex!Void_ExtendCore
/work/dr/tot/internal/benchmarks/spec2000/int/vortex/src/core01.c:279
0x08055a0c vortex!Core_MoreCore
/work/dr/tot/internal/benchmarks/spec2000/int/vortex/src/core01.c:547
0x08082a16 vortex!Chunk_NewChunk
/work/dr/tot/internal/benchmarks/spec2000/int/vortex/src/mem00.c:411
0x08083a44 vortex!Mem_MakeChunk
/work/dr/tot/internal/benchmarks/spec2000/int/vortex/src/mem01.c:137
0x080701e9 vortex!Grp_NewRegion
/work/dr/tot/internal/benchmarks/spec2000/int/vortex/src/grp0.c:258
0x080918ca vortex!Grp_NewObject
/work/dr/tot/internal/benchmarks/spec2000/int/vortex/src/ogrp.c:126
0x08092cd1 vortex!OmNewObject
/work/dr/tot/internal/benchmarks/spec2000/int/vortex/src/om.c:586
0x08088126 vortex!OaNewObject
/work/dr/tot/internal/benchmarks/spec2000/int/vortex/src/oa0.c:375
0x08088620 vortex!OaCreateObject
/work/dr/tot/internal/benchmarks/spec2000/int/vortex/src/oa0.c:352
0x080a5a60 vortex!SaAddInto
/work/dr/tot/internal/benchmarks/spec2000/int/vortex/src/sa.c:379
0x080a90d2 vortex!SetAddInto
/work/dr/tot/internal/benchmarks/spec2000/int/vortex/src/sm.c:182
0x0807ffb3 vortex!KernelAddInto
/work/dr/tot/internal/benchmarks/spec2000/int/vortex/src/km.c:801
0x08090743 vortex!Member_KeySetAddInto
/work/dr/tot/internal/benchmarks/spec2000/int/vortex/src/obj01.c:717
0x080673e5 vortex!PersonParts_AddInto
/work/dr/tot/internal/benchmarks/spec2000/int/vortex/src/empobj.c:649
0x0804c710 vortex!BMT_CreateParts
/work/dr/tot/internal/benchmarks/spec2000/int/vortex/src/bmt01.c:122
0x0804afd3 vortex!BMT_Test
/work/dr/tot/internal/benchmarks/spec2000/int/vortex/src/bmt.c:851
0x0804c192 vortex!main
/work/dr/tot/internal/benchmarks/spec2000/int/vortex/src/bmt0.c:525
0x001f6bb6 libc.so.6!__libc_start_main
/usr/src/debug/glibc-2.11/csu/libc-start.c:220
0x08048b21 vortex!_start
??:0
_Original issue: http://code.google.com/p/drmemory/issues/detail?id=203_
Contributor guide
Assessment
This issue has not been assessed yet.