compiz team mailing list archive
-
compiz team
-
Mailing list archive
-
Message #49454
[Bug 1258551] [NEW] gtk-window-decorator leaks pixmap memory
Public bug reported:
gtk-window-decorator leaks a pixmap and pixmap memory for each window
that's opened. This is reproducible on both 13.10 and 14.04. As a
result, gtk-window-decorator pixmap memory climbs (apparently) unbounded
during normal usage. After several hours of heavy usage a machine can
start to become unresponsive.
To reproduce:
1) Login; launch a terminal (ctrl-shift-t)
2) Run xrestop in the terminal and observe the number of pixmaps (pxms) and amount of pixmap memory in use (pxm mem) for the gtk-window-decorator process
3) Open a new terminal window (ctrl-shift-n). Observe that the number of pixmaps goes up and the amount of pixmap memory goes up
4) Close the terminal window from step 3. Observe the number of pixmaps and amount of pixmap memory for the g-w-d process
Expected results:
After closing the terminal window, g-w-d pixmap memory should return to the original value observed in step 2
Actual results:
The number of pixmaps in the g-w-d process is 1 higher than the value observed in step #2, and the amount of pixmap memory in use grows. The leak is about 200K per terminal window, on my machine.
This is 100% reproducible on both a machine with NVIDIA graphics running
13.10 and a machine with Intel graphics running 14.04.
Attached is data gtk-window-decorator data copied from xrestop while repeatedly opening + closing a terminal window.
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: compiz 1:0.9.10+13.10.20131011-0ubuntu1
ProcVersionSignature: Ubuntu 3.11.0-14.21-generic 3.11.7
Uname: Linux 3.11.0-14-generic x86_64
NonfreeKernelModules: nvidia
.proc.driver.nvidia.gpus.0: Error: [Errno 21] Is a directory: '/proc/driver/nvidia/gpus/0'
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.version:
NVRM version: NVIDIA UNIX x86_64 Kernel Module 319.60 Wed Sep 25 14:28:26 PDT 2013
GCC version: gcc version 4.8.1 (Ubuntu/Linaro 4.8.1-10ubuntu9)
.proc.driver.nvidia.warnings.fbdev:
Your system is not currently configured to drive a VGA console
on the primary VGA device. The NVIDIA Linux graphics driver
requires the use of a text-mode VGA console. Use of other console
drivers including, but not limited to, vesafb, may result in
corruption and stability problems, and is not supported.
.tmp.unity.support.test.0:
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist:
GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
'(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW:
GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
true
Date: Fri Dec 6 10:03:50 2013
DistUpgraded: 2013-08-07 11:23:12,433 DEBUG enabling apt cron job
DistroCodename: saucy
DistroVariant: ubuntu
GraphicsCard:
NVIDIA Corporation G84M [GeForce 8600M GT] [10de:0407] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Apple Inc. Device [106b:00a0]
InstallationDate: Installed on 2010-09-17 (1176 days ago)
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Beta amd64 (20100901.1)
JockeyStatus:
kmod:nvidia_319_updates - nvidia_319_updates (Proprietary, Enabled, Not in use)
kmod:nvidia_304 - NVIDIA binary Xorg driver, kernel module and VDPAU library (Proprietary, Disabled, Not in use)
kmod:nvidia_173 - NVIDIA binary Xorg driver, kernel module and VDPAU library (Proprietary, Disabled, Not in use)
kmod:nvidia_304_updates - NVIDIA binary Xorg driver, kernel module and VDPAU library (Proprietary, Disabled, Not in use)
kmod:nvidia_319 - NVIDIA binary Xorg driver, kernel module and VDPAU library (Proprietary, Disabled, Not in use)
MachineType: Apple Inc. MacBookPro3,1
MarkForUpload: True
PackageArchitecture: all
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.11.0-14-generic root=UUID=4b3d81ed-fb5d-4946-97c0-ec537e1bfa3f ro quiet splash
SourcePackage: compiz
UpgradeStatus: Upgraded to saucy on 2013-08-07 (120 days ago)
dmi.bios.date: 03/05/08
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MBP31.88Z.0070.B07.0803051658
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: Mac-F4238BC8
dmi.board.vendor: Apple Inc.
dmi.board.version: PVT
dmi.chassis.asset.tag: Asset Tag#
dmi.chassis.type: 2
dmi.chassis.vendor: Apple Inc.
dmi.chassis.version: Mac-F4238BC8
dmi.modalias: dmi:bvnAppleInc.:bvrMBP31.88Z.0070.B07.0803051658:bd03/05/08:svnAppleInc.:pnMacBookPro3,1:pvr1.0:rvnAppleInc.:rnMac-F4238BC8:rvrPVT:cvnAppleInc.:ct2:cvrMac-F4238BC8:
dmi.product.name: MacBookPro3,1
dmi.product.version: 1.0
dmi.sys.vendor: Apple Inc.
version.compiz: compiz 1:0.9.10+13.10.20131011-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.46-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 9.2.1-1ubuntu3
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 9.2.1-1ubuntu3
version.nvidia-graphics-drivers: nvidia-graphics-drivers N/A
version.xserver-xorg-core: xserver-xorg-core 2:1.14.3-3ubuntu2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.3-0ubuntu3.1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.2.0-0ubuntu10
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.904-0ubuntu2
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.9-2ubuntu1
xserver.bootTime: Fri Dec 6 09:55:47 2013
xserver.configfile: default
xserver.errors: open /dev/fb0: No such file or directory
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:
xserver.version: 2:1.14.3-3ubuntu2
** Affects: compiz (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug compiz-0.9 possible-manual-nvidia-install saucy ubuntu
** Attachment added: "gtk-window-decorator-xrestop-leak.txt"
https://bugs.launchpad.net/bugs/1258551/+attachment/3924327/+files/gtk-window-decorator-xrestop-leak.txt
--
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in Ubuntu.
https://bugs.launchpad.net/bugs/1258551
Title:
gtk-window-decorator leaks pixmap memory
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/1258551/+subscriptions
Follow ups
References