Bug 454946

Summary: plasmashell crashes in ShellCorona::loadLookAndFeelDefaultLayout() when switching between Global Theme desktop layouts
Product: [Plasma] plasmashell Reporter: Erich Eickmeyer <eeickmeyer>
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: akaykaya810, alexminder, arraybolt3, bednarczyk.pawel, ferenosdev, kde, kyrre.sorensen, mareksvoid, me, nate, notmart, qydwhotmail, rikmills, security, sitter, spishockkai, toralf.foerster, z_mikowski
Priority: HI Keywords: drkonqi
Version: 5.24.4   
Target Milestone: 1.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 5.27.8
Sentry Crash Report:

Description Erich Eickmeyer 2022-06-06 21:48:07 UTC
Application: plasmashell (5.24.5)

Qt Version: 5.15.3
Frameworks Version: 5.94.0
Operating System: Linux 5.17.0-1004-oem x86_64
Windowing System: X11
Distribution: Ubuntu 22.04 LTS
DrKonqi: 5.24.5 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
When switching between layouts, plasmashell inevitably crashes, and sometimes fails to recover. This can be reproduced in both virtual machines and on actual hardware.

- Unusual behavior I noticed:
Black screen, sometimes full kwin crash as well would happen.

- Custom settings of the application:
Stock Kubuntu installation, Kubuntu Focus hardware

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007f4c702014c4 in QQuickWindow::maybeUpdate() () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007f4c701e9e1a in QQuickItemPrivate::setEffectiveVisibleRecur(bool) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007f4c701e9e8b in QQuickItemPrivate::setEffectiveVisibleRecur(bool) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f4c701e9fb7 in QQuickItemPrivate::setVisible(bool) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007f4c6e7cf783 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f4c7077cde6 in Plasma::Applet::destroyedChanged(bool) () from /lib/x86_64-linux-gnu/libKF5Plasma.so.5
#10 0x00007f4c70790af8 in ?? () from /lib/x86_64-linux-gnu/libKF5Plasma.so.5
#11 0x00007f4c7077e08a in Plasma::Applet::destroy() () from /lib/x86_64-linux-gnu/libKF5Plasma.so.5
#12 0x000055f492d75254 in ?? ()
#13 0x000055f492d78dd8 in ?? ()
#14 0x000055f492da9d83 in ?? ()
#15 0x00007f4c6f14959b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#16 0x00007f4c6f14cfec in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#17 0x00007f4c6f14d9f9 in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#18 0x00007f4c6f14fdac in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#19 0x00007f4c6e7c540e in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f4c6f48e713 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007f4c6e797e2a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007f4c6e79af17 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f4c6e7f1a57 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007f4c6cb67d1b in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f4c6cbbc6f8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f4c6cb653c3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f4c6e7f10a8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007f4c6e79674b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007f4c6e79ece4 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x000055f492d50dce in ?? ()
#31 0x00007f4c6e0b3d90 in __libc_start_call_main (main=main@entry=0x55f492d4ff70, argc=argc@entry=2, argv=argv@entry=0x7ffd15d4a068) at ../sysdeps/nptl/libc_start_call_main.h:58
#32 0x00007f4c6e0b3e40 in __libc_start_main_impl (main=0x55f492d4ff70, argc=2, argv=0x7ffd15d4a068, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd15d4a058) at ../csu/libc-start.c:392
#33 0x000055f492d50ef5 in ?? ()
[Inferior 1 (process 2036) detached]

Possible duplicates by query: bug 453681, bug 450723, bug 450594, bug 450163, bug 450124.

Reported using DrKonqi
Comment 1 Nate Graham 2022-06-07 17:42:21 UTC
What do you mean by "Switching layouts?" Between what and what, and with what tool? Desktop layouts? Multi-monitor layouts? Global Theme layouts?

Also, I'm afraid the backtrace is incomplete and missing debug symbols for the following lines that we need to figure out exactly what's going wrong:

#9  0x00007f4c7077cde6 in Plasma::Applet::destroyedChanged(bool) () from /lib/x86_64-linux-gnu/libKF5Plasma.so.5
#10 0x00007f4c70790af8 in ?? () from /lib/x86_64-linux-gnu/libKF5Plasma.so.5
#11 0x00007f4c7077e08a in Plasma::Applet::destroy() () from /lib/x86_64-linux-gnu/libKF5Plasma.so.5
#12 0x000055f492d75254 in ?? ()
#13 0x000055f492d78dd8 in ?? ()
#14 0x000055f492da9d83 in ?? ()

Could you please install debug symbols for plasma-framework, reproduce the crash, and attach a new symbolicated backtrace? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Thanks again!
Comment 2 Erich Eickmeyer 2022-06-07 18:13:28 UTC
Hi Nate,

I'm afraid the debug symbols were unavailable even though the correct packages were installed. And sorry, I should've clarified: this crash happens when switching between look & feel t (global) themes when "Use desktop layout from theme" is checked.

Thanks!
Comment 3 Nate Graham 2022-06-07 18:38:28 UTC
Thanks! However we will need a backtrace with those debug symbols to make this actionable.
Comment 4 Erich Eickmeyer 2022-06-07 18:41:24 UTC
Right, that's why I added Rik Mills on the CC here, maybe he can chime-in to help.
Comment 5 Rik Mills 2022-06-07 19:02:34 UTC
plasma-framework debug symbols packages (dbgsym) are available for latest jammy archive version:

https://launchpad.net/ubuntu/+source/plasma-framework/5.92.0-0ubuntu1/+build/23248348
Comment 6 Erich Eickmeyer 2022-06-07 19:40:00 UTC
Thanks for the hint, Rik!

Here's the full backtrace:

Application: Plasma (plasmashell), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f2c8df6b4c4 in QQuickWindow::maybeUpdate() () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007f2c8df53e1a in QQuickItemPrivate::setEffectiveVisibleRecur(bool) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007f2c8df53e8b in QQuickItemPrivate::setEffectiveVisibleRecur(bool) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f2c8df53fb7 in QQuickItemPrivate::setVisible(bool) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007f2c8c539783 in QtPrivate::QSlotObjectBase::call (a=0x7ffdf1acad50, r=0x556422a0cf20, this=0x556422b61840) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#9  doActivate<false> (sender=0x556422a17b90, signal_index=5, argv=0x7ffdf1acad50) at kernel/qobject.cpp:3886
#10 0x00007f2c8c532a97 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f2c8e570980 <Plasma::Applet::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffdf1acad50) at kernel/qobject.cpp:3946
#11 0x00007f2c8e4e6de6 in Plasma::Applet::destroyedChanged (this=<optimized out>, _t1=<optimized out>, _t1@entry=true) at ./obj-x86_64-linux-gnu/src/plasma/KF5Plasma_autogen/include/moc_applet.cpp:546
#12 0x00007f2c8e4faaf8 in Plasma::AppletPrivate::setDestroyed (this=0x556422896c40, destroyed=destroyed@entry=true) at ./src/plasma/private/applet_p.cpp:232
#13 0x00007f2c8e4e808a in Plasma::Applet::destroy (this=0x556422a17b90) at ./src/plasma/applet.cpp:309
#14 0x0000556420a68254 in ShellCorona::unload (this=this@entry=0x5564227b7b20) at ./shell/shellcorona.cpp:834
#15 0x0000556420a6bdd8 in ShellCorona::unload (this=0x5564227b7b20) at ./shell/shellcorona.cpp:606
#16 ShellCorona::loadLookAndFeelDefaultLayout (this=0x5564227b7b20, packageName=...) at ./shell/shellcorona.cpp:602
#17 0x0000556420a9cd83 in PlasmaShellAdaptor::qt_metacall (this=0x556422948ad0, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7ffdf1acafa0) at ./obj-x86_64-linux-gnu/shell/plasmashelladaptor.moc:197
#18 0x00007f2c8ceb359b in QDBusConnectionPrivate::deliverCall (this=<optimized out>, object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qvarlengtharray.h:190
#19 0x00007f2c8ceb6fec in QDBusConnectionPrivate::activateCall (this=this@entry=0x7f2c78008a00, object=0x556422948ad0, flags=flags@entry=273, msg=...) at ./src/dbus/qdbusintegrator.cpp:904
#20 0x00007f2c8ceb79f9 in QDBusConnectionPrivate::activateCall (msg=..., flags=273, object=<optimized out>, this=0x7f2c78008a00) at ./src/dbus/qdbusintegrator.cpp:853
#21 QDBusConnectionPrivate::activateObject (this=0x7f2c78008a00, node=..., msg=..., pathStartPos=<optimized out>) at ./src/dbus/qdbusintegrator.cpp:1497
#22 0x00007f2c8ceb9dac in QDBusActivateObjectEvent::placeMetaCall (this=0x7f2c7804acf0) at ./src/dbus/qdbusintegrator.cpp:1617
#23 0x00007f2c8c52f40e in QObject::event (this=0x5564227b7b20, e=0x7f2c7804acf0) at kernel/qobject.cpp:1314
#24 0x00007f2c8d1f8713 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007f2c8c501e2a in QCoreApplication::notifyInternal2 (receiver=0x5564227b7b20, event=0x7f2c7804acf0) at kernel/qcoreapplication.cpp:1064
#26 0x00007f2c8c504f17 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x556422697ec0) at kernel/qcoreapplication.cpp:1821
#27 0x00007f2c8c55ba57 in postEventSourceDispatch (s=0x556422787ec0) at kernel/qeventdispatcher_glib.cpp:277
#28 0x00007f2c8a8d1d1b in g_main_dispatch (context=0x7f2c80005010) at ../../../glib/gmain.c:3417
#29 g_main_context_dispatch (context=0x7f2c80005010) at ../../../glib/gmain.c:4135
#30 0x00007f2c8a9266f8 in g_main_context_iterate.constprop.0 (context=context@entry=0x7f2c80005010, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4211
#31 0x00007f2c8a8cf3c3 in g_main_context_iteration (context=0x7f2c80005010, may_block=1) at ../../../glib/gmain.c:4276
#32 0x00007f2c8c55b0a8 in QEventDispatcherGlib::processEvents (this=0x5564227884e0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#33 0x00007f2c8c50074b in QEventLoop::exec (this=this@entry=0x7ffdf1acb580, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#34 0x00007f2c8c508ce4 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#35 0x0000556420a43dce in main (argc=<optimized out>, argv=<optimized out>) at ./shell/main.cpp:238
[Inferior 1 (process 1472) detached]
Comment 7 Nate Graham 2022-06-07 19:55:48 UTC
Thanks!

#11 0x00007f2c8e4e6de6 in Plasma::Applet::destroyedChanged (this=<optimized out>, _t1=<optimized out>, _t1@entry=true) at ./obj-x86_64-linux-gnu/src/plasma/KF5Plasma_autogen/include/moc_applet.cpp:546
#12 0x00007f2c8e4faaf8 in Plasma::AppletPrivate::setDestroyed (this=0x556422896c40, destroyed=destroyed@entry=true) at ./src/plasma/private/applet_p.cpp:232
#13 0x00007f2c8e4e808a in Plasma::Applet::destroy (this=0x556422a17b90) at ./src/plasma/applet.cpp:309
#14 0x0000556420a68254 in ShellCorona::unload (this=this@entry=0x5564227b7b20) at ./shell/shellcorona.cpp:834
#15 0x0000556420a6bdd8 in ShellCorona::unload (this=0x5564227b7b20) at ./shell/shellcorona.cpp:606
#16 ShellCorona::loadLookAndFeelDefaultLayout (this=0x5564227b7b20, packageName=...) at ./shell/shellcorona.cpp:602

Interesting. It's crashing while trying to emit the destroyedChanged signal:

./src/plasma/private/applet_p.cpp:232: Q_EMIT q->destroyedChanged(destroyed);
Comment 8 Erich Eickmeyer 2022-06-24 20:17:27 UTC
Still having this issue with 5.25.1, but I'm unable to provide a further backtrace as drkonqi is also malfunctioning. However, the symptoms are exactly the same.
Comment 9 Nate Graham 2022-07-21 18:54:08 UTC
Can reproduce *sometimes* on current git master with the same backtrace. It's not 100% though.
Comment 10 Nate Graham 2022-09-12 00:04:29 UTC
*** Bug 453681 has been marked as a duplicate of this bug. ***
Comment 11 Nate Graham 2022-09-12 14:03:36 UTC
*** Bug 445653 has been marked as a duplicate of this bug. ***
Comment 12 Nate Graham 2022-09-12 14:06:18 UTC
*** Bug 375848 has been marked as a duplicate of this bug. ***
Comment 13 Nate Graham 2022-10-09 19:48:51 UTC
*** Bug 458367 has been marked as a duplicate of this bug. ***
Comment 14 Nate Graham 2022-11-04 16:59:50 UTC
*** Bug 461347 has been marked as a duplicate of this bug. ***
Comment 15 Aaron Rainbolt 2023-01-02 04:19:28 UTC
Currently unable to reproduce this with the latest git master. Using KDE neon 22.04 Developer Edition (KForge virtual appliance on VirtualBox 6.1).

I built the full KDE Plasma stack with kdesrc-build as described in https://community.kde.org/Get_Involved/development. I then put the VM into full-screen mode, opened a slew of applications, and then proceeded to switch themes and layouts 25 times (switching irregularly between Breeze, Breeze Dark, and Breeze Twilight). Unless the effects of a plasmashell crash are nearly invisible to the end user (which I don't think is the case), there was not a single plasmashell crash as a result of the theme and layout switching. I made sure that the "Desktop and window layout" box was checked every time I switched themes.
Comment 16 Nate Graham 2023-01-02 16:42:57 UTC
I can't reproduce it either. Can anyone else still reproduce with current git master?
Comment 17 Aaron Rainbolt 2023-01-02 17:26:10 UTC
I also cannot reproduce this with the tip of the Plasma/5.24 branch.
Comment 18 Aaron Rainbolt 2023-01-02 17:28:19 UTC
Nevermind, I actually failed to notice the crashes. I can now see that plasmashell crashed several times during my latest testing with the Plasma/5.24 testing. Sorry.
Comment 19 Aaron Rainbolt 2023-01-04 20:52:36 UTC
If I reproduce the crash with "plasmashell --replace" running in a terminal, I see a ton of "requesting unexisting screen 0" messages appear just before crash. This on Kubuntu 22.04.1, which uses a version of KDE that still contains the bug.
Comment 20 Nate Graham 2023-01-04 20:56:53 UTC
In Plasma 5.27 (aka current git master) that specific message has been removed along with the code that could cause it, bolstering the theory that this is fixed in git master now.
Comment 21 Aaron Rainbolt 2023-01-04 20:57:44 UTC
@NateGraham Where is that code at? I'm looking for it and having a hard time finding it in Plasma 5.24.
Comment 22 Nate Graham 2023-01-04 21:01:48 UTC
plasma-workspace/shell/shellcorona.cpp
Comment 23 Aaron Rainbolt 2023-01-04 21:35:01 UTC
Alright, I modified the plasma-workspace code slightly (using the version in Kubuntu's repos), and edited all of the lines that said "requesting unexisting screen" to specify what function the messages was in. The results are:

```
kf.plasma.quick: Applet preload policy set to 1
trying to show an empty dialog
qml: PlasmaExtras.ScrollArea is deprecated. Use PlasmaComponents3.ScrollView instead.
trying to show an empty dialog
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:118:19: QML Loader: Binding loop detected for property "height"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:118:19: QML Loader: Binding loop detected for property "height"
Trying to take space not available BasicAppletContainer_QMLTYPE_159_QML_168(0x55d3ad4ea890, parent=0x55d3ad0e3000, geometry=482.846,485.91 432x384)
Plasma Shell startup completed
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:531:9: QML Label: Binding loop detected for property "height"
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:496:13: QML Label: Binding loop detected for property "height"
trying to show an empty dialog
Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion
Entry is not valid "org.kde.kontact.desktop" QSharedPointer(0x55d3adf91360)
Entry is not valid "org.kde.kontact.desktop" QSharedPointer(0x55d3ad3fbc80)
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:496:13: QML Label: Binding loop detected for property "height"
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:531:9: QML Label: Binding loop detected for property "height"
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:553:5: QML Label: Binding loop detected for property "height"
trying to show an empty dialog
file:///usr/share/plasma/plasmoids/org.kde.panel/contents/ui/main.qml:18:1: QML DropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth"
Cyclic dependency detected between "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml" and "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationHeader.qml"
libkcups: CUPS-Get-Printers last error: 1030 No destinations added.
libkcups: Create-Printer-Subscriptions last error: 0 successful-ok
libkcups: Get-Jobs last error: 0 successful-ok
libkcups: Get-Jobs last error: 0 successful-ok
file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/ExpandedRepresentation.qml:165:9: QML HiddenItemsView: Binding loop detected for property "implicitHeight"
libkcups: 0
libkcups: 0
trying to show an empty dialog
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:118:19: QML Loader: Binding loop detected for property "height"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:118:19: QML Loader: Binding loop detected for property "height"
trying to show an empty dialog
QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
file:///usr/share/plasma/plasmoids/org.kde.plasma.battery/contents/ui/CompactRepresentation.qml:71:17: Unable to assign [undefined] to int
Trying to take space not available BasicAppletContainer_QMLTYPE_159_QML_168(0x55d3ad4ea890, parent=0x55d3ad0e3000, geometry=480,384 432x384)
trying to show an empty dialog
trying to show an empty dialog
file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:370: Unable to assign [undefined] to QString
file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:370: Unable to assign [undefined] to QString
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/ApplicationItem.qml:151:9: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 13. Use 'sequences: [ <key> ]' to bind to all of them.
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/ApplicationItem.qml:147:9: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 14. Use 'sequences: [ <key> ]' to bind to all of them.
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/PageRow.qml:674:5: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 14. Use 'sequences: [ <key> ]' to bind to all of them.
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/PageRow.qml:670:5: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 13. Use 'sequences: [ <key> ]' to bind to all of them.
QQmlEngine::setContextForObject(): Object already has a QQmlContext
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
qml: PlasmaExtras.ScrollArea is deprecated. Use PlasmaComponents3.ScrollView instead.
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/ApplicationItem.qml:151:9: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 13. Use 'sequences: [ <key> ]' to bind to all of them.
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/ApplicationItem.qml:147:9: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 14. Use 'sequences: [ <key> ]' to bind to all of them.
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/PageRow.qml:674:5: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 14. Use 'sequences: [ <key> ]' to bind to all of them.
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/PageRow.qml:670:5: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 13. Use 'sequences: [ <key> ]' to bind to all of them.
qml: PlasmaExtras.ScrollArea is deprecated. Use PlasmaComponents3.ScrollView instead.
QQmlEngine::setContextForObject(): Object already has a QQmlContext
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/ApplicationItem.qml:151:9: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 13. Use 'sequences: [ <key> ]' to bind to all of them.
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/ApplicationItem.qml:147:9: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 14. Use 'sequences: [ <key> ]' to bind to all of them.
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/PageRow.qml:674:5: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 14. Use 'sequences: [ <key> ]' to bind to all of them.
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/PageRow.qml:670:5: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 13. Use 'sequences: [ <key> ]' to bind to all of them.
qml: The item SubCategoryPage_QMLTYPE_78(0x55ce1f0f79f0) is already in the PageRow
requesting unexisting screen screenGeometry 0
requesting unexisting screen screenGeometry 0
requesting unexisting screen _availableScreenRect 0
requesting unexisting screen screenGeometry 0
requesting unexisting screen _availableScreenRect 0
requesting unexisting screen screenGeometry 0
requesting unexisting screen screenGeometry 0
requesting unexisting screen screenGeometry 0
requesting unexisting screen _availableScreenRect 0
requesting unexisting screen screenGeometry 0
requesting unexisting screen _availableScreenRect 0
requesting unexisting screen screenGeometry 0
requesting unexisting screen _availableScreenRect 0
requesting unexisting screen screenGeometry 0
requesting unexisting screen _availableScreenRect 0
requesting unexisting screen screenGeometry 0
requesting unexisting screen _availableScreenRect 0
requesting unexisting screen screenGeometry 0
requesting unexisting screen _availableScreenRect 0
requesting unexisting screen screenGeometry 0
requesting unexisting screen _availableScreenRect 0
requesting unexisting screen screenGeometry 0
requesting unexisting screen _availableScreenRect 0
requesting unexisting screen screenGeometry 0
requesting unexisting screen _availableScreenRect 0
requesting unexisting screen screenGeometry 0
requesting unexisting screen _availableScreenRect 0
requesting unexisting screen screenGeometry 0
requesting unexisting screen _availableScreenRect 0
requesting unexisting screen screenGeometry 0
requesting unexisting screen _availableScreenRect 0
requesting unexisting screen screenGeometry 0
requesting unexisting screen _availableScreenRect 0
requesting unexisting screen screenGeometry 0
requesting unexisting screen _availableScreenRect 0
requesting unexisting screen screenGeometry 0
requesting unexisting screen _availableScreenRect 0
requesting unexisting screen screenGeometry 0
requesting unexisting screen _availableScreenRect 0
requesting unexisting screen screenGeometry 0
requesting unexisting screen _availableScreenRect 0
requesting unexisting screen screenGeometry 0
requesting unexisting screen _availableScreenRect 0
requesting unexisting screen screenGeometry 0
requesting unexisting screen _availableScreenRect 0
requesting unexisting screen screenGeometry 0
requesting unexisting screen _availableScreenRect 0
requesting unexisting screen screenGeometry 0
requesting unexisting screen _availableScreenRect 0
requesting unexisting screen screenGeometry 0
requesting unexisting screen _availableScreenRect 0
requesting unexisting screen screenGeometry 0
requesting unexisting screen _availableScreenRect 0
requesting unexisting screen screenGeometry 0
requesting unexisting screen _availableScreenRect 0
requesting unexisting screen screenGeometry 0
requesting unexisting screen _availableScreenRect 0
requesting unexisting screen screenGeometry 0
requesting unexisting screen _availableScreenRect 0
requesting unexisting screen screenGeometry 0
requesting unexisting screen screenGeometry 0
requesting unexisting screen _availableScreenRect 0
requesting unexisting screen screenGeometry 0
requesting unexisting screen screenGeometry 0
requesting unexisting screen _availableScreenRect 0
requesting unexisting screen screenGeometry 0
requesting unexisting screen _availableScreenRect 0
requesting unexisting screen screenGeometry 0
requesting unexisting screen _availableScreenRect 0
requesting unexisting screen screenGeometry 0
QDBusConnection: error: could not send signal to service "" path "//home/user/.kde/share/config/kdeglobals" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: //home/user/.kde/share/config/kdeglobals
QDBusConnection: error: could not send signal to service "" path "//home/user/.config/kdedefaults/kdeglobals" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: //home/user/.config/kdedefaults/kdeglobals
QDBusConnection: error: could not send signal to service "" path "//home/user/.config/kdedefaults/kdeglobals" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: //home/user/.config/kdedefaults/kdeglobals
QDBusConnection: error: could not send signal to service "" path "//home/user/.kde/share/config/kdeglobals" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: //home/user/.kde/share/config/kdeglobals
QDBusConnection: error: could not send signal to service "" path "//home/user/.kde/share/config/kdeglobals" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: //home/user/.kde/share/config/kdeglobals
KCrash: Attempting to start /usr/bin/plasmashell
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = plasmashell path = /usr/bin pid = 1416
KCrash: Arguments: /usr/bin/plasmashell --replace 
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi
QSocketNotifier: Invalid socket 7 and type 'Read', disabling...
QSocketNotifier: Invalid socket 10 and type 'Read', disabling...
QSocketNotifier: Invalid socket 11 and type 'Read', disabling...
kf.plasma.quick: Applet preload policy set to 1
qml: PlasmaExtras.ScrollArea is deprecated. Use PlasmaComponents3.ScrollView instead.
trying to show an empty dialog
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:118:19: QML Loader: Binding loop detected for property "height"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:118:19: QML Loader: Binding loop detected for property "height"
evaluating startup script: "/usr/share/plasma/shells/org.kde.plasma.desktop/contents/layout.js"
Activity added twice "282fcbd5-1e24-4673-b5ac-ddb9a2b833e3"
file:///usr/share/plasma/plasmoids/org.kde.panel/contents/ui/main.qml:18:1: QML DropArea: Binding loop detected for property "spacingAtMinSize"
file:///usr/share/plasma/plasmoids/org.kde.panel/contents/ui/main.qml:18:1: QML DropArea: Binding loop detected for property "spacingAtMinSize"
<Unknown File>: QML QQuickAnchors: Binding loop detected for property "leftMargin"
Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion
Entry is not valid "org.kde.kontact.desktop" QSharedPointer(0x55b67d0a9a40)
Entry is not valid "org.kde.kontact.desktop" QSharedPointer(0x55b67d0a9bd0)
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:531:9: QML Label: Binding loop detected for property "height"
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:496:13: QML Label: Binding loop detected for property "height"
trying to show an empty dialog
trying to show an empty dialog
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:118:19: QML Loader: Binding loop detected for property "height"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:118:19: QML Loader: Binding loop detected for property "height"
Cyclic dependency detected between "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml" and "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationHeader.qml"
libkcups: CUPS-Get-Printers last error: 1030 No destinations added.
libkcups: Create-Printer-Subscriptions last error: 0 successful-ok
libkcups: Get-Jobs last error: 0 successful-ok
libkcups: Get-Jobs last error: 0 successful-ok
file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/ExpandedRepresentation.qml:165:9: QML HiddenItemsView: Binding loop detected for property "implicitHeight"
trying to show an empty dialog
QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:496:13: QML Label: Binding loop detected for property "height"
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:531:9: QML Label: Binding loop detected for property "height"
libkcups: 0
libkcups: 0
Plasma Shell startup completed
file:///usr/share/plasma/plasmoids/org.kde.plasma.battery/contents/ui/CompactRepresentation.qml:71:17: Unable to assign [undefined] to int

[1]+  Stopped                 plasmashell --replace
```
Posting this here in case it gives anyone else some insight.
Comment 24 Aaron Rainbolt 2023-01-04 21:40:45 UTC
And this is the output of the working plasmashell from master:

kf.plasma.quick: Applet preload policy set to 1
QObject::connect: No such slot DesktopProtocol::_k_slotRedirection(KIO::Job *, QUrl)
Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion
Failed to register unity service
org.kde.plasma.notifications: Failed to register JobViewServer service on DBus, is kuiserver running?
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:534:9: QML Label: Binding loop detected for property "height"
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:499:13: QML Label: Binding loop detected for property "height"
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:499:13: QML Label: Binding loop detected for property "height"
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:534:9: QML Label: Binding loop detected for property "height"
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:556:5: QML Label: Binding loop detected for property "height"
Cyclic dependency detected between "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml" and "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationHeader.qml"
Cyclic dependency detected between "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml" and "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/ThumbnailStrip.qml"
org.kde.plasma.notifications: Failed to register JobViewServer DBus object
org.kde.plasma.notifications: Failed to register JobViewServer DBus object
org.kde.plasma.notifications: Failed to register JobViewServer DBus object
libkcups: CUPS-Get-Printers last error: 1030 No destinations added.
libkcups: Get-Jobs last error: 0 successful-ok
libkcups: Create-Printer-Subscriptions last error: 0 successful-ok
libkcups: Get-Jobs last error: 0 successful-ok
libkcups: 0
libkcups: 0
QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
Could not find the Plasmoid for Plasma::FrameSvgItem(0x5572e93700d0) QQmlContext(0x5572e6a06010) QUrl("file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/main.qml")
Could not find the Plasmoid for Plasma::FrameSvgItem(0x5572e93700d0) QQmlContext(0x5572e6a06010) QUrl("file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/main.qml")
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/components.3/ScrollView.qml:45:27: QML ScrollBar: Binding loop detected for property "visible"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/components.3/ScrollView.qml:45:27: QML ScrollBar: Binding loop detected for property "visible"
Arrived mimeData () ("text/x-plasmoidservicename") at 536 ,  126
adding "org.kde.plasma.analogclock"
Arrived mimeData () ("text/x-plasmoidservicename") at 527 ,  418
adding "org.kde.plasma.activitybar"
Arrived mimeData () ("text/x-plasmoidservicename") at 1320 ,  601
adding "org.kde.plasma.binaryclock"
file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:279: Unable to assign [undefined] to QString
file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:279: Unable to assign [undefined] to QString
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/ScrollablePage.qml:200:9: QML MouseArea: Binding loop detected for property "width"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/ScrollablePage.qml:200:9: QML MouseArea: Binding loop detected for property "width"
QQmlEngine::setContextForObject(): Object already has a QQmlContext
QQmlEngine::setContextForObject(): Object already has a QQmlContext
file:///usr/share/kpackage/kcms/kcm_lookandfeel/contents/ui/main.qml:84:9: QML StackView: Binding loop detected for property "implicitHeight"
qml: The item SubCategoryPage_QMLTYPE_76(0x562a6138f290) is already in the PageRow
file:///usr/share/kpackage/kcms/kcm_lookandfeel/contents/ui/SimpleOptions.qml:24:5: QML FormLayout (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "preferredHeight"
QDBusConnection: error: could not send signal to service "" path "//home/kforge/.config/kdedefaults/kdeglobals" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: //home/kforge/.config/kdedefaults/kdeglobals
file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:20: TypeError: Cannot read property 'pluginName' of null
file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:75: TypeError: Cannot read property 'configuration' of null
file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:78: TypeError: Cannot read property 'pluginName' of null
file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:80: TypeError: Cannot read property 'configuration' of null
file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:81: TypeError: Cannot read property 'configuration' of null
file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:82: TypeError: Cannot read property 'configuration' of null
file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:83: TypeError: Cannot read property 'configuration' of null
file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:84: TypeError: Cannot read property 'configuration' of null
file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:16: TypeError: Cannot read property 'configuration' of null
file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:17: TypeError: Cannot read property 'configuration' of null
file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:18: TypeError: Cannot read property 'configuration' of null
kf.plasma.core: requesting config for "Desktop Folder" without a containment!
QDBusConnection: error: could not send signal to service "" path "//home/kforge/.config/kdedefaults/kdeglobals" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: //home/kforge/.config/kdedefaults/kdeglobals
file:///usr/share/plasma/plasmoids/org.kde.plasma.binaryclock/contents/ui/main.qml:40: TypeError: Cannot read property 'configuration' of null
file:///usr/share/plasma/plasmoids/org.kde.plasma.binaryclock/contents/ui/main.qml:24: TypeError: Cannot read property 'configuration' of null
kf.plasma.core: requesting config for "Panel" without a containment!
file:///usr/share/plasma/packages/org.kde.paneltoolbox/contents/ui/main.qml:17: TypeError: Cannot read property 'formFactor' of null
file:///usr/share/plasma/packages/org.kde.paneltoolbox/contents/ui/main.qml:100: TypeError: Cannot read property 'editMode' of null
file:///usr/share/plasma/packages/org.kde.paneltoolbox/contents/ui/main.qml:45: TypeError: Cannot read property 'editMode' of null
file:///usr/share/plasma/packages/org.kde.paneltoolbox/contents/ui/main.qml:34: TypeError: Cannot read property 'editMode' of null
file:///usr/share/plasma/plasmoids/org.kde.plasma.kickoff/contents/ui/KickoffListDelegate.qml:22: TypeError: Cannot read property 'configuration' of null
file:///usr/share/plasma/plasmoids/org.kde.plasma.kickoff/contents/ui/Kickoff.qml:28: TypeError: Cannot read property 'location' of null
file:///usr/share/plasma/plasmoids/org.kde.plasma.kickoff/contents/ui/Kickoff.qml:34: TypeError: Cannot read property 'formFactor' of null
file:///usr/share/plasma/plasmoids/org.kde.plasma.kickoff/contents/ui/Kickoff.qml:37: TypeError: Cannot read property 'configuration' of null
file:///usr/share/plasma/plasmoids/org.kde.plasma.kickoff/contents/ui/Kickoff.qml:47: TypeError: Cannot read property 'configuration' of null
file:///usr/share/plasma/plasmoids/org.kde.plasma.kickoff/contents/ui/Kickoff.qml:86: TypeError: Cannot read property 'configuration' of null
file:///usr/share/plasma/plasmoids/org.kde.plasma.kickoff/contents/ui/Kickoff.qml:126: TypeError: Cannot read property 'formFactor' of null
file:///usr/share/plasma/plasmoids/org.kde.panel/contents/ui/main.qml: Writing to "applet" broke the binding to the underlying model
file:///usr/share/plasma/plasmoids/org.kde.panel/contents/ui/main.qml: Writing to "applet" broke the binding to the underlying model
file:///usr/share/plasma/plasmoids/org.kde.panel/contents/ui/main.qml: Writing to "applet" broke the binding to the underlying model
file:///usr/share/plasma/plasmoids/org.kde.panel/contents/ui/main.qml: Writing to "applet" broke the binding to the underlying model
file:///usr/share/plasma/plasmoids/org.kde.panel/contents/ui/main.qml: Writing to "applet" broke the binding to the underlying model
kf.plasma.core: requesting config for "System Tray" without a containment!
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
file:///usr/share/plasma/plasmoids/org.kde.plasma.volume/contents/ui/main.qml:766: TypeError: Cannot read property 'configuration' of null
file:///usr/share/plasma/plasmoids/org.kde.kdeconnect/contents/ui/main.qml:38: TypeError: Cannot read property 'formFactor' of null
file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml:0: RangeError: Maximum call stack size exceeded.
file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml:0: RangeError: Maximum call stack size exceeded.
file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml:0: RangeError: Maximum call stack size exceeded.
file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml:0: RangeError: Maximum call stack size exceeded.
file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml:0: RangeError: Maximum call stack size exceeded.
file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml:0: RangeError: Maximum call stack size exceeded.
libkcups: Cancel-Subscription last error: 0 successful-ok
file:///usr/share/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/main.qml:150: TypeError: Cannot read property 'expanded' of null
file:///usr/share/plasma/plasmoids/org.kde.panel/contents/ui/main.qml: Writing to "applet" broke the binding to the underlying model
file:///usr/share/plasma/plasmoids/org.kde.panel/contents/ui/main.qml: Writing to "applet" broke the binding to the underlying model
kde.plasmashell: Activity added twice "a817a097-ed53-44c3-bd84-2d16da4be492"
Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
QDBusConnection: error: could not send signal to service "" path "/plasma-org.kde.plasma.desktop-appletsrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: /plasma-org.kde.plasma.desktop-appletsrc
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:534:9: QML Label: Binding loop detected for property "height"
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:499:13: QML Label: Binding loop detected for property "height"
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:499:13: QML Label: Binding loop detected for property "height"
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:534:9: QML Label: Binding loop detected for property "height"
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:556:5: QML Label: Binding loop detected for property "height"
Cyclic dependency detected between "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml" and "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationHeader.qml"
Cyclic dependency detected between "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml" and "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/ThumbnailStrip.qml"
libkcups: Create-Printer-Subscriptions last error: 0 successful-ok
libkcups: CUPS-Get-Printers last error: 1030 No destinations added.
libkcups: Cancel-Subscription last error: 0 successful-ok
libkcups: Create-Printer-Subscriptions last error: 0 successful-ok
libkcups: Get-Jobs last error: 0 successful-ok
libkcups: Get-Jobs last error: 0 successful-ok
libkcups: 0
libkcups: 0
QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
Comment 25 Aaron Rainbolt 2023-01-05 06:15:08 UTC
I can reproduce the crash using the tip of the Plasma/5.26 branch for all components.
Comment 26 Aaron Rainbolt 2023-01-05 08:04:02 UTC
Verified that the bug is in plasma-workspace - building from an earlier commit shows the crash, but the latest one doesn't crash. I am actively bisecting the repo (about 5 steps left) and should hopefully have a commit ID with the fix by tomorrow.
Comment 27 Aaron Rainbolt 2023-01-05 15:08:05 UTC
Crud. Not sure what changed, but I can reproduce the bug with git master again. :(
Comment 28 Aaron Rainbolt 2023-01-05 15:29:18 UTC
I should specify, I'm building from source manually, cloning directly from the Git repos and using cmake and make myself for this latest build that has the crash, so perhaps the problem is in a dependency that wasn't getting rebuilt by skipping kdesrc-build?
Comment 29 Aaron Rainbolt 2023-01-05 15:32:07 UTC
Also I didn't get a stack trace from my crashes to ensure that they were the same, so it's within the realm of possibility I'm doing this to myself with a version mismatch.
Comment 30 Aaron Rainbolt 2023-01-06 20:20:14 UTC
Alright, I built Plasma from master with kdesrc-build again, and now the crash has vanished. Whew.
Comment 31 Fushan Wen 2023-01-07 05:32:13 UTC
Using master, I got a different backtrace when applying desktop layouts

Thread 1 (Thread 0x7f1626de8980 (LWP 13481)):
#0  __GI___pthread_sigmask (how=1, newmask=<optimized out>, oldmask=0x0) at pthread_sigmask.c:43
#1  0x00007f1628642afd in __GI___sigprocmask (how=<optimized out>, set=<optimized out>, oset=<optimized out>) at ../sysdeps/unix/sysv/linux/sigprocmask.c:25
#2  0x00007f162b6d687b in KCrash::setCrashHandler(void (*)(int)) (handler=handler@entry=0x0) at /usr/src/debug/kcrash-5.101.0git.20221217T152408~0a2280c/src/kcrash.cpp:414
#3  0x00007f162b6d8d23 in KCrash::defaultCrashHandler(int) (sig=11) at /usr/src/debug/kcrash-5.101.0git.20221217T152408~0a2280c/src/kcrash.cpp:625
#4  0x00007f16286428e0 in <signal handler called> () at /lib64/libc.so.6
#5  QWindow::screen() const (this=0x26ea8b0) at kernel/qwindow.cpp:2088
#6  0x0000000000448dd8 in ShellCorona::_availableScreenRect(int) const (this=<optimized out>, id=id@entry=0) at /mnt/data/home/qydw/Develop/KDE/Plasma/plasma-workspace/shell/shellcorona.cpp:1099
#7  0x00000000004634cd in StrutManager::availableScreenRect(int) const (this=0x1dbb090, id=0) at /mnt/data/home/qydw/Develop/KDE/Plasma/plasma-workspace/shell/strutmanager.cpp:39
#8  0x00007f16101d71b4 in AppletInterface::availableScreenRect() const (this=0x21a7da0) at /usr/src/debug/plasma-framework-5.101.0git.20230104T022135~1df46441/src/scriptengines/qml/plasmoid/appletinterface.cpp:778
#9  0x00007f16101d918b in AppletInterface::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x21a7da0, _c=QMetaObject::ReadProperty, _id=<optimized out>, _a=0x7ffd7cc19960) at /usr/src/debug/plasma-framework-5.101.0git.20230104T022135~1df46441/build/src/scriptengines/qml/plasma_appletscript_declarative_autogen/include/moc_appletinterface.cpp:806
#10 0x00007f16101dbef3 in AppletInterface::qt_metacall(QMetaObject::Call, int, void**) (this=0x21a7da0, _c=QMetaObject::ReadProperty, _id=31, _a=0x7ffd7cc19960) at /usr/src/debug/plasma-framework-5.101.0git.20230104T022135~1df46441/build/src/scriptengines/qml/plasma_appletscript_declarative_autogen/include/moc_appletinterface.cpp:902
#11 0x00007f162ad06a50 in QV4::QQmlValueTypeReference::readReferenceValue() const (this=0x7f16017c05d8) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.7+kde25/src/qml/qml/qqmlvaluetypewrapper.cpp:170
#12 0x00007f162ad06f03 in QV4::QQmlValueTypeWrapper::lookupGetter(QV4::Lookup*, QV4::ExecutionEngine*, QV4::Value const&) (lookup=0x3621460, engine=0x1deb460, object=<optimized out>) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.7+kde25/src/qml/qml/qqmlvaluetypewrapper.cpp:485
#13 0x00007f15b62d02dd in  ()
#14 0x0000000000000000 in  ()
Comment 32 Aaron Rainbolt 2023-01-09 05:49:58 UTC
Most recent findings:

1. I can successfully run a KDE Plasma build that is mostly from the tip of Plasma/5.26, but with only plasma-workspace built from master.
2. When everything is built from Plasma/5.26 (taking care to build everything in RelWithDebInfo mode), the crash appears (including the massive number of "requesting unexisting screen 0" messages).
3. When only plasma-workspace is build from master (again in RelWithDebInfo mode), the crash vanishes.

Therefore, it's very likely that somewhere between Plasma/5.26 and master, the fix was introduced. And now that I finally know about RelWithDebInfo, I think the repo can finally be bisected. (The last attempt at a bisect was stymied because I was accidentally building everything in Debug mode, which was producing a possibly different but related crash that was throwing me off.)
Comment 33 Aaron Rainbolt 2023-02-08 07:19:15 UTC
OK so that didn't work. I tried to diff between what I thought was a working point on the master branch, and the tip of the Plasma/5.26 branch, and got a diff that was, I kid you not, nearly two million lines long.

So. Looking at the backtrace Erich provided, I noticed this:

#13 0x00007f2c8e4e808a in Plasma::Applet::destroy (this=0x556422a17b90) at ./src/plasma/applet.cpp:309
#14 0x0000556420a68254 in ShellCorona::unload (this=this@entry=0x5564227b7b20) at ./shell/shellcorona.cpp:834
#15 0x0000556420a6bdd8 in ShellCorona::unload (this=0x5564227b7b20) at ./shell/shellcorona.cpp:606
#16 ShellCorona::loadLookAndFeelDefaultLayout (this=0x5564227b7b20, packageName=...) at ./shell/shellcorona.cpp:602

The fact that ShellCorona::unload gets called twice in a row is very suspicious to me, so I'm going to try to reproduce the backtrace with Plasma/5.26 and see if it's still happening, then hope that the line numbers lead me to the right spot. If that fails, I'll try and find a "bad" spot on the master branch.
Comment 34 Aaron Rainbolt 2023-02-20 01:09:19 UTC
After much fiddling, diffing, bisecting, and fighting, the code change that fixed this bug has finally been found. And it is...

https://invent.kde.org/plasma/plasma-workspace/-/commit/d8c6f30cfe66a3e6bc05ba0b2ced7c5ffaf1a871

Of all the code changes I would imagine that would have fixed this, that was not what I expected. However, that's what `git bisect` finally gave me. I was able to test this change (albeit with quite a bit of extra changes to try and make things compatible) on Plasma/5.24 and can confirm that this does indeed fix the bug, so this isn't a fluke - this is the fixing change.

Here's my current attempt at backporting the above commit to Plasma/5.24: https://invent.kde.org/arraybolt/plasma-workspace/-/commit/cf7703e1019fe7fdc92edb4cc30388d87612fbf1 I don't know if all of the changes here are necessary, but I do know that Plasma appears to still work after doing that, and that I can change global themes without having plasmashell crash after applying this change, rebuilding, and installing Ubuntu's plasma-workspace package.
Comment 35 Nate Graham 2023-08-22 22:18:53 UTC
Unfortunately it looks like this may not be fixed after all. We just got a new report from 5.27.7 with the same backtrace (Bug 473654). Re-opening.
Comment 36 Nate Graham 2023-08-22 22:19:01 UTC
*** Bug 473654 has been marked as a duplicate of this bug. ***
Comment 37 Aaron Rainbolt 2023-08-22 22:27:21 UTC
I had found the bug-fixing commit, and the only commit that affected the bugged file after the bug-fixing commit is this one: https://invent.kde.org/plasma/plasma-workspace/-/commit/1262bc6cf574fb97f74302c4019fa637a87eb42a

Perhaps try changing line 163 from "OpacityMask {" back to "property Item mask: OpacityMask {" and see if that fixes things? There's another affected QML file in that commit that might affect things, I'm not sure.
Comment 38 Harald Sitter 2023-08-31 14:50:00 UTC
Unable to reproduce this on Plasma/5.27 I fear.
Comment 39 Harald Sitter 2023-09-01 13:52:05 UTC
We think this may have been fixed in 5.27.8. If you still encounter it there, please make sure the backtrace is the same and if not open a new bug. Thanks.

https://invent.kde.org/plasma/plasma-workspace/-/commit/3a4b85fc7bfe80bec58301444688a08821976295
Comment 40 Michael Mikowski 2023-09-01 17:55:00 UTC
This looks promising Harald. Kfocus will test with 5.27.8 across multiple installations and report back. Thanks!