Bug 274808

Summary: plasma crashes when kded4 is killed to fix 100% cpu problem
Product: [Unmaintained] plasma4 Reporter: Robert Auch <rauch>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: adaptee, asraniel, notmart, odysei
Priority: NOR    
Version: 4.6.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Robert Auch 2011-06-03 04:35:12 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38.2.20110526 x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
I killed kded4 (required kill -9, kill -15 did not stop kded4)
I restarted kded4 from a already-running terminal
I clicked on the "battery" icon in the sytsem notification area
plasma crashed

- Unusual behavior I noticed:
kded4 was taking up 100% cpu utilization (1 of 2 cores, bouncing betewen cores), but wouldn't respond to signals.  CPU spinup happened when internet connection died.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Plasma Desktop Shell (plasma-desktop), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fa2ba2417a0 (LWP 7436))]

Thread 5 (Thread 0x7fa29e0a9700 (LWP 7437)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007fa29e0a8ac0 in ?? ()
#2  0x00007fffa30c17b2 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 4 (Thread 0x7fa29ced6700 (LWP 7438)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007fa29ced5ac0 in ?? ()
#2  0x00007fffa30c17b2 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 3 (Thread 0x7fa28f719700 (LWP 7441)):
#0  0x00007fa2b9b3df03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fa2ae520104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa2ae5209f2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa290830c44 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fa2ae5473e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fa2aee23d8c in start_thread (arg=0x7fa28f719700) at pthread_create.c:304
#6  0x00007fa2b9b4b04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fa291f46700 (LWP 8651)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007fa2b6c3a79e in wait (this=<value optimized out>, mutex=0x27d8340, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x27d8340, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fa2b6c2f218 in QThreadPoolThread::run (this=0x27d8490) at concurrent/qthreadpool.cpp:140
#4  0x00007fa2b6c3a175 in QThreadPrivate::start (arg=0x27d8490) at thread/qthread_unix.cpp:320
#5  0x00007fa2aee23d8c in start_thread (arg=0x7fa291f46700) at pthread_create.c:304
#6  0x00007fa2b9b4b04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fa2ba2417a0 (LWP 7436)):
[KCrash Handler]
#6  Plasma::Service::operationDescription (this=0x20d2c10, operationName=...) at ../../plasma/service.cpp:185
#7  0x00007fa2a08c4d36 in SystemTray::DBusSystemTrayWidget::mouseReleaseEvent (this=0x2877f00, event=0x7fffa30b0840) at ../../../../../plasma/generic/applets/systemtray/protocols/dbussystemtray/dbussystemtraywidget.cpp:77
#8  0x00007fa2b66afeca in QGraphicsItem::sceneEvent (this=0x2877f10, event=0x7fffa30b0840) at graphicsview/qgraphicsitem.cpp:6721
#9  0x00007fa2b66d8b98 in QGraphicsScenePrivate::sendMouseEvent (this=0x1dfa800, mouseEvent=0x7fffa30b0840) at graphicsview/qgraphicsscene.cpp:1281
#10 0x00007fa2b66d9575 in QGraphicsScene::mouseReleaseEvent (this=<value optimized out>, mouseEvent=0x7fffa30b0840) at graphicsview/qgraphicsscene.cpp:4107
#11 0x00007fa2b66eb75f in QGraphicsScene::event (this=0x1e57ae0, event=0x7fffa30b0840) at graphicsview/qgraphicsscene.cpp:3440
#12 0x00007fa2b60e29e4 in QApplicationPrivate::notify_helper (this=0x1dfc4b0, receiver=0x1e57ae0, e=0x7fffa30b0840) at kernel/qapplication.cpp:4462
#13 0x00007fa2b60e73aa in QApplication::notify (this=<value optimized out>, receiver=0x1e57ae0, e=0x7fffa30b0840) at kernel/qapplication.cpp:4341
#14 0x00007fa2b79d9866 in KApplication::notify (this=0x1de5dc0, receiver=0x1e57ae0, event=0x7fffa30b0840) at ../../kdeui/kernel/kapplication.cpp:311
#15 0x00007fa2b6d2149c in QCoreApplication::notifyInternal (this=0x1de5dc0, receiver=0x1e57ae0, event=0x7fffa30b0840) at kernel/qcoreapplication.cpp:731
#16 0x00007fa2b6702f9c in QGraphicsView::mouseReleaseEvent (this=0x2df1660, event=0x7fffa30b1270) at graphicsview/qgraphicsview.cpp:3336
#17 0x00007fa2b6133cb8 in QWidget::event (this=0x2df1660, event=0x7fffa30b1270) at kernel/qwidget.cpp:8259
#18 0x00007fa2b64e3a66 in QFrame::event (this=0x2df1660, e=0x7fffa30b1270) at widgets/qframe.cpp:557
#19 0x00007fa2b6705e8b in QGraphicsView::viewportEvent (this=0x2df1660, event=0x7fffa30b1270) at graphicsview/qgraphicsview.cpp:2864
#20 0x00007fa2b6d21627 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x2403060, event=0x7fffa30b1270) at kernel/qcoreapplication.cpp:846
#21 0x00007fa2b60e29b1 in QApplicationPrivate::notify_helper (this=0x1dfc4b0, receiver=0x2403060, e=0x7fffa30b1270) at kernel/qapplication.cpp:4458
#22 0x00007fa2b60e7db3 in QApplication::notify (this=<value optimized out>, receiver=0x2403060, e=0x7fffa30b1270) at kernel/qapplication.cpp:4023
#23 0x00007fa2b79d9866 in KApplication::notify (this=0x1de5dc0, receiver=0x2403060, event=0x7fffa30b1270) at ../../kdeui/kernel/kapplication.cpp:311
#24 0x00007fa2b6d2149c in QCoreApplication::notifyInternal (this=0x1de5dc0, receiver=0x2403060, event=0x7fffa30b1270) at kernel/qcoreapplication.cpp:731
#25 0x00007fa2b60e3a0d in sendEvent (receiver=0x2403060, event=0x7fffa30b1270, alienWidget=0x2403060, nativeWidget=0x2df1660, buttonDown=0x7fa2b6bc3218, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QApplicationPrivate::sendMouseEvent (receiver=0x2403060, event=0x7fffa30b1270, alienWidget=0x2403060, nativeWidget=0x2df1660, buttonDown=0x7fa2b6bc3218, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3122
#27 0x00007fa2b6163600 in QETWidget::translateMouseEvent (this=0x2df1660, event=<value optimized out>) at kernel/qapplication_x11.cpp:4556
#28 0x00007fa2b616204a in QApplication::x11ProcessEvent (this=0x1de5dc0, event=0x7fffa30b1bc0) at kernel/qapplication_x11.cpp:3678
#29 0x00007fa2b618a162 in x11EventSourceDispatch (s=0x1df92d0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#30 0x00007fa2ae51fbcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007fa2ae5203a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007fa2ae520639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007fa2b6d4c3ef in QEventDispatcherGlib::processEvents (this=0x1d71340, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#34 0x00007fa2b6189dfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007fa2b6d20882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007fa2b6d20abc in QEventLoop::exec (this=0x7fffa30b1ec0, flags=...) at kernel/qeventloop.cpp:201
#37 0x00007fa2b6521a11 in QMenu::exec (this=0x7fffa30b1f30, p=..., action=0x0) at widgets/qmenu.cpp:2059
#38 0x00007fa2b967367f in Plasma::Containment::contextMenuEvent (this=<value optimized out>, event=0x7fffa30b2730) at ../../plasma/containment.cpp:663
#39 0x00007fa2b66afe9c in QGraphicsItem::sceneEvent (this=0x1ed3100, event=0x7fffa30b2730) at graphicsview/qgraphicsitem.cpp:6691
#40 0x00007fa2b66d86cb in QGraphicsScene::contextMenuEvent (this=<value optimized out>, contextMenuEvent=0x7fffa30b2730) at graphicsview/qgraphicsscene.cpp:3596
#41 0x00007fa2b66eb724 in QGraphicsScene::event (this=0x1e57ae0, event=0x7fffa30b2730) at graphicsview/qgraphicsscene.cpp:3394
#42 0x00007fa2b60e29e4 in QApplicationPrivate::notify_helper (this=0x1dfc4b0, receiver=0x1e57ae0, e=0x7fffa30b2730) at kernel/qapplication.cpp:4462
#43 0x00007fa2b60e73aa in QApplication::notify (this=<value optimized out>, receiver=0x1e57ae0, e=0x7fffa30b2730) at kernel/qapplication.cpp:4341
#44 0x00007fa2b79d9866 in KApplication::notify (this=0x1de5dc0, receiver=0x1e57ae0, event=0x7fffa30b2730) at ../../kdeui/kernel/kapplication.cpp:311
#45 0x00007fa2b6d2149c in QCoreApplication::notifyInternal (this=0x1de5dc0, receiver=0x1e57ae0, event=0x7fffa30b2730) at kernel/qcoreapplication.cpp:731
#46 0x00007fa2b66fd96b in sendEvent (this=0x2df1660, event=0x7fffa30b3020) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#47 QGraphicsView::contextMenuEvent (this=0x2df1660, event=0x7fffa30b3020) at graphicsview/qgraphicsview.cpp:2890
#48 0x00007fa2b6133a10 in QWidget::event (this=0x2df1660, event=0x7fffa30b3020) at kernel/qwidget.cpp:8426
#49 0x00007fa2b64e3a66 in QFrame::event (this=0x2df1660, e=0x7fffa30b3020) at widgets/qframe.cpp:557
#50 0x00007fa2b6705e8b in QGraphicsView::viewportEvent (this=0x2df1660, event=0x7fffa30b3020) at graphicsview/qgraphicsview.cpp:2864
#51 0x00007fa2b6d21627 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x2403060, event=0x7fffa30b3020) at kernel/qcoreapplication.cpp:846
#52 0x00007fa2b60e29b1 in QApplicationPrivate::notify_helper (this=0x1dfc4b0, receiver=0x2403060, e=0x7fffa30b3020) at kernel/qapplication.cpp:4458
#53 0x00007fa2b60e7561 in QApplication::notify (this=<value optimized out>, receiver=0x2403060, e=0x7fffa30b3020) at kernel/qapplication.cpp:4102
#54 0x00007fa2b79d9866 in KApplication::notify (this=0x1de5dc0, receiver=0x2403060, event=0x7fffa30b3020) at ../../kdeui/kernel/kapplication.cpp:311
#55 0x00007fa2b6d2149c in QCoreApplication::notifyInternal (this=0x1de5dc0, receiver=0x2403060, event=0x7fffa30b3020) at kernel/qcoreapplication.cpp:731
#56 0x00007fa2b616365d in sendSpontaneousEvent (this=<value optimized out>, event=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#57 QETWidget::translateMouseEvent (this=<value optimized out>, event=<value optimized out>) at kernel/qapplication_x11.cpp:4561
#58 0x00007fa2b616204a in QApplication::x11ProcessEvent (this=0x1de5dc0, event=0x7fffa30b39a0) at kernel/qapplication_x11.cpp:3678
#59 0x00007fa2b618a162 in x11EventSourceDispatch (s=0x1df92d0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#60 0x00007fa2ae51fbcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#61 0x00007fa2ae5203a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#62 0x00007fa2ae520639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#63 0x00007fa2b6d4c3ef in QEventDispatcherGlib::processEvents (this=0x1d71340, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#64 0x00007fa2b6189dfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#65 0x00007fa2b6d20882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#66 0x00007fa2b6d20abc in QEventLoop::exec (this=0x7fffa30b3ca0, flags=...) at kernel/qeventloop.cpp:201
#67 0x00007fa2b6d24ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#68 0x00007fa2b9e37897 in kdemain (argc=1, argv=0x7fffa30b4068) at ../../../../plasma/desktop/shell/main.cpp:118
#69 0x00007fa2b9a83eff in __libc_start_main (main=0x400740 <main(int, char**)>, argc=1, ubp_av=0x7fffa30b4068, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fffa30b4058) at libc-start.c:226
#70 0x0000000000400669 in _start ()

Possible duplicates by query: bug 272446.

Reported using DrKonqi
Comment 1 Beat Wolf 2011-06-03 15:36:07 UTC
looks similar to https://bugs.kde.org/show_bug.cgi?id=272446 which was closed. Perhaps this was fixed at the same time.
Comment 2 Robert Auch 2011-06-04 03:39:29 UTC
I saw that one when reporting mine, however the only programs I had open were yakuake and 2 konsole windows (skype and pidgin autostart, but were closed at the time, I believe).  I wasn't doing any size changes or closing those programs.

While the similarity is "a process was closed", the difference I saw was that kopote was a program inside kde, while kded4 is an integral part of KDE.

I have the latest packages from Ubuntu as of the date the report was filed, so don't know if the bug previously mentioned (from 1 month ago) is already in Kubuntu, so I don't know how to check if that fixes my problem. :/
Comment 3 Lamarque V. Souza 2011-10-29 16:44:57 UTC
*** Bug 285216 has been marked as a duplicate of this bug. ***
Comment 4 Marco Martin 2012-06-28 09:04:40 UTC

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