Memory leak in "Run Application" dialog

Bug #138006 reported by David Allouche
2
Affects Status Importance Assigned to Milestone
GNOME Panel
Fix Released
Undecided
Unassigned
gnome-panel (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gnome-panel

There seems to be a memory leak in the completion feature of the "Run Application" dialog.

Steps to reproduce:
 * Start top or the System Monitor to monitor the memory usage of the gnome-panel process in real time.
 * Open the "Run Application" dialog
 * Type a letter, ("g" for example).
 * Wait a few seconds, memory usage goes up a bit (up to 1MB here)
 * Press backspace, wait a few seconds, memory usage goes up again.
 * Rinse, repeat.
 * Close the "Run Application" dialog, the memory is not released.

In a long-running session (several days), if the user regularly uses the "Run Application" dialog, that can cause gnome-panel to bloat up to several hundreds MB.

Revision history for this message
David Allouche (ddaa) wrote :

Oh, by the way. I reproduced it in Edgy (gnome-panel 2.18.1-0ubuntu3.1) and today seb128 said he could reproduce it as well.

Revision history for this message
David Allouche (ddaa) wrote :

Oh, by the way. I reproduced it in Feisty (gnome-panel 2.18.1-0ubuntu3.1) and today seb128 said he could reproduce it as well.

Revision history for this message
David Allouche (ddaa) wrote :

"Assistive Technology" seems to play a large part in the problem.

Initially, I had it enabled, and observed 1MB leak (with the letter "g").

Then I disabled it ( opening System->Preferences->Accessibility->Assistive Technology Preferences then unchecking "Enable assistive technologies"), logged out, logged in again.

Then, the same procedure only causes a 0.1MB leak.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Could be one of the leaks described on http://bugzilla.gnome.org/show_bug.cgi?id=475476

Changed in gnome-panel:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Triaged
Changed in gnome-panel:
status: Unknown → New
Revision history for this message
Martin Mai (mrkanister-deactivatedaccount-deactivatedaccount) wrote :

I can not reproduce this with Intrepid (gnome-panel 2.24.1-0ubuntu2.2). Seems liike this specific leak has been fixed. Is anyone still getting this?

Revision history for this message
David Allouche (ddaa) wrote :

I am the original bug reporter. I cannot reproduce the leak on Jaunty (gnome-panel 1:2.26.0-0ubuntu7).

There is no clear relation between this bug and the linked upstream bug. The upstream bug reports a number of leaks detected with valgrind, without explaining what user actions produced it. Examination of the valgrind stack traces in the upstream bug report does not suggest that the run dialog was involved (disclaimer: I am not familiar with this code, I am just using programmer common sense applied to the function names present in the stack traces).

This bug should be unlinked from gnome-bugs #475476 and closed immediately.

Changed in gnome-panel:
importance: Unknown → Undecided
status: New → Fix Released
Changed in gnome-panel (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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