[Bug 68578] gnome-theme-manager hangs, stops updating UI

Justin Mason jm-ubuntu at jmason.org
Fri Oct 27 10:52:56 UTC 2006


Public bug reported:

I've just dist-upgraded from dapper to edgy.  If I log in and run gnome-
theme-manager, its window appears, populated with the list of installed
themes -- however, it immediately pegs the CPU to 100% and stops
updating the window.

gdb backtrace:

0xb78fad67 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
(gdb) bt
#0  0xb78fad67 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#1  0xb78fb4a5 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#2  0xb78fbb89 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#3  0xb7c5d574 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#4  0x08052384 in main ()
(gdb) thr
[Current thread is 1 (Thread -1225488720 (LWP 5618))]


strace shows it looping in:

5678  read(5, "", 1024)                 = 0
5678  ioctl(3, FIONREAD, [0])           = 0
5678  gettimeofday({1161945967, 531757}, NULL) = 0
5678  poll([{fd=6, events=POLLIN}, {fd=3, events=POLLIN}, {fd=10, events=POLLIN|PO
LLPRI}, {fd=13, events=POLLIN|POLLPRI}, {fd=14, events=POLLIN|POLLPRI}, {fd=15, ev
ents=POLLIN|POLLPRI}, {fd=16, events=POLLIN}, {fd=17, events=POLLIN}, {fd=12, even
ts=POLLIN|POLLPRI}, {fd=5, events=POLLIN, revents=POLLHUP}], 10, 0) = 1
5678  read(5, "", 1024)                 = 0
5678  ioctl(3, FIONREAD, [0])           = 0
5678  gettimeofday({1161945967, 531853}, NULL) = 0
5678  poll([{fd=6, events=POLLIN}, {fd=3, events=POLLIN}, {fd=10, events=POLLIN|PO
LLPRI}, {fd=13, events=POLLIN|POLLPRI}, {fd=14, events=POLLIN|POLLPRI}, {fd=15, ev
ents=POLLIN|POLLPRI}, {fd=16, events=POLLIN}, {fd=17, events=POLLIN}, {fd=12, even
ts=POLLIN|POLLPRI}, {fd=5, events=POLLIN, revents=POLLHUP}], 10, 0) = 1
5678  read(5, "", 1024)                 = 0
5678  ioctl(3, FIONREAD, [0])           = 0
....[etc]

Looking at the strace, it appears the loop is ignoring an EOF from a
subprocess it had forked earlier.  That subprocess has died with a SEGV.
I'll attach the trace.

** Affects: gnome-desktop (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
gnome-theme-manager hangs, stops updating UI
https://launchpad.net/bugs/68578




More information about the desktop-bugs mailing list