Compiz hangs with 100% CPU usage in commit_transaction()

Bug #1002701 reported by DavidBriscoe
2
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Sometimes (I think it's when I'm switching programs), I lose all responsiveness in my Unity desktop. I can move the mouse, but clicking does nothing. If I switch to a virtual terminal (tty1), I can run top and see that compiz is running at 100 or 101% cpu usage.

On bug 885498 I was asked to run dstack and attach my output (hang.dstack). I attached output from several runs of dstack to that bug, but I figured it would be better to attach and check where compiz is really getting hung up.

I installed libdee-1.0-1-dbg, attached to compiz with gdb, and I get a similar stack trace with 'bt' to the dstack output. Each time I run 'finish', it returns control until I reach #20 (commit_transaction). At this point, when I run 'finish', it waits for a long time (minutes) to return. Presumably something in commit_transaction should be returning to eventLoop() and allowing the UI thread to update?

From compizstack.txt:
#20 0x00007f0e96f0492b in commit_transaction (self=0x3711130, sender_name=0x3aa1d50 ":1.111", transaction=0xb478390) at dee-shared-model.c:1064

Similar to bug 815996 (but I'm not switching workspaces) and bug 773564 (but I have File Watcher disabled).

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: compiz 1:0.9.6+bzr20110929-0ubuntu6.1
ProcVersionSignature: Ubuntu 3.0.0-19.33-generic 3.0.27
Uname: Linux 3.0.0-19-generic x86_64
NonfreeKernelModules: wl
.tmp.unity.support.test.0:

ApportVersion: 1.23-0ubuntu4
Architecture: amd64
CompizPlugins: [core,bailer,detection,composite,opengl,compiztoolbox,decor,resize,obs,place,session,grid,gnomecompat,commands,regex,extrawm,move,imgpng,vpswitch,mousepoll,wall,snap,scale,text,scalefilter,scaleaddon,animation,workarounds,unitymtgrabhandles,expo,ezoom,unityshell]
CompositorRunning: compiz
Date: Tue May 22 00:13:11 2012
DistUpgraded: Fresh install
DistroCodename: oneiric
DistroVariant: ubuntu
GraphicsCard:
 Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a42] (rev 07) (prog-if 00 [VGA controller])
   Subsystem: Dell Device [1028:02aa]
   Subsystem: Dell Device [1028:02aa]
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
MachineType: Dell Inc. Inspiron 1545
PackageArchitecture: all
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-19-generic root=UUID=85d1e451-3c38-4c48-aa05-eeca017f1ad2 ro quiet splash vt.handoff=7
SourcePackage: compiz
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/13/2009
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A07
dmi.board.name: 0G848F
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA07:bd05/13/2009:svnDellInc.:pnInspiron1545:pvr:rvnDellInc.:rn0G848F:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: Inspiron 1545
dmi.sys.vendor: Dell Inc.
version.compiz: compiz 1:0.9.6+bzr20110929-0ubuntu6.1
version.ia32-libs: ia32-libs 20090808ubuntu26
version.libdrm2: libdrm2 2.4.26-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 7.11-0ubuntu3.2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.11-0ubuntu3.2
version.xserver-xorg: xserver-xorg 1:7.6+7ubuntu7.1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.6.0-1ubuntu13
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20110811.g93fc084-0ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.15.901-1ubuntu2.1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110411+8378443-1

Revision history for this message
DavidBriscoe (idbrii) wrote :
Revision history for this message
dino99 (9d9) wrote :

That version has reached EOL since a while, so it will not receive update. If that issue still exist, report again using ubuntu-bug.

Changed in compiz (Ubuntu):
status: New → Invalid
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.