Ubuntu

Memory leak in kcatalog.cpp

Reported by Tomi Junnila on 2009-02-17
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kdelibs
Fix Released
Medium
kde4libs (Ubuntu)
Medium
Unassigned
Intrepid
Medium
Jonathan Thomas

Bug Description

*Below added by Jonathan Thomas*
    Stable Release Update (SRU) infos:
    -Impact: International users suffer from severe memory leaks when checking their mail, among other things
    -Addressed by: This bug has been addressed by adding an upstream patch included in KDE 4.2 that fixes this.
    -Testcase: Use language localization and check mail in KMail.
    -Patch/regression potential: Small. The patch is from upstream (committed for KDE 4.2.1) and upstream is generally good at keeping patches safe.
  #######################################################################

This bug affects Ubuntu 8.10 kde4libs packages for 4.1.X and 4.2.0.

There is a problem in kdecore/localization/kcatalog.cpp which causes kmail (at least -- the bug probably affects other applications as well) to leak large amounts of memory fairly fast (I've seen 2 MB leaked when kmail checks for new mail, although usually less).

The upstream bug report can be found at <https://bugs.kde.org/show_bug.cgi?id=184529>, and also has a link to a patch for 4.2.1 which is also directly applicable to 4.1.4. The direct link to the patch itself is <http://websvn.kde.org/trunk/KDE/kdelibs/kdecore/localization/kcatalog.cpp?r1=899214&r2=918505&view=patch>.

Related branches

Jonathan Thomas (echidnaman) wrote :

Should be quite easy to do. Once we're in feature freeze I'll take a look at this. (The time before feature freeze is very busy with other things)

Changed in kde4libs:
importance: Undecided → Medium
milestone: none → jaunty-alpha-5
status: New → Triaged
Changed in kdelibs:
status: Unknown → Fix Released
Jonathan Thomas (echidnaman) wrote :

Fix committed to bzr for Jaunty, nominating an SRU for Intrepid.

Changed in kde4libs:
status: Triaged → Fix Committed
Changed in kde4libs:
assignee: nobody → echidnaman
importance: Undecided → Medium
milestone: none → intrepid-updates
status: New → In Progress
Jonathan Thomas (echidnaman) wrote :

The source package for intrepid-proposed can be found attached to bug 314016.

description: updated
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kde4libs - 4:4.2.1a-0ubuntu1

---------------
kde4libs (4:4.2.1a-0ubuntu1) jaunty; urgency=low

  [ Roderick B. Greening ]
  * New upstream release

  [ Jonathan Riddell ]
  * Remove kubuntu_66_fix_kcatalog_memleak.diff, applied upstream

  [ Jonathan Thomas ]
  * Add kubuntu_66_fix_kcatalog_memleak from upstream to fix a memory leak.
    This patch can be removed in KDE 4.2.1. (LP: #330446)
  * Compress binary packages with lzma compression

  [ Scott Kitterman ]
  * Adjust conflicts/replaces to account for KDE 4.1.4 in intrepid-updates

 -- <email address hidden> (Roderick B. Greening) Tue, 03 Mar 2009 15:33:26 -0330

Changed in kde4libs:
status: Fix Committed → Fix Released
Martin Pitt (pitti) wrote :

Accepted into intrepid-proposed; please test and give feedback here. Please see https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in kde4libs:
status: In Progress → Fix Committed
Martin Pitt (pitti) wrote :

Sorry, belay that:

FAILED: kde4libs (kde4libs_4.1.4-0ubuntu1~intrepid1.1.diff.gz is already published in archive for intrepid)

1.1 was a no-change rebuild in -security to fix dependencies. Please reupload as intrepid1.2.

Changed in kde4libs:
status: Fix Committed → In Progress
Jonathan Thomas (echidnaman) wrote :

At this point it'd probably be better to upgrade to Kubuntu 9.04 or at least KDE 4.2 from -backports. Sorry that I dropped the ball on this.

Changed in kde4libs (Ubuntu Intrepid):
status: In Progress → Won't Fix
Changed in kdelibs:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.