Bug 236528

Summary: knetworkmanager crashes when selecting static configuration for an interface
Product: [Unmaintained] knetworkmanager Reporter: Bradley Kite <bradley.kite>
Component: generalAssignee: Will Stephenson <wstephenson>
Status: RESOLVED DUPLICATE    
Severity: crash CC: moglimann, reijerh
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi

Description Bradley Kite 2010-05-06 10:23:20 UTC
Application: knetworkmanager (v0.9)
KDE Platform Version: 4.4.2 (KDE 4.4.2) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.33-gentoo-r1 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
After plugging in an ethernet cable, knetworkmanager automatically starts the "Auto (eth0)" profile.

There is no DHCP this LAN segment, so I have configured a static profile, which I then select (while the Auto profile is trying to get an address).

This randomly causes a segfault.

The crash can be reproduced some of the time.

 -- Backtrace:
Application: KNetworkManager (knetworkmanager), signal: Segmentation fault
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.2200.5-gdb.py", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace
[KCrash Handler]
#5  QAction::isSeparator (this=0x61006800630020) at kernel/qaction.cpp:793
#6  0x00007f8de5e2c351 in QMenuPrivate::setCurrentAction (this=0x72bd00, action=0x61006800630020, popup=96, reason=QMenuPrivate::SelectedFromElsewhere, activateFirst=<value optimized out>)
    at widgets/qmenu.cpp:570
#7  0x00007f8de5e2ef8f in QMenu::mouseMoveEvent (this=0x72b880, e=0x7fffdfff26a0) at widgets/qmenu.cpp:2810
#8  0x00007f8de5a4988e in QWidget::event (this=0x72b880, event=0x7fffdfff26a0) at kernel/qwidget.cpp:7983
#9  0x00007f8de5e306cb in QMenu::event (this=0x72b880, e=0x7fffdfff26a0) at widgets/qmenu.cpp:2414
#10 0x00007f8dde0fc294 in Oxygen::MenuBarDataV1::eventFilter(QObject*, QEvent*) () from /usr/lib64/kde4/plugins/styles/oxygen.so
#11 0x00007f8de52a8507 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#12 0x00007f8de59f3b0c in QApplicationPrivate::notify_helper (this=0x652e20, receiver=0x72b880, e=0x7fffdfff26a0) at kernel/qapplication.cpp:4296
#13 0x00007f8de59fa96b in QApplication::notify (this=0x7fffdfff4da0, receiver=0x72b880, e=0x7fffdfff26a0) at kernel/qapplication.cpp:3865
#14 0x00007f8de781f28b in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#15 0x00007f8de52a90cb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#16 0x00007f8de59f9a92 in QCoreApplication::sendEvent (receiver=0x72b880, event=0x7fffdfff26a0, alienWidget=0x0, nativeWidget=0x72b880, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#17 QApplicationPrivate::sendMouseEvent (receiver=0x72b880, event=0x7fffdfff26a0, alienWidget=0x0, nativeWidget=0x72b880, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, 
    spontaneous=true) at kernel/qapplication.cpp:2965
#18 0x00007f8de59f9fef in QApplicationPrivate::sendSyntheticEnterLeave (this=<value optimized out>, widget=<value optimized out>) at kernel/qapplication.cpp:3051
#19 0x00007f8de5a483c0 in QWidgetPrivate::hideChildren (this=<value optimized out>, spontaneous=false) at kernel/qwidget.cpp:7536
#20 0x00007f8de5a48535 in QWidgetPrivate::hide_helper (this=0x8314d0) at kernel/qwidget.cpp:7283
#21 0x00007f8de5a51040 in QWidget::setVisible (this=0x83c260, visible=<value optimized out>) at kernel/qwidget.cpp:7455
#22 0x00007f8de5a55082 in QWidget::hide (this=0x834f40, widget=0x83c260) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:489
#23 QWidgetAction::releaseWidget (this=0x834f40, widget=0x83c260) at kernel/qwidgetaction.cpp:206
#24 0x00007f8de5e2b0eb in QMenu::actionEvent (this=0x72b880, e=0x7fffdfff3140) at widgets/qmenu.cpp:2883
#25 0x00007f8de5a4952c in QWidget::event (this=0x72b880, event=0x7fffdfff3140) at kernel/qwidget.cpp:8373
#26 0x00007f8de5e306cb in QMenu::event (this=0x72b880, e=0x7fffdfff3140) at widgets/qmenu.cpp:2414
#27 0x00007f8de59f3b3c in QApplicationPrivate::notify_helper (this=0x652e20, receiver=0x72b880, e=0x7fffdfff3140) at kernel/qapplication.cpp:4300
#28 0x00007f8de59fa18b in QApplication::notify (this=0x7fffdfff4da0, receiver=0x72b880, e=0x7fffdfff3140) at kernel/qapplication.cpp:4183
#29 0x00007f8de781f28b in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#30 0x00007f8de52a90cb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#31 0x00007f8de5a3f319 in QCoreApplication::sendEvent (this=0x72b880, action=0x834f40) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#32 QWidget::removeAction (this=0x72b880, action=0x834f40) at kernel/qwidget.cpp:3018
#33 0x0000000000411901 in KNetworkManagerTrayIcon::fillPopup() ()
#34 0x00007f8de6e5fe43 in ActivatableList::activatableChanged() () from /usr/lib64/libknmservice.so.4
#35 0x00007f8de6e5bc95 in ActivatableList::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libknmservice.so.4
#36 0x00007f8de6e5bcd6 in SortedActivatableList::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libknmservice.so.4
#37 0x00007f8de52bc487 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#38 0x00007f8de70ac151 in Knm::InterfaceConnection::setActivationState(Knm::InterfaceConnection::ActivationState) () from /usr/lib64/libknminternals.so.4
#39 0x00007f8de6c351ed in NMDBusActiveConnectionProxy::~NMDBusActiveConnectionProxy() () from /usr/lib64/libknm_nm.so
#40 0x00007f8de6c36bba in NMDBusActiveConnectionMonitor::activeConnectionListChanged() () from /usr/lib64/libknm_nm.so
#41 0x00007f8de6c0a670 in NMDBusActiveConnectionMonitor::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libknm_nm.so
#42 0x00007f8de52bc487 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#43 0x00007f8de67408e8 in Solid::Control::NetworkManager::Notifier::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libsolidcontrol.so.4
#44 0x00007f8de6740fd5 in Solid::Control::NetworkManagerPrivate::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libsolidcontrol.so.4
#45 0x00007f8de52bc487 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#46 0x00007f8ddc99837a in NMNetworkManager::propertiesChanged(QMap<QString, QVariant> const&) () from /usr/lib64/kde4/solid_networkmanager07.so
#47 0x00007f8ddc998e1c in NMNetworkManager::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/kde4/solid_networkmanager07.so
#48 0x00007f8de52bc487 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#49 0x00007f8ddc9a4585 in OrgFreedesktopNetworkManagerInterface::PropertiesChanged(QMap<QString, QVariant> const&) () from /usr/lib64/kde4/solid_networkmanager07.so
#50 0x00007f8ddc9a4ca4 in OrgFreedesktopNetworkManagerInterface::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/kde4/solid_networkmanager07.so
#51 0x00007f8de55e4764 in QDBusConnectionPrivate::deliverCall(QObject*, int, QDBusMessage const&, QList<int> const&, int) () from /usr/lib64/qt4/libQtDBus.so.4
#52 0x00007f8de55eed1f in QDBusCallDeliveryEvent::placeMetaCall(QObject*) () from /usr/lib64/qt4/libQtDBus.so.4
#53 0x00007f8de52b9208 in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#54 0x00007f8de59f3b3c in QApplicationPrivate::notify_helper (this=0x652e20, receiver=0x6a3830, e=0x80c750) at kernel/qapplication.cpp:4300
#55 0x00007f8de59fa18b in QApplication::notify (this=0x7fffdfff4da0, receiver=0x6a3830, e=0x80c750) at kernel/qapplication.cpp:4183
#56 0x00007f8de781f28b in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#57 0x00007f8de52a90cb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#58 0x00007f8de52a9f8b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4
#59 0x00007f8de52d2d13 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtCore.so.4
#60 0x00007f8de1b17dc9 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#61 0x00007f8de1b1b618 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#62 0x00007f8de1b1b7cc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#63 0x00007f8de52d287c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#64 0x00007f8de5aa1ece in QGuiEventDispatcherGlib::processEvents (this=0x61006800630020, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#65 0x00007f8de52a79e2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#66 0x00007f8de52a7db4 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#67 0x00007f8de52aa216 in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#68 0x000000000040f478 in main ()

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

Possible duplicates by query: bug 236492, bug 236153, bug 236033, bug 235746, bug 235571.

Reported using DrKonqi
Comment 1 moglimann 2010-05-09 22:17:13 UTC
Created attachment 43413 [details]
New crash information added by DrKonqi

KDE_NetworkManager crashed just after selecting a static IP-Profile for deactivating / ignoring DHCP
Comment 2 Reijer 2010-05-14 13:23:35 UTC
Created attachment 43579 [details]
New crash information added by DrKonqi

Knetworkmanager crashed when I selected a static profile from the list of profiles (by right-clicking the icon in the system tray and then clicking the profile), which only contains Auto and the static (wired) one.
Comment 3 Will Stephenson 2010-05-17 15:44:19 UTC

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