Bug 257188

Summary: plasma-desktop is consistently crashing at startup
Product: [Unmaintained] plasma4 Reporter: stephen.titus.george
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: allangal747, asraniel, dave, mfranz
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi

Description stephen.titus.george 2010-11-17 21:03:45 UTC
Application: plasma-desktop (0.3)
KDE Platform Version: 4.5.2 (KDE 4.5.2)
Qt Version: 4.6.3
Operating System: Linux 2.6.34.7-61.fc13.i686.PAE i686
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
After logon using gdm (fedora 13) plasma-desktop crashes when it is first started. it seems to relate to the battery-plasmoid.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma Workspace (plasma-desktop), signal: Segmentation fault
[KCrash Handler]
#7  0x014ba7cf in Notifications::~Notifications (this=0x9f4bdd8, __in_chrg=<value optimized out>)
    at /usr/src/debug/kdebase-workspace-4.5.2/plasma/generic/applets/notifications/ui/notifications.cpp:115
#8  0x014ba983 in Notifications::~Notifications (this=0x9f4bdd8, __in_chrg=<value optimized out>)
    at /usr/src/debug/kdebase-workspace-4.5.2/plasma/generic/applets/notifications/ui/notifications.cpp:117
#9  0x0362960a in Plasma::ExtenderPrivate::loadExtenderItems (this=0x9c55d58) at /usr/src/debug/kdelibs-4.5.2/plasma/extenders/extender.cpp:736
#10 0x0362a376 in Plasma::Extender::Extender (this=0x9ea6f98, applet=0x95ee028) at /usr/src/debug/kdelibs-4.5.2/plasma/extenders/extender.cpp:105
#11 0x035d81e0 in Plasma::Applet::extender (this=0x95ee028) at /usr/src/debug/kdelibs-4.5.2/plasma/applet.cpp:763
#12 0x0122da98 in Battery::init (this=0x95ee028) at /usr/src/debug/kdebase-workspace-4.5.2/plasma/generic/applets/battery/battery.cpp:166
#13 0x035f6b5c in Plasma::ContainmentPrivate::initApplets (this=0x9536b28) at /usr/src/debug/kdelibs-4.5.2/plasma/containment.cpp:462
#14 0x0360afd7 in Plasma::CoronaPrivate::importLayout (this=0x9127f30, conf=..., mergeConfig=false) at /usr/src/debug/kdelibs-4.5.2/plasma/corona.cpp:523
#15 0x0360bcfe in Plasma::Corona::loadLayout (this=0x91d22c8, configName=...) at /usr/src/debug/kdelibs-4.5.2/plasma/corona.cpp:458
#16 0x0360c8ff in Plasma::Corona::initializeLayout (this=0x91d22c8, configName=...) at /usr/src/debug/kdelibs-4.5.2/plasma/corona.cpp:361
#17 0x027bdd14 in PlasmaApp::corona (this=0x91241e8) at /usr/src/debug/kdebase-workspace-4.5.2/plasma/desktop/shell/plasmaapp.cpp:806
#18 0x027be11f in PlasmaApp::setupDesktop (this=0x91241e8) at /usr/src/debug/kdebase-workspace-4.5.2/plasma/desktop/shell/plasmaapp.cpp:286
#19 0x027bfa41 in PlasmaApp::qt_metacall (this=0x91241e8, _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0xbfe0582c)
    at /usr/src/debug/kdebase-workspace-4.5.2/i686-redhat-linux-gnu/plasma/desktop/shell/plasmaapp.moc:149
#20 0x04506bcb in QMetaObject::metacall (object=0x91241e8, cl=QMetaObject::InvokeMetaMethod, idx=42, argv=0xbfe0582c) at kernel/qmetaobject.cpp:237
#21 0x04515a75 in QMetaObject::activate (sender=0x91cae18, m=0x4616628, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3295
#22 0x0451b538 in QSingleShotTimer::timeout (this=0x91cae18) at .moc/release-shared/qtimer.moc:82
#23 0x0451b65d in QSingleShotTimer::timerEvent (this=0x91cae18) at kernel/qtimer.cpp:308
#24 0x04511ee4 in QObject::event (this=0x91cae18, e=0xbfe05d60) at kernel/qobject.cpp:1212
#25 0x04b6377c in QApplicationPrivate::notify_helper (this=0x912fc08, receiver=0x91cae18, e=0xbfe05d60) at kernel/qapplication.cpp:4306
#26 0x04b6a1d6 in QApplication::notify (this=0x91241e8, receiver=0x91cae18, e=0xbfe05d60) at kernel/qapplication.cpp:3710
#27 0x02cf2f7b in KApplication::notify (this=0x91241e8, receiver=0x91cae18, event=0xbfe05d60) at /usr/src/debug/kdelibs-4.5.2/kdeui/kernel/kapplication.cpp:310
#28 0x04502133 in QCoreApplication::notifyInternal (this=0x91241e8, receiver=0x91cae18, event=0xbfe05d60) at kernel/qcoreapplication.cpp:726
#29 0x0452d1fe in sendEvent (this=0x913299c) at kernel/qcoreapplication.h:215
#30 QTimerInfoList::activateTimers (this=0x913299c) at kernel/qeventdispatcher_unix.cpp:603
#31 0x0452a745 in timerSourceDispatch (source=0x9132968) at kernel/qeventdispatcher_glib.cpp:184
#32 0x004e6525 in g_main_dispatch (context=0x9131ef8) at gmain.c:1960
#33 IA__g_main_context_dispatch (context=0x9131ef8) at gmain.c:2513
#34 0x004ea268 in g_main_context_iterate (context=0x44d490, block=1, dispatch=1, self=0x912fbc0) at gmain.c:2591
#35 0x004ea449 in IA__g_main_context_iteration (context=0x9131ef8, may_block=1) at gmain.c:2654
#36 0x0452a446 in QEventDispatcherGlib::processEvents (this=0x910e968, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#37 0x04c12336 in QGuiEventDispatcherGlib::processEvents (this=0x910e968, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x0450080a in QEventLoop::processEvents (this=0xbfe06024, flags=...) at kernel/qeventloop.cpp:149
#39 0x04500b4a in QEventLoop::exec (this=0xbfe06024, flags=...) at kernel/qeventloop.cpp:201
#40 0x04504807 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#41 0x04b63828 in QApplication::exec () at kernel/qapplication.cpp:3585
#42 0x027a3d20 in kdemain (argc=1, argv=0xbfe06234) at /usr/src/debug/kdebase-workspace-4.5.2/plasma/desktop/shell/main.cpp:118
#43 0x080487bc in main (argc=1, argv=0xbfe06234) at /usr/src/debug/kdebase-workspace-4.5.2/i686-redhat-linux-gnu/plasma/desktop/shell/plasma-desktop_dummy.cpp:3

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

Possible duplicates by query: bug 256783, bug 256780, bug 256775, bug 255631, bug 255078.

Reported using DrKonqi
Comment 1 Melchior Franz 2010-11-18 00:26:32 UTC
Same problem here since a few weeks. SVN/HEAD as of today (r1198123) using qt-copy "4.7.0-patched" (git://gitorious.org/+kde-developers/qt/kde-qt.git), on Linux 2.6.36 x86_64. I don't use the battery plasmoid, so that's probably not it. plasma-desktop segfaults reliably at startkde. I have to restart it multiple times. Eventually, after a dozen tries, it refuses to crash and works as it should. My plasma setup is quite spartan: 12 desktops with their own background each, nothing on the desktops, no activities, not much on the panel (clock, tasks, desktops, tray with not much in it, kde menu).


Program received signal SIGSEGV, Segmentation fault.
QGraphicsLayoutItem::isLayout (this=0x34) at /home/m/kde/qt-copy/src/gui/graphicsview/qgraphicslayoutitem.cpp:805
805         return d_func()->isLayout;
(gdb) bt
#0  QGraphicsLayoutItem::isLayout (this=0x34) at /home/m/kde/qt-copy/src/gui/graphicsview/qgraphicslayoutitem.cpp:805
#1  0x00007ffff1e002d4 in QGraphicsLayoutPrivate::addChildLayoutItem (this=0x9dd970, layoutItem=0xa38b10) at /home/m/kde/qt-copy/src/gui/graphicsview/qgraphicslayout_p.cpp:151
#2  0x00007ffff1e030a3 in QGraphicsLinearLayout::insertItem (this=0xa397f0, index=0, item=0xa38b10) at /home/m/kde/qt-copy/src/gui/graphicsview/qgraphicslinearlayout.cpp:278
#3  0x00007ffff68d5061 in Plasma::Extender::itemAddedEvent (this=0xa8be30, item=0xa38af0, pos=<value optimized out>) at /home/m/kde/kdelibs/plasma/extenders/extender.cpp:497
#4  0x00007ffff68d5284 in Plasma::ExtenderPrivate::delayItemAddedEvent (this=0x95b190) at /home/m/kde/kdelibs/plasma/extenders/extender.cpp:805
#5  0x00007ffff68d6ad2 in Plasma::Extender::qt_metacall (this=0xa8be30, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xaa13f0) at /home/m/kde/.kdelibs/plasma/extender.moc:105
#6  0x00007ffff273f4a2 in QObject::event (this=0xa8be30, e=<value optimized out>) at /home/m/kde/qt-copy/src/corelib/kernel/qobject.cpp:1219
#7  0x00007ffff1e4de8b in QGraphicsWidget::event (this=0xa8be30, event=0x9b9380) at /home/m/kde/qt-copy/src/gui/graphicsview/qgraphicswidget.cpp:1405
#8  0x00007ffff16e2504 in QApplicationPrivate::notify_helper (this=0x7aa7f0, receiver=0xa8be30, e=0x9b9380) at /home/m/kde/qt-copy/src/gui/kernel/qapplication.cpp:4397
#9  0x00007ffff16ea46d in QApplication::notify (this=<value optimized out>, receiver=0xa8be30, e=0x9b9380) at /home/m/kde/qt-copy/src/gui/kernel/qapplication.cpp:4278
#10 0x00007ffff3686896 in KApplication::notify (this=0x78e580, receiver=0xa8be30, event=0x9b9380) at /home/m/kde/kdelibs/kdeui/kernel/kapplication.cpp:311
#11 0x00007ffff2721e83 in QCoreApplication::notifyInternal (this=0x78e580, receiver=0xa8be30, event=0x9b9380) at /home/m/kde/qt-copy/src/corelib/kernel/qcoreapplication.cpp:732
Comment 2 Beat Wolf 2010-11-18 13:50:42 UTC

*** This bug has been marked as a duplicate of bug 228987 ***
Comment 3 Dave Burkholder 2010-12-11 01:03:40 UTC
Created attachment 54409 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.5.85 (4.6 Beta2) using Qt 4.7.1

Plasma crashes before desktop is fully loaded.

-- Backtrace (Reduced):
#6  QGraphicsLayoutItem::isLayout (this=0x4) at graphicsview/qgraphicslayoutitem.cpp:805
#7  0x00007f61fa6e54ba in QGraphicsLayoutPrivate::addChildLayoutItem (this=<value optimized out>, layoutItem=0x116a3a0) at graphicsview/qgraphicslayout_p.cpp:151
#8  0x00007f61fa6e7293 in QGraphicsLinearLayout::insertItem (this=<value optimized out>, index=0, item=0x116a3a0) at graphicsview/qgraphicslinearlayout.cpp:284
#9  0x00007f61f1ce0491 in Plasma::Extender::itemAddedEvent (this=0xe2da00, item=0x116a380, pos=<value optimized out>) at /usr/src/debug/kdelibs-4.5.85/plasma/extenders/extender.cpp:497
#10 0x00007f61f1ce06d4 in Plasma::ExtenderPrivate::delayItemAddedEvent (this=0xe298d0) at /usr/src/debug/kdelibs-4.5.85/plasma/extenders/extender.cpp:805
Comment 4 Evelyn 2010-12-25 12:57:37 UTC
Created attachment 55226 [details]
New crash information added by DrKonqi

plasma-desktop (0.3) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- What I was doing when the application crashed: I have only restart my Computer then I have logged in.

-- Backtrace (Reduced):
#7  0x06252c9c in Notifications::~Notifications (this=0x99954b8, __in_chrg=<value optimized out>) at ../../../../../plasma/generic/applets/notifications/ui/notifications.cpp:115
#8  0x005ffe21 in Plasma::ExtenderPrivate::loadExtenderItems (this=0x9993940) at ../../plasma/extenders/extender.cpp:736
#9  0x00600ac2 in Plasma::Extender::Extender (this=0x9993dd8, applet=0x9443090) at ../../plasma/extenders/extender.cpp:105
#10 0x005a6e20 in Plasma::Applet::extender (this=0x9443090) at ../../plasma/applet.cpp:763
#11 0x0062ecce in Plasma::ExtenderApplet::init (this=0x9443090) at ../../plasma/private/extenderapplet.cpp:51