Announcement

Collapse
No announcement yet.

Valgrind output question (C++)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Valgrind output question (C++)

    Hello,

    I'm running Valgrind to check my C++ program for memory leaks (working on Mandrive). I'm now at the point where I get this output
    Code:
    ERROR SUMMARY: 0 errors from 0 contexts (suppressed 67 from 1)
    malloc/free: in use at exit: 0 bytes in 0 blocks.
    malloc/free: 64 allocs, 64 frees, 1987 bytes allocated
    All heap blocks were freed -- no leaks are possible.
    Now, when I run Valgrind with the -v option, this is preceded by:
    Code:
    Warning: zero-sized CIE/FDE but not at section end in DWARF2 CFI reading
    WARNING: new redirection conflicts with existing -- ignoring it
    And the first line is then repeated 27 times.

    I'm confident with this output that there are no memory leaks, but any thoughts on where those warning come from?
    (just curious, actually)

    Thanks!

    Jörg
    pixar
    Dream as if you'll live forever. Live as if you'll die tomorrow. (James Dean)

  • #2
    No-one ?

    FWIW, I get exactly the same output when checking a program with an empty main()...


    Jörg
    pixar
    Dream as if you'll live forever. Live as if you'll die tomorrow. (James Dean)

    Comment


    • #3
      I found something when you first posted that made it sound like a bug in Valgrind.
      But I didn't post because I figured someone who actually knows what Valgrind is would post.

      Maybe poking around here will tell you something.
      Chuck
      秋音的爸爸

      Comment


      • #4
        Thanks...
        t's not that big a deal, but I'm just curious as to what it means...

        Guess not that many people here use Valgrind.


        Jörf
        pixar
        Dream as if you'll live forever. Live as if you'll die tomorrow. (James Dean)

        Comment

        Working...
        X