SUMMARY Launching a terminal window produces a notification "plasmashell Closed Unexpectedly" and journalctl shows the error: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/delegates/DelegatePopup.qml:136:17: QML Body: Binding loop detected for property "width". This doesn't seem to happen with other applications, but I have produced it with both Konsole and Ghostty. STEPS TO REPRODUCE 1. Open a Konsole terminal OBSERVED RESULT Plasma notification "plasmashell Closed Unexpectedly" SOFTWARE/OS VERSIONS Linux/KDE Plasma: Arch 6.13.3 KDE Plasma Version: 6.3.1 KDE Frameworks Version: 6.11.0 Qt Version: 6.8.2 ADDITIONAL INFORMATION I have tried deleting the cache and killing/restarting plasmashell but it does not affect the issue.
Thank you for the bug report! The Binding Loop warning is already being tracked in bug 499024. This is unlikely to be the cause of your issues, most notifications print this warning at present. It's definitely something that should be fixed, but it is mostly harmless. We can repurpose this bug for your issue with terminals causing the "plasmashell Closed Unexpectedly" notification. This sounds like a crash, and for that we need a backtrace to investigate; at present we have absolutely nothing to go on. Can you please attach a backtrace of the crash using the coredumpctl command-line program, as detailed in https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl? Thanks!
PID: 515222 (plasmashell) UID: 1000 (matt) GID: 1000 (matt) Signal: 11 (SEGV) Timestamp: Sun 2025-02-23 17:46:20 EST (10min ago) Command Line: plasmashell --version Executable: /usr/bin/plasmashell Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/app-org.kde.konsole@6b54098440e44f33b7d306ca0477a545.service Unit: user@1000.service User Unit: app-org.kde.konsole@6b54098440e44f33b7d306ca0477a545.service Slice: user-1000.slice Owner UID: 1000 (matt) Boot ID: 13af336511604a68b1756fe76f8f698f Machine ID: 34e5465c4ad14f2bb7ed806f7ee05efc Hostname: arch Storage: /var/lib/systemd/coredump/core.plasmashell.1000.13af336511604a68b1756fe76f8f698f.515222.1740350780000000.zst (present) Size on Disk: 2M Message: Process 515222 (plasmashell) of user 1000 dumped core. Stack trace of thread 515222: #0 0x00007b67cdaa5624 n/a (n/a + 0x0) #1 0x00007b67cda4bba0 n/a (n/a + 0x0) #2 0x00007b67d0cd64da n/a (n/a + 0x0) #3 0x00007b67cda4bcd0 n/a (n/a + 0x0) #4 0x00007b67ce9cfa1f n/a (n/a + 0x0) #5 0x00007b67c7bf5cb0 n/a (n/a + 0x0) #6 0x00007b67ce1a2e5e n/a (n/a + 0x0) #7 0x00007b67d02ff0ca n/a (n/a + 0x0) #8 0x00007b67ce155b00 n/a (n/a + 0x0) #9 0x00007b67ce155edc n/a (n/a + 0x0) #10 0x00007b67ce42fc50 n/a (n/a + 0x0) #11 0x00007b67ce2d8515 n/a (n/a + 0x0) #12 0x00007b67cda4de00 n/a (n/a + 0x0) #13 0x00007b67ce0cc3a8 n/a (n/a + 0x0) #14 0x00007b67d108bfd2 n/a (n/a + 0x0) #15 0x00007b67d108f092 n/a (n/a + 0x0) #16 0x00007b67cda4e391 n/a (n/a + 0x0) #17 0x00007b67cda4e46e n/a (n/a + 0x0) #18 0x00007b67ce2f0dcc n/a (n/a + 0x0) #19 0x00007b67ce2f45f0 n/a (n/a + 0x0) #20 0x00007b67ce2f4696 n/a (n/a + 0x0) #21 0x00005836b496dafc n/a (n/a + 0x0) #22 0x00007b67cda35488 n/a (n/a + 0x0) #23 0x00007b67cda3554c n/a (n/a + 0x0) #24 0x00005836b49706e5 n/a (n/a + 0x0) ELF object binary architecture: AMD x86-64 GNU gdb (GDB) 16.2 Copyright (C) 2024 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/bin/plasmashell... This GDB supports auto-downloading debuginfo from the following URLs: <https://debuginfod.archlinux.org> [?2004hEnable debuginfod for this session? (y or [n]) y [?2004l Debuginfod has been enabled. To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit. Reading symbols from /home/matt/.cache/debuginfod_client/7b50437334e81693d95e9d4f12a6293828059624/debuginfo... [New LWP 515222] [New LWP 515228] [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". Core was generated by `/usr/bin/plasmashell --version'. Program terminated with signal SIGSEGV, Segmentation fault. #0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44 44 return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0; [Current thread is 1 (Thread 0x7b67c7ca1a40 (LWP 515222))] [?2004h(gdb) bt [?2004l #0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44 #1 0x00007b67cdaa56d3 in __pthread_kill_internal (threadid=<optimized out>, signo=11) at pthread_kill.c:89 #2 0x00007b67cda4bba0 in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26 #3 0x00007b67d0cd64da in KCrash::defaultCrashHandler (sig=11) at /usr/src/debug/kcrash/kcrash-6.11.0/src/kcrash.cpp:605 #4 <signal handler called> #5 QArrayDataPointer<QInputDevice const*>::data (this=0x0) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qcontainertools_impl.h:387 #6 QArrayDataPointer<QInputDevice const*>::constEnd (this=0x0) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qarraydatapointer.h:127 #7 QList<QInputDevice const*>::cend (this=0x0) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qlist.h:644 #8 QtPrivate::sequential_erase_one<QList<QInputDevice const*>, QInputDevice const*> (c=..., t=<synthetic pointer>: <optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qcontainertools_impl.h:389 #9 QList<QInputDevice const*>::removeOne<QInputDevice const*> (this=0x0, t=<synthetic pointer>: <optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qlist.h:613 #10 QInputDevicePrivate::unregisterDevice (dev=0x5836cdcf2260) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qinputdevice.cpp:360 #11 0x00007b67ce9cfa1f in QInputDevice::~QInputDevice (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qinputdevice.cpp:110 #12 QPointingDevice::~QPointingDevice (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qpointingdevice.cpp:168 #13 0x00007b67c7bf5cb0 in QXcbScrollingDevice::~QXcbScrollingDevice (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/plugins/platforms/xcb/qxcbscrollingdevice_p.h:29 #14 QXcbScrollingDevice::~QXcbScrollingDevice (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/plugins/platforms/xcb/qxcbscrollingdevice_p.h:29 #15 0x00007b67ce1a2e5e in QObject::event (this=0x5836cdcf2260, e=0x5836cdcf22d0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1403 #16 0x00007b67d02ff0ca in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5836cdcf2260, e=0x5836cdcf22d0) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3296 #17 0x00007b67ce155b00 in QCoreApplication::notifyInternal2 (receiver=0x5836cdcf2260, event=event@entry=0x5836cdcf22d0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1172 #18 0x00007b67ce155edc in QCoreApplication::sendEvent (receiver=<optimized out>, event=0x5836cdcf22d0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1612 #19 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=52, data=0x5836cdcb2790) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1946 #20 0x00007b67ce42fc50 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=52) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1800 #21 operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:403 #22 (anonymous namespace)::terminate_on_exception<QThreadPrivate::finish()::{lambda()#1}>(QThreadPrivate::finish()::{lambda()#1}&&) [clone .isra.0] (t=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:311 #23 0x00007b67ce2d8515 in set_thread_data(QThreadData*)::Cleanup::~Cleanup() () at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:386 #24 0x00007b67cda4de00 in __cxa_finalize (d=0x7b67ce5f5000) at cxa_finalize.c:97 #25 0x00007b67ce0cc3a8 in ?? () from /usr/lib/libQt6Core.so.6 #26 0x00007fffc35dc210 in ?? () #27 0x00007b67d108bfd2 in _dl_call_fini (closure_map=0x7b67d0938000) at dl-call_fini.c:43 Backtrace stopped: frame did not save the PC [?2004h(gdb) exit [?2004l
Thanks for the backtrace! This looks like an issue we already know about. It's a bug in Qt, the core library that KDE uses. It is already fixed upstream, and the fix will be in the next version 6.9 as well as in future patch releases of the current version 6.8. Until then, you can ask your distribution to backport the fix. *** This bug has been marked as a duplicate of bug 500326 ***