← Back to team overview

desktop-packages team mailing list archive

[Bug 1057263] Re: gtk-window-decorator leaks large numbers of pixmaps and pixmap memory

 

The bug still exists in 14.04.1 LTS:

Distributor ID:	Ubuntu
Description:	Ubuntu 14.04.1 LTS
Release:	14.04
Codename:	trusty

Below is a copy of my "xrestop" including the gtk-window-decorator. The
"Pxms" counter would increase by about 6 each time I alt-Tab back and
forth to another window. The "Pxm mem" would also increase. Neither over
level off or decrease. So, this bug still exists and the leak makes me
have to close my session every day or two. I'm running out of what
should be plentiful memory.


xrestop - Display: localhost
          Monitoring 44 clients. XErrors: 2
          Pixmaps:  556734K total, Other:     288K total, All:  557023K total

res-base Wins  GCs Fnts Pxms Misc   Pxm mem  Other   Total   PID Identifier    
2000000    33   65    1 4193  429   481002K     13K 481015K  2423 gtk-window-decorator
2400000   477    3    1   68 9125    43639K    226K  43865K   ?   Compiz

...

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to compiz in Ubuntu.
https://bugs.launchpad.net/bugs/1057263

Title:
  gtk-window-decorator leaks large numbers of pixmaps and pixmap memory

Status in Compiz:
  Fix Released
Status in Compiz Core:
  Fix Released
Status in compiz package in Ubuntu:
  Fix Released
Status in compiz source package in Precise:
  Fix Released

Bug description:
  [Impact]

  Memory leak when resizing window in normal mode.

  [Test Case]

  Test case:
  1. Install xrestop (sudo apt-get install xrestop)
  2. Run xrestop and look for the gtk-window-decorator row
  3. Note the values for "Pxms" and "Pxm mem".
  4. Resize a window rapidly (make sure you have Normal resize mode, not Rectangle)

  Expected: No significant change in Pxm metrics.
  Observed: Hundreds of pixmaps leaked and Pxm mem grows by several megabytes per second.

  [Regression Potential]

  Low, used in Ubuntu 12.10 as well without regressions.

To manage notifications about this bug go to:
https://bugs.launchpad.net/compiz/+bug/1057263/+subscriptions