Bug 277569

Summary: Persistent plasma-desktop crash
Product: [Unmaintained] plasma4 Reporter: Phil Jordan <phillip.m.jordan>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Phil Jordan 2011-07-11 18:48:41 UTC
Application: plasma-desktop (0.3)
KDE Platform Version: 4.4.4 (KDE 4.4.4) "release 3"
Qt Version: 4.6.3
Operating System: Linux 2.6.37-9-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
plasma-desktop has started crashing as soon as it launches - the desktop background is briefly shown, the panel starts to assemble, then boom. OpenSUSE 11.3 fully patched, KDE from the standard repositories. I have tried deleting/moving the configuration files from ~/.kde/share/config/plasma* but this has not helped.

The crash can be reproduced every time.

 -- Backtrace:
Application: Plasma Workspace (plasma-desktop), signal: Bus error
[KCrash Handler]
#5  0x00007f649c90d96b in memcpy () from /lib64/libc.so.6
#6  0x00007f649aa47eeb in (anonymous namespace)::KPCMemoryDevice::readData (this=0x116ed90, data=<value optimized out>, len=16384) at /usr/include/bits/string3.h:52
#7  0x00007f6499251f36 in QIODevice::read(char*, long long) () from /usr/lib64/libQtCore.so.4
#8  0x00007f649923ec7d in QDataStream::operator>>(int&) () from /usr/lib64/libQtCore.so.4
#9  0x00007f6499218030 in operator>>(QDataStream&, QString&) () from /usr/lib64/libQtCore.so.4
#10 0x00007f649aa9e1c0 in KPixmapCache::Private::loadData (this=0x7c95c0, offset=128200, pix=...) at /usr/src/debug/kdelibs-4.4.4/kdeui/util/kpixmapcache.cpp:1379
#11 0x00007f649aa9e98d in KPixmapCache::find (this=0x7a6160, key=..., pix=...) at /usr/src/debug/kdelibs-4.4.4/kdeui/util/kpixmapcache.cpp:1354
#12 0x00007f649c5647ef in Plasma::Theme::findInCache (this=0x794cc0, key=..., pix=...) at /usr/src/debug/kdelibs-4.4.4/plasma/theme.cpp:691
#13 0x00007f649c562636 in Plasma::SvgPrivate::findInCache (this=0x9cb520, elementId=..., s=<value optimized out>) at /usr/src/debug/kdelibs-4.4.4/plasma/svg.cpp:209
#14 0x00007f649c55daf9 in Plasma::Svg::paint (this=<value optimized out>, painter=0x7fff4bfcac90, rect=<value optimized out>, elementID=<value optimized out>)
    at /usr/src/debug/kdelibs-4.4.4/plasma/svg.cpp:470
#15 0x00007f649c501ebf in Plasma::FrameSvgPrivate::generateFrameBackground (this=0x9bccb0, frame=0xd8c070) at /usr/src/debug/kdelibs-4.4.4/plasma/framesvg.cpp:555
#16 0x00007f649c50424b in Plasma::FrameSvgPrivate::generateBackground (this=0x9bccb0, frame=0xd8c070) at /usr/src/debug/kdelibs-4.4.4/plasma/framesvg.cpp:428
#17 0x00007f649c504bbc in Plasma::FrameSvg::paintFrame (this=0x9b7460, painter=0x7fff4bfcb940, target=..., source=...) at /usr/src/debug/kdelibs-4.4.4/plasma/framesvg.cpp:337
#18 0x00007f647d97e9d0 in SystemTray::Applet::paintInterface (this=0x9ea700, painter=0x7fff4bfcb940, option=<value optimized out>, contentsRect=<value optimized out>)
    at /usr/src/debug/kdebase-workspace-4.4.4/plasma/generic/applets/systemtray/ui/applet.cpp:545
#19 0x00007f649c4af971 in Plasma::Applet::paint (this=0x9ea700, painter=0x7fff4bfcb940, option=0x636908, widget=0x0) at /usr/src/debug/kdelibs-4.4.4/plasma/applet.cpp:1372
#20 0x00007f6499fcf5aa in _q_paintItem (item=<value optimized out>, painter=0x7fff4bfcb940, option=0x636908, widget=0x0, useWindowOpacity=<value optimized out>, painterStateProtection=true)
    at graphicsview/qgraphicsscene.cpp:4258
#21 0x00007f6499fcf850 in _q_paintIntoCache (pix=0x7fff4bfcbef0, item=0x9ea710, pixmapExposed=..., itemToPixmap=..., renderHints=..., option=0x636908, painterStateProtection=true)
    at graphicsview/qgraphicsscene.cpp:4296
#22 0x00007f6499fe2d40 in QGraphicsScenePrivate::drawItemHelper (this=0x6366b0, item=0x9ea710, painter=0x7fff4bfcd250, option=<value optimized out>, widget=<value optimized out>, 
    painterStateProtection=true) at graphicsview/qgraphicsscene.cpp:4594
#23 0x00007f6499fe340b in QGraphicsScenePrivate::draw (this=0x6366b0, item=0x9ea710, painter=0x7fff4bfcd250, viewTransform=0x7fff4bfccfe0, transformPtr=0x7fff4bfcc560, exposedRegion=0x10562a0, 
    widget=0x106c0b0, opacity=1, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true) at graphicsview/qgraphicsscene.cpp:4835
#24 0x00007f6499fe40d5 in QGraphicsScenePrivate::drawSubtreeRecursive (this=0x6366b0, item=0x9ea710, painter=0x7fff4bfcd250, viewTransform=0x7fff4bfccfe0, exposedRegion=0x10562a0, widget=0x106c0b0, 
    parentOpacity=<value optimized out>, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4757
#25 0x00007f6499fe34a0 in QGraphicsScenePrivate::draw (this=0x6366b0, item=0x89d8f0, painter=0x7fff4bfcd250, viewTransform=0x7fff4bfccfe0, transformPtr=0x7fff4bfccaf0, exposedRegion=0x10562a0, 
    widget=0x106c0b0, opacity=1, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true) at graphicsview/qgraphicsscene.cpp:4849
#26 0x00007f6499fe40d5 in QGraphicsScenePrivate::drawSubtreeRecursive (this=0x6366b0, item=0x89d8f0, painter=0x7fff4bfcd250, viewTransform=0x7fff4bfccfe0, exposedRegion=0x10562a0, widget=0x106c0b0, 
    parentOpacity=<value optimized out>, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4757
#27 0x00007f6499fe497c in QGraphicsScenePrivate::drawItems (this=0x6366b0, painter=0x7fff4bfcd250, viewTransform=0x7fff4bfccfe0, exposedRegion=0x10562a0, widget=0x106c0b0)
    at graphicsview/qgraphicsscene.cpp:4639
#28 0x00007f649a0018ce in QGraphicsView::paintEvent (this=0xc98a10, event=<value optimized out>) at graphicsview/qgraphicsview.cpp:3387
#29 0x00007f649cc10cf9 in PanelView::paintEvent (this=0xc98a10, event=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.4.4/plasma/desktop/shell/panelview.cpp:1300
#30 0x00007f6499a54d6e in QWidget::event (this=0xc98a10, event=0x7fff4bfcdbb0) at kernel/qwidget.cpp:8190
#31 0x00007f6499de77d6 in QFrame::event (this=0xc98a10, e=0x7fff4bfcdbb0) at widgets/qframe.cpp:557
#32 0x00007f649a0023bb in QGraphicsView::viewportEvent (this=0xc98a10, event=0x7fff4bfcdbb0) at graphicsview/qgraphicsview.cpp:2787
#33 0x00007f64992b6fd7 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#34 0x00007f6499a044a1 in QApplicationPrivate::notify_helper (this=0x63b5c0, receiver=0x106c0b0, e=0x7fff4bfcdbb0) at kernel/qapplication.cpp:4298
#35 0x00007f6499a0caca in QApplication::notify (this=<value optimized out>, receiver=0x106c0b0, e=0x7fff4bfcdbb0) at kernel/qapplication.cpp:4185
#36 0x00007f649aa7fc06 in KApplication::notify (this=0x629990, receiver=0x106c0b0, event=0x7fff4bfcdbb0) at /usr/src/debug/kdelibs-4.4.4/kdeui/kernel/kapplication.cpp:302
#37 0x00007f64992b6e4c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#38 0x00007f6499a501b2 in sendSpontaneousEvent (this=0x106c170, pdev=0x1055d28, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xc74580)
    at ../../src/corelib/kernel/qcoreapplication.h:218
#39 QWidgetPrivate::drawWidget (this=0x106c170, pdev=0x1055d28, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xc74580) at kernel/qwidget.cpp:5363
#40 0x00007f6499a50d7f in QWidgetPrivate::paintSiblingsRecursive (this=0x1055de0, pdev=0x1055d28, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, 
    sharedPainter=0x0, backingStore=0xc74580) at kernel/qwidget.cpp:5476
#41 0x00007f6499a4ff1a in QWidgetPrivate::drawWidget (this=0x1055de0, pdev=0x1055d28, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0xc74580)
    at kernel/qwidget.cpp:5412
#42 0x00007f6499c04231 in QWidgetBackingStore::sync (this=0xc74580) at painting/qbackingstore.cpp:1300
#43 0x00007f6499c044f9 in QWidgetBackingStore::sync (this=0xc74580, exposedWidget=0xc98a10, exposedRegion=...) at painting/qbackingstore.cpp:1105
#44 0x00007f6499a7e490 in QETWidget::translatePaintEvent (this=0xc98a10, event=<value optimized out>) at kernel/qapplication_x11.cpp:5094
#45 0x00007f6499a7f38b in QApplication::x11ProcessEvent (this=0x629990, event=0x7fff4bfcedb0) at kernel/qapplication_x11.cpp:3413
#46 0x00007f6499aa5492 in x11EventSourceDispatch (s=0x63ee10, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#47 0x00007f6492c8da93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#48 0x00007f6492c8e270 in ?? () from /usr/lib64/libglib-2.0.so.0
#49 0x00007f6492c8e510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#50 0x00007f64992df67f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#51 0x00007f6499aa514e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#52 0x00007f64992b6292 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#53 0x00007f64992b6495 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#54 0x00007f64992ba88b in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#55 0x00007f649cc2b27d in kdemain (argc=1, argv=0x7fff4bfcf468) at /usr/src/debug/kdebase-workspace-4.4.4/plasma/desktop/shell/main.cpp:112
#56 0x00007f649c8acb7d in __libc_start_main () from /lib64/libc.so.6
#57 0x0000000000400699 in _start () at ../sysdeps/x86_64/elf/start.S:113

Reported using DrKonqi
Comment 1 Dario Andres 2011-08-07 20:15:07 UTC
[Comment from a bug report cleaner]
As bug 262952, this was caused by KPixmapCache. This class was replaced with a better designed alternative "KSharedData". Closing as FIXED.
If you experience another Plasma crash please open a new report