Bug 479986 - Plasma crashed when clicking on the system tray
Summary: Plasma crashed when clicking on the system tray
Status: RESOLVED DUPLICATE of bug 483791
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray widget (other bugs)
Version First Reported In: 5.92.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6, wayland-only
Depends on:
Blocks:
 
Reported: 2024-01-18 10:08 UTC by Pawel
Modified: 2024-08-21 23:32 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/3085/events/3456a7a4ccd44224a374e52b8ec5d5ad/


Attachments
dump debug symbols (145.49 KB, text/plain)
2024-01-18 10:08 UTC, Pawel
Details
another crash - full gdb dump (375.52 KB, text/plain)
2024-02-01 10:36 UTC, Pawel
Details
gdb_08022024 (366.08 KB, text/plain)
2024-02-08 16:01 UTC, Pawel
Details
Backtrace of the crash (76.08 KB, text/plain)
2024-03-12 07:05 UTC, Evgeny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pawel 2024-01-18 10:08:52 UTC
Created attachment 165005 [details]
dump debug symbols

Operating System: Arch Linux 
KDE Plasma Version: 5.92.0
KDE Frameworks Version: 5.248.0
Qt Version: 6.7.0
Kernel Version: 6.7.0-arch3-1 (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen 9 5900X 12-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 6800 XT

full dump attached
Comment 1 Nate Graham 2024-01-18 20:57:39 UTC
Thread 1 (Thread 0x75c7e62459c0 (LWP 1311)):
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x000075c7eb6ac8a3 in __pthread_kill_internal (signo=11, threadid=<optimized out>) at pthread_kill.c:78
#2  0x000075c7eb65c668 in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
#3  0x000075c7edc0145f in KCrash::defaultCrashHandler(int) (sig=11) at /usr/src/debug/kcrash/kcrash-5.248.0/src/kcrash.cpp:586
#4  0x000075c7eb65c710 in <signal handler called> () at /usr/lib/libc.so.6
#5  0x000075c7ec665ad2 in qmlAttachedPropertiesObject(QObject*, QObject* (*)(QObject*), bool) () at /usr/lib/libQt6Qml.so.6
#6  0x000075c7dd1d6d9a in  () at /usr/lib/qt6/qml/QtQuick/Layouts/../../../../libQt6QuickLayouts.so.6
#7  0x000075c7ebc9db6a in QGridLayoutItem::stretchFactor(Qt::Orientation) const (orientation=Qt::Horizontal, this=0x60411a240d50) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0-beta1/src/gui/util/qgridlayoutengine.cpp:529
#8  QGridLayoutItem::stretchFactor(Qt::Orientation) const (orientation=<optimized out>, this=0x60411a240d50) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0-beta1/src/gui/util/qgridlayoutengine.cpp:523
#9  QGridLayoutEngine::fillRowData(QGridLayoutRowData*, double const*, double const*, Qt::Orientation, QAbstractLayoutStyleInfo const*) const (this=this@entry=0x60411a13a978, rowData=rowData@entry=0x60411a13ab18, colPositions=colPositions@entry=0x0, colSizes=colSizes@entry=0x0, orientation=orientation@entry=Qt::Horizontal, styleInfo=styleInfo@entry=0x60411a3d0bd0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0-beta1/src/gui/util/qgridlayoutengine.cpp:1391
#10 0x000075c7ebc9fc0f in QGridLayoutEngine::ensureColumnAndRowData(QGridLayoutRowData*, QGridLayoutBox*, double const*, double const*, Qt::Orientation, QAbstractLayoutStyleInfo const*) const (this=this@entry=0x60411a13a978, rowData=rowData@entry=0x60411a13ab18, totalBox=totalBox@entry=0x60411a13aab8, colPositions=colPositions@entry=0x0, colSizes=colSizes@entry=0x0, orientation=orientation@entry=Qt::Horizontal, styleInfo=0x60411a3d0bd0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0-beta1/src/gui/util/qgridlayoutengine.cpp:1592
#11 0x000075c7ebca00dc in QGridLayoutEngine::sizeHint(Qt::SizeHint, QSizeF const&, QAbstractLayoutStyleInfo const*) const (this=0x60411a13a978, which=Qt::MinimumSize, constraint=..., styleInfo=0x60411a3d0bd0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0-beta1/src/gui/util/qgridlayoutengine.cpp:1131
#12 0x000075c7dd1d0b53 in QQuickGridLayoutBase::sizeHint(Qt::SizeHint) const () at /usr/lib/qt6/qml/QtQuick/Layouts/../../../../libQt6QuickLayouts.so.6
#13 0x000075c7dd1d25cc in QQuickLayoutAttached::sizeHint(Qt::SizeHint, Qt::Orientation) const () at /usr/lib/qt6/qml/QtQuick/Layouts/../../../../libQt6QuickLayouts.so.6
#14 0x000075c7dd1d8977 in  () at /usr/lib/qt6/qml/QtQuick/Layouts/../../../../libQt6QuickLayouts.so.6
#15 0x000075c7ec5dba15 in  () at /usr/lib/libQt6Qml.so.6
#16 0x000075c7ec5dd80f in QV4::QObjectWrapper::getQmlProperty(QV4::ExecutionEngine*, QQmlRefPointer<QQmlContextData> const&, QV4::Heap::Object*, QObject*, QV4::String*, QFlags<QV4::QObjectWrapper::Flag>, bool*, QQmlPropertyData const**) () at /usr/lib/libQt6Qml.so.6
#17 0x000075c7ec76dc4a in QV4::QQmlTypeWrapper::virtualGet(QV4::Managed const*, QV4::PropertyKey, QV4::Value const*, bool*) () at /usr/lib/libQt6Qml.so.6
#18 0x000075c7ec5b666b in QV4::Lookup::getterFallback(QV4::Lookup*, QV4::ExecutionEngine*, QV4::Value const&) () at /usr/lib/libQt6Qml.so.6
Comment 2 Nate Graham 2024-01-18 20:58:56 UTC
I don't see any KDE code implicated there, but maybe we're using GridLayout wrong, or its internal behavior changes in Qt 6.7 to cause the crash.

Is this reproducible at all for you?
Comment 3 Nicolas Fella 2024-01-18 22:12:03 UTC
I cannot reproduce this
Comment 4 Pawel 2024-01-19 15:13:38 UTC
I cannot reproduce this either - it just happened once when I reported it.
Comment 5 Pawel 2024-02-01 10:36:40 UTC
Created attachment 165432 [details]
another crash - full gdb dump

happened again - I think the backtrace is the same
Comment 6 Axel 2024-02-05 17:51:54 UTC
(In reply to Pawel from comment #5)
> Created attachment 165432 [details]
> another crash - full gdb dump
> 
> happened again - I think the backtrace is the same

you can verify it by simply using a text diff.
Comment 7 Pawel 2024-02-08 16:01:49 UTC
Created attachment 165673 [details]
gdb_08022024

another one - I left licked on the weather report widget on the panel
Comment 8 Akseli Lahtinen 2024-02-12 14:56:26 UTC
I can reproduce this on Plasma 6, but it is very random. I have no idea what actually causes it, but it happens when clicking on widgets inside a panel.

Backtrace:

Program terminated with signal SIGSEGV, Segmentation fault.
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0)
    at pthread_kill.c:44
44            return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;                       
[Current thread is 1 (Thread 0x7f599b1f0400 (LWP 45416))]
(gdb) bt
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0)
    at pthread_kill.c:44
#1  0x00007f599f4ae8a3 in __pthread_kill_internal (signo=11, threadid=<optimized out>) at pthread_kill.c:78
#2  0x00007f599f45c8ee in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
#3  0x00007f59a3b3cf44 in KCrash::defaultCrashHandler (sig=11)
    at /home/akseli/Repositories/kde/src/kcrash/src/kcrash.cpp:586
#4  0x00007f599f45c9a0 in <signal handler called> () at /lib64/libc.so.6
#5  0x0000000000000000 in ??? ()
#6  0x00007f599fbaf7fe in QMetaObject::cast
    (this=this@entry=0x7f597ccf3080 <QQuickLayout::staticMetaObject>, obj=0x609aa90)
    at /usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/corelib/kernel/qmetaobject.cpp:395
#7  0x00007f597ccd0f3b in QMetaObject::cast
    (obj=<optimized out>, this=0x7f597ccf3080 <QQuickLayout::staticMetaObject>)
    at /usr/include/qt6/QtCore/qobjectdefs.h:233
#8  qobject_cast<QQuickLayout*> (object=<optimized out>) at /usr/include/qt6/QtCore/qobject.h:388
#9  QQuickLayout::effectiveSizePolicy_helper
    (item=<optimized out>, orientation=<optimized out>, info=<optimized out>)
    at /usr/src/debug/qt6-qtdeclarative-6.6.0-1.fc39.x86_64/src/quicklayouts/qquicklayout.cpp:1269
#10 0x00007f59a0770a6b in QGridLayoutItem::stretchFactor (orientation=<optimized out>, this=<optimized out>)
    at /usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/gui/util/qgridlayoutengine.cpp:529
#11 QGridLayoutItem::stretchFactor (this=<optimized out>, orientation=<optimized out>)
    at /usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/gui/util/qgridlayoutengine.cpp:523
#12 0x00007f59a0777bfe in QGridLayoutEngine::fillRowData
    (this=this@entry=0x27e1098, rowData=rowData@entry=0x27e1238, colPositions=colPositions@entry=0x0, colSizes=colSizes@entry=0x0, orientation=orientation@entry=Qt::Horizontal, styleInfo=styleInfo@entry=0x5a7c230)
    at /usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/gui/util/qgridlayoutengine.cpp:1391
#13 0x00007f59a0778955 in QGridLayoutEngine::ensureColumnAndRowData
--Type <RET> for more, q to quit, c to continue without paging--c
    (this=this@entry=0x27e1098, rowData=rowData@entry=0x27e1238, totalBox=totalBox@entry=0x27e11d8, colPositions=colPositions@entry=0x0, colSizes=colSizes@entry=0x0, orientation=orientation@entry=Qt::Horizontal, styleInfo=0x5a7c230) at /usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/gui/util/qgridlayoutengine.cpp:1592
#14 0x00007f59a0778e57 in QGridLayoutEngine::sizeHint
    (this=0x27e1098, which=Qt::MaximumSize, constraint=..., styleInfo=0x5a7c230)
    at /usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/gui/util/qgridlayoutengine.cpp:1131
#15 0x00007f597ccd47a6 in QQuickGridLayoutBase::sizeHint
    (this=<optimized out>, whichSizeHint=<optimized out>)
    at /usr/src/debug/qt6-qtdeclarative-6.6.0-1.fc39.x86_64/src/quicklayouts/qquicklinearlayout.cpp:237
#16 0x00007f597cccf207 in QQuickLayoutAttached::sizeHint
    (this=this@entry=0x5103c00, which=which@entry=Qt::MaximumSize, orientation=orientation@entry=Qt::Vertical) at /usr/src/debug/qt6-qtdeclarative-6.6.0-1.fc39.x86_64/src/quicklayouts/qquicklayout.cpp:710
#17 0x00007f597ccd1662 in QQuickLayoutAttached::maximumHeight (this=0x5103c00)
    at /usr/src/debug/qt6-qtdeclarative-6.6.0-1.fc39.x86_64/src/quicklayouts/qquicklayout_p.h:207
#18 QQuickLayoutAttached::maximumHeight (this=0x5103c00)
    at /usr/src/debug/qt6-qtdeclarative-6.6.0-1.fc39.x86_64/src/quicklayouts/qquicklayout_p.h:207
#19 combineImplicitHints (size=<optimized out>, which=Qt::MaximumSize, info=0x5103c00)
    at /usr/src/debug/qt6-qtdeclarative-6.6.0-1.fc39.x86_64/src/quicklayouts/qquicklayout.cpp:1092
#20 QQuickLayout::effectiveSizeHints_helper
    (item=<optimized out>, cachedSizeHints=cachedSizeHints@entry=0x59c9930, attachedInfo=attachedInfo@entry=0x0, useFallbackToWidthOrHeight=false)
    at /usr/src/debug/qt6-qtdeclarative-6.6.0-1.fc39.x86_64/src/quicklayouts/qquicklayout.cpp:1180
#21 0x00007f597ccd8036 in QQuickGridLayoutItem::effectiveSizeHints (this=0x59c9900)
    at /usr/src/debug/qt6-qtdeclarative-6.6.0-1.fc39.x86_64/src/quicklayouts/qquickgridlayoutengine_p.h:45
#22 QQuickGridLayoutItem::sizeHint (this=0x59c9900, which=Qt::PreferredSize, constraint=<optimized out>)
    at /usr/src/debug/qt6-qtdeclarative-6.6.0-1.fc39.x86_64/src/quicklayouts/qquickgridlayoutengine_p.h:37
#23 0x00007f59a0770c86 in QGridLayoutItem::box
    (this=this@entry=0x59c9900, orientation=orientation@entry=Qt::Horizontal, snapToPixelGrid=<optimized out>, constraint=-1) at /usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/gui/util/qgridlayoutengine.cpp:559
#24 0x00007f59a07780d0 in QGridLayoutEngine::fillRowData
    (this=this@entry=0x5d4c4d8, rowData=rowData@entry=0x5d4c678, colPositions=colPositions@entry=0x0, colSizes=colSizes@entry=0x0, orientation=orientation@entry=Qt::Horizontal, styleInfo=styleInfo@entry=0x49eb990)
    at /usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/gui/util/qgridlayoutengine.cpp:1424
#25 0x00007f59a0778955 in QGridLayoutEngine::ensureColumnAndRowData
    (this=this@entry=0x5d4c4d8, rowData=rowData@entry=0x5d4c678, totalBox=totalBox@entry=0x5d4c618, colPositions=colPositions@entry=0x0, colSizes=colSizes@entry=0x0, orientation=orientation@entry=Qt::Horizontal, styleInfo=0x49eb990) at /usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/gui/util/qgridlayoutengine.cpp:1592
#26 0x00007f59a0778e57 in QGridLayoutEngine::sizeHint
    (this=0x5d4c4d8, which=Qt::MinimumSize, constraint=..., styleInfo=0x49eb990)
    at /usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/gui/util/qgridlayoutengine.cpp:1131
#27 0x00007f597ccd47a6 in QQuickGridLayoutBase::sizeHint
    (this=<optimized out>, whichSizeHint=<optimized out>)
    at /usr/src/debug/qt6-qtdeclarative-6.6.0-1.fc39.x86_64/src/quicklayouts/qquicklinearlayout.cpp:237
#28 0x00007f597cccf207 in QQuickLayoutAttached::sizeHint
    (this=<optimized out>, which=which@entry=Qt::MinimumSize, orientation=orientation@entry=Qt::Vertical)
    at /usr/src/debug/qt6-qtdeclarative-6.6.0-1.fc39.x86_64/src/quicklayouts/qquicklayout.cpp:710
#29 0x00007f597ccd0622 in QQuickLayoutAttached::minimumHeight (this=<optimized out>)
    at /usr/src/debug/qt6-qtdeclarative-6.6.0-1.fc39.x86_64/src/quicklayouts/qquicklayout_p.h:191
#30 QQuickLayoutAttached::minimumHeight (this=<optimized out>)
    at /usr/src/debug/qt6-qtdeclarative-6.6.0-1.fc39.x86_64/src/quicklayouts/qquicklayout_p.h:191
#31 QQuickLayoutAttached::qt_static_metacall
    (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>)
    at /usr/src/debug/qt6-qtdeclarative-6.6.0-1.fc39.x86_64/redhat-linux-build/src/quicklayouts/QuickLayouts_autogen/include/moc_qquicklayout_p.cpp:754
#32 0x00007f59a1862cdd in QQmlPropertyData::readPropertyWithArgs
    (this=0x7f590c2b7b90, args=0x7ffe92269ed0, target=<optimized out>)
    at /usr/src/debug/qt6-qtdeclarative-6.6.0-1.fc39.x86_64/redhat-linux-build/include/QtQml/6.6.0/QtQml/private/../../../../../../src/qml/qml/qqmlpropertydata_p.h:328
#33 QQmlPropertyData::readProperty (property=0x7ffe92269ea0, target=<optimized out>, this=0x7f590c2b7b90)
    at /usr/src/debug/qt6-qtdeclarative-6.6.0-1.fc39.x86_64/redhat-linux-build/include/QtQml/6.6.0/QtQml/private/../../../../../../src/qml/qml/qqmlpropertydata_p.h:311
#34 QV4::loadProperty (v4=0x22d07b0, wrapper=0x7f595a43dd60, object=<optimized out>, property=...)
    at /usr/src/debug/qt6-qtdeclarative-6.6.0-1.fc39.x86_64/src/qml/jsruntime/qv4qobjectwrapper.cpp:162
#35 0x00007f59a1864287 in QV4::QObjectWrapper::getQmlProperty
    (engine=engine@entry=0x22d07b0, qmlContext=..., wrapper=0x7f595a43dd60, object=0x5aaf2c0, name=0x7f59705bf740, flags=flags@entry=..., hasProperty=0x0, property=0x0)
    at /usr/src/debug/qt6-qtdeclarative-6.6.0-1.fc39.x86_64/src/qml/jsruntime/qv4qobjectwrapper.cpp:417
#36 0x00007f59a1a64f83 in QV4::QQmlTypeWrapper::virtualGet
    (m=0x7f59705bf730, id=..., receiver=0x7f59705bf730, hasProperty=0x0)
    at /usr/src/debug/qt6-qtdeclarative-6.6.0-1.fc39.x86_64/src/qml/qml/qqmltypewrapper_p.h:65
#37 0x00007f59a182de0c in QV4::Object::get
    (receiver=0x7f59705bf730, hasProperty=0x0, name=<optimized out>, this=0x7f59705bf730)
    at /usr/src/debug/qt6-qtdeclarative-6.6.0-1.fc39.x86_64/redhat-linux-build/include/QtQml/6.6.0/QtQml/private/../../../../../../src/qml/jsruntime/qv4string_p.h:140
#38 QV4::Lookup::getterFallback (l=<optimized out>, engine=0x22d07b0, object=<optimized out>)
    at /usr/src/debug/qt6-qtdeclarative-6.6.0-1.fc39.x86_64/src/qml/jsruntime/qv4lookup.cpp:203
#39 0x00007f59682b1acd in ??? ()
#40 0x0000000000000000 in ??? ()


System info:

Operating System: Fedora Linux 39
KDE Plasma Version: 6.0.80
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.0
Kernel Version: 6.7.4-200.fc39.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: AMD Radeon RX 6600
Comment 9 Evgeny 2024-03-11 06:59:28 UTC
For me it happens quite regularly when I click on weather widget (and only on it) after some time not touching it, like a day of working. In this case either it crashes or hangs consuming 100% of one core of cpu.
Comment 10 Akseli Lahtinen 2024-03-11 09:14:52 UTC
I think I have the same thing with the weather widget, actually. It takes some time but every time this crash has happened it's been when i click on weather widget.

Maybe it's when a refresh of it fails for some reason? Since it refreshes every 30 minutes by default, its not surprising it happens after some time of use.
Comment 11 Evgeny 2024-03-12 07:05:00 UTC
Created attachment 167014 [details]
Backtrace of the crash

Here is my backtrace, not sure if useful.
Comment 12 Nate Graham 2024-07-22 21:12:00 UTC

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