Bug 271223

Summary: Plasma crash after killing kded4
Product: [Unmaintained] plasma4 Reporter: Bernhard Jungk <fire>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Bernhard Jungk 2011-04-18 17:59:22 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-8-server x86_64
Distribution: Ubuntu Natty (development branch)

-- Information about the crash:
- What I was doing when the application crashed:

Suspend to RAM somtimes causes kded4 to hang (100% cpu load). I did not find out the root cause of this problem, but the only thing that helps is killing kded4 and restarting it. This in turn causes plasma to crash and restart.

It could be related to changes of attached hardware (different usb sound card after waking up) or to the network manager (different network after waking up).

The crash can be reproduced some of the time.

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

Thread 3 (Thread 0x7fcb12c10700 (LWP 1654)):
#0  0x00007fcb2c95e3c4 in __pthread_mutex_lock (mutex=0x18260d8) at pthread_mutex_lock.c:61
#1  0x00007fcb2c0570d3 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcb2c057f9d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcb2c058639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fcb34884446 in QEventDispatcherGlib::processEvents (this=0x17e1110, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fcb34858882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fcb34858abc in QEventLoop::exec (this=0x7fcb12c0fcd0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007fcb3476f924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#8  0x00007fcb3483ac2f in QInotifyFileSystemWatcherEngine::run (this=0x1825130) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007fcb34772175 in QThreadPrivate::start (arg=0x1825130) at thread/qthread_unix.cpp:320
#10 0x00007fcb2a0dd903 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#11 0x00007fcb2c95bd8c in start_thread (arg=0x7fcb12c10700) at pthread_create.c:304
#12 0x00007fcb3768304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fcb12206700 (LWP 1655)):
#0  0x00007fcb2c95fd9d in __pthread_mutex_unlock_usercnt (mutex=0x1857e08) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x1857e08) at pthread_mutex_unlock.c:290
#2  0x00007fcb2c05784e in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcb2c058122 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fcb2c058639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fcb34884446 in QEventDispatcherGlib::processEvents (this=0x1856df0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007fcb34858882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fcb34858abc in QEventLoop::exec (this=0x7fcb12205cd0, flags=...) at kernel/qeventloop.cpp:201
#8  0x00007fcb3476f924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#9  0x00007fcb3483ac2f in QInotifyFileSystemWatcherEngine::run (this=0x183eca0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007fcb34772175 in QThreadPrivate::start (arg=0x183eca0) at thread/qthread_unix.cpp:320
#11 0x00007fcb2a0dd903 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#12 0x00007fcb2c95bd8c in start_thread (arg=0x7fcb12206700) at pthread_create.c:304
#13 0x00007fcb3768304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fcb37d7d7c0 (LWP 1650)):
[KCrash Handler]
#6  0x00007fcb354b85df in QString (this=0x285005c, group=0, state=0) at /usr/include/qt4/QtCore/qstring.h:728
#7  KIconEffect::fingerprint (this=0x285005c, group=0, state=0) at ../../kdeui/icons/kiconeffect.cpp:169
#8  0x00007fcb354bdfeb in KIconLoaderPrivate::makeCacheKey (this=<value optimized out>, name=..., group=KIconLoader::Desktop, overlays=..., size=24, state=0) at ../../kdeui/icons/kiconloader.cpp:782
#9  0x00007fcb354c4d03 in KIconLoader::loadIcon (this=0x1d4b9a0, _name=<value optimized out>, group=KIconLoader::Desktop, size=24, state=0, overlays=..., path_store=0x0, canReturnNull=false) at ../../kdeui/icons/kiconloader.cpp:1226
#10 0x00007fcb354bcc99 in KIconEngine::pixmap (this=<value optimized out>, size=..., mode=<value optimized out>, state=<value optimized out>) at ../../kdeui/icons/kiconengine.cpp:93
#11 0x00007fcb33cc3dd5 in QIcon::pixmap (this=<value optimized out>, size=<value optimized out>, mode=<value optimized out>, state=<value optimized out>) at image/qicon.cpp:676
#12 0x00007fcb37265099 in Plasma::IconWidgetPrivate::decoration (this=0x279d1a0, option=<value optimized out>, useHoverEffect=false, usePressedEffect=false) at ../../plasma/widgets/iconwidget.cpp:812
#13 0x00007fcb3726ae51 in Plasma::IconWidget::paint (this=0x2116180, painter=0x7fff61c67c20, option=0x1264188, widget=<value optimized out>) at ../../plasma/widgets/iconwidget.cpp:1128
#14 0x00007fcb1ce323e9 in SystemTray::DBusSystemTrayWidget::paint (this=0x2116180, painter=0x7fff61c67c20, option=0x1264188, widget=<value optimized out>) at ../../../../../plasma/generic/applets/systemtray/protocols/dbussystemtray/dbussystemtraywidget.cpp:189
#15 0x00007fcb3420a19d in _q_paintItem (item=<value optimized out>, painter=0x7fff61c67c20, option=0x1264188, widget=0x0, useWindowOpacity=<value optimized out>, painterStateProtection=true) at graphicsview/qgraphicsscene.cpp:4314
#16 0x00007fcb3420a4b0 in _q_paintIntoCache (pix=0x7fff61c68150, item=0x2116190, pixmapExposed=..., itemToPixmap=..., renderHints=..., option=0x1264188, painterStateProtection=true) at graphicsview/qgraphicsscene.cpp:4352
#17 0x00007fcb3421dce8 in QGraphicsScenePrivate::drawItemHelper (this=0x1263f60, item=0x2116190, painter=0x7fff61c6a160, option=0x1264188, widget=<value optimized out>, painterStateProtection=true) at graphicsview/qgraphicsscene.cpp:4690
#18 0x00007fcb3421e8ba in QGraphicsScenePrivate::draw (this=0x1263f60, item=0x2116190, painter=0x7fff61c6a160, viewTransform=0x7fff61c69ef0, transformPtr=0x7fff61c68810, exposedRegion=0x1e21290, widget=0x16b5d90, opacity=1, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true) at graphicsview/qgraphicsscene.cpp:4962
#19 0x00007fcb3421f565 in QGraphicsScenePrivate::drawSubtreeRecursive (this=0x1263f60, item=0x2116190, painter=0x7fff61c6a160, viewTransform=0x7fff61c69ef0, exposedRegion=0x1e21290, widget=0x16b5d90, parentOpacity=<value optimized out>, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4853
#20 0x00007fcb3421e730 in QGraphicsScenePrivate::draw (this=0x1263f60, item=0x14faed0, painter=0x7fff61c6a160, viewTransform=0x7fff61c69ef0, transformPtr=0x7fff61c68e10, exposedRegion=0x1e21290, widget=0x16b5d90, opacity=1, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true) at graphicsview/qgraphicsscene.cpp:4979
#21 0x00007fcb3421f565 in QGraphicsScenePrivate::drawSubtreeRecursive (this=0x1263f60, item=0x14faed0, painter=0x7fff61c6a160, viewTransform=0x7fff61c69ef0, exposedRegion=0x1e21290, widget=0x16b5d90, parentOpacity=<value optimized out>, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4853
#22 0x00007fcb3421e730 in QGraphicsScenePrivate::draw (this=0x1263f60, item=0x14b61a0, painter=0x7fff61c6a160, viewTransform=0x7fff61c69ef0, transformPtr=0x7fff61c69410, exposedRegion=0x1e21290, widget=0x16b5d90, opacity=1, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true) at graphicsview/qgraphicsscene.cpp:4979
#23 0x00007fcb3421f565 in QGraphicsScenePrivate::drawSubtreeRecursive (this=0x1263f60, item=0x14b61a0, painter=0x7fff61c6a160, viewTransform=0x7fff61c69ef0, exposedRegion=0x1e21290, widget=0x16b5d90, parentOpacity=<value optimized out>, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4853
#24 0x00007fcb3421e730 in QGraphicsScenePrivate::draw (this=0x1263f60, item=0x1350800, painter=0x7fff61c6a160, viewTransform=0x7fff61c69ef0, transformPtr=0x7fff61c69a10, exposedRegion=0x1e21290, widget=0x16b5d90, opacity=1, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true) at graphicsview/qgraphicsscene.cpp:4979
#25 0x00007fcb3421f565 in QGraphicsScenePrivate::drawSubtreeRecursive (this=0x1263f60, item=0x1350800, painter=0x7fff61c6a160, viewTransform=0x7fff61c69ef0, exposedRegion=0x1e21290, widget=0x16b5d90, parentOpacity=<value optimized out>, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4853
#26 0x00007fcb3421fd94 in QGraphicsScenePrivate::drawItems (this=0x1263f60, painter=0x7fff61c6a160, viewTransform=0x7fff61c69ef0, exposedRegion=0x1e21290, widget=0x16b5d90) at graphicsview/qgraphicsscene.cpp:4735
#27 0x00007fcb3423cbd2 in QGraphicsView::paintEvent (this=<value optimized out>, event=<value optimized out>) at graphicsview/qgraphicsview.cpp:3469
#28 0x00007fcb33c6bc6a in QWidget::event (this=0x184d580, event=0x7fff61c6aa80) at kernel/qwidget.cpp:8405
#29 0x00007fcb3401ba66 in QFrame::event (this=0x184d580, e=0x7fff61c6aa80) at widgets/qframe.cpp:557
#30 0x00007fcb3423de8b in QGraphicsView::viewportEvent (this=0x184d580, event=0x7fff61c6aa80) at graphicsview/qgraphicsview.cpp:2864
#31 0x00007fcb34859627 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x16b5d90, event=0x7fff61c6aa80) at kernel/qcoreapplication.cpp:846
#32 0x00007fcb33c1a9b1 in QApplicationPrivate::notify_helper (this=0x1262230, receiver=0x16b5d90, e=0x7fff61c6aa80) at kernel/qapplication.cpp:4458
#33 0x00007fcb33c1f3aa in QApplication::notify (this=<value optimized out>, receiver=0x16b5d90, e=0x7fff61c6aa80) at kernel/qapplication.cpp:4341
#34 0x00007fcb35511866 in KApplication::notify (this=0x1233670, receiver=0x16b5d90, event=0x7fff61c6aa80) at ../../kdeui/kernel/kapplication.cpp:311
#35 0x00007fcb3485949c in QCoreApplication::notifyInternal (this=0x1233670, receiver=0x16b5d90, event=0x7fff61c6aa80) at kernel/qcoreapplication.cpp:731
#36 0x00007fcb33c68abd in sendSpontaneousEvent (this=0x1dfea70, pdev=0x1d55118, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x1c54020) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#37 QWidgetPrivate::drawWidget (this=0x1dfea70, pdev=0x1d55118, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x1c54020) at kernel/qwidget.cpp:5492
#38 0x00007fcb33c696d2 in QWidgetPrivate::paintSiblingsRecursive (this=0x1e20e00, pdev=0x1d55118, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x1c54020) at kernel/qwidget.cpp:5699
#39 0x00007fcb33c6958a in QWidgetPrivate::paintSiblingsRecursive (this=0x1e20e00, pdev=0x1d55118, siblings=..., index=4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x1c54020) at kernel/qwidget.cpp:5686
#40 0x00007fcb33c6958a in QWidgetPrivate::paintSiblingsRecursive (this=0x1e20e00, pdev=0x1d55118, siblings=..., index=5, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x1c54020) at kernel/qwidget.cpp:5686
#41 0x00007fcb33c687fc in QWidgetPrivate::drawWidget (this=0x1e20e00, pdev=0x1d55118, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x1c54020) at kernel/qwidget.cpp:5545
#42 0x00007fcb33e2d2fb in QWidgetBackingStore::sync (this=0x1c54020) at painting/qbackingstore.cpp:1333
#43 0x00007fcb33c5ef50 in QWidgetPrivate::syncBackingStore (this=0x1e20e00) at kernel/qwidget.cpp:1842
#44 0x00007fcb33c6c184 in QWidget::event (this=0x184d580, event=0x2142770) at kernel/qwidget.cpp:8552
#45 0x00007fcb3401ba66 in QFrame::event (this=0x184d580, e=0x2142770) at widgets/qframe.cpp:557
#46 0x00007fcb3409d1fb in QAbstractScrollArea::event (this=0x184d580, e=0x2142770) at widgets/qabstractscrollarea.cpp:996
#47 0x00007fcb37974fe6 in PanelView::event (this=0x184d580, event=0x2142770) at ../../../../plasma/desktop/shell/panelview.cpp:1604
#48 0x00007fcb33c1a9e4 in QApplicationPrivate::notify_helper (this=0x1262230, receiver=0x184d580, e=0x2142770) at kernel/qapplication.cpp:4462
#49 0x00007fcb33c1f3aa in QApplication::notify (this=<value optimized out>, receiver=0x184d580, e=0x2142770) at kernel/qapplication.cpp:4341
#50 0x00007fcb35511866 in KApplication::notify (this=0x1233670, receiver=0x184d580, event=0x2142770) at ../../kdeui/kernel/kapplication.cpp:311
#51 0x00007fcb3485949c in QCoreApplication::notifyInternal (this=0x1233670, receiver=0x184d580, event=0x2142770) at kernel/qcoreapplication.cpp:731
#52 0x00007fcb3485cc25 in sendEvent (receiver=0x184d580, event_type=77, data=0x11a4b60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#53 QCoreApplicationPrivate::sendPostedEvents (receiver=0x184d580, event_type=77, data=0x11a4b60) at kernel/qcoreapplication.cpp:1372
#54 0x00007fcb3421688a in dispatchPendingUpdateRequests (this=0x1263f60) at ../../include/QtGui/private/../../../src/gui/graphicsview/qgraphicsview_p.h:189
#55 QGraphicsScenePrivate::_q_processDirtyItems (this=0x1263f60) at graphicsview/qgraphicsscene.cpp:510
#56 0x00007fcb34216caa in QGraphicsScene::qt_metacall (this=0x132e110, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0x27670b0) at .moc/release-shared/moc_qgraphicsscene.cpp:130
#57 0x00007fcb371b8b65 in Plasma::Corona::qt_metacall (this=0x132e110, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x27670b0) at ./corona.moc:109
#58 0x00007fcb37969065 in DesktopCorona::qt_metacall (this=0x132e110, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x27670b0) at ./desktopcorona.moc:101
#59 0x00007fcb3486d49a in QObject::event (this=0x132e110, e=<value optimized out>) at kernel/qobject.cpp:1226
#60 0x00007fcb3422358b in QGraphicsScene::event (this=0x132e110, event=0x17de350) at graphicsview/qgraphicsscene.cpp:3544
#61 0x00007fcb33c1a9e4 in QApplicationPrivate::notify_helper (this=0x1262230, receiver=0x132e110, e=0x17de350) at kernel/qapplication.cpp:4462
#62 0x00007fcb33c1f3aa in QApplication::notify (this=<value optimized out>, receiver=0x132e110, e=0x17de350) at kernel/qapplication.cpp:4341
#63 0x00007fcb35511866 in KApplication::notify (this=0x1233670, receiver=0x132e110, event=0x17de350) at ../../kdeui/kernel/kapplication.cpp:311
#64 0x00007fcb3485949c in QCoreApplication::notifyInternal (this=0x1233670, receiver=0x132e110, event=0x17de350) at kernel/qcoreapplication.cpp:731
#65 0x00007fcb3485cc25 in sendEvent (receiver=0x0, event_type=0, data=0x11a4b60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#66 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x11a4b60) at kernel/qcoreapplication.cpp:1372
#67 0x00007fcb34884253 in sendPostedEvents (s=0x12695c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#68 postEventSourceDispatch (s=0x12695c0) at kernel/qeventdispatcher_glib.cpp:277
#69 0x00007fcb2c057bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#70 0x00007fcb2c0583a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#71 0x00007fcb2c058639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#72 0x00007fcb348843ef in QEventDispatcherGlib::processEvents (this=0x11a4340, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#73 0x00007fcb33cc1dfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#74 0x00007fcb34858882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#75 0x00007fcb34858abc in QEventLoop::exec (this=0x7fff61c6cda0, flags=...) at kernel/qeventloop.cpp:201
#76 0x00007fcb3485cecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#77 0x00007fcb3796f897 in kdemain (argc=1, argv=0x7fff61c6d168) at ../../../../plasma/desktop/shell/main.cpp:118
#78 0x00007fcb375bbeff in __libc_start_main (main=0x400740 <main(int, char**)>, argc=1, ubp_av=0x7fff61c6d168, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff61c6d158) at libc-start.c:226
#79 0x0000000000400669 in _start ()

This bug may be a duplicate of or related to bug 226596.

Possible duplicates by query: bug 270801, bug 270780, bug 270352, bug 270186, bug 270021.

Reported using DrKonqi
Comment 1 Dario Andres 2011-04-22 22:49:48 UTC
[Comment from a bug report cleaner]
This is related/duplicate of bug 258706 or bug 226596. Regards
Comment 2 Christoph Feck 2011-05-03 16:53:00 UTC

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