Bug 250541

Summary: NetworkManager crashed after /etc/init.d/network restart
Product: knetworkmanager Reporter: Raphael Leplae <raphael>
Component: generalAssignee: Will Stephenson <wstephenson>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Raphael Leplae 2010-09-08 11:17:29 UTC
Application: knetworkmanager (v0.9)
KDE Platform Version: 4.4.4 (KDE 4.4.4) "release 2"
Qt Version: 4.6.3
Operating System: Linux 2.6.34-12-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
Although the bug was previously reported, here is one additional info that might not have been submitted before:
My laptop (Dell latitude E6510 running openSuse 11.3) was in 'sleep' mode and, at some point (couldn't see since I was travelling), it did a full shutdown (battery was low). After booting the machine, I couldn't connect to the network through cable connection, NetworkManager was not detecting the connection after plugging the network cable (I didn't check - yet - /var/log/messages). I activated the wifi through the "kill-switch" of the laptop and wifi was activated on NetworkManager and I could connect to a wireless network. Then I restarted the network (/etc/init.d/network restart) that caused the crash of NetworkManager.

Hope this can help to fix the problem.

Raphael


 -- Backtrace:
Application: KNetworkManager (knetworkmanager), signal: Segmentation fault
[KCrash Handler]
#5  0x0000000000cd1b90 in ?? ()
#6  0x00007f6f778e37a9 in QMetaObject::cast (this=0x62a060, obj=0x8b3a00) at kernel/qmetaobject.cpp:266
#7  0x00007f6f78310a8a in qobject_cast<Knm::InterfaceConnection const*> (first=0x8b3a00, second=0xa3bc40) at /usr/include/QtCore/qobject.h:468
#8  activatableLessThan (first=0x8b3a00, second=0xa3bc40) at /usr/src/debug/networkmanagement/libs/service/sortedactivatablelist.cpp:183
#9  0x00007f6f7831155a in QAlgorithmsPrivate::qSortHelper<QList<Knm::Activatable*>::iterator, Knm::Activatable*, bool (*)(Knm::Activatable const*, Knm::Activatable const*)> (start=..., end=..., t=
    @0xbc11e8, lessThan=0x7f6f78310a20 <activatableLessThan(Knm::Activatable const*, Knm::Activatable const*)>) at /usr/include/QtCore/qalgorithms.h:356
#10 0x00007f6f78311307 in qSort<QList<Knm::Activatable*>::iterator, bool (*)(Knm::Activatable const*, Knm::Activatable const*)> (this=0x8180d0, activatable=0xb92220)
    at /usr/include/QtCore/qalgorithms.h:187
#11 SortedActivatableList::handleAdd (this=0x8180d0, activatable=0xb92220) at /usr/src/debug/networkmanagement/libs/service/sortedactivatablelist.cpp:96
#12 0x00007f6f78301f53 in ActivatableList::notifyOnAddActivatable (this=<value optimized out>, activatable=0xb92220) at /usr/src/debug/networkmanagement/libs/service/activatablelist.cpp:99
#13 0x00007f6f7830585e in WirelessNetworkInterfaceActivatableProvider::handleAdd (this=<value optimized out>, addedConnection=<value optimized out>)
    at /usr/src/debug/networkmanagement/libs/service/wirelessnetworkinterfaceactivatableprovider.cpp:143
#14 0x00007f6f7830345d in NetworkInterfaceActivatableProvider::init (this=0xa6ff20) at /usr/src/debug/networkmanagement/libs/service/networkinterfaceactivatableprovider.cpp:64
#15 0x00007f6f7830299d in NetworkInterfaceMonitor::networkInterfaceAdded (this=<value optimized out>, uni=...) at /usr/src/debug/networkmanagement/libs/service/networkinterfacemonitor.cpp:79
#16 0x00007f6f782fdfbd in NetworkInterfaceMonitor::qt_metacall (this=0x839970, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff130ab1b0)
    at /usr/src/debug/networkmanagement/build/libs/service/moc_networkinterfacemonitor.cpp:75
#17 0x00007f6f778f1a1f in QMetaObject::activate (sender=0x816dc0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff130ab1b0) at kernel/qobject.cpp:3295
#18 0x00007f6f77e84945 in Solid::Control::NetworkManager::Notifier::networkInterfaceAdded (this=<value optimized out>, _t1=<value optimized out>)
    at /usr/src/debug/kdebase-workspace-4.4.4/build/libs/solid/control/networkmanager.moc:107
#19 0x00007f6f77e84f17 in Solid::Control::NetworkManagerPrivate::qt_metacall (this=0x816dc0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff130ab2d0)
    at /usr/src/debug/kdebase-workspace-4.4.4/build/libs/solid/control/networkmanager_p.moc:81
#20 0x00007f6f778f1a1f in QMetaObject::activate (sender=0x812720, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff130ab2d0) at kernel/qobject.cpp:3295
#21 0x00007f6f6a5b3375 in NMNetworkManager::networkInterfaceAdded (this=<value optimized out>, _t1=<value optimized out>)
    at /usr/src/debug/kdebase-workspace-4.4.4/build/solid/networkmanager-0.7/manager.moc:134
#22 0x00007f6f6a5b7bea in NMNetworkManager::deviceAdded (this=0x812720, objpath=...) at /usr/src/debug/kdebase-workspace-4.4.4/solid/networkmanager-0.7/manager.cpp:199
#23 0x00007f6f6a5c17c9 in NMNetworkManager::qt_metacall (this=0x812720, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff130ab490)
    at /usr/src/debug/kdebase-workspace-4.4.4/build/solid/networkmanager-0.7/manager.moc:111
#24 0x00007f6f778f1a1f in QMetaObject::activate (sender=0x829f90, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff130ab490) at kernel/qobject.cpp:3295
#25 0x00007f6f6a5b4382 in OrgFreedesktopNetworkManagerInterface::DeviceAdded (this=<value optimized out>, _t1=<value optimized out>)
    at /usr/src/debug/kdebase-workspace-4.4.4/build/solid/networkmanager-0.7/nm-manager-clientinterface.moc:155
#26 0x00007f6f6a5bbb94 in OrgFreedesktopNetworkManagerInterface::qt_metacall (this=0x829f90, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff130ab8d0)
    at /usr/src/debug/kdebase-workspace-4.4.4/build/solid/networkmanager-0.7/nm-manager-clientinterface.moc:102
#27 0x00007f6f77c15188 in QDBusConnectionPrivate::deliverCall (this=0x80dfb0, object=0x829f90, msg=..., metaTypes=..., slotIdx=5) at qdbusintegrator.cpp:904
#28 0x00007f6f77c21ecf in QDBusCallDeliveryEvent::placeMetaCall (this=<value optimized out>, object=<value optimized out>) at qdbusintegrator_p.h:101
#29 0x00007f6f778ef509 in QObject::event (this=0x829f90, e=0xa75480) at kernel/qobject.cpp:1248
#30 0x00007f6f76ccf4d4 in QApplicationPrivate::notify_helper (this=0x665de0, receiver=0x829f90, e=0xa75480) at kernel/qapplication.cpp:4302
#31 0x00007f6f76cd7aca in QApplication::notify (this=<value optimized out>, receiver=0x829f90, e=0xa75480) at kernel/qapplication.cpp:4185
#32 0x00007f6f78bf1c06 in KApplication::notify (this=0x7fff130ac3b0, receiver=0x829f90, event=0xa75480) at /usr/src/debug/kdelibs-4.4.4/kdeui/kernel/kapplication.cpp:302
#33 0x00007f6f778dde4c in QCoreApplication::notifyInternal (this=0x7fff130ac3b0, receiver=0x829f90, event=0xa75480) at kernel/qcoreapplication.cpp:726
#34 0x00007f6f778e15ba in sendEvent (receiver=0x0, event_type=0, data=0x631220) at kernel/qcoreapplication.h:215
#35 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x631220) at kernel/qcoreapplication.cpp:1367
#36 0x00007f6f77906173 in sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#37 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#38 0x00007f6f72da0a93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#39 0x00007f6f72da1270 in ?? () from /usr/lib64/libglib-2.0.so.0
#40 0x00007f6f72da1510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#41 0x00007f6f7790667f in QEventDispatcherGlib::processEvents (this=0x6368b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#42 0x00007f6f76d7014e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x00007f6f778dd292 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#44 0x00007f6f778dd495 in QEventLoop::exec (this=0x7fff130ac300, flags=...) at kernel/qeventloop.cpp:201
#45 0x00007f6f778e188b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#46 0x000000000040e88f in _start ()

This bug may be a duplicate of or related to bug 215918.

Possible duplicates by query: bug 246485, bug 245614, bug 224750, bug 215918.

Reported using DrKonqi
Comment 1 Nicolas L. 2010-09-08 12:03:59 UTC

*** This bug has been marked as a duplicate of bug 215918 ***