Description of problem: after some time, plasmashell consumes 100% of one thread Version-Release number of selected component (if applicable): 5.15.4 How reproducible: Let plasmashell run and on my setup, it will happen. But this is specific to that machine, as on my other systems, that doesn't happen This system has always been updated since mandrake 10 so it may be related to a left over conf file somewhere, or to the HW configuration. A lot of bug reports appear @kde.org, but none of the hints given seem to fix this. Traces given by plasmashell: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 65393, resource id: 92274691, major code: 141 (Unknown), minor code: 3 qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 65394, resource id: 92274812, major code: 141 (Unknown), minor code: 3 qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 65395, resource id: 92281036, major code: 141 (Unknown), minor code: 3 qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 65396, resource id: 92274920, major code: 141 (Unknown), minor code: 3 qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 65397, resource id: 92274908, major code: 141 (Unknown), minor code: 3 qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 65398, resource id: 92274896, major code: 141 (Unknown), minor code: 3 qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 65399, resource id: 92274884, major code: 141 (Unknown), minor code: 3 file:///usr/lib64/qt5/qml/QtQuick/Controls/Button.qml:99: TypeError: Type error KActivitiesStats( 0x1f5cdc0 ) ResultModelPrivate::onResultScoreUpdated result added: "/users/bruno/Download/index.jpg" score: 5.84617 last: 1592175835 first: 1591990437 KActivitiesStats( 0x1f5cdc0 ) ResultModelPrivate::onResultScoreUpdated result added: "/users/bruno/Download/index.jpg" score: 6.8154 last: 1592175843 first: 1591990447 KActivitiesStats( 0x1ed51a0 ) ResultModelPrivate::onResultScoreUpdated result added: "applications:chromium-browser.desktop" score: 0 last: 1592176074 first: 1592176074 file:///usr/lib64/qt5/qml/QtQuick/Controls/Slider.qml:230: TypeError: Type error file:///usr/lib64/qt5/qml/QtQuick/Controls/Slider.qml:231: TypeError: Type error file:///usr/lib64/qt5/qml/QtQuick/Controls/Button.qml:99: TypeError: Type error file:///usr/lib64/qt5/qml/QtQuick/Controls/Button.qml:99: TypeError: Type error qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 23531, resource id: 92274812, major code: 141 (Unknown), minor code: 3 qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 23893, resource id: 58720262, major code: 141 (Unknown), minor code: 3 qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 24140, resource id: 92274836, major code: 141 (Unknown), minor code: 3 qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 24269, resource id: 92274836, major code: 141 (Unknown), minor code: 3 qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 24286, resource id: 92274691, major code: 141 (Unknown), minor code: 3 qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 24304, resource id: 92274836, major code: 141 (Unknown), minor code: 3 qml: applet destroyed file:///usr/lib64/qt5/qml/QtQuick/Controls/ScrollView.qml:362: TypeError: Type error file:///usr/lib64/qt5/qml/QtQuick/Controls/ScrollView.qml:363: TypeError: Type error file:///usr/lib64/qt5/qml/QtQuick/Controls/ScrollView.qml:364: TypeError: Type error file:///usr/lib64/qt5/qml/QtQuick/Controls/ScrollView.qml:365: TypeError: Type error file:///usr/lib64/qt5/qml/QtQuick/Controls/Button.qml:99: TypeError: Type error file:///usr/lib64/qt5/qml/QtQuick/Controls/Button.qml:99: TypeError: Type error gdb gives: (gdb) bt #0 0x00007fc1be1d36ad in QQuickLayoutAttached::sizeHint(Qt::SizeHint, Qt::Orientation) const () at /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so #1 0x00007fc1be1d4c02 in QQuickLayout::effectiveSizeHints_helper(QQuickItem*, QSizeF*, QQuickLayoutAttached**, bool) () at /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so #2 0x00007fc1be1d7a0d in QQuickGridLayoutItem::sizeHint(Qt::SizeHint, QSizeF const&) const () at /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so #3 0x00007fc1d9119621 in QGridLayoutItem::box(Qt::Orientation, bool, double) const () at /lib64/libQt5Gui.so.5 #4 0x00007fc1d911fda3 in QGridLayoutEngine::fillRowData(QGridLayoutRowData*, double const*, double const*, Qt::Orientation, QAbstractLayoutStyleInfo const*) const () at /lib64/libQt5Gui.so.5 #5 0x00007fc1d91205e3 in QGridLayoutEngine::ensureColumnAndRowData(QGridLayoutRowData*, QGridLayoutBox*, double const*, double const*, Qt::Orientation, QAbstractLayoutStyleInfo const*) const () at /lib64/libQt5Gui.so.5 #6 0x00007fc1d912070c in QGridLayoutEngine::sizeHint(Qt::SizeHint, QSizeF const&, QAbstractLayoutStyleInfo const*) const () at /lib64/libQt5Gui.so.5 #7 0x00007fc1be1d5831 in QQuickGridLayoutBase::sizeHint(Qt::SizeHint) const () at /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so #8 0x00007fc1be1d7396 in QQuickGridLayoutBase::invalidate(QQuickItem*) () at /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so #9 0x00007fc1be1d7164 in QQuickGridLayoutBase::rearrange(QSizeF const&) () at /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so #10 0x00007fc1be1d438a in QQuickLayout::updatePolish() () at /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so #11 0x00007fc1da601b63 in QQuickWindowPrivate::polishItems() () at /lib64/libQt5Quick.so.5 #12 0x00007fc1da591c05 in QSGGuiThreadRenderLoop::renderWindow(QQuickWindow*) () at /lib64/libQt5Quick.so.5 #13 0x00007fc1da60be46 in QQuickWindow::event(QEvent*) () at /lib64/libQt5Quick.so.5 #14 0x0000000000433b63 in PanelView::event(QEvent*) () #15 0x00007fc1d9584c81 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5 #16 0x00007fc1d958bc70 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5 #17 0x00007fc1d8a63379 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5 #18 0x00007fc1d8e25ae9 in QPlatformWindow::windowEvent(QEvent*) () at /lib64/libQt5Gui.so.5 #19 0x00007fc1d958bd63 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5 #20 0x00007fc1d8a63379 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5 #21 0x00007fc1d8ab33e3 in QTimerInfoList::activateTimers() () at /lib64/libQt5Core.so.5 #22 0x00007fc1d8ab3b94 in timerSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5Core.so.5 #23 0x00007fc1d6fe2665 in g_main_context_dispatch () at /lib64/libglib-2.0.so.0 #24 0x00007fc1d6fe29e8 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0 #25 0x00007fc1d6fe2a6c in g_main_context_iteration () at /lib64/libglib-2.0.so.0 #26 0x00007fc1d8ab3ef7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5 #27 0x00007fc1d8a6208b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5 #28 0x00007fc1d8a69cd8 in QCoreApplication::exec() () at /lib64/libQt5Core.so.5 #29 0x000000000041e37b in main () strace gives: pid 15798] madvise(0x7fc1a82a0000, 65536, MADV_DONTNEED) = 0 [pid 15798] mprotect(0x7fc1a82a0000, 65536, PROT_NONE) = 0 [pid 15798] madvise(0x7fc1a82b0000, 65536, MADV_DONTNEED) = 0 [pid 15798] mprotect(0x7fc1a82b0000, 65536, PROT_NONE) = 0 [pid 15798] madvise(0x7fc1a82c0000, 65536, MADV_DONTNEED) = 0 [pid 15798] mprotect(0x7fc1a82c0000, 65536, PROT_NONE) = 0 [pid 15798] madvise(0x7fc1a82e0000, 65536, MADV_DONTNEED) = 0 [pid 15798] mprotect(0x7fc1a82e0000, 65536, PROT_NONE) = 0 [pid 15799] <... poll resumed>) = 1 ([{fd=3, revents=POLLIN}]) [pid 15799] recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="U\2\344\204\257/\243\27\3\24\4\0\20\0\0\0\0\0\0\24\24\24\24\24\0\0\3\37%\2\0\0", iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 32 [pid 15799] write(5, "\1\0\0\0\0\0\0\0", 8) = 8 [pid 15799] poll([{fd=3, events=POLLIN}], 1, -1) = 1 ([{fd=3, revents=POLLIN}]) [pid 15799] recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\34\0\344\204\7\0 \5L\1\0\0\263/\243\27\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 32 [pid 15799] write(5, "\1\0\0\0\0\0\0\0", 8) = 8 [pid 15799] poll([{fd=3, events=POLLIN}], 1, -1^C) = 1 ([{fd=3, revents=POLLIN}]) Looking at the gdb trace, I have removed all packages linked to telepathy, and will see if that improves stuff...
This looks difficult, especially as you yourself are no novice! > A lot of bug reports appear @kde.org is not encouraging. Did you try the KDE forum to test the water? > after some time, plasmashell consumes 100% of one thread > Let plasmashell run and on my setup, it will happen suggests that this is the result of something cumulative, like a resource being asked for repeatedly but not released. > But this is specific to that machine, > as on my other systems, that doesn't happen > This system has always been updated since mandrake 10 That in itself is remarkable - unique worldwide? I wonder whether this venerable system has a spare partition where you could install a current Mageia 7.1 for comparison. This sort of approach seems inevitable to test: > it may be related to a left over conf file somewhere, > or to the HW configuration BTAIM This has to be assigned to the KDE team.
Assignee: bugsquad => kdeCC: (none) => lewyssmith
What about the status of this?
Status: NEW => NEEDINFOCC: (none) => ouaurelien
The last time I checked, after upgrading to mga8, the issue was still there. I know this is special to this machine (I don't see that on others running mga7 or mga8) and surely linked to the successive upgrades since years. But I didn't skip any release so that should have worked. I also checked with another account and that ws also happening, so not only due to config files. Anyway, if you prefer to close it, no issue.
As this is a post upgrade issue, if there's sufficient space try also creating a new install. That will show it it's really something due to the hardware, or something that needs to be cleaned up post upgrade.
CC: (none) => davidwhodgins
Mageia 7 is EOL since July 1st 2021. There will not have any further bugfix for this release. You are encouraged to upgrade to Mageia 8 as soon as possible. @reporter, if this bug still apply with Mageia 8, please let us know it. @packager, if you work on the Mageia 7 version of your package, please check the Mageia 8 package if issue is also present. In this case, please fix the Mageia 8 version instead. This bug report will be closed OLD if there is no further notice within 1st September 2021.
Hi bug reporter and hi assignee and others involved, Please reopen this bug report if it is still valid for Mageia 8 or 9(cauldron), and change "Version:" in the upper left of this report accordingly. This report is being closed as OLD because it was filed against Mageia 7, for which support ended on June 30th 2021. Thanks, Marja
Resolution: (none) => OLDStatus: NEEDINFO => RESOLVED