Bug 246767

Summary: plasma, krunner and kwin crashes BADLY at start
Product: [Unmaintained] plasma4 Reporter: Carlos Andrade <crandrad>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED NOT A BUG    
Severity: crash CC: aseigo
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Carlos Andrade 2010-08-05 06:36:53 UTC
Application: plasma-desktop (0.3)
KDE Platform Version: 4.4.95 (KDE 4.4.95 (KDE 4.5 >= 20100723))
Qt Version: 4.6.3
Operating System: Linux 2.6.34-12-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

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

- Unusual behavior I noticed:
Kwin crashes and reloads continously until appears the "Kwin is inestable" menu 

Krunner crashes continously. The only way to stop it is killing krunner process

plasma doesnt start either.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma Workspace (plasma-desktop), signal: Segmentation fault
[KCrash Handler]
#6  0x00007fd14647c984 in strcmp () from /lib64/libc.so.6
#7  0x00007fd14437b44d in findNamedEntry (this=0xfefefefefefefeff, key=<value optimized out>, destination=0x7fff2fc0e290) at /usr/src/debug/kdelibs-4.4.95/kdecore/util/kshareddatacache.cpp:593
#8  KSharedDataCache::find (this=0xfefefefefefefeff, key=<value optimized out>, destination=0x7fff2fc0e290) at /usr/src/debug/kdelibs-4.4.95/kdecore/util/kshareddatacache.cpp:1339
#9  0x00007fd1448dfaf5 in KImageCache::findPixmap (this=0x6fc690, key=..., destination=0x7fff2fc0e2f0) at /usr/src/debug/kdelibs-4.4.95/kdeui/util/kimagecache.cpp:130
#10 0x00007fd1460c664e in Plasma::Theme::findInCache (this=0x711d00, key=..., pix=...) at /usr/src/debug/kdelibs-4.4.95/plasma/theme.cpp:824
#11 0x00007fd1460618c5 in Plasma::FrameSvgPrivate::generateBackground (this=0x10c0ec0, frame=0x10a6be0) at /usr/src/debug/kdelibs-4.4.95/plasma/framesvg.cpp:419
#12 0x00007fd14605e292 in Plasma::FrameSvgPrivate::alphaMask (this=0x10c0ec0) at /usr/src/debug/kdelibs-4.4.95/plasma/framesvg.cpp:396
#13 0x00007fd1460624f9 in Plasma::FrameSvg::mask (this=<value optimized out>) at /usr/src/debug/kdelibs-4.4.95/plasma/framesvg.cpp:285
#14 0x00007fd14604a2e6 in Plasma::DialogPrivate::updateMask (this=0x10a6b30) at /usr/src/debug/kdelibs-4.4.95/plasma/dialog.cpp:161
#15 0x00007fd14604c532 in Plasma::Dialog::Dialog (this=0x10d3680, parent=<value optimized out>, f=<value optimized out>) at /usr/src/debug/kdelibs-4.4.95/plasma/dialog.cpp:454
#16 0x00007fd146067655 in Plasma::PopupAppletPrivate::popupConstraintsEvent (this=0xb8f2e0, constraints=...) at /usr/src/debug/kdelibs-4.4.95/plasma/popupapplet.cpp:383
#17 0x00007fd146013baa in Plasma::Applet::flushPendingConstraintsEvents (this=0xf1e390) at /usr/src/debug/kdelibs-4.4.95/plasma/applet.cpp:1312
#18 0x00007fd127cc04ac in SystemTray::PlasmoidTask::createWidget (this=0xf43370, host=<value optimized out>)
    at /usr/src/debug/kdebase-workspace-4.4.95/plasma/generic/applets/systemtray/protocols/plasmoid/plasmoidtask.cpp:103
#19 0x00007fd127cb8319 in SystemTray::Task::widget (this=0xf43370, host=0xb2d5f0, createIfNecessary=true) at /usr/src/debug/kdebase-workspace-4.4.95/plasma/generic/applets/systemtray/core/task.cpp:74
#20 0x00007fd127cd2323 in SystemTray::TaskArea::addWidgetForTask (this=0x9cbe10, task=0xf43370) at /usr/src/debug/kdebase-workspace-4.4.95/plasma/generic/applets/systemtray/ui/taskarea.cpp:223
#21 0x00007fd127cd3406 in SystemTray::TaskArea::addTask (this=0x9cbe10, task=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.4.95/plasma/generic/applets/systemtray/ui/taskarea.cpp:194
#22 0x00007fd127cd3524 in SystemTray::TaskArea::qt_metacall (this=0x9cbe10, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff2fc0f1a0)
    at /usr/src/debug/kdebase-workspace-4.4.95/build/plasma/generic/applets/systemtray/taskarea.moc:88
#23 0x00007fd143c2ba1f in QMetaObject::activate (sender=0x88c830, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff2fc0f1a0) at kernel/qobject.cpp:3295
#24 0x00007fd127cb752f in SystemTray::Manager::taskAdded (this=<value optimized out>, _t1=0xf43370) at /usr/src/debug/kdebase-workspace-4.4.95/build/plasma/generic/applets/systemtray/manager.moc:99
#25 0x00007fd127cb7703 in SystemTray::Manager::addTask (this=0x88c830, task=0xf43370) at /usr/src/debug/kdebase-workspace-4.4.95/plasma/generic/applets/systemtray/core/manager.cpp:86
#26 0x00007fd127cb7874 in SystemTray::Manager::qt_metacall (this=0x88c830, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff2fc0f360)
    at /usr/src/debug/kdebase-workspace-4.4.95/build/plasma/generic/applets/systemtray/manager.moc:86
#27 0x00007fd143c2ba1f in QMetaObject::activate (sender=0x8242f0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff2fc0f360) at kernel/qobject.cpp:3295
#28 0x00007fd127cb7d9f in SystemTray::Protocol::taskCreated (this=<value optimized out>, _t1=0xf43370)
    at /usr/src/debug/kdebase-workspace-4.4.95/build/plasma/generic/applets/systemtray/protocol.moc:91
#29 0x00007fd127cbeeb5 in SystemTray::PlasmoidProtocol::addApplet (this=0x8242f0, appletName=..., id=<value optimized out>, parent=0xb2d5f0)
    at /usr/src/debug/kdebase-workspace-4.4.95/plasma/generic/applets/systemtray/protocols/plasmoid/plasmoidtaskprotocol.cpp:114
#30 0x00007fd127cbf533 in SystemTray::PlasmoidProtocol::loadFromConfig (this=0x8242f0, parent=0xb2d5f0)
    at /usr/src/debug/kdebase-workspace-4.4.95/plasma/generic/applets/systemtray/protocols/plasmoid/plasmoidtaskprotocol.cpp:83
#31 0x00007fd127cca0a8 in SystemTray::Applet::configChanged (this=0xb2d5f0) at /usr/src/debug/kdebase-workspace-4.4.95/plasma/generic/applets/systemtray/ui/applet.cpp:202
#32 0x00007fd14602446b in Plasma::ContainmentPrivate::initApplets (this=0xaabc40) at /usr/src/debug/kdelibs-4.4.95/plasma/containment.cpp:474
#33 0x00007fd146038444 in Plasma::CoronaPrivate::importLayout (this=0x63e410, conf=..., mergeConfig=false) at /usr/src/debug/kdelibs-4.4.95/plasma/corona.cpp:515
#34 0x00007fd146039531 in Plasma::Corona::loadLayout (this=0x7a5070, configName=...) at /usr/src/debug/kdelibs-4.4.95/plasma/corona.cpp:452
#35 0x00007fd146039612 in Plasma::Corona::initializeLayout (this=0x7a5070, configName=...) at /usr/src/debug/kdelibs-4.4.95/plasma/corona.cpp:355
#36 0x00007fd1467ad3d2 in PlasmaApp::corona (this=0x62cbc0) at /usr/src/debug/kdebase-workspace-4.4.95/plasma/desktop/shell/plasmaapp.cpp:795
#37 0x00007fd1467adde3 in PlasmaApp::setupDesktop (this=0x62cbc0) at /usr/src/debug/kdebase-workspace-4.4.95/plasma/desktop/shell/plasmaapp.cpp:287
#38 0x00007fd1467b5a3e in PlasmaApp::qt_metacall (this=0x62cbc0, _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0x7fff2fc10250)
    at /usr/src/debug/kdebase-workspace-4.4.95/build/plasma/desktop/shell/plasmaapp.moc:148
#39 0x00007fd143c2ba1f in QMetaObject::activate (sender=0x793a00, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3295
#40 0x00007fd143c30dbf in QSingleShotTimer::timerEvent (this=0x793a00) at kernel/qtimer.cpp:308
#41 0x00007fd143c2922e in QObject::event (this=0x793a00, e=0x7fff2fc10a00) at kernel/qobject.cpp:1212
#42 0x00007fd142dec4d4 in QApplicationPrivate::notify_helper (this=0x646910, receiver=0x793a00, e=0x7fff2fc10a00) at kernel/qapplication.cpp:4302
#43 0x00007fd142df4aca in QApplication::notify (this=<value optimized out>, receiver=0x793a00, e=0x7fff2fc10a00) at kernel/qapplication.cpp:4185
#44 0x00007fd1447b3096 in KApplication::notify (this=0x62cbc0, receiver=0x793a00, event=0x7fff2fc10a00) at /usr/src/debug/kdelibs-4.4.95/kdeui/kernel/kapplication.cpp:309
#45 0x00007fd143c17e4c in QCoreApplication::notifyInternal (this=0x62cbc0, receiver=0x793a00, event=0x7fff2fc10a00) at kernel/qcoreapplication.cpp:726
#46 0x00007fd143c430c9 in sendEvent (this=0x64a180) at kernel/qcoreapplication.h:215
#47 QTimerInfoList::activateTimers (this=0x64a180) at kernel/qeventdispatcher_unix.cpp:618
#48 0x00007fd143c3ffd4 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#49 0x00007fd13b75ca93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#50 0x00007fd13b75d270 in ?? () from /usr/lib64/libglib-2.0.so.0
#51 0x00007fd13b75d510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#52 0x00007fd143c4067f in QEventDispatcherGlib::processEvents (this=0x6108f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#53 0x00007fd142e8d14e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#54 0x00007fd143c17292 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#55 0x00007fd143c17495 in QEventLoop::exec (this=0x7fff2fc10d90, flags=...) at kernel/qeventloop.cpp:201
#56 0x00007fd143c1b88b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#57 0x00007fd1467a206b in kdemain (argc=1, argv=0x7fff2fc11178) at /usr/src/debug/kdebase-workspace-4.4.95/plasma/desktop/shell/main.cpp:118
#58 0x00007fd14641fb7d in __libc_start_main () from /lib64/libc.so.6
#59 0x0000000000400699 in _start () at ../sysdeps/x86_64/elf/start.S:113

Possible duplicates by query: bug 243573.

Reported using DrKonqi
Comment 1 Aaron J. Seigo 2010-08-06 19:07:52 UTC
as can be seen here:

http://websvn.kde.org/tags/KDE/4.4.95/kdelibs/plasma/theme.cpp?view=markup

line 824 of plasma/theme.cpp in 4.4.95 is this:

// BIC FIXME: Should be merged with the other findInCache method above when we break BC 

evidently either gdb is very confused or you are running a patched version of libplasma. moreover:

#8  KSharedDataCache::find (this=0xfefefefefefefeff, key=<value optimized out>,
destination=0x7fff2fc0e290) at
/usr/src/debug/kdelibs-4.4.95/kdecore/util/kshareddatacache.cpp:1339
#9  0x00007fd1448dfaf5 in KImageCache::findPixmap (this=0x6fc690, key=...,
destination=0x7fff2fc0e2f0) at

that means that the "this" pointer in KImageCache is not initialized, meaning the object itself isn't created. this is not possible as: Theme::Private::pixmapCache is initialized in the constructor to NULL, and usage of it is always preceded by a check to Theme::Private::useCache() which also creates the KImageCache object if it hasn't already been.

combined with this backtrace (at such a critical and always-run code path) has not been reported up till now, it looks like something is wrong locally.
Comment 2 Christoph Feck 2010-08-07 18:20:33 UTC
Full disk? We got reports that KSharedDataCache does not handle out-of-space.