Bug 268157

Summary: Plasma crashed on closing application using systray popup menu
Product: [Unmaintained] plasma4 Reporter: Alexey Chernov <4ernov>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, arthur, asraniel, josan_pansa, wonko
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Alexey Chernov 2011-03-10 21:11:33 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.6.1 (4.6.1) (Compiled from sources)
Qt Version: 4.7.2
Operating System: Linux 2.6.36.1 x86_64

-- Information about the crash:
- What I was doing when the application crashed:
Plasma suddenly crashed when I right-clicked Kopete icon and chose Quit option. After the action was triggered Plasma crashed immediately.

-- Backtrace:
Application: Оболочка Plasma (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f2420b5e760 (LWP 2080))]

Thread 2 (Thread 0x7f23eaf86710 (LWP 2083)):
#0  0x00007f241d7f8273 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f241a10fac9 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#2  0x00007f241a10feac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f241f63bdc6 in QEventDispatcherGlib::processEvents (this=0x2279c50, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f241f60ab12 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f241f60aef5 in QEventLoop::exec (this=0x7f23eaf85de0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f241f508717 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f241f5e8520 in QInotifyFileSystemWatcherEngine::run (this=0x2277450) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f241f50b91a in QThreadPrivate::start (arg=0x2277450) at thread/qthread_unix.cpp:320
#9  0x00007f241f269aca in start_thread (arg=<value optimized out>) at pthread_create.c:297
#10 0x00007f241d80158d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f2420b5e760 (LWP 2080)):
[KCrash Handler]
#6  0x00007f24205e40b1 in KIconEffect::fingerprint (this=0x48, group=0, state=0) at /usr/src/packages/kde4/4.6.1/kdelibs-4.6.1/kdeui/icons/kiconeffect.cpp:169
#7  0x00007f24205e7311 in KIconLoaderPrivate::makeCacheKey (this=<value optimized out>, name=<value optimized out>, group=KIconLoader::Desktop, overlays=..., size=<value optimized out>, state=0)
    at /usr/src/packages/kde4/4.6.1/kdelibs-4.6.1/kdeui/icons/kiconloader.cpp:782
#8  0x00007f24205ea24f in KIconLoader::loadIcon (this=0x41ec8c0, _name=<value optimized out>, group=KIconLoader::Desktop, size=24, state=0, overlays=..., path_store=0x0, canReturnNull=false)
    at /usr/src/packages/kde4/4.6.1/kdelibs-4.6.1/kdeui/icons/kiconloader.cpp:1226
#9  0x00007f24205e59cc in KIconEngine::pixmap (this=<value optimized out>, size=..., mode=<value optimized out>, state=<value optimized out>)
    at /usr/src/packages/kde4/4.6.1/kdelibs-4.6.1/kdeui/icons/kiconengine.cpp:93
#10 0x00007f241e755845 in QIcon::pixmap (this=<value optimized out>, size=..., mode=QIcon::Normal, state=72731232) at image/qicon.cpp:676
#11 0x00007f24073162b1 in Plasma::IconWidgetPrivate::decoration (this=0x3a947d0, option=<value optimized out>, useHoverEffect=false, usePressedEffect=false)
    at /usr/src/packages/kde4/4.6.1/kdelibs-4.6.1/plasma/widgets/iconwidget.cpp:812
#12 0x00007f2407317acf in Plasma::IconWidget::paint (this=0x39cfb20, painter=<value optimized out>, option=0x15cd368, widget=<value optimized out>)
    at /usr/src/packages/kde4/4.6.1/kdelibs-4.6.1/plasma/widgets/iconwidget.cpp:1128
#13 0x00007f23f6ed6933 in SystemTray::DBusSystemTrayWidget::paint (this=0x7fffc3eb66e0, painter=0x1c0, option=0x0, widget=0x0)
    at /usr/src/packages/kde4/4.6.1/kdebase-workspace-4.6.1/plasma/generic/applets/systemtray/protocols/dbussystemtray/dbussystemtraywidget.cpp:189
#14 0x00007f241ed4637d in _q_paintItem (item=<value optimized out>, painter=0x7fffc3eb74c0, option=0x15cd368, widget=0x0, useWindowOpacity=<value optimized out>, 
    painterStateProtection=<value optimized out>) at graphicsview/qgraphicsscene.cpp:4314
#15 0x00007f241ed47dbc in _q_paintIntoCache (pix=0x7fffc3eb7af0, item=<value optimized out>, pixmapExposed=..., itemToPixmap=<value optimized out>, renderHints=)
    at graphicsview/qgraphicsscene.cpp:4352
#16 0x00007f241ed4d425 in QGraphicsScenePrivate::drawItemHelper (this=<value optimized out>, item=0x39cfb30, painter=0x7fffc3eb9be0, option=0x15cd368, widget=<value optimized out>, 
    painterStateProtection=<value optimized out>) at graphicsview/qgraphicsscene.cpp:4690
#17 0x00007f241ed609f9 in QGraphicsScenePrivate::draw (this=0x15cd140, item=0x39cfb30, painter=0x7fffc3eb9be0, viewTransform=<value optimized out>, transformPtr=<value optimized out>, 
    exposedRegion=<value optimized out>, widget=0x3452a30, opacity=<value optimized out>, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true)
    at graphicsview/qgraphicsscene.cpp:4962
#18 0x00007f241ed617e2 in QGraphicsScenePrivate::drawSubtreeRecursive (this=0x15cd140, item=0x39cfb30, painter=0x7fffc3eb9be0, viewTransform=0x7fffc3eb9970, exposedRegion=0x2655470, 
    widget=0x3452a30, parentOpacity=<value optimized out>, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4853
#19 0x00007f241ed60a6d in QGraphicsScenePrivate::draw (this=0x15cd140, item=0x1882e30, painter=0x7fffc3eb9be0, viewTransform=<value optimized out>, transformPtr=<value optimized out>, 
    exposedRegion=<value optimized out>, widget=0x3452a30, opacity=<value optimized out>, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true)
    at graphicsview/qgraphicsscene.cpp:4979
#20 0x00007f241ed617e2 in QGraphicsScenePrivate::drawSubtreeRecursive (this=0x15cd140, item=0x1882e30, painter=0x7fffc3eb9be0, viewTransform=0x7fffc3eb9970, exposedRegion=0x2655470, 
    widget=0x3452a30, parentOpacity=<value optimized out>, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4853
#21 0x00007f241ed60a6d in QGraphicsScenePrivate::draw (this=0x15cd140, item=0x1bb5fb0, painter=0x7fffc3eb9be0, viewTransform=<value optimized out>, transformPtr=<value optimized out>, 
    exposedRegion=<value optimized out>, widget=0x3452a30, opacity=<value optimized out>, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true)
    at graphicsview/qgraphicsscene.cpp:4979
#22 0x00007f241ed617e2 in QGraphicsScenePrivate::drawSubtreeRecursive (this=0x15cd140, item=0x1bb5fb0, painter=0x7fffc3eb9be0, viewTransform=0x7fffc3eb9970, exposedRegion=0x2655470, 
    widget=0x3452a30, parentOpacity=<value optimized out>, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4853
#23 0x00007f241ed60a6d in QGraphicsScenePrivate::draw (this=0x15cd140, item=0x1af0570, painter=0x7fffc3eb9be0, viewTransform=<value optimized out>, transformPtr=<value optimized out>, 
    exposedRegion=<value optimized out>, widget=0x3452a30, opacity=<value optimized out>, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true)
    at graphicsview/qgraphicsscene.cpp:4979
#24 0x00007f241ed617e2 in QGraphicsScenePrivate::drawSubtreeRecursive (this=0x15cd140, item=0x1af0570, painter=0x7fffc3eb9be0, viewTransform=0x7fffc3eb9970, exposedRegion=0x2655470, 
    widget=0x3452a30, parentOpacity=<value optimized out>, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4853
#25 0x00007f241ed62303 in QGraphicsScenePrivate::drawItems (this=0x15cd140, painter=<value optimized out>, viewTransform=0x7fffc3eb9970, exposedRegion=0x2655470, widget=0x3452a30)
    at graphicsview/qgraphicsscene.cpp:4735
#26 0x00007f241ed82beb in QGraphicsView::paintEvent (this=<value optimized out>, event=<value optimized out>) at graphicsview/qgraphicsview.cpp:3469
#27 0x00007f241e6f2490 in QWidget::event (this=0x21cd6a0, event=0x7fffc3eba540) at kernel/qwidget.cpp:8405
#28 0x00007f241eb00c56 in QFrame::event (this=0x21cd6a0, e=0x7fffc3eba540) at widgets/qframe.cpp:557
#29 0x00007f241ed80afb in QGraphicsView::viewportEvent (this=0x21cd6a0, event=0x7fffc3eba540) at graphicsview/qgraphicsview.cpp:2864
#30 0x00007f241f60bba8 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x3452a30, event=0x7fffc3eba540) at kernel/qcoreapplication.cpp:846
#31 0x00007f241e69476c in QApplicationPrivate::notify_helper (this=0x15201a0, receiver=0x3452a30, e=0x7fffc3eba540) at kernel/qapplication.cpp:4458
#32 0x00007f241e69cb27 in QApplication::notify (this=0x1515fe0, receiver=0x3452a30, e=0x7fffc3eba540) at kernel/qapplication.cpp:4341
#33 0x00007f242063bb21 in KApplication::notify (this=0x1515fe0, receiver=0x3452a30, event=0x7fffc3eba540) at /usr/src/packages/kde4/4.6.1/kdelibs-4.6.1/kdeui/kernel/kapplication.cpp:311
#34 0x00007f241f60bf0b in QCoreApplication::notifyInternal (this=0x1515fe0, receiver=0x3452a30, event=0x7fffc3eba540) at kernel/qcoreapplication.cpp:731
#35 0x00007f241e6fbdf6 in QCoreApplication::sendSpontaneousEvent (this=0x1ca5f80, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, 
    backingStore=0x33e7ec0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#36 QWidgetPrivate::drawWidget (this=0x1ca5f80, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, backingStore=0x33e7ec0)
    at kernel/qwidget.cpp:5492
#37 0x00007f241e6fcafa 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=0x33e7ec0) at kernel/qwidget.cpp:5699
#38 0x00007f241e6fc933 in QWidgetPrivate::paintSiblingsRecursive (this=<value optimized out>, pdev=<value optimized out>, siblings=..., index=4, rgn=<value optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0, backingStore=0x33e7ec0) at kernel/qwidget.cpp:5686
#39 0x00007f241e6fbad1 in QWidgetPrivate::drawWidget (this=0x2654fe0, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, 
    backingStore=0x33e7ec0) at kernel/qwidget.cpp:5545
#40 0x00007f241e8f1f1d in QWidgetBackingStore::sync (this=0x33e7ec0) at painting/qbackingstore.cpp:1333
#41 0x00007f241e6eada0 in QWidgetPrivate::syncBackingStore (this=0x2654fe0) at kernel/qwidget.cpp:1842
#42 0x00007f241e6f2b7a in QWidget::event (this=0x21cd6a0, event=0x3edae80) at kernel/qwidget.cpp:8552
#43 0x00007f241eb00c56 in QFrame::event (this=0x21cd6a0, e=0x3edae80) at widgets/qframe.cpp:557
#44 0x00007f241eb9669b in QAbstractScrollArea::event (this=0x21cd6a0, e=0x3edae80) at widgets/qabstractscrollarea.cpp:996
#45 0x00007f24025b2e11 in PanelView::event (this=0x21cd6a0, event=0x3edae80) at /usr/src/packages/kde4/4.6.1/kdebase-workspace-4.6.1/plasma/desktop/shell/panelview.cpp:1505
#46 0x00007f241e694780 in QApplicationPrivate::notify_helper (this=0x15201a0, receiver=0x21cd6a0, e=0x3edae80) at kernel/qapplication.cpp:4462
#47 0x00007f241e69cb27 in QApplication::notify (this=0x1515fe0, receiver=0x21cd6a0, e=0x3edae80) at kernel/qapplication.cpp:4341
#48 0x00007f242063bb21 in KApplication::notify (this=0x1515fe0, receiver=0x21cd6a0, event=0x3edae80) at /usr/src/packages/kde4/4.6.1/kdelibs-4.6.1/kdeui/kernel/kapplication.cpp:311
#49 0x00007f241f60bf0b in QCoreApplication::notifyInternal (this=0x1515fe0, receiver=0x21cd6a0, event=0x3edae80) at kernel/qcoreapplication.cpp:731
#50 0x00007f241f60e97b in QCoreApplication::sendEvent (receiver=0x21cd6a0, event_type=<value optimized out>, data=0x1456b00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#51 QCoreApplicationPrivate::sendPostedEvents (receiver=0x21cd6a0, event_type=<value optimized out>, data=0x1456b00) at kernel/qcoreapplication.cpp:1372
#52 0x00007f241ed677fa in QGraphicsViewPrivate::dispatchPendingUpdateRequests (this=0x15cd140) at ../../include/QtGui/private/../../../src/gui/graphicsview/qgraphicsview_p.h:189
#53 QGraphicsScenePrivate::_q_processDirtyItems (this=0x15cd140) at graphicsview/qgraphicsscene.cpp:510
#54 0x00007f241ed67f72 in QGraphicsScene::qt_metacall (this=0x1649e20, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x4a32a90) at .moc/debug-shared/moc_qgraphicsscene.cpp:130
#55 0x00007f240726c655 in Plasma::Corona::qt_metacall (this=0x7fffc3eb66e0, _c=448, _id=0, _a=0x0) at /usr/src/packages/kde4/4.6.1/kdelibs-4.6.1/build/plasma/corona.moc:109
#56 0x00007f24025a1865 in DesktopCorona::qt_metacall (this=0x7fffc3eb66e0, _c=448, _id=0, _a=0x0)
    at /usr/src/packages/kde4/4.6.1/kdebase-workspace-4.6.1/build/plasma/desktop/shell/desktopcorona.moc:101
#57 0x00007f241f61f10e in QObject::event (this=0x1649e20, e=0x7fffc3eb66e0) at kernel/qobject.cpp:1217
#58 0x00007f241ed5fe30 in QGraphicsScene::event (this=0x1649e20, event=0x3c45390) at graphicsview/qgraphicsscene.cpp:3544
#59 0x00007f241e694780 in QApplicationPrivate::notify_helper (this=0x15201a0, receiver=0x1649e20, e=0x3c45390) at kernel/qapplication.cpp:4462
#60 0x00007f241e69cb27 in QApplication::notify (this=0x1515fe0, receiver=0x1649e20, e=0x3c45390) at kernel/qapplication.cpp:4341
#61 0x00007f242063bb21 in KApplication::notify (this=0x1515fe0, receiver=0x1649e20, event=0x3c45390) at /usr/src/packages/kde4/4.6.1/kdelibs-4.6.1/kdeui/kernel/kapplication.cpp:311
#62 0x00007f241f60bf0b in QCoreApplication::notifyInternal (this=0x1515fe0, receiver=0x1649e20, event=0x3c45390) at kernel/qcoreapplication.cpp:731
#63 0x00007f241f60e97b in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1456b00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#64 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1456b00) at kernel/qcoreapplication.cpp:1372
#65 0x00007f241f63c183 in QCoreApplication::sendPostedEvents (s=0x1523800) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#66 postEventSourceDispatch (s=0x1523800) at kernel/qeventdispatcher_glib.cpp:277
#67 0x00007f241a10f3fc in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#68 0x00007f241a10fce8 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#69 0x00007f241a10feac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#70 0x00007f241f63bd73 in QEventDispatcherGlib::processEvents (this=0x1458cf0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#71 0x00007f241e7533be in QGuiEventDispatcherGlib::processEvents (this=0x7fffc3eb66e0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#72 0x00007f241f60ab12 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#73 0x00007f241f60aef5 in QEventLoop::exec (this=0x7fffc3ebc7a0, flags=) at kernel/qeventloop.cpp:201
#74 0x00007f241f60ec8b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#75 0x00007f24025ab8bf in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/packages/kde4/4.6.1/kdebase-workspace-4.6.1/plasma/desktop/shell/main.cpp:118
#76 0x00000000004079a3 in launch (argc=1, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=<value optimized out>, envs=<value optimized out>, reset_env=false, 
    tty=0x0, avoid_loops=false, startup_id_str=0x40adb6 "0") at /usr/src/packages/kde4/4.6.1/kdelibs-4.6.1/kinit/kinit.cpp:734
#77 0x000000000040856c in handle_launcher_request (sock=8, who=<value optimized out>) at /usr/src/packages/kde4/4.6.1/kdelibs-4.6.1/kinit/kinit.cpp:1226
#78 0x0000000000408d0a in handle_requests (waitForPid=<value optimized out>) at /usr/src/packages/kde4/4.6.1/kdelibs-4.6.1/kinit/kinit.cpp:1419
#79 0x0000000000409217 in main (argc=4, argv=<value optimized out>, envp=<value optimized out>) at /usr/src/packages/kde4/4.6.1/kdelibs-4.6.1/kinit/kinit.cpp:1907

Possible duplicates by query: bug 268086, bug 268000, bug 267957, bug 267943, bug 267934.

Reported using DrKonqi
Comment 1 Dario Andres 2011-03-11 00:41:16 UTC
[Comment from a bug triager]
This looks like bug 265089, however I don't know if that fix was included in
4.6.1 or not.
Regards
Comment 2 Dario Andres 2011-03-11 00:41:42 UTC
*** Bug 268171 has been marked as a duplicate of this bug. ***
Comment 3 Dario Andres 2011-03-13 13:46:10 UTC
*** Bug 268254 has been marked as a duplicate of this bug. ***
Comment 4 Dario Andres 2011-03-13 13:49:32 UTC
[Comment from a bug triager]
From bug 268228 (KDE SC 4.6.1):
-- Information about the crash:
I updated to KDE 4.6.1 three days ago, but the crashes started happening
yesterday. Well, plasma crashes frequently here, so it may have happened
earlier and I forgot, but not that often as it does now. No idea what could
have triggered this behaviour. I did not log out of KDE after the first login
after the update, I did not install plasmoids or make other changes to the
configuration. An hour ago I logged out and in again to see if this would make
a difference, but it did not.
...
Related or not? I had another plasma crash, but this time it did not restart
automatically. So I started plasma-desktop in a terminal. And get **LOTS**
(several per second) of these messages:

QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setCompositionMode: Painter not active
QPainter::end: Painter not active, aborted

Don't know if this is part of the problem, but I thought I'd mention it.
Comment 5 Dario Andres 2011-03-13 13:49:50 UTC
*** Bug 268228 has been marked as a duplicate of this bug. ***
Comment 6 josan_pansa 2011-03-31 20:32:54 UTC
Created attachment 58479 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.6.1 (4.6.1) using Qt 4.7.2

- What I was doing when the application crashed:

Plasma suddenly crashed when I right-clicked Kopete icon and chose Quit option. After the action was triggered Plasma crashed immediately.plasma start again in the same position before

-- Backtrace (Reduced):
#6  QString::QString (this=0x7fff30e1c240, other=...) at /usr/include/qt4/QtCore/qstring.h:728
#7  0x00007fd18021c171 in KIconEffect::fingerprint (this=0x3340075, group=0, state=0) at /var/tmp/portage/kde-base/kdelibs-4.6.1-r1/work/kdelibs-4.6.1/kdeui/icons/kiconeffect.cpp:169
#8  0x00007fd180225b01 in KIconLoaderPrivate::makeCacheKey (this=<value optimized out>, name=..., group=KIconLoader::Desktop, overlays=..., size=<value optimized out>, state=0) at /var/tmp/portage/kde-base/kdelibs-4.6.1-r1/work/kdelibs-4.6.1/kdeui/icons/kiconloader.cpp:782
#9  0x00007fd180225eb8 in KIconLoader::loadIcon (this=0x334fd80, _name=<value optimized out>, group=KIconLoader::Desktop, size=24, state=0, overlays=..., path_store=0x0, canReturnNull=false) at /var/tmp/portage/kde-base/kdelibs-4.6.1-r1/work/kdelibs-4.6.1/kdeui/icons/kiconloader.cpp:1226
#10 0x00007fd18021ff0a in KIconEngine::pixmap (this=0x335d640, size=..., mode=<value optimized out>, state=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.6.1-r1/work/kdelibs-4.6.1/kdeui/icons/kiconengine.cpp:93
Comment 7 Beat Wolf 2011-04-07 13:22:05 UTC

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