Bug 258745 - Plasma Desktop crashes upon login (PyQt) [exception qBadAlloc, QX11PixmapData::toImage, ..., KIconLoaderPrivate::insertCachedPixmapWithPath]
Summary: Plasma Desktop crashes upon login (PyQt) [exception qBadAlloc, QX11PixmapData...
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 269249 271349 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-12-03 23:28 UTC by kings9la
Modified: 2011-05-27 23:03 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kings9la 2010-12-03 23:28:47 UTC
Application: plasma-desktop (0.3)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-23-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
This happens about every 2 - 3 logins. The splash screen sits there for 1 - 3 minutes and then this crash dialog displays.

-- Backtrace:
Application: Plasma Workspace (plasma-desktop), signal: Aborted
[Current thread is 1 (Thread 0xb7764720 (LWP 1757))]

Thread 2 (Thread 0xadcb9b70 (LWP 1760)):
#0  0x013a4e36 in clock_gettime () from /lib/librt.so.1
#1  0x0184850b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0x0191f6e5 in QTimerInfoList::updateCurrentTime (this=0xaec01c74) at kernel/qeventdispatcher_unix.cpp:339
#4  0x0191f72a in QTimerInfoList::timerWait (this=0xaec01c74, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x0191d7a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xadcb90ac) at kernel/qeventdispatcher_glib.cpp:136
#6  0x0191d83d in timerSourcePrepare (source=0x0, timeout=0x13a8ff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0x031eae6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x031eb279 in ?? () from /lib/libglib-2.0.so.0
#9  0x031eb848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x0191d59f in QEventDispatcherGlib::processEvents (this=0xaec00890, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0x018ed609 in QEventLoop::processEvents (this=0xadcb9280, flags=) at kernel/qeventloop.cpp:149
#12 0x018eda8a in QEventLoop::exec (this=0xadcb9280, flags=...) at kernel/qeventloop.cpp:201
#13 0x017e9b7e in QThread::exec (this=0x8ebdd98) at thread/qthread.cpp:490
#14 0x018cc35b in QInotifyFileSystemWatcherEngine::run (this=0x8ebdd98) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x017ecdf9 in QThreadPrivate::start (arg=0x8ebdd98) at thread/qthread_unix.cpp:266
#16 0x003c5cc9 in start_thread () from /lib/libpthread.so.0
#17 0x009bd6be in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb7764720 (LWP 1757)):
[KCrash Handler]
#7  0x007c2416 in __kernel_vsyscall ()
#8  0x00917941 in raise () from /lib/libc.so.6
#9  0x0091ae42 in abort () from /lib/libc.so.6
#10 0x0072b055 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/libstdc++.so.6
#11 0x00728f35 in ?? () from /usr/lib/libstdc++.so.6
#12 0x00728f72 in std::terminate() () from /usr/lib/libstdc++.so.6
#13 0x007290e1 in __cxa_throw () from /usr/lib/libstdc++.so.6
#14 0x017e2ea5 in qBadAlloc () at global/qglobal.cpp:1996
#15 0x01c6569d in QX11PixmapData::toImage (this=0x94061f8, rect=...) at image/qpixmap_x11.cpp:1548
#16 0x01c5db17 in QX11PixmapData::toImage (this=0x94061f8) at image/qpixmap_x11.cpp:1577
#17 0x01c48b4b in QPixmap::toImage (this=0xbfa377e8) at image/qpixmap.cpp:487
#18 0x01c48b9c in operator<< (stream=..., pixmap=...) at image/qpixmap.cpp:1301
#19 0x00fc63ca in KIconLoaderPrivate::insertCachedPixmapWithPath (this=0x924e790, key=..., data=..., path=...) at ../../kdeui/icons/kiconloader.cpp:830
#20 0x00fce177 in KIconLoader::loadIcon (this=0x91ade08, _name=..., group=KIconLoader::NoGroup, size=16664, state=0, overlays=..., path_store=0x0, canReturnNull=false) at ../../kdeui/icons/kiconloader.cpp:1306
#21 0xafcc9273 in ?? () from /usr/lib/pymodules/python2.6/PyKDE4/kdeui.so
#22 0x049f83b2 in PyCFunction_Call (func=0xafed8ce8, arg=0x8bcb5cc, kw=0x0) at ../Objects/methodobject.c:81
#23 0x04a58a4f in call_function (f=0x924e5b4, throwflag=0) at ../Python/ceval.c:3750
#24 PyEval_EvalFrameEx (f=0x924e5b4, throwflag=0) at ../Python/ceval.c:2412
#25 0x04a58b66 in fast_function (f=0x93a5fc4, throwflag=0) at ../Python/ceval.c:3836
#26 call_function (f=0x93a5fc4, throwflag=0) at ../Python/ceval.c:3771
#27 PyEval_EvalFrameEx (f=0x93a5fc4, throwflag=0) at ../Python/ceval.c:2412
#28 0x04a58b66 in fast_function (f=0x91c2fcc, throwflag=0) at ../Python/ceval.c:3836
#29 call_function (f=0x91c2fcc, throwflag=0) at ../Python/ceval.c:3771
#30 PyEval_EvalFrameEx (f=0x91c2fcc, throwflag=0) at ../Python/ceval.c:2412
#31 0x04a5a2b9 in PyEval_EvalCodeEx (co=0x89930b0, globals=0x89ad9bc, locals=0x0, args=0x8bc7178, argcount=1, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3000
#32 0x049e2537 in function_call (func=0x8b4aae4, arg=0x8bc716c, kw=0x0) at ../Objects/funcobject.c:524
#33 0x049b377c in PyObject_Call (func=0x8b4aae4, arg=0x8bc716c, kw=0x0) at ../Objects/abstract.c:2492
#34 0x049c5604 in instancemethod_call (func=0x89987fc, arg=0x8bc716c, kw=0x0) at ../Objects/classobject.c:2579
#35 0x049b377c in PyObject_Call (func=0x89987fc, arg=0x893d02c, kw=0x0) at ../Objects/abstract.c:2492
#36 0x04a53264 in PyEval_CallObjectWithKeywords (func=0x89987fc, arg=0x893d02c, kw=0x0) at ../Python/ceval.c:3619
#37 0x02ab6683 in ?? () from /usr/lib/pymodules/python2.6/sip.so
#38 0x02d032b9 in ?? () from /usr/lib/pymodules/python2.6/PyQt4/QtCore.so
#39 0x0731c72c in sipPlasma_AppletScript::init() () from /usr/lib/pymodules/python2.6/PyKDE4/plasma.so
#40 0x00c4afbc in Plasma::Applet::init (this=0x88e2908) at ../../plasma/applet.cpp:232
#41 0x00c6076c in Plasma::ContainmentPrivate::initApplets (this=0x870eb68) at ../../plasma/containment.cpp:462
#42 0x00c7603f in Plasma::CoronaPrivate::importLayout (this=0x8442fd0, conf=..., mergeConfig=false) at ../../plasma/corona.cpp:523
#43 0x00c76d5c in Plasma::Corona::loadLayout (this=0x839c540, configName=...) at ../../plasma/corona.cpp:458
#44 0x00c7795e in Plasma::Corona::initializeLayout (this=0x839c540, configName=...) at ../../plasma/corona.cpp:361
#45 0x0044d972 in PlasmaApp::corona (this=0x83996d8) at ../../../../plasma/desktop/shell/plasmaapp.cpp:800
#46 0x0044df5e in PlasmaApp::setupDesktop (this=0x83996d8) at ../../../../plasma/desktop/shell/plasmaapp.cpp:286
#47 0x0045104c in PlasmaApp::qt_metacall (this=0x83996d8, _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0x843ba98) at ./plasmaapp.moc:148
#48 0x018f48ca in QMetaObject::metacall (object=0x83996d8, cl=1757, idx=42, argv=0x843ba98) at kernel/qmetaobject.cpp:237
#49 0x018ffdf6 in QMetaCallEvent::placeMetaCall (this=0x843c000, object=0x83996d8) at kernel/qobject.cpp:534
#50 0x019016a2 in QObject::event (this=0x83996d8, e=0x6) at kernel/qobject.cpp:1219
#51 0x018ee9db in QCoreApplication::event (this=0x83996d8, e=0x843c000) at kernel/qcoreapplication.cpp:1561
#52 0x01b524d4 in QApplication::event (this=0x83996d8, e=0x843c000) at kernel/qapplication.cpp:2439
#53 0x01b4efdc in QApplicationPrivate::notify_helper (this=0x83a4730, receiver=0x83996d8, e=0x843c000) at kernel/qapplication.cpp:4396
#54 0x01b5504e in QApplication::notify (this=0x83996d8, receiver=0x83996d8, e=0x843c000) at kernel/qapplication.cpp:3798
#55 0x0101c68a in KApplication::notify (this=0x83996d8, receiver=0x83996d8, event=0x843c000) at ../../kdeui/kernel/kapplication.cpp:310
#56 0x018eeb3b in QCoreApplication::notifyInternal (this=0x83996d8, receiver=0x83996d8, event=0x843c000) at kernel/qcoreapplication.cpp:732
#57 0x018f1d8b in sendEvent (receiver=0x0, event_type=0, data=0x8383028) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#58 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8383028) at kernel/qcoreapplication.cpp:1373
#59 0x018f1f4d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#60 0x0191da74 in sendPostedEvents (s=0x83a6b10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#61 postEventSourceDispatch (s=0x83a6b10) at kernel/qeventdispatcher_glib.cpp:277
#62 0x031e7855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#63 0x031eb668 in ?? () from /lib/libglib-2.0.so.0
#64 0x031eb848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#65 0x0191d565 in QEventDispatcherGlib::processEvents (this=0x8382ce8, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#66 0x01c10be5 in QGuiEventDispatcherGlib::processEvents (this=0x8382ce8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#67 0x018ed609 in QEventLoop::processEvents (this=0xbfa38ee4, flags=) at kernel/qeventloop.cpp:149
#68 0x018eda8a in QEventLoop::exec (this=0xbfa38ee4, flags=...) at kernel/qeventloop.cpp:201
#69 0x018f200f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#70 0x01b4de07 in QApplication::exec () at kernel/qapplication.cpp:3672
#71 0x0043286e in kdemain (argc=1, argv=0xbfa390f4) at ../../../../plasma/desktop/shell/main.cpp:118
#72 0x080485bb in main (argc=1, argv=0xbfa390f4) at plasma-desktop_dummy.cpp:3

Possible duplicates by query: bug 257270, bug 255227, bug 255226, bug 255225, bug 253605.

Reported using DrKonqi
Comment 1 Dario Andres 2011-01-01 16:02:24 UTC
[Comment from a bug triager]
- Do you have some Python powered plasmoids in your desktop ?
This may also be related to KIconLoader in kdelibs
Regards
Comment 2 Beat Wolf 2011-03-26 13:01:45 UTC

*** This bug has been marked as a duplicate of bug 209263 ***
Comment 3 Dario Andres 2011-04-11 02:09:43 UTC
[Comment from a bug triager]
From bug 269249 (KDE SC 4.5.1):
- What I was doing when the application crashed:
Logging in the system with automatic login set for the main user.

- Unusual behavior I noticed:
Once the splash screen was complete, the system appeared as it was hung up for
more than one minute, then the desktop appeared showing the bug report window.
Comment 4 Dario Andres 2011-04-11 02:09:49 UTC
*** Bug 269249 has been marked as a duplicate of this bug. ***
Comment 5 Erik Zoltan 2011-04-20 14:22:56 UTC
I'm also having the same problem.  Here are the plasma apps that I have loaded:  Application Launcher, Calendar, Comic Strip, Digital Clock, Folder View, gmail-plasmoid, Hardware Temperature, Luna, Microblogging, Network Monitor, Pager, Quick Access, Show Desktop, System Load Viewer, System Tray, Task Manager, Weather Forecast.
Comment 6 Dario Andres 2011-04-22 22:46:28 UTC
[Comment from a bug triager]
From bug 271349 (KDE SC 4.5.1):
===
- What I was doing when the application crashed:
I have Kubuntu 10.10 on a Dell Latitude D820.  I've turned off desktop effects.
 It auto logs in.  I have about 11 plasma apps.  
- Unusual behavior I noticed:
When I turn on my system and log in, I sometimes get a dark screen and the hard
disk crunches a lot.  It then comes up with a KDE Daemon request to open my
wallet.  The dialog is very laggy.  After a long time I get a crash report.  At
that point KDE comes up and appears to work beautifully.
===
Here are the plasma apps that I have loaded:  Application Launcher, Calendar,
Comic Strip, Digital Clock, Folder View, gmail-plasmoid, Hardware Temperature,
Luna, Microblogging, Network Monitor, Pager, Quick Access, Show Desktop, System
Load Viewer, System Tray, Task Manager, Weather Forecast.
===
I tried cleaning up my /var/tmp/kdecache-USERNAME/kpc directory and will see if
that helps.
Comment 7 Dario Andres 2011-04-22 22:46:33 UTC
*** Bug 271349 has been marked as a duplicate of this bug. ***
Comment 8 Erik Zoltan 2011-04-23 01:45:20 UTC
I tried cleaning up my /var/tmp/kdecache-USERNAME/kpc directory and the problem went away.  That's a great workaround mentioned on another post.
Comment 9 Michael Pyne 2011-04-23 04:33:59 UTC
/var/tmp/kdecache-$USER/kpc seems to indicate it would be a bug in KIconCache, which is still used in KIconLoader in the KDE Platform 4.5.

It /was/ removed (with commit 03845b5adca8c5df5c3ea116f1ce01cd615f119c) in KDE Platform 4.6 however so you may want to retest with at least kdelibs 4.6.
Comment 10 Michael Pyne 2011-04-23 04:34:31 UTC
/var/tmp/kdecache-$USER/kpc seems to indicate it would be a bug in KIconCache, which is still used in KIconLoader in the KDE Platform 4.5.

It /was/ removed (with commit 03845b5adca8c5df5c3ea116f1ce01cd615f119c) in KDE Platform 4.6 however so you may want to retest with at least kdelibs 4.6.