Package: valgrind
Version: 1:3.9.0-5
Tags: patch
It would be nice if supp file was updated (see attached file). Steps:
$ valgrind -q --tool=memcheck --leak-check=yes --show-reachable=yes
/bin/ls /usr
bin games include lib lib32 local sbin share src
==10112== 49 bytes in 9 blocks are still reachable in loss record 1 of 7
==10112== at 0x4C2A350: malloc (vg_replace_malloc.c:291)
==10112== by 0x410B98: ??? (in /bin/ls)
==10112== by 0x410C9B: ??? (in /bin/ls)
==10112== by 0x408A69: ??? (in /bin/ls)
==10112== by 0x40387E: ??? (in /bin/ls)
==10112== by 0x5481EAC: (below main) (libc-start.c:244)
==10112==
==10112== 56 bytes in 1 blocks are still reachable in loss record 2 of 7
==10112== at 0x4C2A350: malloc (vg_replace_malloc.c:291)
==10112== by 0x410B98: ??? (in /bin/ls)
==10112== by 0x410C9B: ??? (in /bin/ls)
==10112== by 0x40E459: ??? (in /bin/ls)
==10112== by 0x403321: ??? (in /bin/ls)
==10112== by 0x5481EAC: (below main) (libc-start.c:244)
==10112==
==10112== 56 bytes in 1 blocks are still reachable in loss record 3 of 7
==10112== at 0x4C2A350: malloc (vg_replace_malloc.c:291)
==10112== by 0x410B98: ??? (in /bin/ls)
==10112== by 0x410C9B: ??? (in /bin/ls)
==10112== by 0x40E459: ??? (in /bin/ls)
==10112== by 0x403381: ??? (in /bin/ls)
==10112== by 0x5481EAC: (below main) (libc-start.c:244)
==10112==
==10112== 216 bytes in 1 blocks are still reachable in loss record 4 of 7
==10112== at 0x4C2A350: malloc (vg_replace_malloc.c:291)
==10112== by 0x410B98: ??? (in /bin/ls)
==10112== by 0x404FE7: ??? (in /bin/ls)
==10112== by 0x403DA1: ??? (in /bin/ls)
==10112== by 0x5481EAC: (below main) (libc-start.c:244)
==10112==
==10112== 432 bytes in 1 blocks are still reachable in loss record 5 of 7
==10112== at 0x4C2A350: malloc (vg_replace_malloc.c:291)
==10112== by 0x4C2A5EF: realloc (vg_replace_malloc.c:687)
==10112== by 0x410BC0: ??? (in /bin/ls)
==10112== by 0x407B35: ??? (in /bin/ls)
==10112== by 0x407E53: ??? (in /bin/ls)
==10112== by 0x403EAC: ??? (in /bin/ls)
==10112== by 0x5481EAC: (below main) (libc-start.c:244)
==10112==
==10112== 1,368 bytes in 1 blocks are still reachable in loss record 6 of 7
==10112== at 0x4C2A350: malloc (vg_replace_malloc.c:291)
==10112== by 0x410B98: ??? (in /bin/ls)
==10112== by 0x407959: ??? (in /bin/ls)
==10112== by 0x407E53: ??? (in /bin/ls)
==10112== by 0x403EAC: ??? (in /bin/ls)
==10112== by 0x5481EAC: (below main) (libc-start.c:244)
==10112==
==10112== 19,200 bytes in 1 blocks are still reachable in loss record 7 of 7
==10112== at 0x4C2A350: malloc (vg_replace_malloc.c:291)
==10112== by 0x410B98: ??? (in /bin/ls)
==10112== by 0x4034D4: ??? (in /bin/ls)
==10112== by 0x5481EAC: (below main) (libc-start.c:244)
==10112==
{
ls_malloc
Memcheck:Leak
match-leak-kinds: reachable
fun:malloc
}