[Bug 29731] New: Tests (or tp-qt4 itself?) leak memory horribly

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Aug 22 17:34:05 CEST 2010


https://bugs.freedesktop.org/show_bug.cgi?id=29731

           Summary: Tests (or tp-qt4 itself?) leak memory horribly
           Product: Telepathy
           Version: git master
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: tp-qt4
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: ollisal at gmail.com
         QAContact: telepathy-bugs at lists.freedesktop.org
                CC: andrunko at gmail.com


There has been a check-valgrind Make target in the tp-qt4 build system for a
while now. Overjoyed by this discovery, I ran it, and found out a number of
memory use bugs both in tp-qt4 library code and the test code, which I already
fixed in the branch for bug #29702. However, there also are a lot of memory
leaks in the tests identified this way. While some of them (all, hopefully! but
probably not) might be false positives, we should at least make suppressions
for them and use those suppressions in check-valgrind.

This is important, because now that the tests leak memory, we can't identify
memory leaks in tp-qt4 proper. Some of the memory leaks reported in the tests
may in fact currently be in the library code, affecting real tp-qt4 using
applications in addition to just the tests.

Once this is fixed, it should be added to the release procedure to do make
check-valgrind to ensure that there are no memory leaks or other memory errors
in the code which the tests run. If new false positives surface, the
suppressions should be updated.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list