Bug 259326

Summary: KNetworkmanager crashes when trying to reconnect to Mobile Broadband
Product: [Unmaintained] Network Management Reporter: GeoK <tuxgeok>
Component: knetworkmanagerAssignee: Will Stephenson <wstephenson>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description GeoK 2010-12-09 14:24:20 UTC
Application: knetworkmanager (v0.9)
KDE Platform Version: 4.5.80 (4.6 Beta1)
Qt Version: 4.7.1
Operating System: Linux 2.6.31.14-0.4-default i686
Distribution: "openSUSE 11.2 (i586)"

-- Information about the crash:
When trying to use a Mobile Broadband USB stick, the connection is made without issues the first time the USB stick is plugged in. If you disconnect from it by clicking the (x) button on the right side of the menu it disconnects and after that any attempt to reconnect fails. If you click repeatedly to establish connection, after 3-4 attempts Knetworkmanager crashes. 
Workaround is to disconnect the USB stick and then reconnect again to establish connection.

-- Backtrace:
Application: KNetworkManager (knetworkmanager), signal: Segmentation fault
[Current thread is 1 (Thread 0xb4eba700 (LWP 7892))]

Thread 2 (Thread 0xb2832b70 (LWP 7893)):
#0  0xb56c91eb in clock_gettime () from /lib/librt.so.1
#1  0xb625cd45 in do_gettime (frac=<value optimized out>, sec=<value optimized out>) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime (frac=<value optimized out>, sec=<value optimized out>) at tools/qelapsedtimer_unix.cpp:140
#3  0xb6339d06 in QTimerInfoList::updateCurrentTime (this=0x8152dbc) at kernel/qeventdispatcher_unix.cpp:339
#4  0xb6339d4e in QTimerInfoList::timerWait (this=0x8152dbc, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0xb6337dbb in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb283212c) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb6337e5d in timerSourcePrepare (source=0x0, timeout=0xb56cdff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb58a5618 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#8  0xb58a5999 in ?? () from /usr/lib/libglib-2.0.so.0
#9  0xb58a5ebe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#10 0xb6337bbf in QEventDispatcherGlib::processEvents (this=0x814cc60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0xb6306d2d in QEventLoop::processEvents (this=0xb28322c0, flags=) at kernel/qeventloop.cpp:149
#12 0xb63071b9 in QEventLoop::exec (this=0xb28322c0, flags=...) at kernel/qeventloop.cpp:201
#13 0xb61fb95b in QThread::exec (this=0x81507e8) at thread/qthread.cpp:490
#14 0xb62e46cd in QInotifyFileSystemWatcherEngine::run (this=0x81507e8) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb61fed4a in QThreadPrivate::start (arg=0x81507e8) at thread/qthread_unix.cpp:285
#16 0xb5d2b6e5 in start_thread () from /lib/libpthread.so.0
#17 0xb5d2b600 in ?? () from /lib/libpthread.so.0

Thread 1 (Thread 0xb4eba700 (LWP 7892)):
[KCrash Handler]
#7  0xb65f0b24 in QAction::isSeparator (this=0x5f0043) at kernel/qaction.cpp:795
#8  0xb6ad8ae2 in QMenuPrivate::setCurrentAction (this=0x81ba8d0, action=0x5f0043, popup=150, reason=SelectedFromElsewhere, activateFirst=false) at widgets/qmenu.cpp:562
#9  0xb6adbccc in QMenu::mouseMoveEvent (this=0x81b7f58, e=0xbff8cd40) at widgets/qmenu.cpp:2808
#10 0xb66599e0 in QWidget::event (this=0x81b7f58, event=0xbff8cd40) at kernel/qwidget.cpp:8185
#11 0xb6add5cc in QMenu::event (this=0x81b7f58, e=0xbff8cd40) at widgets/qmenu.cpp:2410
#12 0xb65f96ac in QApplicationPrivate::notify_helper (this=0x8097d18, receiver=0x81b7f58, e=0xbff8cd40) at kernel/qapplication.cpp:4445
#13 0xb65ff1b9 in QApplication::notify (this=0xbff8ca94, receiver=0x81b7f58, e=0xbff8cd40) at kernel/qapplication.cpp:4006
#14 0xb7260521 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#15 0xb630827e in QCoreApplication::notifyInternal (this=0xbff8e3e0, receiver=0x81b7f58, event=0xbff8cd40) at kernel/qcoreapplication.cpp:732
#16 0xb65fe0e4 in sendSpontaneousEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:218
#17 QApplicationPrivate::sendMouseEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qapplication.cpp:3103
#18 0xb65fe611 in QApplicationPrivate::sendSyntheticEnterLeave (this=0x8097d18, widget=0x84a3d70) at kernel/qapplication.cpp:3191
#19 0xb6658266 in QWidgetPrivate::hideChildren (this=0x84a2e70, spontaneous=false) at kernel/qwidget.cpp:7737
#20 0xb6658430 in QWidgetPrivate::hide_helper (this=0x84a2e70) at kernel/qwidget.cpp:7467
#21 0xb66622d0 in QWidget::setVisible (this=0x84a8690, visible=false) at kernel/qwidget.cpp:7639
#22 0xb666735d in hide (this=<value optimized out>) at ../../src/gui/kernel/qwidget.h:491
#23 QWidgetAction::releaseWidget (this=<value optimized out>) at kernel/qwidgetaction.cpp:206
#24 0xb6ad772a in QMenu::actionEvent (this=0x81b7f58, e=0xbff8d528) at widgets/qmenu.cpp:2882
#25 0xb6659639 in QWidget::event (this=0x81b7f58, event=0xbff8d528) at kernel/qwidget.cpp:8575
#26 0xb6add5cc in QMenu::event (this=0x81b7f58, e=0xbff8d528) at widgets/qmenu.cpp:2410
#27 0xb65f96ac in QApplicationPrivate::notify_helper (this=0x8097d18, receiver=0x81b7f58, e=0xbff8d528) at kernel/qapplication.cpp:4445
#28 0xb65fe868 in QApplication::notify (this=0x81b7f58, receiver=0x81b7f58, e=0xbff8d528) at kernel/qapplication.cpp:4410
#29 0xb7260521 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#30 0xb630827e in QCoreApplication::notifyInternal (this=0xbff8e3e0, receiver=0x81b7f58, event=0xbff8d528) at kernel/qcoreapplication.cpp:732
#31 0xb664e61d in sendEvent (event=<value optimized out>, receiver=0x81b7f58) at ../../src/corelib/kernel/qcoreapplication.h:215
#32 QWidget::removeAction (event=<value optimized out>, receiver=0x81b7f58) at kernel/qwidget.cpp:3180
#33 0x080558fc in _start ()

Possible duplicates by query: bug 259268, bug 259218, bug 259032, bug 258614, bug 257637.

Reported using DrKonqi
Comment 1 Pino Toscano 2010-12-09 14:40:12 UTC

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