xorg quickly eats all memory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xorg-server (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I start anki (a qt app) on an oneiric unity desktop and very soon the laptop dies a swap death with xorg consuming all the memory. Starting anki is a reliable way to trigger the problem since I have upgraded to oneiric beta. It didn't happen with 11.04.
Laptop: Acer aspire 3810T, i915 graphics (Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07))
Anki package version: 1.2.8-1
xorg package version: 1:7.6+7ubuntu6
With the attached bug report I ran ubuntu-bug on xorg before it used all the RAM.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: xserver-xorg-core 2:1.10.
ProcVersionSign
Uname: Linux 3.0.0-10-generic x86_64
Architecture: amd64
CompizPlugins: No value set for `/apps/
Date: Tue Sep 6 22:50:56 2011
DistUpgraded: Log time: 2011-09-05 16:00:57.366350
DistroCodename: oneiric
DistroVariant: ubuntu
ExecutablePath: /usr/bin/Xorg
ExtraDebuggingI
GraphicsCard:
Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a42] (rev 07) (prog-if 00 [VGA controller])
Subsystem: Acer Incorporated [ALI] Device [1025:0229]
Subsystem: Acer Incorporated [ALI] Device [1025:0229]
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
MachineType: Acer Aspire 3810T
ProcEnviron:
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: xorg-server
UpgradeStatus: Upgraded to oneiric on 2011-09-05 (1 days ago)
dmi.bios.date: 05/27/2009
dmi.bios.vendor: Acer
dmi.bios.version: V1.04
dmi.board.
dmi.board.name: Aspire 3810T
dmi.board.vendor: Acer
dmi.board.version: PSMBOU-1234567
dmi.chassis.type: 10
dmi.chassis.vendor: Acer
dmi.chassis.
dmi.modalias: dmi:bvnAcer:
dmi.product.name: Aspire 3810T
dmi.product.
dmi.sys.vendor: Acer
version.compiz: compiz 1:0.9.5.
version.ia32-libs: ia32-libs 20090808ubuntu20
version.libdrm2: libdrm2 2.4.26-1ubuntu1
version.
version.
version.
version.
version.
version.
version.
version.
Changed in xorg-server (Ubuntu): | |
status: | New → Confirmed |
More things I have noticed.
1. I have a suspicion that this bug isn't in xorg-server, just that xorg-server is allocating too much memory on behalf of e.g. compiz.
2. When running anki under gnome-shell, it won't always cause xorg to run out of memory. But there is still a strange problem. The anki window is really large and there is nothing drawn inside the frame. Anki seems to request a very large window. I get this message from anki: ======= ======= == :setMinimumSize : (MainWindow/AnkiQt) The largest allowed size is (16777215,16777215) ======= ======= ==
=======
QWidget:
=======
I get this output from gnome-shell: ======= ======= == share/gnome- shell/js/ ui/workspacesVi ew.js"' Meta_Screen] ,[object _private_ GLib_ParamSpec] )@/usr/ share/gnome- shell/js/ ui/workspacesVi ew.js:804 s()@/usr/ share/gnome- shell/js/ ui/main. js:260 ======= ======= ==
=======
Window manager warning: Screen 0 on display ":0.0" already has a window manager; try using the --replace option to replace the current window manager.
vicki@acer:~$ gnome-shell --replace
JS ERROR: !!! Exception was: TypeError: this._workspaces is undefined
JS ERROR: !!! lineNumber = '804'
JS ERROR: !!! fileName = '"/usr/
JS ERROR: !!! stack = '"([object _private_
_checkWorkspace
"'
JS ERROR: !!! message = '"this._workspaces is undefined"'
Window manager warning: Invalid WM_TRANSIENT_FOR window 0x320000f specified for 0x320000d (anki).
Window manager warning: Window 0x3200039 (Anki) sets an MWM hint indicating it isn't resizable, but sets min size 16383 x 16383 and max size 2147483647 x 2147483647; this doesn't make much sense.
Window manager warning: Log level 16: Native children wider or taller than 65535 pixels are not supported
=======
So it seems like gnome-shell handles the large window better than unity. At least it doesn't always bring down the system.
3. Anki works fine under metacity.