Bug 245839

Summary: KNetworkManager crashes with segfault on service restart
Product: knetworkmanager Reporter: Styopa Semenukha <semenukha+kdebugs>
Component: generalAssignee: Will Stephenson <wstephenson>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:

Description Styopa Semenukha 2010-07-26 23:05:51 UTC
Application: knetworkmanager (v0.9)
KDE Platform Version: 4.4.4 (KDE 4.4.4)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-gcc44 x86_64
Distribution: Debian GNU/Linux testing (squeeze)

-- Information about the crash:
Upgraded my system with apt-get dist-upgrade, then some package triggered Network Manager restart which ended in a segfault.

 -- Backtrace:
Application: KNetworkManager (knetworkmanager), signal: Segmentation fault
The current source language is "auto; currently asm".
[KCrash Handler]
#5  QBasicAtomicInt::ref (this=0x9c9540) at /usr/include/qt4/QtCore/qatomic_x86_64.h:121
#6  QString (this=0x9c9540) at /usr/include/qt4/QtCore/qstring.h:715
#7  Knm::Activatable::deviceUni (this=0x9c9540) at ../../../libs/internals/activatable.cpp:51
#8  0x00007f505e5f8ec7 in compareDevices (first=<value optimized out>, second=0x9c9540) at ../../../libs/service/sortedactivatablelist.cpp:263
#9  0x00007f505e5f8fc3 in activatableLessThan (first=0x7fff6db49690, second=0x9c9540) at ../../../libs/service/sortedactivatablelist.cpp:172
#10 0x00007f505e5f921e in qSortHelper<QList<Knm::Activatable*>::iterator, Knm::Activatable*, bool (*)(Knm::Activatable const*, Knm::Activatable const*)> (start=)
    at /usr/include/qt4/QtCore/qalgorithms.h:351
#11 0x00007f505e5f9550 in qSort<QList<Knm::Activatable*>::iterator, bool (*)(Knm::Activatable const*, Knm::Activatable const*)> (this=0x9745c0, activatable=0x9d6b50)
    at /usr/include/qt4/QtCore/qalgorithms.h:187
#12 SortedActivatableList::handleAdd (this=0x9745c0, activatable=0x9d6b50) at ../../../libs/service/sortedactivatablelist.cpp:96
#13 0x00007f505e5e93cb in ActivatableList::notifyOnAddActivatable (this=<value optimized out>, activatable=0x9d6b50) at ../../../libs/service/activatablelist.cpp:99
#14 0x00007f505e5eacd0 in NetworkInterfaceActivatableProvider::maintainActivatableForUnconfigured (this=0x9b2170) at ../../../libs/service/networkinterfaceactivatableprovider.cpp:93
#15 0x00007f505e5eb03f in NetworkInterfaceActivatableProvider::init (this=0x9b2170) at ../../../libs/service/networkinterfaceactivatableprovider.cpp:69
#16 0x00007f505e5ea0c0 in NetworkInterfaceMonitor::networkInterfaceAdded (this=<value optimized out>, uni=...) at ../../../libs/service/networkinterfacemonitor.cpp:79
#17 0x00007f505e5e4acd in NetworkInterfaceMonitor::qt_metacall (this=0x9e41a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6db49a50) at moc_networkinterfacemonitor.cpp:75
#18 0x00007f505c9f9346 in QMetaObject::activate (sender=0x982ad0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x29) at kernel/qobject.cpp:3295
#19 0x00007f505decd435 in Solid::Control::NetworkManager::Notifier::networkInterfaceAdded (this=0x7fff6db49690, _t1=<value optimized out>) at ./networkmanager.moc:107
#20 0x00007f505decdddc in Solid::Control::NetworkManagerPrivate::qt_metacall (this=0x982ad0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6db49b80)
    at ./networkmanager_p.moc:81
#21 0x00007f505c9f9346 in QMetaObject::activate (sender=0x9b31a0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x29) at kernel/qobject.cpp:3295
#22 0x00007f50537ecb95 in NMNetworkManager::networkInterfaceAdded (this=0x7fff6db49690, _t1=<value optimized out>) at ./manager.moc:134
#23 0x00007f50537ed2ba in NMNetworkManager::deviceAdded (this=0x9b31a0, objpath=...) at ../../../solid/networkmanager-0.7/manager.cpp:199
#24 0x00007f50537f1089 in NMNetworkManager::qt_metacall (this=0x9b31a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6db49d60) at ./manager.moc:111
#25 0x00007f505c9f9346 in QMetaObject::activate (sender=0x9b5c50, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x29) at kernel/qobject.cpp:3295
#26 0x00007f50537fa772 in OrgFreedesktopNetworkManagerInterface::DeviceAdded (this=0x7fff6db49690, _t1=<value optimized out>) at ./nm-manager-clientinterface.moc:155
#27 0x00007f50537fab04 in OrgFreedesktopNetworkManagerInterface::qt_metacall (this=0x9b5c50, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6db4a000)
    at ./nm-manager-clientinterface.moc:102
#28 0x00007f505cd24421 in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=..., slotIdx=<value optimized out>)
    at qdbusintegrator.cpp:904
#29 0x00007f505cd2edcf in QDBusCallDeliveryEvent::placeMetaCall (this=0x7fff6db49690, object=0x9c9540) at qdbusintegrator_p.h:101
#30 0x00007f505c9f5e89 in QObject::event (this=0x9b5c50, e=0xa0fda0) at kernel/qobject.cpp:1248
#31 0x00007f505d17132c in QApplicationPrivate::notify_helper (this=0x890e80, receiver=0x9b5c50, e=0xa0fda0) at kernel/qapplication.cpp:4302
#32 0x00007f505d17780b in QApplication::notify (this=0x7fff6db4aca0, receiver=0x9b5c50, e=0xa0fda0) at kernel/qapplication.cpp:4185
#33 0x00007f505efb2436 in KApplication::notify (this=0x7fff6db4aca0, receiver=0x9b5c50, event=0xa0fda0) at ../../kdeui/kernel/kapplication.cpp:302
#34 0x00007f505c9e615c in QCoreApplication::notifyInternal (this=0x7fff6db4aca0, receiver=0x9b5c50, event=0xa0fda0) at kernel/qcoreapplication.cpp:726
#35 0x00007f505c9e9804 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x860530) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#36 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x860530) at kernel/qcoreapplication.cpp:1367
#37 0x00007f505ca0fbd3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#38 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#39 0x00007f50591a76c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#40 0x00007f50591ab538 in ?? () from /lib/libglib-2.0.so.0
#41 0x00007f50591ab6ec in g_main_context_iteration () from /lib/libglib-2.0.so.0
#42 0x00007f505ca0f713 in QEventDispatcherGlib::processEvents (this=0x85fc50, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#43 0x00007f505d22114e in QGuiEventDispatcherGlib::processEvents (this=0x7fff6db49690, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#44 0x00007f505c9e4a82 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#45 0x00007f505c9e4e5c in QEventLoop::exec (this=0x7fff6db4abf0, flags=) at kernel/qeventloop.cpp:201
#46 0x00007f505c9e9aeb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#47 0x000000000040ea6f in main (argc=<value optimized out>, argv=<value optimized out>) at ../../monolithic/main.cpp:45

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

Possible duplicates by query: bug 241678, bug 235015, bug 231278, bug 224297, bug 219396.

Reported using DrKonqi
Comment 1 Christoph Feck 2010-08-06 11:50:29 UTC

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