wnck-applet causes X to leak like crazy on hide/unhide

Bug #17787 reported by anthony baxter
10
Affects Status Importance Assigned to Milestone
gnome-panel (Ubuntu)
Invalid
Medium
Sebastien Bacher

Bug Description

My X server grows by about 90-100Mb a day. After a pointer from daniels, I
looked at xrestop, and that told me it was wnck-applet that was the guilty
party. I did have one in a panel at the bottom (with all windows on all
desktops) and a smaller one at the top only showing the current dekstop's
windows. I've killed one of them, and will see if I can narrow it down further.

Removing it from the panel and re-adding it freed all the memory up, although
it's started growing again. This is on Hoary, using the nv driver on a Dell
Inspiron 5150 (GeForce FX Go 5200, if it matters).

The rate of growth (100M a day) is enough to cause _serious_ difficulties - I
shouldn't need to have more than a gig of swap just to keep X working for more
than a week <wink>

Revision history for this message
anthony baxter (anthony) wrote :

Found it. Every time the panel hides or unhides, wnck-applet leaks about
400-500K of pixmaps on the X server (assuming that's what 'Pxm' in xrestop
means). For now, I can disable hiding, I guess. (I have it set to auto-hide).

Revision history for this message
anthony baxter (anthony) wrote :

Further experimentation shows that it also needs the panel to be partially
transparent, as well as autohiding. Turning off either auto-hide or transparency
makes it stop leaking.

Revision history for this message
Vincent Untz (vuntz) wrote :

Can you tell us what applet do you have on this particular panel? Show Desktop?
Window List? Workspace Switcher? Workspace Selector?

Revision history for this message
anthony baxter (anthony) wrote :

Show Desktop, Window List, Workspace Switcher and Trashcan, in that order, along
the bottom.

The Window List is configured to show all windows, always group windows and
restore to native workspace.

The workspace switcher is configured as a single row, with 8 workspaces and
default names (show workspace names is disabled).

The panel (when it's in leak-my-memory-please! mode) is expand, autohide, 25
pixels in size, with a solid 20% transparent blue background.

Revision history for this message
Vincent Untz (vuntz) wrote :

I can not reproduce here. Could you try removing some of the applets so we can
know which one is guilty?
Also is your configuration a standard one or does it have anything special?

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

it doesn't leak here neither

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

have you found what applet does that?

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

no reply, bug closed. Feel free to reopen with the asked informations if that's
still an issue for you

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.