Bug#550579: [metacity] Consumes 100% CPU after xserver crash

Jakob Lell jakob at cs.tu-berlin.de
Sun Oct 11 10:40:05 UTC 2009


Package: metacity
Version: 1:2.28.0-1
Severity: normal

--- Please enter the report below this line. ---

I just had a xserver crash. The display blanked and some time later I 
got a new gdm login screen. After this event I notices that the cpu 
utilisation was at 100% and that this was caused by a metacity process. 
The command "ps aux|grep metacity" showed that I had two metacity 
processes running. The problematic one had been started the day before, 
so it didn't terminate when the xserver crashed. It is now in an endless 
loop consuming 100% cpu.

I've attached this process using gdb and interrupted the program 
execution several times to print a stack trace. Here are the stack 
traces I got (the first one is by far the most frequent one):

#0  0xb77abff0 in _XReadEvents () from /usr/lib/libX11.so.6
#1  0xb77a2266 in XWindowEvent () from /usr/lib/libX11.so.6
#2  0x08062dcf in ?? ()
#3  0x08062e32 in ?? ()
#4  0x08062f36 in ?? ()
#5  0x0808cb6d in ?? ()
#6  0x0808b1e1 in ?? ()
#7  0x0806260e in ?? ()
#8  0x08078600 in ?? ()
#9  0x08062096 in ?? ()
#10 0x08071717 in ?? ()
#11 0x0807232b in ?? ()
#12 <signal handler called>
#13 0xb74288d3 in ?? () from /lib/i686/cmov/librt.so.1
#14 0xb742c978 in ?? () from /lib/i686/cmov/librt.so.1
#15 0xb7f9f8d3 in ?? () from /lib/ld-linux.so.2
#16 0xb75e8589 in exit () from /lib/i686/cmov/libc.so.6
#17 0x08069e58 in ?? ()
#18 0xb77a42b6 in _XIOError () from /usr/lib/libX11.so.6
#19 0xb77ab711 in ?? () from /usr/lib/libX11.so.6
#20 0xb77ac0d6 in _XEventsQueued () from /usr/lib/libX11.so.6
#21 0xb77950a8 in XPending () from /usr/lib/libX11.so.6
#22 0xb7b4acd9 in gdk_events_pending () from /usr/lib/libgdk-x11-2.0.so.0
#23 0x09827ed0 in ?? ()
#24 0xb78e8c6e in g_main_context_check () from /lib/libglib-2.0.so.0
#25 0xb78e9555 in ?? () from /lib/libglib-2.0.so.0
#26 0xb78e9aea in g_main_loop_run () from /lib/libglib-2.0.so.0
#27 0x08071eb7 in ?? ()
#28 0xb75ce7a5 in __libc_start_main () from /lib/i686/cmov/libc.so.6
#29 0x080541f1 in ?? ()


#0  0xb77a2199 in XWindowEvent () from /usr/lib/libX11.so.6
#1  0x08062dcf in ?? ()
#2  0x08062e32 in ?? ()
#3  0x08062f36 in ?? ()
#4  0x0808cb6d in ?? ()
#5  0x0808b1e1 in ?? ()
#6  0x0806260e in ?? ()
#7  0x08078600 in ?? ()
#8  0x08062096 in ?? ()
#9  0x08071717 in ?? ()
#10 0x0807232b in ?? ()
#11 <signal handler called>
#12 0xb74288d3 in ?? () from /lib/i686/cmov/librt.so.1
#13 0xb742c978 in ?? () from /lib/i686/cmov/librt.so.1
#14 0xb7f9f8d3 in ?? () from /lib/ld-linux.so.2
#15 0xb75e8589 in exit () from /lib/i686/cmov/libc.so.6
#16 0x08069e58 in ?? ()
#17 0xb77a42b6 in _XIOError () from /usr/lib/libX11.so.6
#18 0xb77ab711 in ?? () from /usr/lib/libX11.so.6
#19 0xb77ac0d6 in _XEventsQueued () from /usr/lib/libX11.so.6
#20 0xb77950a8 in XPending () from /usr/lib/libX11.so.6
#21 0xb7b4acd9 in gdk_events_pending () from /usr/lib/libgdk-x11-2.0.so.0
#22 0x09827ed0 in ?? ()
#23 0xb78e8c6e in g_main_context_check () from /lib/libglib-2.0.so.0
#24 0xb78e9555 in ?? () from /lib/libglib-2.0.so.0
#25 0xb78e9aea in g_main_loop_run () from /lib/libglib-2.0.so.0
#26 0x08071eb7 in ?? ()
#27 0xb75ce7a5 in __libc_start_main () from /lib/i686/cmov/libc.so.6
#28 0x080541f1 in ?? ()


#0  0xb777db28 in _XReadEvents at plt () from /usr/lib/libX11.so.6
#1  0xb77a2266 in XWindowEvent () from /usr/lib/libX11.so.6
#2  0x08062dcf in ?? ()
#3  0x08062e32 in ?? ()
#4  0x08062f36 in ?? ()
#5  0x0808cb6d in ?? ()
#6  0x0808b1e1 in ?? ()
#7  0x0806260e in ?? ()
#8  0x08078600 in ?? ()
#9  0x08062096 in ?? ()
#10 0x08071717 in ?? ()
#11 0x0807232b in ?? ()
#12 <signal handler called>
#13 0xb74288d3 in ?? () from /lib/i686/cmov/librt.so.1
#14 0xb742c978 in ?? () from /lib/i686/cmov/librt.so.1
#15 0xb7f9f8d3 in ?? () from /lib/ld-linux.so.2
#16 0xb75e8589 in exit () from /lib/i686/cmov/libc.so.6
#17 0x08069e58 in ?? ()
#18 0xb77a42b6 in _XIOError () from /usr/lib/libX11.so.6
#19 0xb77ab711 in ?? () from /usr/lib/libX11.so.6
#20 0xb77ac0d6 in _XEventsQueued () from /usr/lib/libX11.so.6
#21 0xb77950a8 in XPending () from /usr/lib/libX11.so.6
#22 0xb7b4acd9 in gdk_events_pending () from /usr/lib/libgdk-x11-2.0.so.0
#23 0x09827ed0 in ?? ()
#24 0xb78e8c6e in g_main_context_check () from /lib/libglib-2.0.so.0
#25 0xb78e9555 in ?? () from /lib/libglib-2.0.so.0
#26 0xb78e9aea in g_main_loop_run () from /lib/libglib-2.0.so.0
#27 0x08071eb7 in ?? ()
#28 0xb75ce7a5 in __libc_start_main () from /lib/i686/cmov/libc.so.6
#29 0x080541f1 in ?? ()


The process is still running, so there might be a chance for further 
debugging if you contact me in the next few days.

--- System information. ---
Architecture: i386
Kernel: Linux 2.6.30-2-686

Debian Release: squeeze/sid
500 unstable www.debian-multimedia.org
500 unstable ftp.fu-berlin.de
500 testing ftp.fu-berlin.de
500 stable ftp.fu-berlin.de

--- Package information. ---
Depends (Version) | Installed
==========================================-+-==============
libatk1.0-0 (>= 1.20.0) | 1.28.0-1
libc6 (>= 2.3.6-6~) | 2.9-27
libcairo2 (>= 1.2.4) | 1.8.8-2
libcanberra-gtk0 (>= 0.2) | 0.18
libcanberra0 (>= 0.2) | 0.18
libgconf2-4 (>= 2.23.2) | 2.26.2-3
libglib2.0-0 (>= 2.16.0) | 2.22.2-2
libgtk2.0-0 (>= 2.18.0) | 2.18.2-1
libgtop2-7 (>= 2.23.2) | 2.28.0-1
libice6 (>= 1:1.0.0) | 2:1.0.5-1
libmetacity-private0 (>= 1:2.26.0) | 1:2.28.0-1
libpango1.0-0 (>= 1.14.0) | 1.26.0-1
libsm6 | 2:1.1.1-1
libstartup-notification0 (>= 0.10) | 0.10-1
libx11-6 | 2:1.2.2-1
libxcomposite1 (>= 1:0.3-1) | 1:0.4.0-4
libxcursor1 (>> 1.1.2) | 1:1.1.9-1
libxdamage1 (>= 1:1.1) | 1:1.1.1-4
libxext6 | 2:1.0.4-1
libxfixes3 (>= 1:4.0.1) | 1:4.0.3-2
libxinerama1 | 2:1.0.3-2
libxrandr2 | 2:1.3.0-2
libxrender1 | 1:0.9.4-2
metacity-common (>= 1:2.28) | 1:2.28.0-1
metacity-common (<< 1:2.29) | 1:2.28.0-1
zenity | 2.28.0-1


Recommends (Version) | Installed
================================-+-===========
gnome-session | 2.26.2-1
OR x-session-manager |


Suggests (Version) | Installed
=====================================-+-=============
gnome-control-center (>= 1:2.5.4) | 1:2.26.0-1
gnome-themes | 2.28.0-1
xdg-user-dirs | 0.10-1









More information about the pkg-gnome-maintainers mailing list