Re: identifying possible leak

John Reiser <[email protected]>
Newsgroups gmane.comp.debugging.valgrind
Message-ID <[email protected]>
> =16595== 1,008 bytes in 3 blocks are possibly lost in loss record 155 of 1,524
> ==16595==    at 0x483AB65: calloc (vg_replace_malloc.c:752)
> ==16595==    by 0x4012A32: allocate_dtv (in /usr/lib/ld-2.29.so <http://ld-2.29.so>)
> ==16595==    by 0x40133E1: _dl_allocate_tls (in /usr/lib/ld-2.29.so <http://ld-2.29.so>)

Anything allocated by a routine which is part of the dynamic linker (such as _dl_allocate_tls
in /usr/lib/ld-*.so) should be ignored.  The dynamic linker is well-known to leak,
and some of those leaks essentially cannot be eliminated.  In any case, you cannot do anything
about those leaks.  Besides, this leak is less than 340 bytes on average (1008 / 3),
and there are either 154 or (1524 - 154) leaks which are more important (larger).

[Next time, please state the version of valgrind that you ran.]


_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.