compiz team mailing list archive
-
compiz team
-
Mailing list archive
-
Message #41075
[Bug 773564] Re: compiz occasionally hangs with 100% cpu usage (inotify plugin infinite loop)
I have detected this problem too on Ubuntu 12.04 AMD64.
Here is some information that hopefully someone will find useful.
dpkg-query -S /usr/bin/compiz: compiz-core
dpkg-query -s compiz-core:
Package: compiz-core
Status: install ok installed
Priority: optional
Section: x11
Installed-Size: 1196
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@xxxxxxxxxxxxxxxx>
Architecture: amd64
Source: compiz
Version: 1:0.9.7.8-0ubuntu1.4
...etc...
Using "perf top -azG" I see that compiz is stuck at the following loop:
libinotify.so: InotifyScreen::processEvents()
with annoate at:
(%usage/thread) (offset from image base address??) (actual disassembly)
25.00: 54A0: mov (%rax), rax
00.00: 54A3: cmp %edx, 0x10(%rax)
75.00: 54A6: jne 54A0 <InotifyScreen::processEvents()+0xf0>
I caused compiz to core with kill -SIGABRT ..., and incidentaly, the
same bug was triggered when I tried to respond to apport, which then
crashed because of me killing compiz (again) and starting metacity up,
after coping the original compiz crash file for later anaylsis.
Incase you can't get the info from my coredump from different versions
of compiz, here is some info:
gdb /usr/bin/compiz compiz_core (which I had to extract from the
'apport' freindly crash file)
A dissassembly around the looping code:
0x00007f379d78949c <+236>: nopl 0x0(%rax)
0x00007f379d7894a0 <+240>: mov (%rax),%rax
0x00007f379d7894a3 <+243>: cmp %edx,0x10(%rax)
=> 0x00007f379d7894a6 <+246>: jne 0x7f379d7894a0 <_ZN13InotifyScreen13processEventsEv+240>
0x00007f379d7894a8 <+248>: mov 0xc(%r14),%eax
0x00007f379d7894ac <+252>: mov 0x10(%rdi),%rdx
0x00007f379d7894b0 <+256>: lea 0x10(%r14),%rsi
Registers:
rax 0x1ee1180 32379264
rbx 0x1eec510 32425232
rcx 0x7f37b0e6e9bd 139877167851965
rdx 0x3 3
rsi 0x7fff535766e0 140734591624928
rdi 0x1ec09f0 32246256
rbp 0x80 0x80
rsp 0x7fff535766c0 0x7fff535766c0
r8 0x20 32
r9 0x2920 10528
r10 0x0 0
r11 0x0 0
r12 0x1eec530 32425264
r13 0x0 0
r14 0x7fff535766e0 140734591624928
r15 0x1bdbaa8 29211304
rip 0x7f379d7894a6 0x7f379d7894a6 <InotifyScreen::processEvents()+246>
eflags 0x293 [ CF AF SF IF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x0 0
gs 0x0 0
Hopefuly someone can find this useful.
** Attachment added: "Core dump of compiz at looping code"
https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/773564/+attachment/3398626/+files/compiz_core.gz
--
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/773564
Title:
compiz occasionally hangs with 100% cpu usage (inotify plugin infinite
loop)
To manage notifications about this bug go to:
https://bugs.launchpad.net/compiz/+bug/773564/+subscriptions
References