Bug 236955

Summary: KNetworkmanager crashed when I switched on another connection
Product: [Unmaintained] knetworkmanager Reporter: haddy6235
Component: generalAssignee: Will Stephenson <wstephenson>
Status: RESOLVED WAITINGFORINFO    
Severity: crash CC: abhijeet.linux, apavelm, lamarque, Space_Marine93, v.plessky
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description haddy6235 2010-05-09 09:05:01 UTC
Application: knetworkmanager (v0.9)
KDE Platform Version: 4.4.3 (KDE 4.4.3)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
KNetworkmanager crashed when I switched from "auto eth0" to another cable connection profile.

The crash can be reproduced some of the time.

 -- Backtrace:
Application: KNetworkManager (knetworkmanager), signal: Segmentation fault
[KCrash Handler]
#6  QBasicAtomicInt::ref (this=0x25c0418) at ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:120
#7  QString (this=0x25c0418) at ../../include/QtCore/../../src/corelib/tools/qstring.h:715
#8  QAction::statusTip (this=0x25c0418) at kernel/qaction.cpp:928
#9  0x00f0c02c in QAction::showStatusText (this=0x25c0418, widget=0x0) at kernel/qaction.cpp:1228
#10 0x013b4c94 in QMenuPrivate::activateAction (this=0x8e18660, action=0x25c0418, action_e=QAction::Hover, self=<value optimized out>) at widgets/qmenu.cpp:1114
#11 0x013b2777 in QMenuPrivate::setCurrentAction (this=0x8e18660, action=0x25c0418, popup=96, reason=QMenuPrivate::SelectedFromElsewhere, activateFirst=false) at widgets/qmenu.cpp:571
#12 0x013b5668 in QMenu::mouseMoveEvent (this=0x8e181f0, e=0xbf89c4f0) at widgets/qmenu.cpp:2810
#13 0x00f6d69a in QWidget::event (this=0x8e181f0, event=0xbf89c4f0) at kernel/qwidget.cpp:7983
#14 0x013b70cc in QMenu::event (this=0x8e181f0, e=0xbf89c4f0) at widgets/qmenu.cpp:2414
#15 0x088e322f in Oxygen::MenuBarDataV1::eventFilter (this=0x8e7ed40, object=0x8e181f0, event=0xbf89c4f0) at ../../../kstyles/oxygen/animations/oxygenmenubardata.cpp:85
#16 0x082eecda in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8d56c78, receiver=0x8e181f0, event=0xbf89c4f0) at kernel/qcoreapplication.cpp:819
#17 0x00f0f4b9 in QApplicationPrivate::notify_helper (this=0x8d56c78, receiver=0x8e181f0, e=0xbf89c4f0) at kernel/qapplication.cpp:4296
#18 0x00f169f7 in QApplication::notify (this=0xbf89e170, receiver=0x8e181f0, e=0xbf89c4f0) at kernel/qapplication.cpp:3865
#19 0x004c1f5a in KApplication::notify (this=0xbf89e170, receiver=0x8e181f0, event=0xbf89c4f0) at ../../kdeui/kernel/kapplication.cpp:302
#20 0x082efa3b in QCoreApplication::notifyInternal (this=0xbf89e170, receiver=0x8e181f0, event=0xbf89c4f0) at kernel/qcoreapplication.cpp:704
#21 0x00f15952 in QCoreApplication::sendEvent (receiver=0x8e181f0, event=0xbf89c4f0, alienWidget=0x0, nativeWidget=0x8e181f0, buttonDown=0x1853058, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#22 QApplicationPrivate::sendMouseEvent (receiver=0x8e181f0, event=0xbf89c4f0, alienWidget=0x0, nativeWidget=0x8e181f0, buttonDown=0x1853058, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#23 0x00f15e9a in QApplicationPrivate::sendSyntheticEnterLeave (this=0x8d56c78, widget=0x8e2d3d0) at kernel/qapplication.cpp:3051
#24 0x00f6c236 in QWidgetPrivate::hideChildren (this=0x8ddd2c8, spontaneous=false) at kernel/qwidget.cpp:7536
#25 0x00f6c3ea in QWidgetPrivate::hide_helper (this=0x8ddd2c8) at kernel/qwidget.cpp:7283
#26 0x00f75b40 in QWidget::setVisible (this=0x8e15d20, visible=false) at kernel/qwidget.cpp:7455
#27 0x00f7a0d0 in QWidget::hide (this=0x91f4718, widget=0x8e15d20) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:489
#28 QWidgetAction::releaseWidget (this=0x91f4718, widget=0x8e15d20) at kernel/qwidgetaction.cpp:206
#29 0x013b1212 in QMenu::actionEvent (this=0x8e181f0, e=0xbf89ccd8) at widgets/qmenu.cpp:2883
#30 0x00f6d97d in QWidget::event (this=0x8e181f0, event=0xbf89ccd8) at kernel/qwidget.cpp:8373
#31 0x013b70cc in QMenu::event (this=0x8e181f0, e=0xbf89ccd8) at widgets/qmenu.cpp:2414
#32 0x00f0f4dc in QApplicationPrivate::notify_helper (this=0x8d56c78, receiver=0x8e181f0, e=0xbf89ccd8) at kernel/qapplication.cpp:4300
#33 0x00f160f9 in QApplication::notify (this=0xbf89e170, receiver=0x8e181f0, e=0xbf89ccd8) at kernel/qapplication.cpp:4265
#34 0x004c1f5a in KApplication::notify (this=0xbf89e170, receiver=0x8e181f0, event=0xbf89ccd8) at ../../kdeui/kernel/kapplication.cpp:302
#35 0x082efa3b in QCoreApplication::notifyInternal (this=0xbf89e170, receiver=0x8e181f0, event=0xbf89ccd8) at kernel/qcoreapplication.cpp:704
#36 0x00f629a2 in QCoreApplication::sendEvent (this=0x8e181f0, action=0x91f4718) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#37 QWidget::removeAction (this=0x8e181f0, action=0x91f4718) at kernel/qwidget.cpp:3018
#38 0x080565ef in _start ()

Reported using DrKonqi
Comment 1 Pavel Andreev 2010-05-10 03:44:57 UTC
I approve this bug, with some more detail description.

I have notebook with Kubuntu 10.04 LTS. I suppose, my notebook's soft versions same as DrKonqi.

My test case:
I plugin to my WiFi (just local net), It connects OK.
Than I try to up my pptp VPN connection... 
And 2 case: 
1) If any application at this moment trying to connect, or alredy connected (transmits data) to any non-local site/address - KNetworkManager widget crashes.
2) if no application connect{ing/ed} it rising up connection good.

This bug appeared after I updated from KDE 4.3 to 4.4 (full-upgrade kubuntu).
Comment 2 darkfish 2010-05-19 09:17:52 UTC
Created attachment 43711 [details]
New crash information added by DrKonqi

This has happened previously as well on selecting a WPA2 Enterprise WiFi profile, while connecting or disconnecting LAN cable.
Comment 3 Christoph Feck 2010-07-07 03:14:21 UTC
This is probably a duplicate of bug 215080.
Comment 4 Vadim Plessky 2010-10-01 11:53:38 UTC
Created attachment 52139 [details]
New crash information added by DrKonqi


1. I have Ethernet connection
2. Added wireless connection in KNetworkManager
3. Activated wireless connection.
 KNetworkmanager crashed

This bug is reproducible.
Comment 5 Vadim Plessky 2010-10-01 12:03:24 UTC
I'd like to add that wireless connection which I activated has WEP encryption.
I previously used WPA2-Shared Key security settings, and KNetworkManager was connecting to that AP with WPA2-PSK without problems, no crash.

System has been updated up-to-date using #zypper up (OpenSUSE 11.3)
today, Oct.1, 2010.

installed packages:
~> rpm -qa | grep NetworkManager | grep kde4
NetworkManager-vpnc-kde4-0.9.svn1057339-4.1.i586
NetworkManager-kde4-0.9.svn1057339-4.1.i586
NetworkManager-openvpn-kde4-0.9.svn1057339-4.1.i586
NetworkManager-pptp-kde4-0.9.svn1057339-4.1.i586
NetworkManager-kde4-libs-0.9.svn1057339-4.1.i586
Comment 6 Vadim Plessky 2010-10-01 12:40:11 UTC
This bug is not reproducible if you have KDE 4.5.1, QT 4.7.0
(OpenSUSE 11.3 with KDE 4.5.1 from Factory repository)

Packages installed:
~> rpm -qa | grep NetworkManager
NetworkManager-vpnc-0.8-3.1.i586
NetworkManager-gnome-0.8-5.1.i586
NetworkManager-vpnc-kde4-0.9.svn1180608-148.1.i586
NetworkManager-0.8-8.2.1.i586
NetworkManager-glib-0.8-8.2.1.i586
NetworkManager-pptp-0.8-3.1.i586
NetworkManager-kde4-libs-lang-0.9.svn1180608-148.1.noarch
NetworkManager-kde4-libs-0.9.svn1180608-148.1.i586
NetworkManager-kde4-0.9.svn1180608-148.1.i586
NetworkManager-pptp-kde4-0.9.svn1180608-148.1.i586
NetworkManager-openvpn-0.8-3.1.i586
NetworkManager-openvpn-kde4-0.9.svn1180608-148.1.i586

~> rpm -qa | grep libqt4
libqt4-qt3support-4.7.0-134.1.i586
libqt4-x11-4.7.0-134.1.i586
libqt4-4.7.0-134.1.i586
libqt4-sql-sqlite-4.7.0-134.1.i586
libqt4-x11-debuginfo-4.7.0-134.1.i586
libqt4-sql-4.7.0-134.1.i586
libqt4-sql-mysql-4.7.0-136.1.i586
libqt4-debuginfo-4.7.0-134.1.i586

So I think bug is specific to KDE 4.4.x branch
Hope fix from KDE 4.5.x can be backported to 4.4.x
Comment 7 Tyler 2011-02-02 04:52:29 UTC
Created attachment 56774 [details]
New crash information added by DrKonqi

After making a new wired connection, I rebooted after saving my work so that other changes (on my desktop) would show up. But when I try to switch over to the new wired connection, instead of using the default, auto generated one, the program crashes.
Comment 8 Lamarque V. Souza 2011-05-06 23:15:21 UTC
Can you test this with the plasmoid version? The monolithic knetworkmanager is umaintained and nobody is fixing bugs in it as far as I know.