compiz freezes randomly when new window is being created

Bug #781521 reported by Michal Voců
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Compiz Core
Fix Released
Undecided
Unassigned
compiz (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: compiz

The compiz hangs several times a day leaving the desktop unusable. All the applications keep running and updating their windows (video is playing), but no user interaction is possible. The mouse pointer moves (but does not change shape), no mouse or keyboard events are propagated. The hang appears when new application is starting before its window is displayed, it might depend on CPU load (evince seems to be the most successful killer). I have to switch to console and SIGKILL compiz process to get back to "normal".

I am using classical desktop, compiz sync to vblank is turned off (turning it on or off has no influence). There are no problems when computer is idle and the display is blanked as in bug#740126. I used Xserver and Mesa packages both from natty and xorg-edgers ppa with the same results. There is also no difference between kernel versions 2.6.38-8 and 2.6.38-9 (have not tried later, though).

This is the stack trace from the hung compiz process:

#0 0x00007ffc1d7e77c4 in __lll_lock_wait () from /lib/x86_64-linux-gnu/libpthread.so.0
#1 0x00007ffc1d7e25b4 in _L_lock_944 () from /lib/x86_64-linux-gnu/libpthread.so.0
#2 0x00007ffc1d7e23ca in pthread_mutex_lock () from /lib/x86_64-linux-gnu/libpthread.so.0
#3 0x00007ffc17641484 in ?? () from /usr/lib/dri/r600_dri.so
#4 0x00007ffc1763ceb6 in ?? () from /usr/lib/dri/r600_dri.so
#5 0x00007ffc1763cf11 in ?? () from /usr/lib/dri/r600_dri.so
#6 0x00007ffc17627cda in ?? () from /usr/lib/dri/r600_dri.so
#7 0x00007ffc1779e164 in ?? () from /usr/lib/dri/r600_dri.so
#8 0x00007ffc176b44bd in ?? () from /usr/lib/dri/r600_dri.so
#9 0x00007ffc176b91a1 in ?? () from /usr/lib/dri/r600_dri.so
#10 0x00007ffc176b946c in ?? () from /usr/lib/dri/r600_dri.so
#11 0x00007ffc176b9ede in ?? () from /usr/lib/dri/r600_dri.so
#12 0x00007ffc18b5df20 in GLTexture::~GLTexture() () from /usr/lib/compiz/libopengl.so
#13 0x00007ffc18b5ee89 in TfpTexture::~TfpTexture() () from /usr/lib/compiz/libopengl.so
#14 0x00007ffc18b5e1a5 in GLTexture::List::~List() () from /usr/lib/compiz/libopengl.so
#15 0x00007ffc1429af98 in DecorScreen::releaseTexture(DecorTexture*) () from /usr/lib/compiz/libdecor.so
#16 0x00007ffc1429c14f in Decoration::release(Decoration*) () from /usr/lib/compiz/libdecor.so
#17 0x00007ffc1429c19c in WindowDecoration::destroy(WindowDecoration*) () from /usr/lib/compiz/libdecor.so
#18 0x00007ffc1429d9a0 in DecorWindow::update(bool) () from /usr/lib/compiz/libdecor.so
#19 0x00007ffc1429f5a0 in DecorScreen::handleEvent(_XEvent*) () from /usr/lib/compiz/libdecor.so
#20 0x000000000044e9a3 in CompScreen::handleEvent(_XEvent*) ()
#21 0x00007ffc13c6b78f in WidgetScreen::handleEvent(_XEvent*) () from /usr/lib/compiz/libwidget.so
#22 0x000000000044e9a3 in CompScreen::handleEvent(_XEvent*) ()
#23 0x00007ffc13a4f396 in ResizeScreen::handleEvent(_XEvent*) () from /usr/lib/compiz/libresize.so
#24 0x000000000044e9a3 in CompScreen::handleEvent(_XEvent*) ()
#25 0x00007ffc11f51cca in CopytexScreen::handleEvent(_XEvent*) () from /usr/lib/compiz/libcopytex.so
#26 0x000000000044e9a3 in CompScreen::handleEvent(_XEvent*) ()
#27 0x00007ffc10c7787a in ExtraWMScreen::handleEvent(_XEvent*) () from /usr/lib/compiz/libextrawm.so
#28 0x000000000044e9a3 in CompScreen::handleEvent(_XEvent*) ()
#29 0x00007ffc10a6a4bf in RegexScreen::handleEvent(_XEvent*) () from /usr/lib/compiz/libregex.so
#30 0x000000000044e9a3 in CompScreen::handleEvent(_XEvent*) ()
#31 0x00007ffc1063780a in ThumbScreen::handleEvent(_XEvent*) () from /usr/lib/compiz/libthumbnail.so
#32 0x000000000044e9a3 in CompScreen::handleEvent(_XEvent*) ()
#33 0x000000000044e9a3 in CompScreen::handleEvent(_XEvent*) ()
#34 0x00007ffc0f44a7bc in MoveScreen::handleEvent(_XEvent*) () from /usr/lib/compiz/libmove.so
#35 0x000000000044e9a3 in CompScreen::handleEvent(_XEvent*) ()
#36 0x00007ffc0f2017ad in GroupScreen::handleEvent(_XEvent*) () from /usr/lib/compiz/libgroup.so
#37 0x000000000044e9a3 in CompScreen::handleEvent(_XEvent*) ()
#38 0x00007ffc0e5889de in WobblyScreen::handleEvent(_XEvent*) () from /usr/lib/compiz/libwobbly.so
#39 0x000000000044e9a3 in CompScreen::handleEvent(_XEvent*) ()
#40 0x00007ffc0e3703c0 in SessionScreen::handleEvent(_XEvent*) () from /usr/lib/compiz/libsession.so
#41 0x000000000044e9a3 in CompScreen::handleEvent(_XEvent*) ()
#42 0x00007ffc0df091ad in WorkaroundsScreen::handleEvent(_XEvent*) () from /usr/lib/compiz/libworkarounds.so
#43 0x000000000044e9a3 in CompScreen::handleEvent(_XEvent*) ()
#44 0x00007ffc0dacb3c7 in PrivateScaleScreen::handleEvent(_XEvent*) () from /usr/lib/compiz/libscale.so
#45 0x000000000044e9a3 in CompScreen::handleEvent(_XEvent*) ()
#46 0x00007ffc0d683d5f in RotateScreen::handleEvent(_XEvent*) () from /usr/lib/compiz/librotate.so
#47 0x000000000044e9a3 in CompScreen::handleEvent(_XEvent*) ()
#48 0x000000000042e59b in PrivateScreen::processEvents() ()
#49 0x0000000000455958 in CompEventSource::callback() ()
#50 0x00007ffc1ea04daf in Glib::Source::dispatch_vfunc(_GSource*, int (*)(void*), void*) () from /usr/lib/libglibmm-2.4.so.1
#51 0x00007ffc1deb3bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#52 0x00007ffc1deb43a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#53 0x00007ffc1deb49f2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#54 0x000000000042a2ea in CompScreen::eventLoop() ()
#55 0x0000000000423160 in main ()

The X process at the moment just waits on select().

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: compiz 1:0.9.4+bzr20110415-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.38-9.43-generic 2.6.38.4
Uname: Linux 2.6.38-9-generic x86_64
Architecture: amd64
CompizPlugins: [core,bailer,detection,composite,opengl,decor,compiztoolbox,widget,resize,annotate,copytex,mousepoll,dbus,text,imgjpeg,obs,imgpng,extrawm,regex,grid,thumbnail,gnomecompat,resizeinfo,imgsvg,place,move,group,shift,animation,ring,wobbly,session,animationaddon,workarounds,cube,scale,expo,rotate]
CompositorRunning: compiz
DRM.card0.DVI.D.1:
 status: connected
 enabled: enabled
 dpms: On
 modes: 1920x1200 1600x1200 1280x1024 1280x1024 1280x960 1152x864 1024x768 1024x768 1024x768 832x624 800x600 800x600 800x600 800x600 640x480 640x480 640x480 640x480 720x400
 edid-base64: AP///////wBMLbYCNDJVSC0RAQOANCCgKlrRp1ZLmyQTUFS/74CpQIGAgUBxTwEBAQEBAQEBKDyAoHCwI0AwIDYABkQhAAAaAAAA/QA4Sx5REQAKICAgICAgAAAA/ABTeW5jTWFzdGVyCiAgAAAA/wBIUzFQQjAwMjgyCiAgAJo=
DRM.card0.LVDS.1:
 status: connected
 enabled: enabled
 dpms: On
 modes: 1680x1050 1400x1050 1280x1024 1440x900 1280x960 1280x854 1280x800 1280x720 1152x768 1024x768 800x600 848x480 720x480 640x480
 edid-base64:
DRM.card0.VGA.1:
 status: disconnected
 enabled: disabled
 dpms: Off
 modes:
 edid-base64:
Date: Thu May 12 09:13:18 2011
DistUpgraded: Log time: 2011-05-02 09:12:36.019370
DistroCodename: natty
DistroVariant: ubuntu
GraphicsCard:
 ATI Technologies Inc Mobility Radeon HD 3400 Series [1002:95c4] (prog-if 00 [VGA controller])
   Subsystem: Acer Incorporated [ALI] Device [1025:0138]
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
InstallationMedia_: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
MachineType: Acer TravelMate 6593
PackageArchitecture: all
PccardctlIdent:
 Socket 0:
   no product info available
 Socket 1:
   product info: "O2Micro", "SmartCardBus Reader", "V1.0", ""
   manfid: 0xffff, 0x0001
PccardctlStatus:
 Socket 0:
   no card
 Socket 1:
   5.0V 16-bit PC Card
   Subdevice 0 (function 0) [unbound]
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-9-generic root=UUID=42face5e-6d34-4155-ad18-d701af6a3ec6 ro splash vt.handoff=7
ProcVersionSignature_: Ubuntu 2.6.38-9.43-generic 2.6.38.4
Renderer: Unknown
SourcePackage: compiz
UpgradeStatus: Upgraded to natty on 2011-05-02 (9 days ago)
dmi.bios.date: 12/23/2008
dmi.bios.vendor: Phoenix Technologies LTD
dmi.bios.version: V1.11
dmi.board.name: FourPeaks
dmi.board.vendor: Acer
dmi.board.version: Rev
dmi.chassis.type: 10
dmi.chassis.vendor: Acer
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvrV1.11:bd12/23/2008:svnAcer:pnTravelMate6593:pvr0100:rvnAcer:rnFourPeaks:rvrRev:cvnAcer:ct10:cvrN/A:
dmi.product.name: TravelMate 6593
dmi.product.version: 0100
dmi.sys.vendor: Acer
version.compiz: compiz 1:0.9.4+bzr20110415-0ubuntu2
version.ia32-libs: ia32-libs 20090808ubuntu13
version.libdrm2: libdrm2 2.4.25+git20110415.ba11501b-0ubuntu0sarvatt
version.libgl1-mesa-dri: libgl1-mesa-dri 7.11.0+git20110502.9cb800a9-0ubuntu0sarvatt
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.11.0+git20110502.9cb800a9-0ubuntu0sarvatt
version.xserver-xorg: xserver-xorg 1:7.6+4ubuntu3
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99+git20110502.8f8bbf62-0ubuntu0sarvatt
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.15.0+git20110420.0944e2d5-0ubuntu0sarvatt
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110323.8378443b-0ubuntu0sarvatt

Revision history for this message
Michal Voců (michal-vocu) wrote :
Revision history for this message
Michal Voců (michal-vocu) wrote :

I just managed to hang compiz by resizing evince window on 2.6.39-1.6 kernel.

Revision history for this message
jhfhlkjlj (fdsuufijjejejejej-deactivatedaccount) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner. There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. Compiz, in particular, is in heavy development and this bug may have been fixed in the development version of Ubuntu (12.04) if not on your current version. If you are able, it would be of great help if you could confirm if the bug still exists by testing a livecd (available at ubuntu.com). When you test it and it is still an issue, kindly upload the updated logs by running apport-collect <bug #> and any other logs that are relevant for this particular issue. If you are unable to test the development version, please let us know if you are able to reproduce this issue on Ubuntu 11.10.

Thank you for your help and patience.

Changed in compiz (Ubuntu):
status: New → Incomplete
Changed in compiz-core:
status: New → Incomplete
Revision history for this message
Michal Voců (michal-vocu) wrote :

I do not see this problem on current 12.04 pre-release. It seems it had been fixed somewhere on the way within newer kernel/mesa/xorg/compiz versions. I suspect it was related to some animation plugin within compiz.

Revision history for this message
jhfhlkjlj (fdsuufijjejejejej-deactivatedaccount) wrote :

This bug report is being closed due to your last comment regarding this being fixed with an update. For future reference you can manage the status of your own bugs by clicking on the current status in the yellow line and then choosing a new status in the revealed drop down box. You can learn more about bug statuses at https://wiki.ubuntu.com/Bugs/Status. Thank you again for taking the time to report this bug and helping to make Ubuntu better. Please submit any future bugs you may find.

Changed in compiz-core:
status: Incomplete → Fix Released
Changed in compiz (Ubuntu):
status: Incomplete → Fix Released
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.