No "by" message in memcheck output

Michael Ortiz <[email protected]>
Newsgroups gmane.comp.debugging.valgrind
Message-ID <CACB6cKPNxDpyj6xvQnTEWKNYTtRn+v5xkJw4H_XcUVo8Grcwgg@mail.gmail.com>
Hi,

I'm running valgrind version 3.15.

When I run the following:

valgrind --tool=memcheck --leak-check=yes <path to executable>

I get the following output:

==13501== HEAP SUMMARY:
==13501==     in use at exit: 5 bytes in 1 blocks
==13501==   total heap usage: 137,210 allocs, 137,209 frees, 4,188,260
bytes allocated
==13501==
==13501== Thread 1:
==13501== 5 bytes in 1 blocks are definitely lost in loss record 1 of 1
==13501==    at 0x4845BD4: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-arm-linux.so)

Notice, there is no "by" message indicating where the allocation occurred.
For example, I expected something like this:

==13501==    by 0x804840F: main (example.c:5)

directly following the "at" message, but it's not there. I have debug
symbols preserved in my executable.

Was this behavior (i.e. "by" output) added in some later version?

Thank you,
Mike

_______________________________________________
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.