Results 1 to 13 of 13

Thread: Valgrind and Memory leak

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2007
    Posts
    57
    Thanks
    7
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Valgrind and Memory leak

    ==5025== LEAK SUMMARY:
    ==5025== definitely lost: 5,689 bytes in 118 blocks.
    ==5025== possibly lost: 0 bytes in 0 blocks.
    ==5025== still reachable: 295,030 bytes in 927 blocks.
    ==5025== suppressed: 0 bytes in 0 blocks.

    Then wat this leak summary says...Does it mean leak is there...I hav not tried debug option.Any idea??

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Valgrind and Memory leak

    Try compiling with debug information so that valgrind can trace function calls. Anyway I don't think there is a leak in Qt (based on this report you pasted). I suggest you correct the things pointed out in your code though.

  3. #3
    Join Date
    Jul 2007
    Posts
    57
    Thanks
    7
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Valgrind and Memory leak

    I hav to try with debug..If the leak is not from Qt it should be from my appliction..The leak summary gives some leakage..

Similar Threads

  1. Qt 4.1 Memory Leak
    By blackliteon in forum Qt Programming
    Replies: 14
    Last Post: 10th February 2006, 12:47

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.