Bug 468180 - Plasmashell crashed in QQuickTransition::prepare() after closing a notification
Summary: Plasmashell crashed in QQuickTransition::prepare() after closing a notification
Status: CLOSED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Notifications (show other bugs)
Version: 5.27.3
Platform: Android Linux
: VHI crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
: 417947 461072 461515 465706 466724 470475 471209 471449 471948 472430 472513 472755 472821 473055 473058 473466 473520 473621 473751 473980 474435 474613 474791 474836 475036 475099 475132 475405 475480 476184 476462 476590 476633 477174 477279 477311 477386 477414 477459 477559 477944 478233 478322 479105 479971 480164 480882 481323 481894 482503 483837 483886 484068 484436 484954 486232 493819 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-04-05 19:41 UTC by Grósz Dániel
Modified: 2024-09-30 19:59 UTC (History)
62 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.0, or 5.27.9 with latest version of KDE Qt patch collection
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (63.66 KB, text/plain)
2023-06-13 03:38 UTC, Yiyang Wu
Details
New crash information added by DrKonqi (124.71 KB, text/plain)
2023-07-16 23:44 UTC, Oded Arbel
Details
long backtrace (86.70 KB, text/plain)
2023-08-07 20:21 UTC, Patrick Silva
Details
another instance of the full crash from my system (96.83 KB, text/plain)
2023-08-10 16:18 UTC, Oded Arbel
Details
The weird "crash during exception" handling trace (74.56 KB, text/plain)
2023-08-10 16:19 UTC, Oded Arbel
Details
Logs from plasmashell crash (14.76 KB, text/plain)
2023-09-28 15:34 UTC, rob.dyck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Grósz Dániel 2023-04-05 19:41:05 UTC
Application: plasmashell (5.27.3)

Qt Version: 5.15.8
Frameworks Version: 5.104.0
Operating System: Linux 6.2.8-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.27.3 [KCrashBackend]

-- Information about the crash:
Plasmashell occasionally crashes when closing an e-mail notification from KMail. It has happened at least three times, once in a few days.

The backtrace is very similar to Bug 461072. But it still happens on plasmashell 5.27.3 (and it only started happening in the last few weeks, or at least it became more frequent), while that bug was fixed/worked around in January.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f5fd8e9364d in QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::operator->() const (this=0x8) at /usr/include/qt5/QtCore/qscopedpointer.h:118
#5  qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > >(QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >&) (ptr=...) at /usr/include/qt5/QtCore/qglobal.h:1149
#6  QQmlEngine::d_func() (this=0x0) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/qml/qml/qqmlengine.h:172
#7  QQmlEnginePrivate::get(QQmlEngine*) (e=0x0) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/qml/qml/qqmlengine_p.h:424
#8  QtQml::qmlExecuteDeferred(QObject*) (object=object@entry=0x563a12a8ee70) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/qml/qml/qqmlengine.cpp:1592
#9  0x00007f5fd9378a99 in QQuickTransition::prepare(QList<QQuickStateAction>&, QList<QQmlProperty>&, QQuickTransitionManager*, QObject*) (this=this@entry=0x563a12a8ee70, actions=..., after=..., manager=manager@entry=0x7f5fc403b860, defaultTarget=defaultTarget@entry=0x563a12b36340) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/quick/util/qquicktransition.cpp:259
#10 0x00007f5fd936e2d7 in QQuickTransitionManager::transition(QList<QQuickStateAction> const&, QQuickTransition*, QObject*) (this=0x7f5fc403b860, list=<optimized out>, transition=0x563a12a8ee70, defaultTarget=0x563a12b36340) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/quick/util/qquicktransitionmanager.cpp:207
#11 0x00007f5fd7918d2b in QObject::event(QEvent*) (this=0x563a12b36340, e=0x7ffec425bd10) at kernel/qobject.cpp:1369
#12 0x00007f5fd85a52ce in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x563a12b36340, e=0x7ffec425bd10) at kernel/qapplication.cpp:3640
#13 0x00007f5fd78ecb28 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x563a12b36340, event=0x7ffec425bd10) at kernel/qcoreapplication.cpp:1064
#14 0x00007f5fd79454a9 in QTimerInfoList::activateTimers() (this=0x563a0c853860) at kernel/qtimerinfo_unix.cpp:643
#15 0x00007f5fd7945d8c in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:183
#16 idleTimerSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:230
#17 0x00007f5fd6359f96 in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#18 0x00007f5fd635a358 in  () at /lib64/libglib-2.0.so.0
#19 0x00007f5fd635a3ec in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#20 0x00007f5fd79460b6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x563a0c853cb0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#21 0x00007f5fd78eb5cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffec425bf50, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#22 0x00007f5fd78f3a50 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#23 0x00007f5fd7d6fe4c in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1870
#24 0x00007f5fd85a5245 in QApplication::exec() () at kernel/qapplication.cpp:2832
#25 0x0000563a0c56447d in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace-5.27.3/shell/main.cpp:235
[Inferior 1 (process 13998) detached]

The reporter indicates this bug may be a duplicate of or related to bug 461072, bug 462715, bug 463956, bug 465706.

Reported using DrKonqi
Comment 1 Nate Graham 2023-04-27 23:35:34 UTC
*** Bug 465706 has been marked as a duplicate of this bug. ***
Comment 2 Yiyang Wu 2023-06-13 03:38:58 UTC
Created attachment 159624 [details]
New crash information added by DrKonqi

plasmashell (5.27.5) using Qt 5.15.8

I was switching windows and plasmashell crashes. The backtrace looks similar with bug 465706.

-- Backtrace (Reduced):
#5  0x00007faefd277c86 in QtQml::qmlExecuteDeferred(QObject*) () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007faefd749059 in QQuickTransition::prepare(QList<QQuickStateAction>&, QList<QQmlProperty>&, QQuickTransitionManager*, QObject*) () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007faefd73e997 in QQuickTransitionManager::transition(QList<QQuickStateAction> const&, QQuickTransition*, QObject*) () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007faefbadd50d in QObject::event(QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007faefc962fae in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
Comment 3 Fushan Wen 2023-06-15 01:49:53 UTC
Should be fixed in Qt6.6.
Comment 4 Fushan Wen 2023-06-15 01:59:01 UTC
*** Bug 470475 has been marked as a duplicate of this bug. ***
Comment 5 Fushan Wen 2023-06-18 07:51:06 UTC
*** Bug 461072 has been marked as a duplicate of this bug. ***
Comment 6 Fushan Wen 2023-07-14 18:04:34 UTC
*** Bug 471209 has been marked as a duplicate of this bug. ***
Comment 7 Fushan Wen 2023-07-14 18:04:51 UTC
*** Bug 471948 has been marked as a duplicate of this bug. ***
Comment 8 Fushan Wen 2023-07-14 18:05:07 UTC
*** Bug 471449 has been marked as a duplicate of this bug. ***
Comment 9 Oded Arbel 2023-07-16 23:44:58 UTC
Created attachment 160322 [details]
New crash information added by DrKonqi

plasmashell (5.27.6) using Qt 5.15.10

This crash happened to me after closing a notification about the WiFi network not having internet access and needing to "log in to the network"

-- Backtrace (Reduced):
#6  0x00007fb21c08072f in QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::operator->() const (this=0x8) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:118
[...]
#9  QQmlEnginePrivate::get(QQmlEngine*) (e=0x0) at qml/qqmlengine_p.h:424
#10 QtQml::qmlExecuteDeferred(QObject*) (object=object@entry=0x5628b702bf30) at qml/qqmlengine.cpp:1592
#11 0x00007fb21c5536ee in QQuickTransition::prepare(QList<QQuickStateAction>&, QList<QQmlProperty>&, QQuickTransitionManager*, QObject*) (this=this@entry=0x5628b702bf30, actions=..., after=..., manager=manager@entry=0x5628b6106a90, defaultTarget=0x5628b90f28c0) at util/qquicktransition.cpp:259
#12 0x00007fb21c548a85 in QQuickTransitionManager::transition(QList<QQuickStateAction> const&, QQuickTransition*, QObject*) (this=0x5628b6106a90, list=<optimized out>, transition=0x5628b702bf30, defaultTarget=<optimized out>) at util/qquicktransitionmanager.cpp:207
Comment 10 Fushan Wen 2023-07-17 01:38:15 UTC
Can be fixed by https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3071. Can anyone test it?
Comment 11 Oded Arbel 2023-07-17 07:36:54 UTC
(In reply to Fushan Wen from comment #10)
> Can be fixed by
> https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3071. Can
> anyone test it?

I don't have a reliable reproducer (and neither other reporters, as far as I can tell), so I can't test that the MR solves the problem. But the fix seems benign enough - how about merging it and seeing if people stop reporting?
Comment 12 Fushan Wen 2023-07-17 13:46:06 UTC
Git commit b61ef42d83cfc27cd0d70a55c309163571e69e84 by Fushan Wen.
Committed on 17/07/2023 at 13:45.
Pushed by fusionfuture into branch 'Plasma/5.27'.

applets/notifications: add workaround for QTBUG-100392

Citing the bugreport:

```
Qt/QML crashes at runtime when an animation is started for the second time after caching its targets' properties, but one or more of those targets are actually destroyed by the time it restarts.

It is likely because the list<> property type does not emit any on*Changed() signal when any of its items are destroyed — either manually by invoking QtObject::destroy() method, by an Instantiator when it removes its managed objects, or in any other way. Lists start showing null values after control returns to the even loop (so that Qt finishes actually destroying an object and cleans up all references it can find), but according to the backtrace Animation does some property caching, and so it tries to access freed memory leading to Segmentation fault.
```

Ref: https://bugreports.qt.io/browse/QTBUG-100392
Ref: https://invent.kde.org/qt/qt/qtdeclarative/-/commit/8a74155411d7a22bb8efa405fe59a681e47e6b45
FIXED-IN: 5.27.7

M  +13   -5    applets/notifications/package/contents/ui/CompactRepresentation.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/b61ef42d83cfc27cd0d70a55c309163571e69e84
Comment 13 Fushan Wen 2023-07-20 14:53:02 UTC
*** Bug 472430 has been marked as a duplicate of this bug. ***
Comment 14 Fushan Wen 2023-08-06 02:42:24 UTC
*** Bug 473055 has been marked as a duplicate of this bug. ***
Comment 15 Fushan Wen 2023-08-06 03:17:47 UTC
*** Bug 473058 has been marked as a duplicate of this bug. ***
Comment 16 Fushan Wen 2023-08-06 03:37:04 UTC
*** Bug 472755 has been marked as a duplicate of this bug. ***
Comment 17 Patrick Silva 2023-08-07 20:21:35 UTC
Created attachment 160813 [details]
long backtrace

I can reproduce this crash with the steps from duplicate bug 473058.

Operating System: Arch Linux 
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10
Graphics Platform: Wayland
Comment 18 Oded Arbel 2023-08-10 16:17:48 UTC
(In reply to Patrick Silva from comment #17)
> I can reproduce this crash with the steps from duplicate bug 473058.

I tried the reproduction steps from bug 473058, reproduced here to make sure I understand them:
1. RMB on desktop, choose "Add Panel" -> "default panel". A panel appears on the screen.
2. RMB on panel, choose "Enter Edit mode". Panel editing UI appears
3. LMB on "More options" button on panel editing UI.
4. LMB on "Remove panel" entry in the menu that opens. Panel disappears and notification appears.
5. LMB on desktop's "edit mode" top toolbar's close button (red circled X button). 
6. LMB on notification close button (red circled X button).
(steps 5 and 6 can be switched).

Initially I couldn't repro with this process, but after a few tries it started crashing and now reproduces quite often - though not 100% of the time. I also get a couple different stack traces (when I get a crash handler - which isn't for 100% of the crashes either).

Here's the standard one (seems like the null pointer):

---8<---
Thread 1 (Thread 0x7fd09d0a9240 (LWP 3149618)):
[KCrash Handler]
#6  0x00007fd0a2e8072f in QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::operator->() const (this=0x8) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:118
#7  qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > >(QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >&) (ptr=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1149
#8  QQmlEngine::d_func() (this=0x0) at qml/qqmlengine.h:172
#9  QQmlEnginePrivate::get(QQmlEngine*) (e=0x0) at qml/qqmlengine_p.h:424
#10 QtQml::qmlExecuteDeferred(QObject*) (object=object@entry=0x55fff92839f0) at qml/qqmlengine.cpp:1592
#11 0x00007fd0a33536ee in QQuickTransition::prepare(QList<QQuickStateAction>&, QList<QQmlProperty>&, QQuickTransitionManager*, QObject*) (this=this@entry=0x55fff92839f0, actions=..., after=..., manager=manager@entry=0x55fffb28a690, defaultTarget=0x55fffa881bf0) at util/qquicktransition.cpp:259
#12 0x00007fd0a3348a85 in QQuickTransitionManager::transition(QList<QQuickStateAction> const&, QQuickTransition*, QObject*) (this=0x55fffb28a690, list=<optimized out>, transition=0x55fff92839f0, defaultTarget=<optimized out>) at util/qquicktransitionmanager.cpp:207
...
---8<---

And here's the other one (looks like it crashed in the middle of handling an exception):

---8<---
Thread 1 (Thread 0x7f5ce29ff6c0 (LWP 3164535)):
[KCrash Handler]
#6  __pthread_kill_implementation (no_tid=0, signo=11, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
#7  __pthread_kill_internal (signo=11, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#8  __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=11) at ./nptl/pthread_kill.c:89
#9  0x00007f5ce6c3c406 in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
#10 0x00007f5ce6c3c4b0 in <signal handler called> () at /lib/x86_64-linux-gnu/libc.so.6
#11 0x00007f5ce6d0fd7f in __GI___poll (fds=0x7f5cdc0015e0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#12 0x00007f5ce62cd0ee in g_main_context_poll (priority=<optimized out>, n_fds=2, fds=0x7f5cdc0015e0, timeout=<optimized out>, context=0x7f5cdc000c50) at ../../../glib/gmain.c:4584
#13 g_main_context_iterate.constprop.0 (context=0x7f5cdc000c50, block=<optimized out>, dispatch=1, self=<optimized out>) at ../../../glib/gmain.c:4271
#14 0x00007f5ce62711b0 in g_main_context_iteration (context=0x7f5cdc000c50, may_block=1) at ../../../glib/gmain.c:4343
#15 0x00007f5ce77163de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f5cdc000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#16 0x00007f5ce76bb79b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f5ce29febd0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#17 0x00007f5ce74cd992 in QThread::exec() (this=this@entry=0x7f5ce82f7d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#18 0x00007f5ce827f0eb in QDBusConnectionManager::run() (this=0x7f5ce82f7d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ./src/dbus/qdbusconnection.cpp:179
#19 0x00007f5ce74cec03 in operator() (__closure=<optimized out>, __closure=<optimized out>) at thread/qthread_unix.cpp:350
#20 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>, t=<optimized out>) at thread/qthread_unix.cpp:287
#21 QThreadPrivate::start(void*) (arg=0x7f5ce82f7d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:310
#22 0x00007f5ce6c8f18a in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:444
#23 0x00007f5ce6d1dbd0 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
---8<---

My system details:

Operating System: KDE neon Testing Edition
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10
Kernel Version: 6.2.0-26-generic (64-bit)
Graphics Platform: offscreen
Processors: 11 × Unknown Type, 9 × 12th Gen Intel® Core™ i7-12700H
Memory: 31.0 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Comment 19 Oded Arbel 2023-08-10 16:18:31 UTC
Created attachment 160891 [details]
another instance of the full crash from my system
Comment 20 Oded Arbel 2023-08-10 16:19:02 UTC
Created attachment 160892 [details]
The weird "crash during exception" handling trace
Comment 21 Patrick Silva 2023-08-10 16:22:28 UTC
I can reproduce on neon unstable too.
Comment 22 Fushan Wen 2023-08-18 12:35:53 UTC
*** Bug 473466 has been marked as a duplicate of this bug. ***
Comment 23 Fushan Wen 2023-08-22 01:42:12 UTC
*** Bug 473520 has been marked as a duplicate of this bug. ***
Comment 24 medin 2023-08-23 09:51:38 UTC
I confirm the bug on 5.27.7, this randomly happens when you fast close any kind of notification, this occurs once or two times in lapse of at least two days.



Backtrace ----------------------------------------------------------------------------------------------

Core was generated by `/usr/bin/plasmashell --no-respawn'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007fd0d603ce5d in QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::operator-> (this=<optimized out>, this=<optimized out>)
    at /usr/include/qt/QtCore/qscopedpointer.h:118

warning: Source file is more recent than executable.
118             return d;
[Current thread is 1 (Thread 0x7fd0cfba2ec0 (LWP 1222))]
(gdb) bt full
#0  0x00007fd0d603ce5d in QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::operator->() const (this=0x8, this=<optimized out>) at /usr/include/qt/QtCore/qscopedpointer.h:118
        ep = <optimized out>
        state = {constructionStates = {d = 0x0}}
        data = 0x5620cc247400
#1  qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > >(QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >&) (ptr=..., ptr=<optimized out>)
    at /usr/include/qt/QtCore/qglobal.h:1149
        ep = <optimized out>
        state = {constructionStates = {d = 0x0}}
        data = 0x5620cc247400
#2  QQmlEngine::d_func() (this=0x0) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmlengine.h:172
        ep = <optimized out>
        state = {constructionStates = {d = 0x0}}
        data = 0x5620cc247400
#3  QQmlEnginePrivate::get(QQmlEngine*) (e=0x0, e=<optimized out>) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmlengine_p.h:424
        ep = <optimized out>
        state = {constructionStates = {d = 0x0}}
        data = 0x5620cc247400
#4  QtQml::qmlExecuteDeferred(QObject*) (object=0x5620cc2473f0) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmlengine.cpp:1592
        ep = <optimized out>
        state = {constructionStates = {d = 0x0}}
        data = 0x5620cc247400
#5  0x00007fd0d6550c3e in QQuickTransition::prepare(QList<QQuickStateAction>&, QList<QQmlProperty>&, QQuickTransitionManager*, QObject*) () at /usr/lib/libQt5Quick.so.5
#6  0x00007fd0d65456f3 in QQuickTransitionManager::transition(QList<QQuickStateAction> const&, QQuickTransition*, QObject*) () at /usr/lib/libQt5Quick.so.5
#7  0x00007fd0d4ac40ee in QObject::event(QEvent*) (this=0x5620cc5e2c30, e=0x7ffd6b0e1ad0) at kernel/qobject.cpp:1324
#8  0x00007fd0d577893f in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x5620cc5e2c30, e=0x7ffd6b0e1ad0) at kernel/qapplication.cpp:3640
        consumed = false
        filtered = false
#9  0x00007fd0d4a9c6f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x5620cc5e2c30, event=0x7ffd6b0e1ad0) at kernel/qcoreapplication.cpp:1064
        selfRequired = true
        result = false
        cbdata = {0x5620cc5e2c30, 0x7ffd6b0e1ad0, 0x7ffd6b0e1a6f}
        d = <optimized out>
        threadData = 0x5620c7792550
        scopeLevelCounter = {threadData = 0x5620c7792550}
#10 0x00007fd0d4aead6b in QTimerInfoList::activateTimers() (this=0x5620c77d6320) at kernel/qtimerinfo_unix.cpp:643
        e = {<QEvent> = {_vptr.QEvent = 0x7fd0d4d283e8 <vtable for QTimerEvent+16>, static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7fd0d4b8a260 <_ZL25qt_meta_stringdata_QEvent.lto_priv.0>, data = 0x7fd0d4b89ca0 <_ZL19qt_meta_data_QEvent.lto_priv.0>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x0, t = 1, posted = 0, spont = 0, m_accept = 1, reserved = 3425}, id = 2}
        currentTimerInfo = 0x0
        n_act = 3
--Type <RET> for more, q to quit, c to continue without paging--c
        maxCount = 0
        currentTime = {tv_sec = 701, tv_nsec = 150077791}
#11 0x00007fd0d4aeb35a in timerSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:183
        timerSource = <optimized out>
#12 0x00007fd0d3739a31 in g_main_dispatch (context=0x7fd0c8000ee0) at ../glib/glib/gmain.c:3460
        dispatch = 0x7fd0d4aeb330 <timerSourceDispatch(GSource*, GSourceFunc, gpointer)>
        prev_source = 0x0
        begin_time_nsec = 701150077184
        was_in_call = 0
        user_data = 0x0
        callback = 0x0
        cb_funcs = 0x0
        cb_data = 0x0
        need_destroy = <optimized out>
        source = 0x5620c77d62c0
        current = 0x5620c7abf380
        i = 2
#13 g_main_context_dispatch (context=0x7fd0c8000ee0) at ../glib/glib/gmain.c:4200
#14 0x00007fd0d3796cc9 in g_main_context_iterate.isra.0 (context=context@entry=0x7fd0c8000ee0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at ../glib/glib/gmain.c:4276
        max_priority = 0
        timeout = 0
        some_ready = 1
        nfds = 11
        allocated_nfds = <optimized out>
        fds = <optimized out>
        begin_time_nsec = 701143072881
#15 0x00007fd0d37370e2 in g_main_context_iteration (context=0x7fd0c8000ee0, may_block=1) at ../glib/glib/gmain.c:4343
        retval = <optimized out>
#16 0x00007fd0d4aeb51c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5620c77d6210, flags=...) at kernel/qeventdispatcher_glib.cpp:423
        d = 0x5620c77d6c90
        canWait = true
        savedFlags = {i = 0}
        result = <optimized out>
#17 0x00007fd0d4a9b404 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffd6b0e1d80, flags=..., flags@entry=...)
    at ../../include/QtCore/../../src/corelib/global/qflags.h:69
        d = 0x5620c7ab8680
        threadData = <optimized out>
        locker = {val = 94698785549304}
        app = <optimized out>
#18 0x00007fd0d4a9c8a3 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
        threadData = 0x5620c7792550
        eventLoop = {<QObject> = {_vptr.QObject = 0x7fd0d4d26750 <vtable for QEventLoop+16>, static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7fd0d4b95b00 <_ZL26qt_meta_stringdata_QObject.lto_priv.0>, data = 0x7fd0d4b959e0 <_ZL20qt_meta_data_QObject.lto_priv.0>, static_metacall = 0x7fd0d4ad1ac0 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x5620c7ab8680}, static staticQtMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7fd0d4bc6720 <_ZL21qt_meta_stringdata_Qt.lto_priv.0>, data = 0x7fd0d4bc38a0 <_ZL15qt_meta_data_Qt.lto_priv.0>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = {direct = 0x7fd0d4d1f5a0 <QObject::staticMetaObject>}, stringdata = 0x7fd0d4b914c0 <_ZL29qt_meta_stringdata_QEventLoop.lto_priv.0>, data = 0x7fd0d4b91460 <_ZL23qt_meta_data_QEventLoop.lto_priv.0>, static_metacall = 0x7fd0d4a99130 <QEventLoop::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}}
        returnCode = <optimized out>
#19 0x00007fd0d4f3bef2 in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1870
#20 0x00007fd0d5776cda in QApplication::exec() () at kernel/qapplication.cpp:2832
#21 0x00005620c597216c in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace/plasma-workspace-5.27.7/shell/main.cpp:235
        format = {d = 0x5620c77b5050}
        qpaVariable = <optimized out>
        app = {<QGuiApplication> = {<QCoreApplication> = {<QObject> = {_vptr.QObject = 0x7fd0d5c85620 <vtable for QApplication+16>, static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7fd0d4b95b00 <_ZL26qt_meta_stringdata_QObject.lto_priv.0>, data = 0x7fd0d4b959e0 <_ZL20qt_meta_data_QObject.lto_priv.0>, static_metacall = 0x7fd0d4ad1ac0 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x5620c77b57c0}, static staticQtMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7fd0d4bc6720 <_ZL21qt_meta_stringdata_Qt.lto_priv.0>, data = 0x7fd0d4bc38a0 <_ZL15qt_meta_data_Qt.lto_priv.0>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = {direct = 0x7fd0d4d1f5a0 <QObject::staticMetaObject>}, stringdata = 0x7fd0d4b91240 <_ZL35qt_meta_stringdata_QCoreApplication.lto_priv.0>, data = 0x7fd0d4b91120 <_ZL29qt_meta_data_QCoreApplication.lto_priv.0>, static_metacall = 0x7fd0d4aa3cb0 <QCoreApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, static self = 0x7ffd6b0e1f00}, static staticMetaObject = {d = {superdata = {direct = 0x7fd0d4d243a0 <QCoreApplication::staticMetaObject>}, stringdata = 0x7fd0d5389b00 <_ZL34qt_meta_stringdata_QGuiApplication.lto_priv.0>, data = 0x7fd0d5389880 <_ZL28qt_meta_data_QGuiApplication.lto_priv.0>, static_metacall = 0x7fd0d4f4b290 <QGuiApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = {direct = 0x7fd0d545be40 <QGuiApplication::staticMetaObject>}, stringdata = 0x7fd0d5b58820 <_ZL31qt_meta_stringdata_QApplication.lto_priv.0>, data = 0x7fd0d5b586a0 <_ZL25qt_meta_data_QApplication.lto_priv.0>, static_metacall = 0x7fd0d577a1c0 <QApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}}
        aboutData = {d = std::unique_ptr<KAboutDataPrivate> = {get() = 0x5620c7a2d420}}
        replace = <optimized out>
        corona = <optimized out>
        service = {<QObject> = {_vptr.QObject = 0x7fd0d6a4d300 <vtable for KDBusService+16>, static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7fd0d4b95b00 <_ZL26qt_meta_stringdata_QObject.lto_priv.0>, data = 0x7fd0d4b959e0 <_ZL20qt_meta_data_QObject.lto_priv.0>, static_metacall = 0x7fd0d4ad1ac0 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x5620c7a27fd0}, static staticQtMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7fd0d4bc6720 <_ZL21qt_meta_stringdata_Qt.lto_priv.0>, data = 0x7fd0d4bc38a0 <_ZL15qt_meta_data_Qt.lto_priv.0>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = {direct = 0x7fd0d4d1f5a0 <QObject::staticMetaObject>}, stringdata = 0x7fd0d6a48120 <qt_meta_stringdata_KDBusService>, data = 0x7fd0d6a47540 <qt_meta_data_KDBusService>, static_metacall = 0x7fd0d6a3cdd0 <KDBusService::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d = std::unique_ptr<KDBusServicePrivate> = {get() = 0x5620c7a172e0}}
(gdb)
Comment 25 Nate Graham 2023-08-23 15:51:34 UTC
*** Bug 473621 has been marked as a duplicate of this bug. ***
Comment 26 Nate Graham 2023-08-23 15:52:30 UTC
*** Bug 472821 has been marked as a duplicate of this bug. ***
Comment 27 Nate Graham 2023-08-23 15:52:43 UTC
*** Bug 472513 has been marked as a duplicate of this bug. ***
Comment 28 Nate Graham 2023-08-23 15:52:54 UTC
*** Bug 466724 has been marked as a duplicate of this bug. ***
Comment 29 Nate Graham 2023-08-23 15:53:02 UTC
*** Bug 461515 has been marked as a duplicate of this bug. ***
Comment 30 Bug Janitor Service 2023-08-25 14:02:40 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3217
Comment 31 Fushan Wen 2023-09-01 01:52:03 UTC
*** Bug 473980 has been marked as a duplicate of this bug. ***
Comment 32 Nate Graham 2023-09-12 18:00:33 UTC
*** Bug 474435 has been marked as a duplicate of this bug. ***
Comment 33 Nate Graham 2023-09-12 18:00:49 UTC
*** Bug 473751 has been marked as a duplicate of this bug. ***
Comment 34 Nate Graham 2023-09-19 16:44:52 UTC
*** Bug 474613 has been marked as a duplicate of this bug. ***
Comment 35 Nate Graham 2023-09-25 18:04:48 UTC
*** Bug 474836 has been marked as a duplicate of this bug. ***
Comment 36 Nate Graham 2023-09-25 18:31:55 UTC
*** Bug 474791 has been marked as a duplicate of this bug. ***
Comment 37 rob.dyck 2023-09-28 15:34:39 UTC
Created attachment 161932 [details]
Logs from plasmashell crash
Comment 38 Nate Graham 2023-10-11 19:27:18 UTC
*** Bug 475036 has been marked as a duplicate of this bug. ***
Comment 39 Nate Graham 2023-10-11 20:05:27 UTC
*** Bug 475132 has been marked as a duplicate of this bug. ***
Comment 40 Nate Graham 2023-10-11 21:01:55 UTC
*** Bug 475405 has been marked as a duplicate of this bug. ***
Comment 41 Nate Graham 2023-10-12 20:19:10 UTC
*** Bug 475480 has been marked as a duplicate of this bug. ***
Comment 42 Bug Janitor Service 2023-10-16 14:39:12 UTC
A possibly relevant merge request was started @ https://invent.kde.org/qt/qt/qtdeclarative/-/merge_requests/53
Comment 43 Nate Graham 2023-10-27 13:23:15 UTC
This is caused by a bug that's fixed in Qt 6. We have identified the most important commit that fixes it and backported it to our Qt 5 patch collection; see https://invent.kde.org/qt/qt/qtdeclarative/-/merge_requests/54. We believe this should fix the problem either 100%, or at least 90%. The reason for that is that many more QML robustness improvements have been added to Qt 6 beyond that one, and most of them are unfortunately not feasible to backport to Qt 5.

Still, it's fixed in Qt 6, and either entirely or at least mostly fixed for Qt 5 with the latest release of the patch collection. That's the best we can do for now, so thanks everyone for your patience and undestanding!
Comment 44 Nate Graham 2023-10-30 19:46:01 UTC
*** Bug 476184 has been marked as a duplicate of this bug. ***
Comment 45 Nate Graham 2023-11-03 21:19:34 UTC
*** Bug 476462 has been marked as a duplicate of this bug. ***
Comment 46 Nate Graham 2023-11-09 21:06:33 UTC
*** Bug 476590 has been marked as a duplicate of this bug. ***
Comment 47 Nate Graham 2023-11-29 21:52:31 UTC
*** Bug 477459 has been marked as a duplicate of this bug. ***
Comment 48 Nate Graham 2023-11-29 22:06:03 UTC
*** Bug 477174 has been marked as a duplicate of this bug. ***
Comment 49 Nate Graham 2023-11-29 22:14:38 UTC
*** Bug 477559 has been marked as a duplicate of this bug. ***
Comment 50 Nate Graham 2023-11-29 22:35:25 UTC
*** Bug 477311 has been marked as a duplicate of this bug. ***
Comment 51 Nate Graham 2023-11-29 22:40:03 UTC
*** Bug 477414 has been marked as a duplicate of this bug. ***
Comment 52 Nate Graham 2023-11-29 22:49:28 UTC
*** Bug 477386 has been marked as a duplicate of this bug. ***
Comment 53 Nate Graham 2023-11-29 22:50:36 UTC
*** Bug 477279 has been marked as a duplicate of this bug. ***
Comment 54 Nate Graham 2023-11-29 22:50:40 UTC
*** Bug 476633 has been marked as a duplicate of this bug. ***
Comment 55 Nate Graham 2023-11-29 22:50:43 UTC
*** Bug 475099 has been marked as a duplicate of this bug. ***
Comment 56 Nate Graham 2023-12-08 16:25:10 UTC
*** Bug 478233 has been marked as a duplicate of this bug. ***
Comment 57 Nate Graham 2023-12-09 04:06:33 UTC
*** Bug 417947 has been marked as a duplicate of this bug. ***
Comment 58 David Edmundson 2023-12-11 14:15:04 UTC
*** Bug 478322 has been marked as a duplicate of this bug. ***
Comment 59 Nate Graham 2023-12-12 23:12:03 UTC
*** Bug 477944 has been marked as a duplicate of this bug. ***
Comment 60 Nicolas Fella 2024-01-22 13:25:53 UTC
*** Bug 480164 has been marked as a duplicate of this bug. ***
Comment 61 Nicolas Fella 2024-01-22 13:26:43 UTC
*** Bug 479971 has been marked as a duplicate of this bug. ***
Comment 62 Nate Graham 2024-02-06 19:47:12 UTC
*** Bug 480882 has been marked as a duplicate of this bug. ***
Comment 63 Nate Graham 2024-02-14 19:04:00 UTC
*** Bug 481323 has been marked as a duplicate of this bug. ***
Comment 64 Nate Graham 2024-02-15 21:21:46 UTC
*** Bug 479105 has been marked as a duplicate of this bug. ***
Comment 65 Nate Graham 2024-02-27 20:08:25 UTC
*** Bug 481894 has been marked as a duplicate of this bug. ***
Comment 66 Nate Graham 2024-03-06 00:01:59 UTC
*** Bug 482503 has been marked as a duplicate of this bug. ***
Comment 67 Nicolas Fella 2024-03-20 20:26:56 UTC
*** Bug 484068 has been marked as a duplicate of this bug. ***
Comment 68 Nicolas Fella 2024-03-20 20:28:04 UTC
*** Bug 483886 has been marked as a duplicate of this bug. ***
Comment 69 Nicolas Fella 2024-03-20 20:28:16 UTC
*** Bug 483837 has been marked as a duplicate of this bug. ***
Comment 70 Nicolas Fella 2024-03-25 10:02:13 UTC
*** Bug 484436 has been marked as a duplicate of this bug. ***
Comment 71 Nicolas Fella 2024-04-09 09:29:44 UTC
*** Bug 484954 has been marked as a duplicate of this bug. ***
Comment 72 Nicolas Fella 2024-04-28 09:03:02 UTC
*** Bug 486232 has been marked as a duplicate of this bug. ***
Comment 73 Nate Graham 2024-09-30 19:59:32 UTC
*** Bug 493819 has been marked as a duplicate of this bug. ***