Bug 265375

Summary: knetworkmanager crashes when switching on VPN with wireless
Product: [Unmaintained] Network Management Reporter: Paul Millar <paul.millar>
Component: knetworkmanagerAssignee: Will Stephenson <wstephenson>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Information from kcrash

Description Paul Millar 2011-02-04 09:36:29 UTC
Created attachment 56844 [details]
Information from kcrash

Version:           unspecified (using KDE 4.4.5) 
OS:                Linux

I have a Cisco VPN account, so I would like to use vpnc.

I have configured this VPN account correctly and, when connected via wired ethernet, I can use the VPN without any problems.

However, when attempt to enable the VPN when connected use wifi then knetwork-manager crashes.

Reproducible: Always

Steps to Reproduce:
Start KDE.
Knetwork-manager is configured to auto-connect to the wireless, if found.
Click on knetwork-manager icon in sys-tray.
Observe that a window showing various options appears.
Click on section the VPN icon for my Cisco VPN account.


Actual Results:  
Knetwork-manager crashes

I've included the stack-trace as an attachment.


Expected Results:  
I would like the VPN connection to be established.

Connecting to the VPN works fine when connected via wired ethernet.

From a casual look, it seems that knetwork-manager is triggering some bug in Qt.  Perhaps the GUI related activity is different when enabling VPN, between wired-ethernet and wireless.  One obvious difference is the sys-tray icon changes when enabling VPN-over-wiress but with VPN-over-wired the icon remains the same.  Could there be a race-condition here?

The problem may be a regression of an earlier problem.  Something similar happened some time ago.  That appeared to have been fixed (order-of-magnitude: 6 months ago) and connecting via VPN over wireless worked fine up to yesterday.  Now the problem, or a similar one, is back again.

Another curious thing is that I updated neither the network-manager-kde package nor any qt library packages from Debian sid/unstable over the past few days.  So it's unclear why this problem has started.
Comment 1 Pino Toscano 2011-02-04 09:41:36 UTC
Pasting the information inline to ease searches:

Application: knetworkmanager (v0.9)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-5-amd64 x86_64
Distribution: Debian GNU/Linux 6.0 (squeeze)

 -- Backtrace:
Application: KNetworkManager (knetworkmanager), signal: Segmentation fault
[KCrash Handler]
#6  0xf653ba37 in QAction::isSeparator() const () from /usr/lib/libQtGui.so.4
#7  0xf69e6158 in QMenu::mouseMoveEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#8  0xf65a066a in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#9  0xf69e7bfc in QMenu::event(QEvent*) () from /usr/lib/libQtGui.so.4
#10 0xf524630f in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#11 0xf625976a in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#12 0xf65425a9 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#13 0xf6549af7 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#14 0xf7354bfa in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#15 0xf625a4cb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#16 0xf6548a52 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#17 0xf6548f9a in QApplicationPrivate::sendSyntheticEnterLeave(QWidget*) () from /usr/lib/libQtGui.so.4
#18 0xf659f206 in QWidgetPrivate::hideChildren(bool) () from /usr/lib/libQtGui.so.4
#19 0xf659f3bc in QWidgetPrivate::hide_helper() () from /usr/lib/libQtGui.so.4
#20 0xf65a8ae0 in QWidget::setVisible(bool) () from /usr/lib/libQtGui.so.4
#21 0xf65ad080 in QWidgetAction::releaseWidget(QWidget*) () from /usr/lib/libQtGui.so.4
#22 0xf69e1d02 in QMenu::actionEvent(QActionEvent*) () from /usr/lib/libQtGui.so.4
#23 0xf65a094d in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#24 0xf69e7bfc in QMenu::event(QEvent*) () from /usr/lib/libQtGui.so.4
#25 0xf65425cc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#26 0xf65491f9 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#27 0xf7354bfa in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#28 0xf625a4cb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#29 0xf65959c2 in QWidget::removeAction(QAction*) () from /usr/lib/libQtGui.so.4
#30 0x080568ff in _start ()

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