Bug 276446

Summary: KNetworkManager crash after closing OpenVPN (in clock_gettime () from /lib64/librt.so.1)
Product: [Unmaintained] knetworkmanager Reporter: Marrone Vincenzo <brownvin>
Component: generalAssignee: Will Stephenson <wstephenson>
Status: RESOLVED DUPLICATE    
Severity: crash CC: lamarque
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Marrone Vincenzo 2011-06-25 10:00:31 UTC
Application: knetworkmanager (v0.9)
KDE Platform Version: 4.6.00 (4.6.0) "release 6"
Qt Version: 4.7.1
Operating System: Linux 2.6.37.6-0.5-desktop x86_64
Distribution: "openSUSE 11.4 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
I have connected successfully to the VPN, after working some time, I have close the connection by the red button on KNM, and the KNM chrashes.
Looking the BT seems that there is some problem in calculating the total connection elapsed time.

The crash can be reproduced every time.

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

Thread 2 (Thread 0x7ff3d604b700 (LWP 1071)):
#0  0xffffffffff600177 in ?? ()
#1  0x00007fffef3ff7a1 in ?? ()
#2  0x00007ff3e0a4c2b3 in clock_gettime () from /lib64/librt.so.1
#3  0x00007ff3e57b42b2 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#4  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#5  0x00007ff3e587733d in QTimerInfoList::updateCurrentTime (this=0x78aed0) at kernel/qeventdispatcher_unix.cpp:339
#6  0x00007ff3e58776b5 in QTimerInfoList::timerWait (this=0x78aed0, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#7  0x00007ff3e587617c in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7ff3d604ac4c) at kernel/qeventdispatcher_glib.cpp:136
#8  0x00007ff3e5876225 in timerSourcePrepare (source=<value optimized out>, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#9  0x00007ff3e079b087 in g_main_context_prepare () from /lib64/libglib-2.0.so.0
#10 0x00007ff3e079bfa9 in ?? () from /lib64/libglib-2.0.so.0
#11 0x00007ff3e079c650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#12 0x00007ff3e5876976 in QEventDispatcherGlib::processEvents (this=0x789120, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#13 0x00007ff3e584b052 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#14 0x00007ff3e584b265 in QEventLoop::exec (this=0x7ff3d604ade0, flags=...) at kernel/qeventloop.cpp:201
#15 0x00007ff3e57601e4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#16 0x00007ff3e582c968 in QInotifyFileSystemWatcherEngine::run (this=0x788930) at io/qfilesystemwatcher_inotify.cpp:248
#17 0x00007ff3e5762a5e in QThreadPrivate::start (arg=0x788930) at thread/qthread_unix.cpp:285
#18 0x00007ff3e41c1a3f in start_thread () from /lib64/libpthread.so.0
#19 0x00007ff3e44ab67d in clone () from /lib64/libc.so.6
#20 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff3e76ca760 (LWP 1066)):
[KCrash Handler]
#6  QAction::isSeparator (this=0x62007b00280020) at kernel/qaction.cpp:797
#7  0x00007ff3e504be0a in QMenuPrivate::setCurrentAction (this=0x7ffac0, action=0x62007b00280020, popup=150, reason=QMenuPrivate::SelectedFromElsewhere, activateFirst=false) at widgets/qmenu.cpp:562
#8  0x00007ff3e504ed46 in QMenu::mouseMoveEvent (this=0x81dc00, e=0x7fffef3f4950) at widgets/qmenu.cpp:2808
#9  0x00007ff3e4c6956c in QWidget::event (this=0x81dc00, event=0x7fffef3f4950) at kernel/qwidget.cpp:8185
#10 0x00007ff3e504f06b in QMenu::event (this=0x81dc00, e=0x7fffef3f4950) at widgets/qmenu.cpp:2410
#11 0x00007ff3dc230f5d in Oxygen::MenuBarDataV1::eventFilter (this=0x869c90, object=0x81dc00, event=0x7fffef3f4950) at /usr/src/debug/kdebase-workspace-4.6.0/kstyles/oxygen/animations/oxygenmenubardata.cpp:84
#12 0x00007ff3e584bd87 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x81dc00, event=0x7fffef3f4950) at kernel/qcoreapplication.cpp:847
#13 0x00007ff3e4c17ce1 in QApplicationPrivate::notify_helper (this=0x66d310, receiver=0x81dc00, e=0x7fffef3f4950) at kernel/qapplication.cpp:4441
#14 0x00007ff3e4c20aac in QApplication::notify (this=<value optimized out>, receiver=0x81dc00, e=0x7fffef3f4950) at kernel/qapplication.cpp:4006
#15 0x00007ff3e6ba09e6 in KApplication::notify (this=0x7fffef3f7020, receiver=0x81dc00, event=0x7fffef3f4950) at /usr/src/debug/kdelibs-4.6.0/kdeui/kernel/kapplication.cpp:311
#16 0x00007ff3e584bbfc in QCoreApplication::notifyInternal (this=0x7fffef3f7020, receiver=0x81dc00, event=0x7fffef3f4950) at kernel/qcoreapplication.cpp:732
#17 0x00007ff3e4c18d25 in sendEvent (receiver=0x81dc00, event=0x7fffef3f4950, alienWidget=0x0, nativeWidget=0x81dc00, buttonDown=0x7ff3e56e7178, lastMouseReceiver=..., spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:215
#18 QApplicationPrivate::sendMouseEvent (receiver=0x81dc00, event=0x7fffef3f4950, alienWidget=0x0, nativeWidget=0x81dc00, buttonDown=0x7ff3e56e7178, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3105
#19 0x00007ff3e4c19282 in QApplicationPrivate::sendSyntheticEnterLeave (this=<value optimized out>, widget=<value optimized out>) at kernel/qapplication.cpp:3191
#20 0x00007ff3e4c64bb3 in QWidgetPrivate::hideChildren (this=<value optimized out>, spontaneous=false) at kernel/qwidget.cpp:7737
#21 0x00007ff3e4c64d3d in QWidgetPrivate::hide_helper (this=0x889e60) at kernel/qwidget.cpp:7467
#22 0x00007ff3e4c6d398 in QWidget::setVisible (this=0x8ce660, visible=<value optimized out>) at kernel/qwidget.cpp:7639
#23 0x00007ff3e4c6fe32 in hide (this=0x850760, widget=0x8ce660) at ../../src/gui/kernel/qwidget.h:491
#24 QWidgetAction::releaseWidget (this=0x850760, widget=0x8ce660) at kernel/qwidgetaction.cpp:206
#25 0x00007ff3e504a18c in QMenu::actionEvent (this=0x81dc00, e=0x7fffef3f5420) at widgets/qmenu.cpp:2882
#26 0x00007ff3e4c691a0 in QWidget::event (this=0x81dc00, event=0x7fffef3f5420) at kernel/qwidget.cpp:8575
#27 0x00007ff3e504f06b in QMenu::event (this=0x81dc00, e=0x7fffef3f5420) at widgets/qmenu.cpp:2410
#28 0x00007ff3e4c17d14 in QApplicationPrivate::notify_helper (this=0x66d310, receiver=0x81dc00, e=0x7fffef3f5420) at kernel/qapplication.cpp:4445
#29 0x00007ff3e4c2022a in QApplication::notify (this=<value optimized out>, receiver=0x81dc00, e=0x7fffef3f5420) at kernel/qapplication.cpp:4324
#30 0x00007ff3e6ba09e6 in KApplication::notify (this=0x7fffef3f7020, receiver=0x81dc00, event=0x7fffef3f5420) at /usr/src/debug/kdelibs-4.6.0/kdeui/kernel/kapplication.cpp:311
#31 0x00007ff3e584bbfc in QCoreApplication::notifyInternal (this=0x7fffef3f7020, receiver=0x81dc00, event=0x7fffef3f5420) at kernel/qcoreapplication.cpp:732
#32 0x00007ff3e4c61ce8 in sendEvent (this=0x81dc00, action=0x850760) at ../../src/corelib/kernel/qcoreapplication.h:215
#33 QWidget::removeAction (this=0x81dc00, action=0x850760) at kernel/qwidget.cpp:3180
#34 0x0000000000412a14 in _start ()

Possible duplicates by query: bug 274591, bug 273569, bug 271722, bug 271560, bug 271461.

Reported using DrKonqi
Comment 1 Lamarque V. Souza 2011-06-25 15:07:36 UTC
Monolithic knetworkmanager is unmaintained, which means nobody is fixing bugs in it. Please uninstall it and install the plasmoid version from here: http://lists.opensuse.org/opensuse-kde/2011-05/msg00035.html

Please do not install the NetworkManager-kde4-0.9.svn1192577-7.2 package version from OpenSuse repositories because it is very outdated (more than six months old) and full of bugs that have already been fixed. Use one of the packages listed in the link above.

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