Bug 382551

Summary: plasmashell has high cpu usage
Product: [Plasma] plasmashell Reporter: Michael Polster <michael.polster>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.10.3   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Michael Polster 2017-07-20 20:49:03 UTC
Application: plasmashell (5.10.3)

Qt Version: 5.9.1
Frameworks Version: 5.36.0
Operating System: Linux 4.9.37-1-lts x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:
don't know specifically.

- Unusual behavior I noticed:
plasmashell eats up all my cpu. when it starts while logging in, it constantly gets higher. then when I kill plasmashell. the cpu usage goes down to almost zero. when I then normally start plasmashell again by CRTL+F2 usually the high cpu usage doesn't come back.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f661cce3d80 (LWP 2143))]

Thread 18 (Thread 0x7f652aff1700 (LWP 2169)):
#0  0x00007f6616bed3c8 in  () at /usr/lib/libQt5Core.so.5
#1  0x00007f6611015148 in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#2  0x00007f6611015b3b in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007f6611015d1c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007f6616bed084 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f6616b90ffb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f66169aa40e in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007f66169af15b in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f6615b6a049 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f66162c0f0f in clone () at /usr/lib/libc.so.6

Thread 17 (Thread 0x7f652b7f2700 (LWP 2168)):
[KCrash Handler]
#5  0x00007f652babf92c in  () at /usr/lib/libQt5XmlPatterns.so.5
#6  0x00007f652babb2f4 in  () at /usr/lib/libQt5XmlPatterns.so.5
#7  0x00007f652ba8598b in  () at /usr/lib/libQt5XmlPatterns.so.5
#8  0x00007f652b933b5d in  () at /usr/lib/libQt5XmlPatterns.so.5
#9  0x00007f652b93dacd in  () at /usr/lib/libQt5XmlPatterns.so.5
#10 0x00007f652b8a503a in  () at /usr/lib/libQt5XmlPatterns.so.5
#11 0x00007f652b8b6f3e in QXmlQuery::setQuery(QIODevice*, QUrl const&) () at /usr/lib/libQt5XmlPatterns.so.5
#12 0x00007f652b8b82aa in QXmlQuery::setQuery(QString const&, QUrl const&) () at /usr/lib/libQt5XmlPatterns.so.5
#13 0x00007f652bded2e6 in  () at /usr/lib/qt/qml/QtQuick/XmlListModel/libqmlxmllistmodelplugin.so
#14 0x00007f652bdee715 in  () at /usr/lib/qt/qml/QtQuick/XmlListModel/libqmlxmllistmodelplugin.so
#15 0x00007f652bdef306 in  () at /usr/lib/qt/qml/QtQuick/XmlListModel/libqmlxmllistmodelplugin.so
#16 0x00007f652bdef35d in  () at /usr/lib/qt/qml/QtQuick/XmlListModel/libqmlxmllistmodelplugin.so
#17 0x00007f6617b4ee4c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#18 0x00007f6617b56926 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#19 0x00007f6616b92bd0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#20 0x00007f6616b95426 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#21 0x00007f6616beda74 in  () at /usr/lib/libQt5Core.so.5
#22 0x00007f6611015a57 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#23 0x00007f6611015c88 in  () at /usr/lib/libglib-2.0.so.0
#24 0x00007f6611015d1c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#25 0x00007f6616bed061 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#26 0x00007f6616b90ffb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#27 0x00007f66169aa40e in QThread::exec() () at /usr/lib/libQt5Core.so.5
#28 0x00007f652bdef3c5 in  () at /usr/lib/qt/qml/QtQuick/XmlListModel/libqmlxmllistmodelplugin.so
#29 0x00007f66169af15b in  () at /usr/lib/libQt5Core.so.5
#30 0x00007f6615b6a049 in start_thread () at /usr/lib/libpthread.so.0
#31 0x00007f66162c0f0f in clone () at /usr/lib/libc.so.6

Thread 16 (Thread 0x7f653149a700 (LWP 2167)):
#0  0x00007f661105aa84 in g_mutex_unlock () at /usr/lib/libglib-2.0.so.0
#1  0x00007f6611014ad7 in g_main_context_acquire () at /usr/lib/libglib-2.0.so.0
#2  0x00007f6611015ac5 in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007f6611015d1c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007f6616bed084 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f6616b90ffb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f66169aa40e in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007f6532b3b18a in KCupsConnection::run() () at /usr/lib/libkcupslib.so
#8  0x00007f66169af15b in  () at /usr/lib/libQt5Core.so.5
#9  0x00007f6615b6a049 in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007f66162c0f0f in clone () at /usr/lib/libc.so.6

Thread 15 (Thread 0x7f655deaa700 (LWP 2163)):
#0  0x00007f66162b6e9d in poll () at /usr/lib/libc.so.6
#1  0x00007f6611015c09 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f6611015d1c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f6616bed084 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f6616b90ffb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f66169aa40e in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f661a7188d6 in  () at /usr/lib/libQt5Quick.so.5
#7  0x00007f66169af15b in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f6615b6a049 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f66162c0f0f in clone () at /usr/lib/libc.so.6

Thread 14 (Thread 0x7f6563d5b700 (LWP 2156)):
#0  0x00007f6615b701ad in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f656b9205fb in  () at /usr/lib/xorg/modules/dri/swrast_dri.so
#2  0x00007f656b920477 in  () at /usr/lib/xorg/modules/dri/swrast_dri.so
#3  0x00007f6615b6a049 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f66162c0f0f in clone () at /usr/lib/libc.so.6

Thread 13 (Thread 0x7f656455c700 (LWP 2155)):
#0  0x00007f6615b701ad in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f656b9205fb in  () at /usr/lib/xorg/modules/dri/swrast_dri.so
#2  0x00007f656b920477 in  () at /usr/lib/xorg/modules/dri/swrast_dri.so
#3  0x00007f6615b6a049 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f66162c0f0f in clone () at /usr/lib/libc.so.6

Thread 12 (Thread 0x7f6564d5d700 (LWP 2154)):
#0  0x00007f6615b701ad in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f656b9205fb in  () at /usr/lib/xorg/modules/dri/swrast_dri.so
#2  0x00007f656b920477 in  () at /usr/lib/xorg/modules/dri/swrast_dri.so
#3  0x00007f6615b6a049 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f66162c0f0f in clone () at /usr/lib/libc.so.6

Thread 11 (Thread 0x7f656555e700 (LWP 2153)):
#0  0x00007f6615b701ad in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f656b9205fb in  () at /usr/lib/xorg/modules/dri/swrast_dri.so
#2  0x00007f656b920477 in  () at /usr/lib/xorg/modules/dri/swrast_dri.so
#3  0x00007f6615b6a049 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f66162c0f0f in clone () at /usr/lib/libc.so.6

Thread 10 (Thread 0x7f6565d5f700 (LWP 2152)):
#0  0x00007f6615b701ad in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f656b9205fb in  () at /usr/lib/xorg/modules/dri/swrast_dri.so
#2  0x00007f656b920477 in  () at /usr/lib/xorg/modules/dri/swrast_dri.so
#3  0x00007f6615b6a049 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f66162c0f0f in clone () at /usr/lib/libc.so.6

Thread 9 (Thread 0x7f6566560700 (LWP 2151)):
#0  0x00007f6615b701ad in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f656b9205fb in  () at /usr/lib/xorg/modules/dri/swrast_dri.so
#2  0x00007f656b920477 in  () at /usr/lib/xorg/modules/dri/swrast_dri.so
#3  0x00007f6615b6a049 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f66162c0f0f in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7f6566d61700 (LWP 2150)):
#0  0x00007f6615b701ad in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f656b9205fb in  () at /usr/lib/xorg/modules/dri/swrast_dri.so
#2  0x00007f656b920477 in  () at /usr/lib/xorg/modules/dri/swrast_dri.so
#3  0x00007f6615b6a049 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f66162c0f0f in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7f6567562700 (LWP 2149)):
#0  0x00007f6615b701ad in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f656b9205fb in  () at /usr/lib/xorg/modules/dri/swrast_dri.so
#2  0x00007f656b920477 in  () at /usr/lib/xorg/modules/dri/swrast_dri.so
#3  0x00007f6615b6a049 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f66162c0f0f in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7f65f27aa700 (LWP 2148)):
#0  0x00007f6615b701ad in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f661c45bb04 in  () at /usr/lib/libQt5Script.so.5
#2  0x00007f661c45bb49 in  () at /usr/lib/libQt5Script.so.5
#3  0x00007f6615b6a049 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f66162c0f0f in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f65f3fff700 (LWP 2147)):
#0  0x00007f66162b6e9d in poll () at /usr/lib/libc.so.6
#1  0x00007f6611015c09 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f6611015d1c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f6616bed084 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f6616b90ffb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f66169aa40e in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f6619b551d5 in  () at /usr/lib/libQt5Qml.so.5
#7  0x00007f66169af15b in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f6615b6a049 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f66162c0f0f in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f65fed9a700 (LWP 2146)):
#0  0x00007f66162b2bad in read () at /usr/lib/libc.so.6
#1  0x00007f6611059730 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f66110156eb in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007f6611015bb0 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007f6611015d1c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007f6616bed084 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f6616b90ffb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007f66169aa40e in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007f6619b551d5 in  () at /usr/lib/libQt5Qml.so.5
#9  0x00007f66169af15b in  () at /usr/lib/libQt5Core.so.5
#10 0x00007f6615b6a049 in start_thread () at /usr/lib/libpthread.so.0
#11 0x00007f66162c0f0f in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f66049c2700 (LWP 2145)):
#0  0x00007f66162b6e9d in poll () at /usr/lib/libc.so.6
#1  0x00007f6611015c09 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f6611015d1c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f6616bed084 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f6616b90ffb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f66169aa40e in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f661700f396 in  () at /usr/lib/libQt5DBus.so.5
#7  0x00007f66169af15b in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f6615b6a049 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f66162c0f0f in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f6606ac2700 (LWP 2144)):
#0  0x00007f66162b6e9d in poll () at /usr/lib/libc.so.6
#1  0x00007f661b34f8e0 in  () at /usr/lib/libxcb.so.1
#2  0x00007f661b351679 in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007f660906872a in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f66169af15b in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f6615b6a049 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f66162c0f0f in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f661cce3d80 (LWP 2143)):
#0  0x00007f6615b701ad in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f661b34fb57 in  () at /usr/lib/libxcb.so.1
#2  0x00007f661b35139f in  () at /usr/lib/libxcb.so.1
#3  0x00007f661b351511 in xcb_wait_for_reply64 () at /usr/lib/libxcb.so.1
#4  0x00007f661b5b54d8 in _XReply () at /usr/lib/libX11.so.6
#5  0x00007f660dc5d27a in XSyncQueryCounter () at /usr/lib/libXext.so.6
#6  0x00007f6532fd6534 in  () at /usr/lib/qt/plugins/kf5/org.kde.kidletime.platforms/KF5IdleTimeXcbPlugin0.so
#7  0x00007f65338b3ddc in  () at /usr/lib/qt/plugins/plasma/dataengine/plasma_engine_powermanagement.so
#8  0x00007f661aeb7ca9 in  () at /usr/lib/libKF5Plasma.so.5
#9  0x00007f6616bc2786 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#10 0x00007f661aeb0ca2 in Plasma::DataContainer::updateRequested(Plasma::DataContainer*) () at /usr/lib/libKF5Plasma.so.5
#11 0x00007f661aecf618 in  () at /usr/lib/libKF5Plasma.so.5
#12 0x00007f6616bc318b in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#13 0x00007f6617b4ee4c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#14 0x00007f6617b56926 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#15 0x00007f6616b92bd0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#16 0x00007f6616bec4a8 in QTimerInfoList::activateTimers() () at /usr/lib/libQt5Core.so.5
#17 0x00007f6616becca2 in  () at /usr/lib/libQt5Core.so.5
#18 0x00007f6611015a57 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#19 0x00007f6611015c88 in  () at /usr/lib/libglib-2.0.so.0
#20 0x00007f6611015d1c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#21 0x00007f6616bed061 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#22 0x00007f6616b90ffb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#23 0x00007f6616b9a048 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#24 0x000000000041cc32 in  ()
#25 0x00007f66161f34ca in __libc_start_main () at /usr/lib/libc.so.6
#26 0x000000000041cfaa in _start ()

The reporter indicates this bug may be a duplicate of or related to bug 381280.

Reported using DrKonqi
Comment 1 David Edmundson 2017-07-21 12:23:46 UTC
High CPU usage could have multiple causes, please see the "see also" fields of the linked report.

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