Bug 273943

Summary: Plasma Crash after Desktop-Effects became slow
Product: [Plasma] plasma4 Reporter: Lennart Rosam <rosam.lennart>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: lamarque
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Screenshot of graphical glitches

Description Lennart Rosam 2011-05-23 10:16:58 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-28-generic x86_64
Distribution: Linux Mint 10 Julia

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

1. Noticed serious slowdown of the KDE Desktop effects. top showed that xorg was using arround 70 % of the CPU.
2, Disabled desktop effects, X.Org was still using the better part of the cpu. Grapfical glitches started to happen (see screenshot).
3. Switched to another workspace and restored hamster time tracker from task-bar -> Plasma crash

The crash can be reproduced some of the time.

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

Thread 3 (Thread 0x7fdf1937a700 (LWP 5775)):
#0  0x00007fdf3be53203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fdf30af2009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fdf30af245c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007fdf38fb91e6 in QEventDispatcherGlib::processEvents (this=0x23cbc80, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007fdf38f8ba02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fdf38f8bdec in QEventLoop::exec (this=0x7fdf19379d90, flags=) at kernel/qeventloop.cpp:201
#6  0x00007fdf38e962fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007fdf38f6b5f8 in QInotifyFileSystemWatcherEngine::run (this=0x240cf50) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fdf38e9927e in QThreadPrivate::start (arg=0x240cf50) at thread/qthread_unix.cpp:266
#9  0x00007fdf311a4971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007fdf3be5f92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fdf12c65700 (LWP 5776)):
#0  0x00007fdf3be53203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fdf30af2009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fdf30af245c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007fdf38fb91e6 in QEventDispatcherGlib::processEvents (this=0x2486640, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007fdf38f8ba02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fdf38f8bdec in QEventLoop::exec (this=0x7fdf12c64d90, flags=) at kernel/qeventloop.cpp:201
#6  0x00007fdf38e962fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007fdf38f6b5f8 in QInotifyFileSystemWatcherEngine::run (this=0x2485c80) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fdf38e9927e in QThreadPrivate::start (arg=0x2485c80) at thread/qthread_unix.cpp:266
#9  0x00007fdf311a4971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007fdf3be5f92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fdf3c542780 (LWP 5772)):
[KCrash Handler]
#6  0x00007fdf39c31a6c in QString (this=0x28, group=0, state=0) at /usr/include/qt4/QtCore/qstring.h:727
#7  KIconEffect::fingerprint (this=0x28, group=0, state=0) at ../../kdeui/icons/kiconeffect.cpp:169
#8  0x00007fdf39c354be in KIconLoaderPrivate::makeCacheKey (this=<value optimized out>, name=..., group=KIconLoader::Desktop, overlays=..., size=24, state=0) at ../../kdeui/icons/kiconloader.cpp:782
#9  0x00007fdf39c3d544 in KIconLoader::loadIcon (this=0x3980240, _name=<value optimized out>, group=KIconLoader::Desktop, size=24, state=0, overlays=..., path_store=0x0, canReturnNull=false) at ../../kdeui/icons/kiconloader.cpp:1226
#10 0x00007fdf39c34070 in KIconEngine::pixmap (this=<value optimized out>, size=..., mode=<value optimized out>, state=<value optimized out>) at ../../kdeui/icons/kiconengine.cpp:93
#11 0x00007fdf383a8e55 in QIcon::pixmap (this=<value optimized out>, size=..., mode=QIcon::Normal, state=57554032) at image/qicon.cpp:676
#12 0x00007fdf3ba43173 in Plasma::IconWidgetPrivate::decoration (this=0x20ca260, option=<value optimized out>, useHoverEffect=false, usePressedEffect=false) at ../../plasma/widgets/iconwidget.cpp:812
#13 0x00007fdf3ba4540c in Plasma::IconWidget::paint (this=0x27283c0, painter=0x7fff36896210, option=0x1c2f7c8, widget=<value optimized out>) at ../../plasma/widgets/iconwidget.cpp:1128
#14 0x00007fdf21103159 in SystemTray::DBusSystemTrayWidget::paint (this=0x7fff36895650, painter=0x28, option=0x0, widget=0x0) at ../../../../../plasma/generic/applets/systemtray/protocols/dbussystemtray/dbussystemtraywidget.cpp:189
#15 0x00007fdf389330dd in _q_paintItem (item=<value optimized out>, painter=0x7fff36896210, option=0x1c2f7c8, widget=0x0, useWindowOpacity=<value optimized out>, painterStateProtection=<value optimized out>) at graphicsview/qgraphicsscene.cpp:4318
#16 0x00007fdf3893561c in _q_paintIntoCache (pix=0x7fff36896830, item=<value optimized out>, pixmapExposed=..., itemToPixmap=<value optimized out>, renderHints=) at graphicsview/qgraphicsscene.cpp:4356
#17 0x00007fdf3894d9b2 in QGraphicsScenePrivate::drawItemHelper (this=<value optimized out>, item=0x27283d0, painter=0x7fff368986e0, option=0x1c2f7c8, widget=<value optimized out>, painterStateProtection=<value optimized out>) at graphicsview/qgraphicsscene.cpp:4654
#18 0x00007fdf3894e2ad in QGraphicsScenePrivate::draw (this=<value optimized out>, item=0x27283d0, painter=0x7fff368986e0, viewTransform=<value optimized out>, transformPtr=<value optimized out>, exposedRegion=<value optimized out>, widget=0x264e480, opacity=<value optimized out>, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true) at graphicsview/qgraphicsscene.cpp:4895
#19 0x00007fdf3894ef42 in QGraphicsScenePrivate::drawSubtreeRecursive (this=<value optimized out>, item=0x27283d0, painter=0x7fff368986e0, viewTransform=0x7fff36898470, exposedRegion=0x2b20960, widget=0x264e480, parentOpacity=<value optimized out>, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4817
#20 0x00007fdf3894e348 in QGraphicsScenePrivate::draw (this=<value optimized out>, item=0x20951b0, painter=0x7fff368986e0, viewTransform=<value optimized out>, transformPtr=<value optimized out>, exposedRegion=<value optimized out>, widget=0x264e480, opacity=<value optimized out>, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true) at graphicsview/qgraphicsscene.cpp:4909
#21 0x00007fdf3894ef42 in QGraphicsScenePrivate::drawSubtreeRecursive (this=<value optimized out>, item=0x20951b0, painter=0x7fff368986e0, viewTransform=0x7fff36898470, exposedRegion=0x2b20960, widget=0x264e480, parentOpacity=<value optimized out>, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4817
#22 0x00007fdf3894e348 in QGraphicsScenePrivate::draw (this=<value optimized out>, item=0x1fb35e0, painter=0x7fff368986e0, viewTransform=<value optimized out>, transformPtr=<value optimized out>, exposedRegion=<value optimized out>, widget=0x264e480, opacity=<value optimized out>, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true) at graphicsview/qgraphicsscene.cpp:4909
#23 0x00007fdf3894ef42 in QGraphicsScenePrivate::drawSubtreeRecursive (this=<value optimized out>, item=0x1fb35e0, painter=0x7fff368986e0, viewTransform=0x7fff36898470, exposedRegion=0x2b20960, widget=0x264e480, parentOpacity=<value optimized out>, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4817
#24 0x00007fdf3894e348 in QGraphicsScenePrivate::draw (this=<value optimized out>, item=0x1ecf430, painter=0x7fff368986e0, viewTransform=<value optimized out>, transformPtr=<value optimized out>, exposedRegion=<value optimized out>, widget=0x264e480, opacity=<value optimized out>, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true) at graphicsview/qgraphicsscene.cpp:4909
#25 0x00007fdf3894ef42 in QGraphicsScenePrivate::drawSubtreeRecursive (this=<value optimized out>, item=0x1ecf430, painter=0x7fff368986e0, viewTransform=0x7fff36898470, exposedRegion=0x2b20960, widget=0x264e480, parentOpacity=<value optimized out>, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4817
#26 0x00007fdf3894f784 in QGraphicsScenePrivate::drawItems (this=0x1c2f5a0, painter=0x7fff368986e0, viewTransform=0x7fff36898470, exposedRegion=0x2b20960, widget=0x264e480) at graphicsview/qgraphicsscene.cpp:4699
#27 0x00007fdf3896b2e3 in QGraphicsView::paintEvent (this=<value optimized out>, event=<value optimized out>) at graphicsview/qgraphicsview.cpp:3467
#28 0x00007fdf38349c2e in QWidget::event (this=0x29e67f0, event=0x7fff36899010) at kernel/qwidget.cpp:8333
#29 0x00007fdf387155e6 in QFrame::event (this=0x29e67f0, e=0x7fff36899010) at widgets/qframe.cpp:557
#30 0x00007fdf3896787b in QGraphicsView::viewportEvent (this=0x29e67f0, event=0x7fff36899010) at graphicsview/qgraphicsview.cpp:2862
#31 0x00007fdf38f8c507 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x264e480, event=0x7fff36899010) at kernel/qcoreapplication.cpp:847
#32 0x00007fdf382f3fac in QApplicationPrivate::notify_helper (this=0x1c1f5b0, receiver=0x264e480, e=0x7fff36899010) at kernel/qapplication.cpp:4392
#33 0x00007fdf382f9aed in QApplication::notify (this=0x1c07570, receiver=0x264e480, e=0x7fff36899010) at kernel/qapplication.cpp:4277
#34 0x00007fdf39c932f6 in KApplication::notify (this=0x1c07570, receiver=0x264e480, event=0x7fff36899010) at ../../kdeui/kernel/kapplication.cpp:311
#35 0x00007fdf38f8ccdc in QCoreApplication::notifyInternal (this=0x1c07570, receiver=0x264e480, event=0x7fff36899010) at kernel/qcoreapplication.cpp:732
#36 0x00007fdf3835067d in sendSpontaneousEvent (this=0x2650ad0, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, backingStore=0x2a25a70) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#37 QWidgetPrivate::drawWidget (this=0x2650ad0, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, backingStore=0x2a25a70) at kernel/qwidget.cpp:5420
#38 0x00007fdf38351328 in QWidgetPrivate::paintSiblingsRecursive (this=<value optimized out>, pdev=<value optimized out>, siblings=..., index=2, rgn=<value optimized out>, offset=<value optimized out>, flags=4, sharedPainter=0x0, backingStore=0x2a25a70) at kernel/qwidget.cpp:5627
#39 0x00007fdf38351159 in QWidgetPrivate::paintSiblingsRecursive (this=<value optimized out>, pdev=<value optimized out>, siblings=..., index=5, rgn=<value optimized out>, offset=<value optimized out>, flags=4, sharedPainter=0x0, backingStore=0x2a25a70) at kernel/qwidget.cpp:5614
#40 0x00007fdf38351159 in QWidgetPrivate::paintSiblingsRecursive (this=<value optimized out>, pdev=<value optimized out>, siblings=..., index=6, rgn=<value optimized out>, offset=<value optimized out>, flags=4, sharedPainter=0x0, backingStore=0x2a25a70) at kernel/qwidget.cpp:5614
#41 0x00007fdf38351159 in QWidgetPrivate::paintSiblingsRecursive (this=<value optimized out>, pdev=<value optimized out>, siblings=..., index=7, rgn=<value optimized out>, offset=<value optimized out>, flags=4, sharedPainter=0x0, backingStore=0x2a25a70) at kernel/qwidget.cpp:5614
#42 0x00007fdf383503da in QWidgetPrivate::drawWidget (this=0x2b204d0, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, backingStore=0x2a25a70) at kernel/qwidget.cpp:5473
#43 0x00007fdf38524408 in QWidgetBackingStore::sync (this=0x2a25a70) at painting/qbackingstore.cpp:1328
#44 0x00007fdf38343730 in QWidgetPrivate::syncBackingStore (this=0x2b204d0) at kernel/qwidget.cpp:1805
#45 0x00007fdf3834a2f5 in QWidget::event (this=0x29e67f0, event=0x36dbfc0) at kernel/qwidget.cpp:8480
#46 0x00007fdf387155e6 in QFrame::event (this=0x29e67f0, e=0x36dbfc0) at widgets/qframe.cpp:557
#47 0x00007fdf387a371b in QAbstractScrollArea::event (this=0x29e67f0, e=0x36dbfc0) at widgets/qabstractscrollarea.cpp:996
#48 0x00007fdf3c1480b0 in PanelView::event (this=0x29e67f0, event=0x36dbfc0) at ../../../../plasma/desktop/shell/panelview.cpp:1604
#49 0x00007fdf382f3fdc in QApplicationPrivate::notify_helper (this=0x1c1f5b0, receiver=0x29e67f0, e=0x36dbfc0) at kernel/qapplication.cpp:4396
#50 0x00007fdf382f9aed in QApplication::notify (this=0x1c07570, receiver=0x29e67f0, e=0x36dbfc0) at kernel/qapplication.cpp:4277
#51 0x00007fdf39c932f6 in KApplication::notify (this=0x1c07570, receiver=0x29e67f0, event=0x36dbfc0) at ../../kdeui/kernel/kapplication.cpp:311
#52 0x00007fdf38f8ccdc in QCoreApplication::notifyInternal (this=0x1c07570, receiver=0x29e67f0, event=0x36dbfc0) at kernel/qcoreapplication.cpp:732
#53 0x00007fdf38f8fc22 in sendEvent (receiver=0x29e67f0, event_type=<value optimized out>, data=0x1bc37a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#54 QCoreApplicationPrivate::sendPostedEvents (receiver=0x29e67f0, event_type=<value optimized out>, data=0x1bc37a0) at kernel/qcoreapplication.cpp:1373
#55 0x00007fdf3895180a in dispatchPendingUpdateRequests (this=0x1c2f5a0) at ../../include/QtGui/private/../../../src/gui/graphicsview/qgraphicsview_p.h:189
#56 QGraphicsScenePrivate::_q_processDirtyItems (this=0x1c2f5a0) at graphicsview/qgraphicsscene.cpp:510
#57 0x00007fdf38951d92 in QGraphicsScene::qt_metacall (this=0x1d0ad90, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x2b19f40) at .moc/release-shared/moc_qgraphicsscene.cpp:130
#58 0x00007fdf3b981465 in Plasma::Corona::qt_metacall (this=0x7fff36895650, _c=40, _id=0, _a=0x0) at ./corona.moc:109
#59 0x00007fdf3c135e05 in DesktopCorona::qt_metacall (this=0x7fff36895650, _c=40, _id=0, _a=0x0) at ./desktopcorona.moc:101
#60 0x00007fdf38f9ebde in QObject::event (this=0x1d0ad90, e=0x7fff36895650) at kernel/qobject.cpp:1219
#61 0x00007fdf3894b020 in QGraphicsScene::event (this=0x1d0ad90, event=0x2279cd0) at graphicsview/qgraphicsscene.cpp:3548
#62 0x00007fdf382f3fdc in QApplicationPrivate::notify_helper (this=0x1c1f5b0, receiver=0x1d0ad90, e=0x2279cd0) at kernel/qapplication.cpp:4396
#63 0x00007fdf382f9aed in QApplication::notify (this=0x1c07570, receiver=0x1d0ad90, e=0x2279cd0) at kernel/qapplication.cpp:4277
#64 0x00007fdf39c932f6 in KApplication::notify (this=0x1c07570, receiver=0x1d0ad90, event=0x2279cd0) at ../../kdeui/kernel/kapplication.cpp:311
#65 0x00007fdf38f8ccdc in QCoreApplication::notifyInternal (this=0x1c07570, receiver=0x1d0ad90, event=0x2279cd0) at kernel/qcoreapplication.cpp:732
#66 0x00007fdf38f8fc22 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1bc37a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#67 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1bc37a0) at kernel/qcoreapplication.cpp:1373
#68 0x00007fdf38fb9653 in sendPostedEvents (s=0x1c21d20) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#69 postEventSourceDispatch (s=0x1c21d20) at kernel/qeventdispatcher_glib.cpp:277
#70 0x00007fdf30aee342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#71 0x00007fdf30af22a8 in ?? () from /lib/libglib-2.0.so.0
#72 0x00007fdf30af245c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#73 0x00007fdf38fb9193 in QEventDispatcherGlib::processEvents (this=0x1bc32b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#74 0x00007fdf383a6a4e in QGuiEventDispatcherGlib::processEvents (this=0x7fff36895650, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#75 0x00007fdf38f8ba02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#76 0x00007fdf38f8bdec in QEventLoop::exec (this=0x7fff3689b610, flags=) at kernel/qeventloop.cpp:201
#77 0x00007fdf38f8febb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#78 0x00007fdf3c13dfb3 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../../plasma/desktop/shell/main.cpp:118
#79 0x00007fdf3bd97d8e in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff3689b9e8) at libc-start.c:226
#80 0x0000000000400669 in _start ()

This bug may be a duplicate of or related to bug 265089, bug 258706.

Possible duplicates by query: bug 273832, bug 273740, bug 273679, bug 273663, bug 273628.

Reported using DrKonqi
Comment 1 Lennart Rosam 2011-05-23 10:19:34 UTC
Created attachment 60236 [details]
Screenshot of graphical glitches
Comment 2 Lamarque V. Souza 2011-05-24 20:42:19 UTC

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