Bug 233797

Summary: KNetwork Manager Crashes on the First Attempt to connect to OpenVPN
Product: [Unmaintained] knetworkmanager Reporter: Jason <jason>
Component: generalAssignee: Will Stephenson <wstephenson>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jason 2010-04-09 03:10:33 UTC
Application: knetworkmanager (v0.9)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-19-generic x86_64
Distribution: Ubuntu lucid (development branch)

-- Information about the crash:
The openvpn addition to knetwork manager will crash the first time that it is connected during a session. After the crash assistant detects it and the "restart" option is selected, then I can connect to the VPN without trouble (always via the system tray icon)

The crash can be reproduced some of the time.

 -- Backtrace:
Application: KNetworkManager (knetworkmanager), signal: Segmentation fault
[KCrash Handler]
#5  QAction::isSeparator (this=0x74006e0069002c) at kernel/qaction.cpp:793
#6  0x00007f3c015b9a81 in QMenuPrivate::setCurrentAction (this=0x23faa10, action=0x74006e0069002c, popup=96, reason=QMenuPrivate::SelectedFromElsewhere, activateFirst=<value optimized out>)
    at widgets/qmenu.cpp:570
#7  0x00007f3c015bc700 in QMenu::mouseMoveEvent (this=0x23fa4d0, e=0x7fff212a3820) at widgets/qmenu.cpp:2810
#8  0x00007f3c011d11df in QWidget::event (this=0x23fa4d0, event=0x7fff212a3820) at kernel/qwidget.cpp:7983
#9  0x00007f3c015bde4b in QMenu::event (this=0x23fa4d0, e=0x7fff212a3820) at widgets/qmenu.cpp:2414
#10 0x00007f3bf95b9265 in Oxygen::MenuBarDataV1::eventFilter (this=0x22eb890, object=0x23fa4d0, event=0x7fff212a3820) at ../../../kstyles/oxygen/animations/oxygenmenubardata.cpp:85
#11 0x00007f3c00a2e487 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x23fa4d0, event=0x7fff212a3820) at kernel/qcoreapplication.cpp:819
#12 0x00007f3c0117b1fc in QApplicationPrivate::notify_helper (this=0x2266170, receiver=0x23fa4d0, e=0x7fff212a3820) at kernel/qapplication.cpp:4296
#13 0x00007f3c01181ecb in QApplication::notify (this=0x7fff212a6040, receiver=0x23fa4d0, e=0x7fff212a3820) at kernel/qapplication.cpp:3865
#14 0x00007f3c02fa8526 in KApplication::notify (this=0x7fff212a6040, receiver=0x23fa4d0, event=0x7fff212a3820) at ../../kdeui/kernel/kapplication.cpp:302
#15 0x00007f3c00a2f06c in QCoreApplication::notifyInternal (this=0x7fff212a6040, receiver=0x23fa4d0, event=0x7fff212a3820) at kernel/qcoreapplication.cpp:704
#16 0x00007f3c011810ae in QCoreApplication::sendEvent (receiver=0x23fa4d0, event=0x7fff212a3820, alienWidget=0x0, nativeWidget=0x23fa4d0, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#17 QApplicationPrivate::sendMouseEvent (receiver=0x23fa4d0, event=0x7fff212a3820, alienWidget=0x0, nativeWidget=0x23fa4d0, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, 
    spontaneous=true) at kernel/qapplication.cpp:2965
#18 0x00007f3c0118155f in QApplicationPrivate::sendSyntheticEnterLeave (this=<value optimized out>, widget=<value optimized out>) at kernel/qapplication.cpp:3051
#19 0x00007f3c011cfd24 in QWidgetPrivate::hideChildren (this=<value optimized out>, spontaneous=false) at kernel/qwidget.cpp:7536
#20 0x00007f3c011cfea4 in QWidgetPrivate::hide_helper (this=0x23f86d0) at kernel/qwidget.cpp:7283
#21 0x00007f3c011d89c0 in QWidget::setVisible (this=0x244d810, visible=<value optimized out>) at kernel/qwidget.cpp:7455
#22 0x00007f3c011dca32 in QWidget::hide (this=0x23d4230, widget=0x244d810) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:489
#23 QWidgetAction::releaseWidget (this=0x23d4230, widget=0x244d810) at kernel/qwidgetaction.cpp:206
#24 0x00007f3c015b894b in QMenu::actionEvent (this=0x23fa4d0, e=0x7fff212a42c0) at widgets/qmenu.cpp:2883
#25 0x00007f3c011d0e7d in QWidget::event (this=0x23fa4d0, event=0x7fff212a42c0) at kernel/qwidget.cpp:8373
#26 0x00007f3c015bde4b in QMenu::event (this=0x23fa4d0, e=0x7fff212a42c0) at widgets/qmenu.cpp:2414
#27 0x00007f3c0117b22c in QApplicationPrivate::notify_helper (this=0x2266170, receiver=0x23fa4d0, e=0x7fff212a42c0) at kernel/qapplication.cpp:4300
#28 0x00007f3c011816fb in QApplication::notify (this=0x7fff212a6040, receiver=0x23fa4d0, e=0x7fff212a42c0) at kernel/qapplication.cpp:4183
#29 0x00007f3c02fa8526 in KApplication::notify (this=0x7fff212a6040, receiver=0x23fa4d0, event=0x7fff212a42c0) at ../../kdeui/kernel/kapplication.cpp:302
#30 0x00007f3c00a2f06c in QCoreApplication::notifyInternal (this=0x7fff212a6040, receiver=0x23fa4d0, event=0x7fff212a42c0) at kernel/qcoreapplication.cpp:704
#31 0x00007f3c011c6c11 in QCoreApplication::sendEvent (this=0x23fa4d0, action=0x23d4230) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#32 QWidget::removeAction (this=0x23fa4d0, action=0x23d4230) at kernel/qwidget.cpp:3018
#33 0x0000000000410fa2 in KNetworkManagerTrayIcon::fillPopup (this=0x23abd50) at ../../monolithic/knetworkmanagertrayicon.cpp:198
#34 0x00007f3c025e78e3 in ActivatableList::activatableChanged (this=<value optimized out>) at ../../../libs/service/activatablelist.cpp:124
#35 0x00007f3c025e3560 in ActivatableList::qt_metacall (this=0x23af870, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at moc_activatablelist.cpp:72
#36 0x00007f3c025e35a0 in SortedActivatableList::qt_metacall (this=0x74006e0069002c, _c=QMetaObject::InvokeMetaMethod, _id=29688416, _a=0x1) at moc_sortedactivatablelist.cpp:70
#37 0x00007f3c00a41e3f in QMetaObject::activate (sender=0x2497a60, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3293
#38 0x00007f3c02830ef1 in Knm::InterfaceConnection::setActivationState (this=0x2497a60, state=Knm::InterfaceConnection::Unknown) at ../../../libs/internals/interfaceconnection.cpp:82
#39 0x00007f3c023be050 in NMDBusVPNConnectionProxy::setState (this=0x24c7950, vpnState=<value optimized out>) at ../../../backends/NetworkManager/nmdbusactiveconnectionmonitor.cpp:119
#40 0x00007f3c023be489 in NMDBusVPNConnectionProxy (this=0x24c7950, interfaceConnection=<value optimized out>, activeConnectionIface=<value optimized out>)
    at ../../../backends/NetworkManager/nmdbusactiveconnectionmonitor.cpp:90
#41 0x00007f3c023bfcec in NMDBusActiveConnectionMonitor::activeConnectionListChanged (this=<value optimized out>) at ../../../backends/NetworkManager/nmdbusactiveconnectionmonitor.cpp:179
#42 0x00007f3c02392548 in NMDBusActiveConnectionMonitor::qt_metacall (this=0x23c1010, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff212a4b90)
    at moc_nmdbusactiveconnectionmonitor.cpp:77
#43 0x00007f3c00a41e3f in QMetaObject::activate (sender=0x23c0650, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3293
#44 0x00007f3c01ec9aa4 in Solid::Control::NetworkManager::Notifier::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libsolidcontrol.so.4
#45 0x00007f3c01eca380 in ?? () from /usr/lib/libsolidcontrol.so.4
#46 0x00007f3c00a41e3f in QMetaObject::activate (sender=0x23e3ea0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3293
#47 0x00007f3bf47064e3 in NMNetworkManager::propertiesChanged(QMap<QString, QVariant> const&) () from /usr/lib/kde4/solid_networkmanager07.so
#48 0x00007f3bf4706f99 in NMNetworkManager::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/kde4/solid_networkmanager07.so
#49 0x00007f3c00a41e3f in QMetaObject::activate (sender=0x22d5a90, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3293
#50 0x00007f3bf4710745 in ?? () from /usr/lib/kde4/solid_networkmanager07.so
#51 0x00007f3bf4710e6c in ?? () from /usr/lib/kde4/solid_networkmanager07.so
#52 0x00007f3c00d68486 in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=..., slotIdx=<value optimized out>)
    at qdbusintegrator.cpp:904
#53 0x00007f3c00d7305f in QDBusCallDeliveryEvent::placeMetaCall(QObject*) () from /usr/lib/libQtDBus.so.4
#54 0x00007f3c00a3ed49 in QObject::event (this=0x22d5a90, e=0x24ba4b0) at kernel/qobject.cpp:1248
#55 0x00007f3c0117b22c in QApplicationPrivate::notify_helper (this=0x2266170, receiver=0x22d5a90, e=0x24ba4b0) at kernel/qapplication.cpp:4300
#56 0x00007f3c011816fb in QApplication::notify (this=0x7fff212a6040, receiver=0x22d5a90, e=0x24ba4b0) at kernel/qapplication.cpp:4183
#57 0x00007f3c02fa8526 in KApplication::notify (this=0x7fff212a6040, receiver=0x22d5a90, event=0x24ba4b0) at ../../kdeui/kernel/kapplication.cpp:302
#58 0x00007f3c00a2f06c in QCoreApplication::notifyInternal (this=0x7fff212a6040, receiver=0x22d5a90, event=0x24ba4b0) at kernel/qcoreapplication.cpp:704
#59 0x00007f3c00a317e7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x223ac50) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#60 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x223ac50) at kernel/qcoreapplication.cpp:1345
#61 0x00007f3c00a589d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#62 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#63 0x00007f3bfd1cd8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#64 0x00007f3bfd1d1748 in ?? () from /lib/libglib-2.0.so.0
#65 0x00007f3bfd1d18fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#66 0x00007f3c00a58513 in QEventDispatcherGlib::processEvents (this=0x223a3a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#67 0x00007f3c0122b31e in QGuiEventDispatcherGlib::processEvents (this=0x74006e0069002c, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#68 0x00007f3c00a2d992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#69 0x00007f3c00a2dd6c in QEventLoop::exec (this=0x7fff212a5f90, flags=) at kernel/qeventloop.cpp:201
#70 0x00007f3c00a31aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#71 0x000000000040e8c3 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../monolithic/main.cpp:50

Possible duplicates by query: bug 233608, bug 233342, bug 228677, bug 228104, bug 227692.

Reported using DrKonqi
Comment 1 Dario Andres 2010-04-09 14:51:24 UTC
This is being tracked at bug 215080. Regards

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