Bug 181382 - kded crashes on startup (?network manager)
Summary: kded crashes on startup (?network manager)
Status: RESOLVED FIXED
Alias: None
Product: solid
Classification: Frameworks and Libraries
Component: powermanagement-daemon (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Dario Freddi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-20 10:59 UTC by David Mills
Modified: 2010-10-02 13:06 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
kded startup crash backtrace (5.38 KB, text/plain)
2009-01-20 10:59 UTC, David Mills
Details
plasma crash backtrace (13.66 KB, text/plain)
2009-01-20 11:00 UTC, David Mills
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Mills 2009-01-20 10:59:07 UTC
Version:           SVN HEAD (as of 18/01/2009) (using Devel)
Compiler:          gcc 4.3.2 
OS:                Linux
Installed from:    Compiled sources

On system startup, KDED crashes after having frozen the system for a few seconds.

After this crash, kded seems to come back to life (it appears in ps ax)

Also, I think this might be related, but trying to deploy the network manager plasmoid crashes plasma.

I've included backtraces of both crashes
Comment 1 David Mills 2009-01-20 10:59:46 UTC
Created attachment 30449 [details]
kded startup crash backtrace
Comment 2 David Mills 2009-01-20 11:00:11 UTC
Created attachment 30450 [details]
plasma crash backtrace
Comment 3 Will Stephenson 2009-01-20 11:18:32 UTC
Re #1 - does this always happen? 

Can you confirm that NetworkManager is running at this point?  What does 
qdbus --system org.freedesktop.NetworkManager
return?
Comment 4 David Mills 2009-01-20 12:37:29 UTC
It returns this:

[david@david-laptop:~]$ qdbus --system org.freedesktop.NetworkManager                               (01-20 12:34)
/
/org
/org/freedesktop
/org/freedesktop/Hal
/org/freedesktop/Hal/devices
/org/freedesktop/Hal/devices/net_00_15_c5_65_0d_c5
/org/freedesktop/Hal/devices/net_00_18_de_8b_46_b7
/org/freedesktop/NetworkManager
/org/freedesktop/NetworkManager/AccessPoint
/org/freedesktop/NetworkManager/AccessPoint/0
/org/freedesktop/NetworkManager/AccessPoint/1
/org/freedesktop/NetworkManager/AccessPoint/21
/org/freedesktop/NetworkManager/AccessPoint/43
/org/freedesktop/NetworkManager/AccessPoint/56
/org/freedesktop/NetworkManager/AccessPoint/72
/org/freedesktop/NetworkManager/ActiveConnection
/org/freedesktop/NetworkManager/ActiveConnection/0
/org/freedesktop/NetworkManager/DHCP4Config
/org/freedesktop/NetworkManager/DHCP4Config/0
/org/freedesktop/NetworkManager/IP4Config
/org/freedesktop/NetworkManager/IP4Config/1


Note: it may be related, but when I ran this NM kicked me off the network and I had to wait for it to re-negotiate with the wifi-router
Comment 5 David Mills 2009-01-20 12:38:34 UTC
Just to add, I'm currently using nm-applet (ie the gnome applet) to connect. I don't know if this changes anything.
Comment 6 Dario Andres 2009-01-20 13:26:33 UTC
Pasted backtrace from comment 1:

Application: KDE Daemon (kded4), signal SIGSEGV

Thread 1 (Thread 0xb64086c0 (LWP 9339)):
[KCrash Handler]
#6  QDBusAbstractInterface::callWithArgumentList (this=0xf0, mode=QDBus::AutoDetect, method=@0xbfdcd878, args=@0xbfdcd768)
    at /home/david/Documents/SVN/kde/kdesvn/qt-copy/src/dbus/qdbusabstractinterface.h:121
#7  0xb77a4db1 in QDBusAbstractInterface::call (this=0xf0, mode=QDBus::AutoDetect, method=@0xbfdcd878, arg1=@0xbfdcd868, arg2=@0xbfdcd85c, arg3=@0xbfdcd850, arg4=@0xbfdcd844, arg5=@0xbfdcd838, 
    arg6=@0xbfdcd82c, arg7=@0xbfdcd820, arg8=@0xbfdcd814) at /home/david/Documents/SVN/kde/kdesvn/qt-copy/src/dbus/qdbusabstractinterface.cpp:630
#8  0xb77a54bc in QDBusAbstractInterface::call (this=0xf0, method=@0xbfdcd878, arg1=@0xbfdcd868, arg2=@0xbfdcd85c, arg3=@0xbfdcd850, arg4=@0xbfdcd844, arg5=@0xbfdcd838, arg6=@0xbfdcd82c, 
    arg7=@0xbfdcd820, arg8=@0xbfdcd814) at /home/david/Documents/SVN/kde/kdesvn/qt-copy/src/dbus/qdbusabstractinterface.cpp:572
#9  0xb4ca73a2 in NMNetworkManager::setNetworkingEnabled () from /home/david/Documents/SVN/kde/kde/lib/kde4/solid_networkmanager.so
#10 0xb4cd5762 in Solid::Control::NetworkManager::activeConnections () from /home/david/Documents/SVN/kde/kde/lib/libsolidcontrol.so.4
#11 0xb47c58e1 in NetworkSettings::NetworkSettings () from /home/david/Documents/SVN/kde/kde/lib/kde4/kded_knetworkmanager.so
#12 0xb47b9423 in KNetworkManagerService::KNetworkManagerService () from /home/david/Documents/SVN/kde/kde/lib/kde4/kded_knetworkmanager.so
#13 0xb47b9f58 in KPluginFactory::createInstance<KNetworkManagerService, QObject> () from /home/david/Documents/SVN/kde/kde/lib/kde4/kded_knetworkmanager.so
#14 0xb799ccff in KPluginFactory::create () from /home/david/Documents/SVN/kde/kde/lib/libkdecore.so.5
#15 0xb7faed9c in Kded::loadModule () from /home/david/Documents/SVN/kde/kde/lib/libkdeinit4_kded4.so
#16 0xb7fb066a in Kded::loadSecondPhase () from /home/david/Documents/SVN/kde/kde/lib/libkdeinit4_kded4.so
#17 0xb7fb37c0 in KdedAdaptor::qt_metacall () from /home/david/Documents/SVN/kde/kde/lib/libkdeinit4_kded4.so
#18 0xb77971ec in QDBusConnectionPrivate::deliverCall (this=0x8060df0, object=0x805de78, msg=@0x80b6310, metaTypes=@0xbfdcdec8, slotIdx=10)
    at /home/david/Documents/SVN/kde/kdesvn/qt-copy/src/dbus/qdbusintegrator.cpp:849
#19 0xb7798361 in QDBusConnectionPrivate::activateCall (this=0x8060df0, object=0x805de78, flags=273, msg=@0x80b6310) at /home/david/Documents/SVN/kde/kdesvn/qt-copy/src/dbus/qdbusintegrator.cpp:754
#20 0xb7798746 in QDBusConnectionPrivate::activateObject (this=0x8060df0, node=@0x80b62fc, msg=@0x80b6310, pathStartPos=5)
    at /home/david/Documents/SVN/kde/kdesvn/qt-copy/src/dbus/qdbusintegrator.cpp:1306
#21 0xb7798bca in QDBusActivateObjectEvent::placeMetaCall (this=0x80b62d0) at /home/david/Documents/SVN/kde/kdesvn/qt-copy/src/dbus/qdbusintegrator.cpp:1400
#22 0xb76e7791 in QObject::event (this=0x805dc68, e=0x80b62d0) at /home/david/Documents/SVN/kde/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:1152
#23 0xb6dde76c in QApplicationPrivate::notify_helper (this=0x805e5b0, receiver=0x805dc68, e=0x80b62d0) at /home/david/Documents/SVN/kde/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3803
#24 0xb6de584e in QApplication::notify (this=0xbfdce6bc, receiver=0x805dc68, e=0x80b62d0) at /home/david/Documents/SVN/kde/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3393
#25 0xb7baf8ed in KApplication::notify () from /home/david/Documents/SVN/kde/kde/lib/libkdeui.so.5
#26 0xb76d9381 in QCoreApplication::notifyInternal (this=0xbfdce6bc, receiver=0x805dc68, event=0x80b62d0) at /home/david/Documents/SVN/kde/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:583
#27 0xb76d9cd3 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x804c0e0) at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:209
#28 0xb76d9e6d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /home/david/Documents/SVN/kde/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1091
#29 0xb76fffbf in postEventSourceDispatch (s=0x8062aa8) at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:214
#30 0xb66ce6f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#31 0xb66d1da3 in ?? () from /usr/lib/libglib-2.0.so.0
#32 0xb66d1f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#33 0xb76ffc18 in QEventDispatcherGlib::processEvents (this=0x8060b58, flags={i = -1076042392}) at /home/david/Documents/SVN/kde/kdesvn/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:319
#34 0xb6e69425 in QGuiEventDispatcherGlib::processEvents (this=0x8060b58, flags={i = -1076042344}) at /home/david/Documents/SVN/kde/kdesvn/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:198
#35 0xb76d7aea in QEventLoop::processEvents (this=0xbfdce600, flags={i = -1076042280}) at /home/david/Documents/SVN/kde/kdesvn/qt-copy/src/corelib/kernel/qeventloop.cpp:143
#36 0xb76d7caa in QEventLoop::exec (this=0xbfdce600, flags={i = -1076042232}) at /home/david/Documents/SVN/kde/kdesvn/qt-copy/src/corelib/kernel/qeventloop.cpp:190
#37 0xb76d9f2d in QCoreApplication::exec () at /home/david/Documents/SVN/kde/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:845
#38 0xb6dde5e7 in QApplication::exec () at /home/david/Documents/SVN/kde/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3331
#39 0xb7fb1988 in kdemain () from /home/david/Documents/SVN/kde/kde/lib/libkdeinit4_kded4.so
#40 0x08048722 in main ()

Comment 7 Dario Andres 2009-01-20 13:27:48 UTC
BTW, the Plasma crash is completely unrelated, and it's caused by a binary incompatibility between libplasma and some plasmoid. Please update (or recompile) all your plasmoids to get rid of that issue
Comment 8 David Mills 2009-02-05 10:22:04 UTC
The crash disappeared after updating to svn head last night.

Thank you all for your time 

David