Bug 442143 - System Monitor crashes when switching to "Applications" section
Summary: System Monitor crashes when switching to "Applications" section
Status: RESOLVED UPSTREAM
Alias: None
Product: plasma-systemmonitor
Classification: Applications
Component: general (show other bugs)
Version: 5.22.4
Platform: openSUSE Linux
: VHI crash
Target Milestone: ---
Assignee: KSysGuard Developers
URL: https://bugreports.qt.io/browse/QTBUG...
Keywords:
: 460334 460511 462207 463652 467476 468403 468750 471075 471318 471365 471904 471907 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-09-07 19:43 UTC by Roger
Modified: 2023-07-05 22:33 UTC (History)
16 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (6.45 KB, text/plain)
2022-08-12 03:02 UTC, Marcelo Zoel
Details
New crash information added by DrKonqi (29.29 KB, text/plain)
2022-09-21 20:38 UTC, brazjoaopedro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roger 2021-09-07 19:43:28 UTC
Application: plasma-systemmonitor (5.22.4)

Qt Version: 5.15.2
Frameworks Version: 5.85.0
Operating System: Linux 5.13.13-1-default x86_64
Windowing System: X11
Drkonqi Version: 5.22.4
Distribution: openSUSE Tumbleweed

-- Information about the crash:
System Monitor crashes when clicking on "Applications" in the left nav menu.

The crash can be reproduced every time.

-- Backtrace:
Application: System Monitor (plasma-systemmonitor), signal: Segmentation fault
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7faedb6e6980 (LWP 19559))]
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007faeddd5cbb7 in QQuickItemLayer::~QQuickItemLayer (this=0x55ccf6842820, __in_chrg=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/quick/items/qquickitem.cpp:8370
#8  0x00007faeddd5cc29 in QQuickItemLayer::~QQuickItemLayer (this=0x55ccf6842820, __in_chrg=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/quick/items/qquickitem.cpp:8372
#9  0x00007faeddedfc93 in QAccessibleQuickItem::role (this=0x55ccf685a1f0) at ../../include/QtQuick/../../../src/quick/items/qquickitem.h:468
#10 0x00007faed981fa22 in AtSpiAdaptor::pathForInterface (this=this@entry=0x55ccf472e280, interface=0x55ccf685a1f0) at atspiadaptor.cpp:1540
#11 0x00007faed9822874 in AtSpiAdaptor::notifyStateChange (this=this@entry=0x55ccf472e280, interface=<optimized out>, state=..., value=1) at atspiadaptor.cpp:875
#12 0x00007faed9823ff2 in AtSpiAdaptor::notify (this=0x55ccf472e280, event=0x7ffe9fa130d0) at atspiadaptor.cpp:900
#13 0x00007faeddd6ad47 in QQuickItemPrivate::setEffectiveVisibleRecur (this=this@entry=0x55ccf66fd2e0, newEffectiveVisible=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/quick/items/qquickitem.cpp:6078
#14 0x00007faeddd737a9 in QQuickItem::setParentItem (this=this@entry=0x55ccf6842820, parentItem=parentItem@entry=0x0) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/quick/items/qquickitem.cpp:2726
#15 0x00007faeddd73cc6 in QQuickItem::~QQuickItem (this=0x55ccf6842820, __in_chrg=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/quick/items/qquickitem.cpp:2327
#16 0x00007faec53eb955 in QQmlPrivate::QQmlElement<QQuickControl>::~QQmlElement (this=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtQml/qqmlprivate.h:144
#17 QQmlPrivate::QQmlElement<QQuickControl>::~QQmlElement (this=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtQml/qqmlprivate.h:144
#18 0x00007faedc8e9c57 in QQmlTableInstanceModel::destroyModelItem (this=<optimized out>, modelItem=0x55ccf6835f70, mode=QQmlTableInstanceModel::Immediate) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/qmlmodels/qqmltableinstancemodel.cpp:245
#19 0x00007faedc9105d1 in std::function<void (QQmlDelegateModelItem*)>::operator()(QQmlDelegateModelItem*) const (__args#0=0x55ccf6835f70, this=0x7ffe9fa13350) at /usr/include/c++/11/bits/std_function.h:560
#20 QQmlReusableDelegateModelItemsPool::drain(int, std::function<void (QQmlDelegateModelItem*)>) (this=0x55ccf68376b8, maxPoolTime=0, releaseItem=...) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/qmlmodels/qqmldelegatemodel.cpp:3772
#21 0x00007faedc8e9683 in QQmlTableInstanceModel::drainReusableItemsPool (this=<optimized out>, maxPoolTime=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/qmlmodels/qqmltableinstancemodel.cpp:290
#22 0x00007faedde5bbfc in QQuickTableView::geometryChanged (this=0x55ccf67cd8f0, newGeometry=..., oldGeometry=...) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/quick/items/qquicktableview.cpp:2905
#23 0x00007faeddd699cb in QQuickItem::setSize (this=0x55ccf67cd8f0, size=...) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/quick/items/qquickitem.cpp:7037
#24 0x00007faed8921c25 in QQuickControlPrivate::resizeContent() () from /lib64/libQt5QuickTemplates2.so.5
#25 0x00007faed892b011 in QQuickControl::geometryChanged(QRectF const&, QRectF const&) () from /lib64/libQt5QuickTemplates2.so.5
#26 0x00007faeddd699cb in QQuickItem::setSize (this=0x55ccf67b4590, size=...) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/quick/items/qquickitem.cpp:7037
#27 0x00007faeddd54fea in QQuickAnchorsPrivate::setItemSize (v=..., this=0x55ccf67d0d10) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/quick/items/qquickanchors.cpp:435
#28 QQuickAnchorsPrivate::fillChanged (this=0x55ccf67d0d10) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/quick/items/qquickanchors.cpp:211
#29 0x00007faeddd6b903 in QQuickItem::geometryChanged (this=0x55ccf67a53f0, newGeometry=..., oldGeometry=...) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/quick/items/qquickitem.cpp:3759
#30 0x00007faeddd699cb in QQuickItem::setSize (this=0x55ccf67a53f0, size=...) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/quick/items/qquickitem.cpp:7037
#31 0x00007faeddd54fea in QQuickAnchorsPrivate::setItemSize (v=..., this=0x55ccf67d47f0) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/quick/items/qquickanchors.cpp:435
#32 QQuickAnchorsPrivate::fillChanged (this=0x55ccf67d47f0) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/quick/items/qquickanchors.cpp:211
#33 0x00007faeddd6b903 in QQuickItem::geometryChanged (this=0x55ccf67a5080, newGeometry=..., oldGeometry=...) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/quick/items/qquickitem.cpp:3759
#34 0x00007faeddd699cb in QQuickItem::setSize (this=0x55ccf67a5080, size=...) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/quick/items/qquickitem.cpp:7037
#35 0x00007faed80a5852 in QQuickGridLayoutItem::setGeometry (this=0x55ccf6833ee0, rect=...) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/imports/layouts/qquickgridlayoutengine_p.h:121
#36 0x00007faedf469ab2 in QGridLayoutEngine::setGeometries (this=this@entry=0x55ccf676f150, contentsGeometry=..., styleInfo=<optimized out>) at util/qgridlayoutengine.cpp:1062
#37 0x00007faed80a2ee3 in QQuickGridLayoutBase::rearrange (this=0x55ccf676ef40, size=...) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/imports/layouts/qquicklinearlayout.cpp:501
#38 0x00007faed80a044a in QQuickLayout::geometryChanged (this=0x55ccf676ef40, newGeometry=..., oldGeometry=...) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/imports/layouts/qquicklayout.cpp:888
#39 0x00007faeddd699cb in QQuickItem::setSize (this=0x55ccf676ef40, size=...) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/quick/items/qquickitem.cpp:7037
#40 0x00007faeddd54fea in QQuickAnchorsPrivate::setItemSize (v=..., this=0x55ccf67d84a0) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/quick/items/qquickanchors.cpp:435
#41 QQuickAnchorsPrivate::fillChanged (this=0x55ccf67d84a0) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/quick/items/qquickanchors.cpp:211
#42 0x00007faeddd6b903 in QQuickItem::geometryChanged (this=0x55ccf5e95c30, newGeometry=..., oldGeometry=...) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/quick/items/qquickitem.cpp:3759
#43 0x00007faeddd698d0 in QQuickItem::setHeight (this=0x55ccf5e95c30, h=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/quick/items/qquickitem.cpp:6882
#44 0x00007faed894ae62 in ?? () from /lib64/libQt5QuickTemplates2.so.5
#45 0x00007faed892b011 in QQuickControl::geometryChanged(QRectF const&, QRectF const&) () from /lib64/libQt5QuickTemplates2.so.5
#46 0x00007faeddd699cb in QQuickItem::setSize (this=this@entry=0x55ccf5bee970, size=...) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/quick/items/qquickitem.cpp:7037
#47 0x00007faedddef5dd in QQuickLoaderPrivate::_q_updateSize (this=0x55ccf64d9640, loaderGeometryChanged=loaderGeometryChanged@entry=true) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/quick/items/qquickloader.cpp:930
#48 0x00007faedddef6c4 in QQuickLoader::geometryChanged (this=0x55ccf64d9580, newGeometry=..., oldGeometry=...) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/quick/items/qquickloader.cpp:962
#49 0x00007faeddd698d0 in QQuickItem::setHeight (this=0x55ccf64d9580, h=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/quick/items/qquickitem.cpp:6882
#50 0x00007faeddd56862 in QQuickAnchorsPrivate::setItemHeight (v=<optimized out>, this=0x55ccf64da6f0) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/quick/items/qquickanchors.cpp:400
#51 QQuickAnchorsPrivate::updateVerticalAnchors (this=0x55ccf64da6f0) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/quick/items/qquickanchors.cpp:642
#52 0x00007faeddd6b903 in QQuickItem::geometryChanged (this=0x55ccf53a6190, newGeometry=..., oldGeometry=...) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/quick/items/qquickitem.cpp:3759
#53 0x00007faeddd699cb in QQuickItem::setSize (this=0x55ccf53a6190, size=...) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/quick/items/qquickitem.cpp:7037
#54 0x00007faec59c7d6a in KSysGuard::SensorFace::geometryChanged(QRectF const&, QRectF const&) () from /lib64/libKSysGuardSensorFaces.so.1
#55 0x00007faeddd699cb in QQuickItem::setSize (this=0x55ccf53a4e00, size=...) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/quick/items/qquickitem.cpp:7037
#56 0x00007faed8921c25 in QQuickControlPrivate::resizeContent() () from /lib64/libQt5QuickTemplates2.so.5
#57 0x00007faed892b011 in QQuickControl::geometryChanged(QRectF const&, QRectF const&) () from /lib64/libQt5QuickTemplates2.so.5
#58 0x00007faeddd699cb in QQuickItem::setSize (this=this@entry=0x55ccf53964f0, size=...) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/quick/items/qquickitem.cpp:7037
#59 0x00007faedddef5dd in QQuickLoaderPrivate::_q_updateSize (this=this@entry=0x55ccf538bf70, loaderGeometryChanged=loaderGeometryChanged@entry=true) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/quick/items/qquickloader.cpp:930
#60 0x00007faedddf1abc in QQuickLoaderPrivate::initResize (this=0x55ccf538bf70) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/quick/items/qquickloader.cpp:143
#61 QQuickLoaderPrivate::incubatorStateChanged (this=0x55ccf538bf70, status=QQmlIncubator::Ready) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/quick/items/qquickloader.cpp:702
#62 0x00007faeded8455f in QQmlIncubatorPrivate::incubate (this=0x55ccf538cb90, i=...) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/qml/qml/qqmlincubator.cpp:380
#63 0x00007faeded85282 in QQmlIncubationController::incubateFor (this=this@entry=0x55ccf4149a40, msecs=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/qml/qml/qqmlincubator.cpp:409
#64 0x00007faeddd95950 in QQuickWindowIncubationController::incubate (this=0x55ccf4149a30) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/quick/items/qquickwindow.cpp:171
#65 QQuickWindowIncubationController::timerEvent (this=0x55ccf4149a30) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/quick/items/qquickwindow.cpp:154
#66 0x00007faede78ee9f in QObject::event (this=0x55ccf4149a30, e=0x7ffe9fa14500) at kernel/qobject.cpp:1336
#67 0x00007faedf845a7f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#68 0x00007faede76298a in QCoreApplication::notifyInternal2 (receiver=0x55ccf4149a30, event=0x7ffe9fa14500) at kernel/qcoreapplication.cpp:1064
#69 0x00007faede7b91fb in QTimerInfoList::activateTimers (this=0x55ccf3e27270) at kernel/qtimerinfo_unix.cpp:643
#70 0x00007faede7b9adc in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:183
#71 idleTimerSourceDispatch (source=source@entry=0x55ccf3e27ce0) at kernel/qeventdispatcher_glib.cpp:230
#72 0x00007faedcb1780f in g_main_dispatch (context=0x7faed4005000) at ../glib/gmain.c:3337
#73 g_main_context_dispatch (context=0x7faed4005000) at ../glib/gmain.c:4055
#74 0x00007faedcb17b98 in g_main_context_iterate (context=context@entry=0x7faed4005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4131
#75 0x00007faedcb17c4f in g_main_context_iteration (context=0x7faed4005000, may_block=1) at ../glib/gmain.c:4196
#76 0x00007faede7b9e64 in QEventDispatcherGlib::processEvents (this=0x55ccf3e23700, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#77 0x00007faede76138b in QEventLoop::exec (this=this@entry=0x7ffe9fa14740, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#78 0x00007faede769670 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#79 0x000055ccf2842fb4 in ?? ()
#80 0x00007faede0c7b35 in __libc_start_main (main=0x55ccf2841b00, argc=1, argv=0x7ffe9fa14b28, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe9fa14b18) at ../csu/libc-start.c:332
#81 0x000055ccf284307e in ?? ()
[Inferior 1 (process 19559) detached]

Report to https://bugs.kde.org/enter_bug.cgi?product=plasma-systemmonitor
Comment 1 Roger 2021-09-19 02:45:19 UTC
After resetting "Applications" page to its default state I can access the page again now (although I've never changed anything from the defaults).
However, System Monitor keeps crashing when I click on the "Show Details Sidebar" inside the Applications page. The crash can be reproduced every time.
Comment 2 David Edmundson 2021-10-07 13:32:11 UTC
We have similar versions of this crash elsewhere: https://bugs.kde.org/show_bug.cgi?id=430496

clearly symptomatic of something in Qt.
Comment 3 David Edmundson 2021-10-07 13:42:41 UTC
Reproduced with QT_ACCESSIBILITY=1 and orca running.
Comment 4 Marcelo Zoel 2022-08-12 03:02:14 UTC
Created attachment 151269 [details]
New crash information added by DrKonqi

plasma-systemmonitor (5.25.4) using Qt 5.15.5

EVery time when I click on Applications the system crashes

-- Backtrace (Reduced):
#5  0x00007f2ade683ceb in QQuickItemLayer::~QQuickItemLayer() () from /lib64/libQt5Quick.so.5
#6  0x00007f2ade683d5d in QQuickItemLayer::~QQuickItemLayer() () from /lib64/libQt5Quick.so.5
#7  0x00007f2ade80b0a6 in QAccessibleQuickItem::role() const () from /lib64/libQt5Quick.so.5
#8  0x00007f2adf876a39 in AtSpiAdaptor::pathForInterface(QAccessibleInterface*) const () from /lib64/libQt5WaylandClient.so.5
#9  0x00007f2adf8798b8 in AtSpiAdaptor::notifyStateChange(QAccessibleInterface*, QString const&, int) () from /lib64/libQt5WaylandClient.so.5
Comment 5 brazjoaopedro 2022-09-21 20:38:55 UTC
Created attachment 152320 [details]
New crash information added by DrKonqi

plasma-systemmonitor (5.25.5) using Qt 5.15.6

Crashes when opening either the Processes Page or Applications Page

-- Backtrace (Reduced):
#5  0x00007f3937ce0b1b in QQuickItemLayer::~QQuickItemLayer (this=0x55fdd7b98540, __in_chrg=<optimized out>) at items/qquickitem.cpp:8433
#6  0x00007f3937ce0b8d in QQuickItemLayer::~QQuickItemLayer (this=0x55fdd7b98540, __in_chrg=<optimized out>) at items/qquickitem.cpp:8431
#7  0x00007f3937e6b287 in QAccessibleQuickItem::role (this=0x55fdd77d6330) at ../../include/QtQuick/../../src/quick/items/qquickitem.h:468
#8  0x00007f393e07d7ca in AtSpiAdaptor::pathForInterface (this=this@entry=0x55fdd57ea170, interface=0x55fdd77d6330) at atspiadaptor.cpp:1540
#9  0x00007f393e080ba7 in AtSpiAdaptor::notifyStateChange (this=this@entry=0x55fdd57ea170, interface=<optimized out>, state=..., value=1) at atspiadaptor.cpp:875
Comment 6 Arjen Hiemstra 2022-09-28 12:51:42 UTC
There's an upstream bugreport about this: https://bugreports.qt.io/browse/QTBUG-84858 . It doesn't look like anything we can do about in system monitor.
Comment 7 Arjen Hiemstra 2022-10-13 08:53:38 UTC
*** Bug 460334 has been marked as a duplicate of this bug. ***
Comment 8 Nate Graham 2022-11-30 04:29:49 UTC
*** Bug 460511 has been marked as a duplicate of this bug. ***
Comment 9 Nate Graham 2022-11-30 04:29:51 UTC
*** Bug 462207 has been marked as a duplicate of this bug. ***
Comment 10 Nicolas Fella 2022-12-31 10:57:27 UTC
*** Bug 463652 has been marked as a duplicate of this bug. ***
Comment 11 Nicolas Fella 2023-07-05 21:52:29 UTC
*** Bug 467476 has been marked as a duplicate of this bug. ***
Comment 12 Nicolas Fella 2023-07-05 21:53:45 UTC
*** Bug 471907 has been marked as a duplicate of this bug. ***
Comment 13 Nicolas Fella 2023-07-05 21:54:15 UTC
*** Bug 468750 has been marked as a duplicate of this bug. ***
Comment 14 Nicolas Fella 2023-07-05 21:55:07 UTC
*** Bug 471904 has been marked as a duplicate of this bug. ***
Comment 15 Nicolas Fella 2023-07-05 21:55:39 UTC
*** Bug 471365 has been marked as a duplicate of this bug. ***
Comment 16 Nicolas Fella 2023-07-05 21:56:33 UTC
*** Bug 471318 has been marked as a duplicate of this bug. ***
Comment 17 Nicolas Fella 2023-07-05 21:58:17 UTC
*** Bug 468403 has been marked as a duplicate of this bug. ***
Comment 18 Nicolas Fella 2023-07-05 21:59:04 UTC
*** Bug 471075 has been marked as a duplicate of this bug. ***