Bug 279285 - plasma-desktop uses 100% CPU and doesn't work
Summary: plasma-desktop uses 100% CPU and doesn't work
Status: RESOLVED DUPLICATE of bug 272505
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-03 12:50 UTC by Matija Šuklje
Modified: 2011-08-05 15:09 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
plasma-desktop-appletsrc (29.48 KB, application/octet-stream)
2011-08-03 12:54 UTC, Matija Šuklje
Details
plasma-desktoprc (3.35 KB, application/octet-stream)
2011-08-03 12:55 UTC, Matija Šuklje
Details
plasma-windowed-appletsrc (1.32 KB, application/octet-stream)
2011-08-03 12:55 UTC, Matija Šuklje
Details
plasmarc (97 bytes, application/octet-stream)
2011-08-03 12:55 UTC, Matija Šuklje
Details
plasmarc.uniq (97 bytes, application/octet-stream)
2011-08-03 12:56 UTC, Matija Šuklje
Details
plasmawallpaperviewerrc (163 bytes, application/octet-stream)
2011-08-03 12:56 UTC, Matija Šuklje
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matija Šuklje 2011-08-03 12:50:30 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.7.00 (4.7.0)
Qt Version: 4.7.2
Operating System: Linux 2.6.39-gentoo-r3 x86_64
Distribution: "Gentoo Base System release 2.0.3"

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

This happens to me when I either start KDE or then kill and re-run plasma-desktop (kquitapp'ing it doesn't stop it).

- Unusual behavior I noticed:

CPU rises to 100% and stays there.

More often then not 'plasma-desktop' doesn't even show anything (anymore) on the screen and leaves it blank, while the process is still eating up 100% CPU.

This does not happen to 'plasma-netbook'

I have already tried to remerge (=reinstall/recompile on Gentoo) PyQt4, sip, pykde4, plasma-runtime and plasma-workspace, but it doesn't fix it.

If I 'rm ~/.kde4/share/config/plasma*', it works.

- Custom settings of the application:

I will attach my '~/kde4/share/config/plasma*'.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Delovno okolje Plasma Desktop (plasma-desktop), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f901351b780 (LWP 20752))]

Thread 3 (Thread 0x7f8fee879700 (LWP 20761)):
#0  0x00007f9012c27263 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f9006fb5fb9 in g_main_context_poll (context=0x1aaeb10, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:3405
#2  g_main_context_iterate (context=0x1aaeb10, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:3087
#3  0x00007f9006fb640c in g_main_context_iteration (context=0x1aaeb10, may_block=1) at gmain.c:3155
#4  0x00007f900fcfee76 in QEventDispatcherGlib::processEvents (this=0x1a96110, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f900fcd1a92 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007f900fcd1e74 in QEventLoop::exec (this=0x7f8fee878dc0, flags=) at kernel/qeventloop.cpp:201
#7  0x00007f900fbde49d in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#8  0x00007f900fcb1aa8 in QInotifyFileSystemWatcherEngine::run (this=0x1aa9630) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f900fbe14c5 in QThreadPrivate::start (arg=0x1aa9630) at thread/qthread_unix.cpp:320
#10 0x00007f900f94ec1a in start_thread (arg=<value optimized out>) at pthread_create.c:301
#11 0x00007f9012c2feed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f8fe27bb700 (LWP 20770)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f900fbe208b in wait (this=<value optimized out>, mutex=0x24742b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x24742b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f8ff8254bcc in meth_QWaitCondition_wait (sipSelf=0x14c3fa0, sipArgs=0x14e5690, sipKwds=0x0) at sipQtCoreQWaitCondition.cpp:71
#4  0x00007f8ff88ee2e3 in call_function (f=0x2780570, throwflag=<value optimized out>) at Python/ceval.c:4012
#5  PyEval_EvalFrameEx (f=0x2780570, throwflag=<value optimized out>) at Python/ceval.c:2665
#6  0x00007f8ff88efbd0 in PyEval_EvalCodeEx (co=0x25d7f30, globals=<value optimized out>, locals=<value optimized out>, args=0x0, argcount=0, kws=<value optimized out>, kwcount=0, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:3252
#7  0x00007f8ff887ae21 in function_call (func=0x25e02a8, arg=0x14e5650, kw=0x0) at Objects/funcobject.c:526
#8  0x00007f8ff8852542 in PyObject_Call (func=0x25e02a8, arg=0x80, kw=0x1) at Objects/abstract.c:2529
#9  0x00007f8ff886517d in instancemethod_call (func=0x25e02a8, arg=0x14e5650, kw=0x0) at Objects/classobject.c:2578
#10 0x00007f8ff8852542 in PyObject_Call (func=0xfc75f0, arg=0x80, kw=0x1) at Objects/abstract.c:2529
#11 0x00007f8ff88e7ab2 in PyEval_CallObjectWithKeywords (func=0xfc75f0, arg=0xf5f050, kw=0x1) at Python/ceval.c:3881
#12 0x00007f8ff7f9195b in sip_api_call_method (isErr=0x0, method=0xfc75f0, fmt=0x7f8ff8367eb5 "") at siplib.c:1742
#13 0x00007f8ff8235777 in sipVH_QtCore_11 (sipGILState=PyGILState_UNLOCKED, sipMethod=0x80) at sipQtCorecmodule.cpp:4382
#14 0x00007f8ff8268a20 in sipQThread::run (this=0xf2d3c0) at sipQtCoreQThread.cpp:159
#15 0x00007f900fbe14c5 in QThreadPrivate::start (arg=0xf2d3c0) at thread/qthread_unix.cpp:320
#16 0x00007f900f94ec1a in start_thread (arg=<value optimized out>) at pthread_create.c:301
#17 0x00007f9012c2feed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f901351b780 (LWP 20752)):
[KCrash Handler]
#6  PyFrame_New (tstate=0x0, code=0x14ea3b0, globals=0x155b0a0, locals=0x0) at Objects/frameobject.c:625
#7  0x00007f8ff88ee417 in fast_function (f=0x213f420, throwflag=<value optimized out>) at Python/ceval.c:4087
#8  call_function (f=0x213f420, throwflag=<value optimized out>) at Python/ceval.c:4033
#9  PyEval_EvalFrameEx (f=0x213f420, throwflag=<value optimized out>) at Python/ceval.c:2665
#10 0x00007f8ff88efbd0 in PyEval_EvalCodeEx (co=0x14cbb30, globals=<value optimized out>, locals=<value optimized out>, args=0x0, argcount=2, kws=<value optimized out>, kwcount=0, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:3252
#11 0x00007f8ff887ae21 in function_call (func=0x14d57d0, arg=0x108dbd8, kw=0x0) at Objects/funcobject.c:526
#12 0x00007f8ff8852542 in PyObject_Call (func=0x14d57d0, arg=0x14ea3b0, kw=0x155b0a0) at Objects/abstract.c:2529
#13 0x00007f8ff886517d in instancemethod_call (func=0x14d57d0, arg=0x108dbd8, kw=0x0) at Objects/classobject.c:2578
#14 0x00007f8ff8852542 in PyObject_Call (func=0x10185f0, arg=0x14ea3b0, kw=0x155b0a0) at Objects/abstract.c:2529
#15 0x00007f8ff88e7ab2 in PyEval_CallObjectWithKeywords (func=0x10185f0, arg=0x14d4e90, kw=0x155b0a0) at Python/ceval.c:3881
#16 0x00007f8ff7f9195b in sip_api_call_method (isErr=0x0, method=0x10185f0, fmt=0x7f8ff737b1c1 "N") at siplib.c:1742
#17 0x00007f8ff71f6e95 in sipVH_plasma_7 (sipGILState=PyGILState_LOCKED, sipMethod=0x10185f0, a0=) at /var/tmp/portage/kde-base/pykde4-4.7.0/work/pykde4-4.7.0_build-2.7/sip/plasma/sipplasmapart0.cpp:1771
#18 0x00007f8ff72c2d93 in sipPlasma_AppletScript::constraintsEvent (this=0x1713430, a0=) at /var/tmp/portage/kde-base/pykde4-4.7.0/work/pykde4-4.7.0_build-2.7/sip/plasma/sipplasmapart3.cpp:29003
#19 0x00007f901271d2f8 in Plasma::Applet::constraintsEvent (this=<value optimized out>, constraints=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.7.0/work/kdelibs-4.7.0/plasma/applet.cpp:757
#20 0x00007f90127266bf in Plasma::Applet::flushPendingConstraintsEvents (this=0x171c5c0) at /var/tmp/portage/kde-base/kdelibs-4.7.0/work/kdelibs-4.7.0/plasma/applet.cpp:1357
#21 0x00007f9012727465 in Plasma::Applet::timerEvent (this=0x171c5c0, event=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.7.0/work/kdelibs-4.7.0/plasma/applet.cpp:2506
#22 0x00007f900fce47e9 in QObject::event (this=0x171c5c0, e=0x14ea3b0) at kernel/qobject.cpp:1181
#23 0x00007f900f4adc1b in QGraphicsWidget::event (this=0x171c5c0, event=0x7fffac097700) at graphicsview/qgraphicswidget.cpp:1423
#24 0x00007f900ee5a8dc in QApplicationPrivate::notify_helper (this=0x8d12d0, receiver=0x171c5c0, e=0x7fffac097700) at kernel/qapplication.cpp:4462
#25 0x00007f900ee5fd7d in QApplication::notify (this=0x84c870, receiver=0x171c5c0, e=0x7fffac097700) at kernel/qapplication.cpp:4341
#26 0x00007f90109fd826 in KApplication::notify (this=0x84c870, receiver=0x171c5c0, event=0x7fffac097700) at /var/tmp/portage/kde-base/kdelibs-4.7.0/work/kdelibs-4.7.0/kdeui/kernel/kapplication.cpp:311
#27 0x00007f900fcd2d3b in QCoreApplication::notifyInternal (this=0x84c870, receiver=0x171c5c0, event=0x7fffac097700) at kernel/qcoreapplication.cpp:731
#28 0x00007f900fd0225a in sendEvent (this=0x8da460) at kernel/qcoreapplication.h:215
#29 QTimerInfoList::activateTimers (this=0x8da460) at kernel/qeventdispatcher_unix.cpp:604
#30 0x00007f900fcff134 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#31 0x00007f9006fb1bc1 in g_main_dispatch (context=0x8d94e0) at gmain.c:2441
#32 g_main_context_dispatch (context=0x8d94e0) at gmain.c:3014
#33 0x00007f9006fb6258 in g_main_context_iterate (context=0x8d94e0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:3092
#34 0x00007f9006fb640c in g_main_context_iteration (context=0x8d94e0, may_block=1) at gmain.c:3155
#35 0x00007f900fcfee23 in QEventDispatcherGlib::processEvents (this=0x82a130, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#36 0x00007f900ef0ccbe in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x00007f900fcd1a92 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#38 0x00007f900fcd1e74 in QEventLoop::exec (this=0x7fffac0979b0, flags=) at kernel/qeventloop.cpp:201
#39 0x00007f900fcd5eeb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#40 0x00007f901311b523 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/kde-base/plasma-workspace-4.7.0/work/plasma-workspace-4.7.0/plasma/desktop/shell/main.cpp:120
#41 0x00007f9012b7cd2d in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fffac097dc8) at libc-start.c:226
#42 0x00000000004007b9 in _start ()

Possible duplicates by query: bug 272505, bug 272368, bug 259278, bug 253040, bug 240969.

Reported using DrKonqi
Comment 1 Matija Šuklje 2011-08-03 12:54:59 UTC
Created attachment 62504 [details]
plasma-desktop-appletsrc
Comment 2 Matija Šuklje 2011-08-03 12:55:18 UTC
Created attachment 62505 [details]
plasma-desktoprc
Comment 3 Matija Šuklje 2011-08-03 12:55:38 UTC
Created attachment 62506 [details]
plasma-windowed-appletsrc
Comment 4 Matija Šuklje 2011-08-03 12:55:49 UTC
Created attachment 62507 [details]
plasmarc
Comment 5 Matija Šuklje 2011-08-03 12:56:06 UTC
Created attachment 62508 [details]
plasmarc.uniq
Comment 6 Matija Šuklje 2011-08-03 12:56:24 UTC
Created attachment 62509 [details]
plasmawallpaperviewerrc
Comment 7 Matija Šuklje 2011-08-03 12:57:08 UTC
Also, this started happening since I upgraded KDE from 4.6.3 to 4.7.0.
Comment 8 Matija Šuklje 2011-08-03 13:08:26 UTC
When running 'plasma-desktop' from the console, this is the output just before it freezes and eats up all the CPU:


unnamed app(24726)/plasma kdemain: !!{} STARTUP TIME 54320967 START (line: 49 )
plasma-desktop(24727)/plasma PlasmaApp::PlasmaApp: !!{} STARTUP TIME 54321082 plasma app ctor start (line: 123 )
QDBusObjectPath: invalid path ""
plasma-desktop(24727)/plasma PlasmaApp::PlasmaApp: Setting the pixmap cache size to 39487 kilobytes
plasma-desktop(24727)/plasma PlasmaApp::PlasmaApp: !!{} STARTUP TIME 54321091 plasma app ctor end (line: 284 )
plasma-desktop(24727)/libplasma Plasma::Corona::Corona: !!{} STARTUP TIME 54321117 Corona ctor start
plasma-desktop(24727)/plasma DesktopCorona::init: !!{} STARTUP TIME 54321120 DesktopCorona init start (line: 82 )
plasma-desktop(24727)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/kdecache-hook/ksycoca4"
plasma-desktop(24727)/plasma DesktopCorona::checkAddPanelAction: populateAddPanelsMenu 3
plasma-desktop(24727)/plasma DesktopCorona::init: !!{} STARTUP TIME 54321125 DesktopCorona init end (line: 125 )
plasma-desktop(24727)/libplasma Plasma::CoronaPrivate::importLayout: !!{} STARTUP TIME 54321130 Adding Containment "panel"
plasma-desktop(24727)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)
plasma-desktop(24727)/libplasma Plasma::ContainmentPrivate::preferredPanelPos: moved to QPointF(10206, -206)
plasma-desktop(24727)/libplasma Plasma::ContainmentPrivate::positionPanel: no scene yet
plasma-desktop(24727)/libplasma Plasma::ContainmentPrivate::preferredPanelPos: moved to QPointF(10206, -206)
plasma-desktop(24727)/libplasma Plasma::CoronaPrivate::importLayout: !!{} STARTUP TIME 54321158 Init Containment "panel"
plasma-desktop(24727)/libplasma Plasma::ContainmentPrivate::preferredPanelPos: moved to QPointF(10180, -90)
plasma-desktop(24727)/plasma PlasmaApp::containmentScreenOwnerChanged: @@@was -1 is 0 Panel(0x2395170) 0
plasma-desktop(24727)/plasma PlasmaApp::containmentScreenOwnerChanged: @@@isPanel
plasma-desktop(24727)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)
plasma-desktop(24727)/libplasma Plasma::CoronaPrivate::importLayout: !!{} STARTUP TIME 54321174 Restored Containment "panel"
plasma-desktop(24727)/libplasma Plasma::CoronaPrivate::importLayout: !!{} STARTUP TIME 54321174 Adding Containment "panel"
plasma-desktop(24727)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)
plasma-desktop(24727)/libplasma Plasma::ContainmentPrivate::preferredPanelPos: moved to QPointF(10908, -206)
plasma-desktop(24727)/libplasma Plasma::ContainmentPrivate::positionPanel: no scene yet
plasma-desktop(24727)/libplasma Plasma::ContainmentPrivate::preferredPanelPos: moved to QPointF(10908, -206)
plasma-desktop(24727)/libplasma Plasma::CoronaPrivate::importLayout: !!{} STARTUP TIME 54321180 Init Containment "panel"
plasma-desktop(24727)/libplasma Plasma::ContainmentPrivate::preferredPanelPos: moved to QPointF(0, -160)
plasma-desktop(24727)/plasma PlasmaApp::containmentScreenOwnerChanged: @@@was -1 is 0 Panel(0x24a5200) 0
plasma-desktop(24727)/plasma PlasmaApp::containmentScreenOwnerChanged: @@@isPanel
plasma-desktop(24727)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)
plasma-desktop(24727)/libplasma Plasma::CoronaPrivate::importLayout: !!{} STARTUP TIME 54321254 Restored Containment "panel"
plasma-desktop(24727)/libplasma Plasma::CoronaPrivate::importLayout: !!{} STARTUP TIME 54321254 Adding Containment "desktop"
plasma-desktop(24727)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)
plasma-desktop(24727)/libplasma Plasma::CoronaPrivate::importLayout: !!{} STARTUP TIME 54321285 Init Containment "desktop"
plasma-desktop(24727)/plasma PlasmaApp::containmentScreenOwnerChanged: @@@was -1 is 0 DefaultDesktop(0x26157d0) 0
plasma-desktop(24727)/plasma PlasmaApp::containmentScreenOwnerChanged: @@@@appending
plasma-desktop(24727)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)
plasma-desktop(24727)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)
plasma-desktop(24727)/libplasma Plasma::Wallpaper::load: we have a script using the "python" API
Comment 9 Beat Wolf 2011-08-05 15:09:54 UTC

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