Changes between Initial Version and Version 1 of Ticket #33745


Ignore:
Timestamp:
Mar 24, 2012, 12:15:36 PM (12 years ago)
Author:
neverpanic (Clemens Lang)
Comment:

Please use WikiFormatting and remember to Cc the maintainer.

Is there a re.dSYM directory next to the re binary? Does dwarfdump re.dSYM list the source code and debug symbols?

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33745

    • Property Owner changed from macports-tickets@… to raimue@…
    • Property Keywords valgrind g++ removed
    • Property Cc cal@… added
  • Ticket #33745 – Description

    initial v1  
    11I have a small piece of C++ software that demonstrates leaks, but for whatever reason I cannot coax the file and line numbers. I used /usr/bin/g++ -g -W -Wall to compile every source. Some sources were generated by flex and bison, but otherwise it's just straightforward C++.
    22
     3{{{
    34==985== 96 bytes in 4 blocks are definitely lost in loss record 13 of 22
    45==985==    at 0xB823: malloc (vg_replace_malloc.c:266)
     
    78==985==    by 0x1000016C7: yyparse(Parser*, void*) (in ./re)
    89==985==    by 0x10000291C: main (in ./re)
     10}}}
    911
    1012I attempted to reproduce with the following piece of C++ code, but it works. So, there's some difference between the two cases:
    1113
     14{{{
    1215$ cat leak.cpp
    1316class Foo {
     
    5053==1299==    by 0x100000E56: main (leak.cpp:14)
    5154...
     55}}}
    5256
    5357Any suggestions you may have would be much appreciated.