compiz leaks window handles (and pixmaps?)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
Triaged
|
High
|
Unassigned | ||
0.9.8 |
Won't Fix
|
High
|
Unassigned | ||
compiz (Ubuntu) |
Triaged
|
High
|
Unassigned |
Bug Description
Compiz leaks window handles when closing windows, according to xrestop.
To reproduce:
1) install xrestop ("apt-get install xrestop")
2) In a terminal, launch xrestop. Keep it running, and observe the number of 'Wins' and amount of pixmap memory ('Pxm mem') associated with the Compiz process
3) Open a new terminal (or any other) window. Observe that the number of windows had gone up by some amount. Opening a terminal window reliably results in exactly 3 extra window handles for the Compiz on my system.
4) Close the window
Expected results:
After closing the terminal window, the number of window handles held by the compiz process returns to the level observed in step 2
Actual results:
The number of window handles does not decrease; Compiz retains the window handles for the closed window. It's reliably 3 window handles for each terminal window on my system. I haven't checked other window types (dialogs, etc).
The above steps also produce a 1KB leak of pixmap memory on my system. I am not sure if this is related.
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: compiz 1:0.9.8.4-0ubuntu2
ProcVersionSign
Uname: Linux 3.5.0-17-generic x86_64
NonfreeKernelMo
.proc.driver.
.proc.driver.
.proc.driver.
NVRM version: NVIDIA UNIX x86_64 Kernel Module 304.43 Sun Aug 19 20:14:03 PDT 2012
GCC version: gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1)
.proc.driver.
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.
ApportVersion: 2.6.1-0ubuntu3
Architecture: amd64
CompizPlugins: No value set for `/apps/
CompositorRunning: compiz
Date: Thu Oct 11 15:04:36 2012
DistUpgraded: 2012-08-07 11:19:37,876 DEBUG enabling apt cron job
DistroCodename: quantal
DistroVariant: ubuntu
DkmsStatus:
nvidia-current, 304.43, 3.5.0-17-generic, x86_64: installed
virtualbox, 4.1.18, 3.5.0-14-generic, x86_64: installed
virtualbox, 4.1.18, 3.5.0-15-generic, x86_64: installed
virtualbox, 4.1.18, 3.5.0-16-generic, x86_64: installed
virtualbox, 4.1.18, 3.5.0-17-generic, x86_64: installed
GraphicsCard:
NVIDIA Corporation G84 [GeForce 8600M GT] [10de:0407] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Apple Inc. Device [106b:00a0]
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Beta amd64 (20100901.1)
JockeyStatus:
kmod:nvidia_
kmod:nvidia_173 - NVIDIA binary Xorg driver, kernel module and VDPAU library (Proprietary, Disabled, Not in use)
kmod:nvidia_
kmod:nvidia_
kmod:nvidia_
MachineType: Apple Inc. MacBookPro3,1
PackageArchitec
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: compiz
UpgradeStatus: Upgraded to quantal on 2012-08-07 (65 days ago)
dmi.bios.date: 03/05/08
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MBP31.88Z.
dmi.board.
dmi.board.name: Mac-F4238BC8
dmi.board.vendor: Apple Inc.
dmi.board.version: PVT
dmi.chassis.
dmi.chassis.type: 2
dmi.chassis.vendor: Apple Inc.
dmi.chassis.
dmi.modalias: dmi:bvnAppleInc
dmi.product.name: MacBookPro3,1
dmi.product.
dmi.sys.vendor: Apple Inc.
version.compiz: compiz 1:0.9.8.4-0ubuntu2
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.39-0ubuntu1
version.
version.
version.
version.
version.
version.
version.
version.
version.
Changed in compiz: | |
milestone: | none → 0.9.9.0 |
Changed in compiz: | |
importance: | Undecided → High |
Changed in compiz: | |
milestone: | 0.9.9.0 → 0.9.9.2 |
Changed in compiz: | |
milestone: | 0.9.9.2 → 0.9.10.0 |
Changed in compiz: | |
milestone: | 0.9.10.0 → 0.9.10.2 |
Changed in compiz: | |
milestone: | 0.9.10.2 → 0.9.11.0 |
Changed in compiz: | |
milestone: | 0.9.12.1 → 0.9.12.2 |
I can't test this on quantal due to bug 1065794 :(