serious dcop deadlock
Charles Samuels
charles at kde.org
Mon Oct 16 07:19:10 BST 2006
I have repeatedly encountered a bug in which kwin would deadlock hard,
rendering the entire machine unstoppable. ctrl-alt-bs, ctrl-alt-f1 would do
nothing.
If I kill kwin and restart it, the restarted one gets stuck in a similar way.
If I kill dcopserver, then all client apps find that dcopserver has exited,
and the session ends, kdm starts up again, and the system goes back to
normal.
the Debian packagers had this brilliant idea of stripping dcopserver, so my
backtrace to that is totally unhelpful, but I'll switch to a debug one and
attempt to reproduce it again (it's totally spurious)
I'd usually avoid sending bug reports to kde-core-devel, but this I think
requires a little attention.
Charles
-------------- next part --------------
GNU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
Attaching to program: /usr/bin/kdeinit, process 12162
Reading symbols from /usr/lib/libkparts.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libkparts.so.2
Reading symbols from /usr/lib/libstdc++.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/tls/i686/cmov/libm.so.6...
(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libm.so.6
Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/tls/i686/cmov/libc.so.6...
(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libc.so.6
Reading symbols from /usr/lib/libkio.so.4...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libkio.so.4
Reading symbols from /usr/lib/libkdecore.so.4...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libkdecore.so.4
Reading symbols from /usr/lib/libqt-mt.so.3...Reading symbols from /usr/lib/debug/usr/lib/libqt-mt.so.3.3.6...done.
done.
Loaded symbols for /usr/lib/libqt-mt.so.3
Reading symbols from /usr/lib/libX11.so.6...Reading symbols from /usr/lib/debug/usr/lib/libX11.so.6.2.0...done.
done.
Loaded symbols for /usr/lib/libX11.so.6
Reading symbols from /usr/lib/libfontconfig.so.1...done.
Loaded symbols for /usr/lib/libfontconfig.so.1
Reading symbols from /usr/lib/libXft.so.2...done.
Loaded symbols for /usr/lib/libXft.so.2
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/libkdeui.so.4...done.
Loaded symbols for /usr/lib/libkdeui.so.4
Reading symbols from /usr/lib/libkdesu.so.4...done.
Loaded symbols for /usr/lib/libkdesu.so.4
Reading symbols from /usr/lib/libkwalletclient.so.1...done.
Loaded symbols for /usr/lib/libkwalletclient.so.1
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/lib/libfam.so.0...done.
Loaded symbols for /usr/lib/libfam.so.0
Reading symbols from /lib/libacl.so.1...done.
Loaded symbols for /lib/libacl.so.1
Reading symbols from /lib/libattr.so.1...done.
Loaded symbols for /lib/libattr.so.1
Reading symbols from /usr/lib/libDCOP.so.4...done.
Loaded symbols for /usr/lib/libDCOP.so.4
Reading symbols from /lib/tls/i686/cmov/libdl.so.2...done.
Loaded symbols for /lib/tls/i686/cmov/libdl.so.2
Reading symbols from /usr/lib/libXext.so.6...done.
Loaded symbols for /usr/lib/libXext.so.6
Reading symbols from /lib/tls/i686/cmov/libresolv.so.2...done.
Loaded symbols for /lib/tls/i686/cmov/libresolv.so.2
Reading symbols from /lib/tls/i686/cmov/libutil.so.1...done.
Loaded symbols for /lib/tls/i686/cmov/libutil.so.1
Reading symbols from /usr/lib/libart_lgpl_2.so.2...done.
Loaded symbols for /usr/lib/libart_lgpl_2.so.2
Reading symbols from /usr/lib/libidn.so.11...done.
Loaded symbols for /usr/lib/libidn.so.11
Reading symbols from /usr/lib/libkdefx.so.4...done.
Loaded symbols for /usr/lib/libkdefx.so.4
Reading symbols from /usr/lib/libaudio.so.2...done.
Loaded symbols for /usr/lib/libaudio.so.2
Reading symbols from /usr/lib/libXt.so.6...done.
Loaded symbols for /usr/lib/libXt.so.6
Reading symbols from /usr/lib/libjpeg.so.62...done.
Loaded symbols for /usr/lib/libjpeg.so.62
Reading symbols from /usr/lib/libpng12.so.0...done.
Loaded symbols for /usr/lib/libpng12.so.0
Reading symbols from /usr/lib/libXi.so.6...done.
Loaded symbols for /usr/lib/libXi.so.6
Reading symbols from /usr/lib/libXrender.so.1...done.
Loaded symbols for /usr/lib/libXrender.so.1
Reading symbols from /usr/lib/libXrandr.so.2...done.
Loaded symbols for /usr/lib/libXrandr.so.2
Reading symbols from /usr/lib/libXcursor.so.1...done.
Loaded symbols for /usr/lib/libXcursor.so.1
Reading symbols from /usr/lib/libXinerama.so.1...done.
Loaded symbols for /usr/lib/libXinerama.so.1
Reading symbols from /usr/lib/libfreetype.so.6...done.
Loaded symbols for /usr/lib/libfreetype.so.6
Reading symbols from /usr/lib/libSM.so.6...done.
Loaded symbols for /usr/lib/libSM.so.6
Reading symbols from /usr/lib/libICE.so.6...done.
Loaded symbols for /usr/lib/libICE.so.6
Reading symbols from /lib/tls/i686/cmov/libpthread.so.0...done.
[Thread debugging using libthread_db enabled]
[New Thread -1232312096 (LWP 12162)]
Loaded symbols for /lib/tls/i686/cmov/libpthread.so.0
Reading symbols from /usr/lib/libXau.so.6...done.
Loaded symbols for /usr/lib/libXau.so.6
Reading symbols from /usr/lib/libXdmcp.so.6...done.
Loaded symbols for /usr/lib/libXdmcp.so.6
Reading symbols from /usr/lib/libexpat.so.1...done.
Loaded symbols for /usr/lib/libexpat.so.1
Reading symbols from /usr/lib/libXfixes.so.3...done.
Loaded symbols for /usr/lib/libXfixes.so.3
Reading symbols from /usr/lib/X11/locale/common/xlcDef.so.2...Reading symbols from /usr/lib/debug/usr/lib/X11/locale/common/xlcDef.so.2.0.0...done.
done.
Loaded symbols for /usr/lib/X11/locale/common/xlcDef.so.2
Reading symbols from /usr/lib/X11/locale/common/ximcp.so.2...Reading symbols from /usr/lib/debug/usr/lib/X11/locale/common/ximcp.so.2.0.0...done.
done.
Loaded symbols for /usr/lib/X11/locale/common/ximcp.so.2
Reading symbols from /usr/lib/kde3/kwin.so...done.
Loaded symbols for /usr/lib/kde3/kwin.so
Reading symbols from /usr/lib/libkdeinit_kwin.so...done.
Loaded symbols for /usr/lib/libkdeinit_kwin.so
Reading symbols from /usr/lib/libkdecorations.so.1...done.
Loaded symbols for /usr/lib/libkdecorations.so.1
Reading symbols from /usr/lib/kde3/plugins/styles/plastik.so...done.
Loaded symbols for /usr/lib/kde3/plugins/styles/plastik.so
Reading symbols from /usr/lib/kde3/kwin3_default.so...done.
Loaded symbols for /usr/lib/kde3/kwin3_default.so
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7d5f583 in read () from /lib/tls/i686/cmov/libc.so.6
#2 0xb6b2343e in _kde_IceTransGetConnectionNumber ()
from /usr/lib/libDCOP.so.4
#3 0xb6b230ff in _kde_IceTransRead () from /usr/lib/libDCOP.so.4
#4 0xb6b1cfdf in _kde_IceRead () from /usr/lib/libDCOP.so.4
#5 0xb6b216ef in KDE_IceProcessMessages () from /usr/lib/libDCOP.so.4
#6 0xb6b19f4a in KDE_IceOpenConnection () from /usr/lib/libDCOP.so.4
#7 0xb6b1448e in DCOPClient::attachInternal () from /usr/lib/libDCOP.so.4
#8 0xb6b14cbb in DCOPClient::attach () from /usr/lib/libDCOP.so.4
#9 0xb78d8edd in KCheckAccelerators::eventFilter ()
from /usr/lib/libkdecore.so.4
#10 0xb78d936e in KNotifyClient::event () from /usr/lib/libkdecore.so.4
#11 0xb686754a in KWinInternal::Notify::raise ()
from /usr/lib/libkdeinit_kwin.so
#12 0xb687c00b in KWinInternal::Workspace::setCurrentDesktop ()
from /usr/lib/libkdeinit_kwin.so
#13 0xb6888df7 in KWinInternal::Workspace::init ()
from /usr/lib/libkdeinit_kwin.so
#14 0xb6889bcd in KWinInternal::Workspace::Workspace ()
from /usr/lib/libkdeinit_kwin.so
#15 0xb6889e2c in KWinInternal::Application::Application ()
from /usr/lib/libkdeinit_kwin.so
#16 0xb688a2c3 in kdemain () from /usr/lib/libkdeinit_kwin.so
#17 0xb7f35524 in kdeinitmain () from /usr/lib/kde3/kwin.so
#18 0x0804e9d7 in ?? ()
#19 0x00000001 in ?? ()
#20 0x0806a838 in ?? ()
#21 0x00000001 in ?? ()
#22 0x00000000 in ?? ()
(gdb) q
The program is running. Quit anyway (and detach it)? (y or n)
Please answer y or n.
The program is running. Quit anyway (and detach it)? (y or n) Detaching from program: /usr/bin/kdeinit, process 12162
More information about the kde-core-devel
mailing list