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
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to