Bug 224750

Summary: knetworkmanager crashes when service network-manager is restarted
Product: knetworkmanager Reporter: Christian Couder <chriscool>
Component: generalAssignee: Will Stephenson <wstephenson>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:

Description Christian Couder 2010-01-29 12:57:41 UTC
Application that crashed: knetworkmanager
Version of the application: v0.9
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-14-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
I use kubuntu karmic koala and when I use:

$ service network-manager restart

it often crashes knetworkmanager.

 -- Backtrace:
Application: KNetworkManager (knetworkmanager), signal: Segmentation fault
The current source language is "auto; currently c".
[KCrash Handler]
#5  0x00000000006260e0 in QListData::shared_null ()
#6  0x00007f5a3b4b6519 in QMetaObject::cast (this=0x625f20, obj=0x122a7c0) at kernel/qmetaobject.cpp:299
#7  0x00007f5a3ca762fa in qobject_cast<Knm::InterfaceConnection const*> (first=0x122a7c0, second=0x121cac0) at /usr/include/qt4/QtCore/qobject.h:456
#8  activatableLessThan (first=0x122a7c0, second=0x121cac0) at /build/buildd/plasma-widget-networkmanagement-0.9~svn1029786+ag1/libs/service/sortedactivatablelist.cpp:184
#9  0x00007f5a3ca76550 in qSortHelper<QList<Knm::Activatable*>::iterator, Knm::Activatable*, bool (*)(Knm::Activatable const*, Knm::Activatable const*)> (start=)
    at /usr/include/qt4/QtCore/qalgorithms.h:384
#10 0x00007f5a3ca7672c in qSort<QList<Knm::Activatable*>::iterator, bool (*)(Knm::Activatable const*, Knm::Activatable const*)> (this=0x101a060, activatable=<value optimized out>)
    at /usr/include/qt4/QtCore/qalgorithms.h:204
#11 SortedActivatableList::handleAdd (this=0x101a060, activatable=<value optimized out>) at /build/buildd/plasma-widget-networkmanagement-0.9~svn1029786+ag1/libs/service/sortedactivatablelist.cpp:100
#12 0x00007f5a3ca6606b in ActivatableList::addActivatableInternal (this=0x1022760, activatable=0x10e9830)
    at /build/buildd/plasma-widget-networkmanagement-0.9~svn1029786+ag1/libs/service/activatablelist.cpp:94
#13 0x00007f5a3ca670d0 in NetworkInterfaceActivatableProvider::maintainActivatableForUnconfigured (this=0x1084280)
    at /build/buildd/plasma-widget-networkmanagement-0.9~svn1029786+ag1/libs/service/networkinterfaceactivatableprovider.cpp:93
#14 0x00007f5a3ca6787a in NetworkInterfaceActivatableProvider::handleRemove (this=<value optimized out>, removedConnection=0x10a9bf0)
    at /build/buildd/plasma-widget-networkmanagement-0.9~svn1029786+ag1/libs/service/networkinterfaceactivatableprovider.cpp:202
#15 0x00007f5a3ca61ed6 in ConnectionList::removeConnection (this=<value optimized out>, connection=0x10a9bf0)
    at /build/buildd/plasma-widget-networkmanagement-0.9~svn1029786+ag1/libs/service/connectionlist.cpp:136
#16 0x00007f5a3c83ecda in NMDBusSettingsConnectionProvider::onRemoteConnectionRemoved (this=<value optimized out>)
    at /build/buildd/plasma-widget-networkmanagement-0.9~svn1029786+ag1/backends/NetworkManager/nmdbussettingsconnectionprovider.cpp:130
#17 0x00007f5a3c80d18c in NMDBusSettingsConnectionProvider::qt_metacall (this=0x1071880, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff614bf910)
    at /build/buildd/plasma-widget-networkmanagement-0.9~svn1029786+ag1/obj-x86_64-linux-gnu/backends/NetworkManager/moc_nmdbussettingsconnectionprovider.cpp:76
#18 0x00007f5a3b4c6ddc in QMetaObject::activate (sender=0x1073060, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3113
#19 0x00007f5a3c80d885 in OrgFreedesktopNetworkManagerSettingsConnectionInterface::qt_metacall (this=0x1073060, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff614bfcd0)
    at /build/buildd/plasma-widget-networkmanagement-0.9~svn1029786+ag1/obj-x86_64-linux-gnu/backends/NetworkManager/moc_nm-exported-connectioninterface.cpp:77
#20 0x00007f5a3b7c8ad4 in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=..., slotIdx=<value optimized out>)
    at qdbusintegrator.cpp:891
#21 0x00007f5a3b7cfdef in QDBusCallDeliveryEvent::placeMetaCall(QObject*) () from /usr/lib/libQtDBus.so.4
#22 0x00007f5a3b4c10f9 in QObject::event (this=0x1073060, e=0x11f19a0) at kernel/qobject.cpp:1111
#23 0x00007f5a3bbb5efc in QApplicationPrivate::notify_helper (this=0xf75f50, receiver=0x1073060, e=0x11f19a0) at kernel/qapplication.cpp:4056
#24 0x00007f5a3bbbd1ce in QApplication::notify (this=0x7fff614c0670, receiver=0x1073060, e=0x11f19a0) at kernel/qapplication.cpp:4021
#25 0x00007f5a3d300ab6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#26 0x00007f5a3b4b1c2c in QCoreApplication::notifyInternal (this=0x7fff614c0670, receiver=0x1073060, event=0x11f19a0) at kernel/qcoreapplication.cpp:610
#27 0x00007f5a3b4b280a in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0xf4f4d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#28 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0xf4f4d0) at kernel/qcoreapplication.cpp:1247
#29 0x00007f5a3b4da533 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#30 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:210
#31 0x00007f5a37431bce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#32 0x00007f5a37435598 in ?? () from /lib/libglib-2.0.so.0
#33 0x00007f5a374356c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#34 0x00007f5a3b4da1a6 in QEventDispatcherGlib::processEvents (this=0xf4ed20, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#35 0x00007f5a3bc4a4be in QGuiEventDispatcherGlib::processEvents (this=0x122a7c0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#36 0x00007f5a3b4b0532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#37 0x00007f5a3b4b0904 in QEventLoop::exec (this=0x7fff614c05c0, flags=) at kernel/qeventloop.cpp:201
#38 0x00007f5a3b4b2ab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#39 0x000000000040d12f in main (argc=<value optimized out>, argv=<value optimized out>) at /build/buildd/plasma-widget-networkmanagement-0.9~svn1029786+ag1/monolithic/main.cpp:45

Reported using DrKonqi
Comment 1 Dario Andres 2010-01-29 17:43:43 UTC
Reported at bug 210878. Regards

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