Bug#576617: libgconf2-4: gconfd-2 enters infinite loop,preventing other apps from starting forever

Helge Hafting helge at broadpark.no
Mon Apr 12 20:00:05 UTC 2010


To rule out user account oddities, I created a new account for
these tests. I can give ssh access if that helps.

> What is file descriptor #15 ? (You can look at which open or pipe system
> call returns 15 earlier in the strace.)

Seems to be a socket for X11. strace gcalctool:
[...]
socket(PF_FILE, SOCK_STREAM, 0)         = 15
connect(15, {sa_family=AF_FILE, path=@"/tmp/.X11-unix/X0"}, 20) = 0
getpeername(15, {sa_family=AF_FILE, path=@"/tmp/.X11-unix/X0"}, [20]) = 0
uname({sys="Linux", node="tenkende-august.homelinux.net", ...}) = 0

> It would also be interesting to obtain a GDB backtrace of what is
> happening at that moment.

No -dbg package for gcalctool, but there is one for iceweasel.

Invoked like this:
iceweasel --debugger
(gdb) run

After a little while a blank window labeled "Import Wizard" comes up.
(First invocation of iceweasel for this user, so it was probably going to
offer to import bookmarks etc. But the window stays blank.)

These two processes grab 100% cpu each:
 xulrunner-stub gconfd-2  

So I hit ctrl+c and gets the backtrace:

testulf at tenkende-august:~$ iceweasel --debugger
GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/lib/iceweasel/firefox-bin...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/lib/iceweasel/firefox-bin 
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffebbff910 (LWP 8403)]
[New Thread 0x7fffeb1ff910 (LWP 8404)]
[Thread 0x7fffeb1ff910 (LWP 8404) exited]
[Thread 0x7fffebbff910 (LWP 8403) exited]
Executing new program: /usr/lib/xulrunner-1.9.1/xulrunner-stub
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffeb9ff910 (LWP 8405)]
[New Thread 0x7fffeafff910 (LWP 8406)]
[New Thread 0x7fffea7fe910 (LWP 8407)]
[New Thread 0x7fffe7f45910 (LWP 8410)]
^C
Program received signal SIGINT, Interrupt.
0x00007ffff76bb1ee in __pthread_mutex_unlock_usercnt ()
   from /lib/libpthread.so.0
(gdb) bt
#0  0x00007ffff76bb1ee in __pthread_mutex_unlock_usercnt ()
   from /lib/libpthread.so.0
#1  0x00007ffff278fecb in g_main_context_default () from /lib/libglib-2.0.so.0
#2  0x00007ffff2792bb5 in g_main_context_iteration ()
   from /lib/libglib-2.0.so.0
#3  0x00007ffff647014b in nsBaseAppShell::DoProcessNextNativeEvent (
    this=0x7ffff2a18428, mayWait=0) at nsBaseAppShell.cpp:151
#4  0x00007ffff64702a9 in nsBaseAppShell::OnProcessNextEvent (
    this=0x7fffe963f0a0, thr=0x7ffff6d08bc0, mayWait=1, 
    recursionDepth=<value optimized out>) at nsBaseAppShell.cpp:296
#5  0x00007ffff65166cd in nsThread::ProcessNextEvent (this=0x7ffff6d08bc0, 
    mayWait=1, result=0x7fffffff960c) at nsThread.cpp:508
#6  0x00007ffff64ec9a1 in NS_ProcessNextEvent_P (thread=0x7ffff2a18428, 
    mayWait=0) at nsThreadUtils.cpp:250
#7  0x00007ffff6335620 in nsXULWindow::ShowModal (this=0x7fffe95255b0)
    at nsXULWindow.cpp:415
#8  0x00007ffff63106c1 in nsWindowWatcher::OpenWindowJSInternal (
    this=<value optimized out>, aParent=0x0, aUrl=<value optimized out>, 
    aName=<value optimized out>, aFeatures=<value optimized out>, 
    aDialog=<value optimized out>, argv=0x7fffe96d53a0, aCalledFromJS=0, 
    _retval=0x7fffffff9c60) at nsWindowWatcher.cpp:1004
#9  0x00007ffff6310c2a in nsWindowWatcher::OpenWindow (this=0x7fffe968c1f0, 
    aParent=0x0, 
    aUrl=0x7fffe8ff34b1 "chrome://browser/content/migration/migration.xul", 
    aName=0x7fffe8ff34aa "_blank", 
    aFeatures=0x7fffe8ff3480 "chrome,dialog,modal,centerscreen,titlebar", 
    aArguments=<value optimized out>, _retval=0x7fffffff9c60)
    at nsWindowWatcher.cpp:423
#10 0x00007fffe8fdcbb1 in nsProfileMigrator::Migrate (
    this=<value optimized out>, aStartup=0x7fffffff9f88)
    at nsProfileMigrator.cpp:144
#11 0x00007ffff5d3c813 in XRE_main (argc=<value optimized out>, 
    argv=<value optimized out>, aAppData=<value optimized out>)
    at nsAppRunner.cpp:3177
#12 0x00000000004024df in main (argc=1, argv=0x7fffffffe608)
    at nsXULStub.cpp:493
(gdb) cont
Continuing.
[Thread 0x7fffe7f45910 (LWP 8410) exited]
^C
Program received signal SIGINT, Interrupt.
0x00007ffff741d743 in poll () from /lib/libc.so.6
(gdb) bt
#0  0x00007ffff741d743 in poll () from /lib/libc.so.6
#1  0x00007ffff2792859 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007ffff2792b3c in g_main_context_iteration ()
   from /lib/libglib-2.0.so.0
#3  0x00007ffff647014b in nsBaseAppShell::DoProcessNextNativeEvent (
    this=0x7fffe8879380, mayWait=8) at nsBaseAppShell.cpp:151
#4  0x00007ffff64702a9 in nsBaseAppShell::OnProcessNextEvent (
    this=0x7fffe963f0a0, thr=0x7ffff6d08bc0, mayWait=1, 
    recursionDepth=<value optimized out>) at nsBaseAppShell.cpp:296
#5  0x00007ffff65166cd in nsThread::ProcessNextEvent (this=0x7ffff6d08bc0, 
    mayWait=1, result=0x7fffffff960c) at nsThread.cpp:508
#6  0x00007ffff64ec9a1 in NS_ProcessNextEvent_P (thread=0x7fffe8879380, 
    mayWait=8) at nsThreadUtils.cpp:250
#7  0x00007ffff6335620 in nsXULWindow::ShowModal (this=0x7fffe95255b0)
    at nsXULWindow.cpp:415
#8  0x00007ffff63106c1 in nsWindowWatcher::OpenWindowJSInternal (
    this=<value optimized out>, aParent=0x0, aUrl=<value optimized out>, 
    aName=<value optimized out>, aFeatures=<value optimized out>, 
    aDialog=<value optimized out>, argv=0x7fffe96d53a0, aCalledFromJS=0, 
    _retval=0x7fffffff9c60) at nsWindowWatcher.cpp:1004
#9  0x00007ffff6310c2a in nsWindowWatcher::OpenWindow (this=0x7fffe968c1f0, 
    aParent=0x0, 
    aUrl=0x7fffe8ff34b1 "chrome://browser/content/migration/migration.xul", 
    aName=0x7fffe8ff34aa "_blank", 
    aFeatures=0x7fffe8ff3480 "chrome,dialog,modal,centerscreen,titlebar", 
    aArguments=<value optimized out>, _retval=0x7fffffff9c60)
    at nsWindowWatcher.cpp:423
#10 0x00007fffe8fdcbb1 in nsProfileMigrator::Migrate (
    this=<value optimized out>, aStartup=0x7fffffff9f88)
    at nsProfileMigrator.cpp:144
#11 0x00007ffff5d3c813 in XRE_main (argc=<value optimized out>, 
    argv=<value optimized out>, aAppData=<value optimized out>)
    at nsAppRunner.cpp:3177
#12 0x00000000004024df in main (argc=1, argv=0x7fffffffe608)
    at nsXULStub.cpp:493
(gdb) quit







More information about the pkg-gnome-maintainers mailing list