Bug 512671

Summary: Kwin segfaults when closing or switching windows on different virtual desktops using alt-tab on Wayland
Product: [Plasma] kwin Reporter: maneren731
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: CONFIRMED ---    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version First Reported In: 6.5.3   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/308234/events/8f8978a700a24b85b949746070ed40a2/

Description maneren731 2025-11-27 10:16:04 UTC
Application: kwin_wayland (6.5.3)

ApplicationNotResponding [ANR]: false
Qt Version: 6.10.0
Frameworks Version: 6.20.0
Operating System: Linux 6.17.9-1-MANJARO x86_64
Windowing System: Wayland
Distribution: Manjaro Linux
DrKonqi: 6.5.3 [CoredumpBackend]

-- Information about the crash:
I am getting spurious segfaults from kwin_wayland. I have so far identified only two common properties: it happens when switching windows located on different virtual desktops using alt+tab (different applications each time, haven't found a reproducible trigger) and that the segfault happens due to reading invalid pointer in a destructor of "something" (usually a QObject, but a different one each time).

Right now I can't recover more of the old stack traces since I have updated recently (from Manjaro testing to unstable aka to Arch versions) to try if it will fix things (it didn't) but I'll try to upload new ones as they happen (usually once or twice a day, depending of my screentime). From memory, common symbols in the stack traces were QTimer, Kwin Texture and KSvg.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KWin (kwin_wayland), signal: Segmentation fault

#27 
warning: Can't open file /memfd:kwayland-shared (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:JSVMStack:QtQml (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:gdk-wayland (deleted) during file-backed mapping note processing

warning: Can't open file anon_inode:i915.gem during file-backed mapping note processing

warning: Can't open file /memfd:wayland-cursor (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:unknown-usage:QtQml (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:JITCode:QtQml (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:wayland-shm (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:buffer (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:JSGCHeap:QtQml (deleted) during file-backed mapping note processing
[New LWP 1555]
[New LWP 1604]
[New LWP 1603]
[New LWP 1601]
[New LWP 1602]
[New LWP 1613]
[New LWP 1614]
[New LWP 1618]
[New LWP 1616]
[New LWP 1591]
[New LWP 1615]
[New LWP 25237]
[New LWP 1628]
[New LWP 1642]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `/usr/bin/kwin_wayland --wayland-fd 7 --socket wayland-0 --xwayland-fd 8 --xwayland-fd 9 --xwayland-display :1 --xwayland-xauthority /run/user/1000/xauth_DGfMJM --xwayland'.
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 0x7fa0f79bfb80 (LWP 1555))]
add symbol table from file "/usr/lib/libc.so.6"
add symbol table from file "/usr/lib/libKF6Crash.so.6"
add symbol table from file "/usr/lib/libQt6Core.so.6"
add symbol table from file "/usr/lib/libkwin.so.6"
add symbol table from file "/usr/lib/libQt6Widgets.so.6"
add symbol table from file "/usr/lib/libQt6Gui.so.6"
add symbol table from file "/usr/bin/kwin_wayland"
add symbol table from file "/usr/lib/libglib-2.0.so.0"
add symbol table from file "/usr/lib/libgallium-25.2.7-arch1.1.1.so"
Download failed: Invalid argument.  Continuing without separate debug info for /usr/lib/spa-0.2/support/libspa-support.so.
add symbol table from file "/usr/lib/spa-0.2/support/libspa-support.so"
Download failed: Invalid argument.  Continuing without separate debug info for /usr/lib/spa-0.2/support/libspa-support.so.
Download failed: Invalid argument.  Continuing without separate debug info for /usr/lib/libpipewire-0.3.so.0.
add symbol table from file "/usr/lib/libpipewire-0.3.so.0"
Download failed: Invalid argument.  Continuing without separate debug info for /usr/lib/libpipewire-0.3.so.0.1409.0.
add symbol table from file "/usr/lib/libstdc++.so.6"
add symbol table from file "/usr/lib/libQt6DBus.so.6"
[Current thread is 13 (Thread 0x7fa0d257c6c0 (LWP 1628))]

Thread 14 (Thread 0x7fa0c3fff6c0 (LWP 1642)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007fa0fe89316c in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=<optimized out>, a6=<optimized out>, nr=271) at cancellation.c:49
#2  0x00007fa0fe8931b4 in __syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=<optimized out>, a6=<optimized out>, nr=271) at cancellation.c:75
#3  0x00007fa0fe90d9f6 in __GI_ppoll (fds=fds@entry=0x7fa0bc0014a0, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#4  0x00007fa0fdb71917 in ppoll (__fds=0x7fa0bc0014a0, __nfds=1, __timeout=0x0, __ss=0x0) at /usr/include/bits/poll2.h:101
#5  g_main_context_poll_unlocked (priority=<optimized out>, context=0x7fa0bc000d00, timeout_usec=<optimized out>, fds=0x7fa0bc0014a0, n_fds=1) at ../glib/glib/gmain.c:4811
#6  g_main_context_iterate_unlocked (context=context@entry=0x7fa0bc000d00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4485
#7  0x00007fa0fdb719f5 in g_main_context_iteration (context=0x7fa0bc000d00, may_block=1) at ../glib/glib/gmain.c:4556
#8  0x00007fa0ff44a9d2 in QEventDispatcherGlib::processEvents (this=0x7fa0bc000be0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#9  0x00007fa0ff175a86 in QEventLoop::processEvents (this=0x7fa0c3ffe980, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:104
#10 QEventLoop::exec (this=0x7fa0c3ffe980, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:186
#11 0x00007fa0ff28af7e in QThread::exec (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread.cpp:672
#12 0x00007fa0ff330ca9 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:437
#13 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:367
#14 QThreadPrivate::start (arg=0x564cb79d57f0) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:397
#15 0x00007fa0fe89698b in start_thread (arg=<optimized out>) at pthread_create.c:448
#16 0x00007fa0fe91a9cc in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 13 (Thread 0x7fa0d257c6c0 (LWP 1628)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007fa0fe89316c in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=<optimized out>, a6=<optimized out>, nr=271) at cancellation.c:49
#2  0x00007fa0fe8931b4 in __syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=<optimized out>, a6=<optimized out>, nr=271) at cancellation.c:75
#3  0x00007fa0fe90d9f6 in __GI_ppoll (fds=fds@entry=0x7fa0c80014a0, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#4  0x00007fa0fdb71917 in ppoll (__fds=0x7fa0c80014a0, __nfds=1, __timeout=0x0, __ss=0x0) at /usr/include/bits/poll2.h:101
#5  g_main_context_poll_unlocked (priority=<optimized out>, context=0x7fa0c8000d00, timeout_usec=<optimized out>, fds=0x7fa0c80014a0, n_fds=1) at ../glib/glib/gmain.c:4811
#6  g_main_context_iterate_unlocked (context=context@entry=0x7fa0c8000d00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4485
#7  0x00007fa0fdb719f5 in g_main_context_iteration (context=0x7fa0c8000d00, may_block=1) at ../glib/glib/gmain.c:4556
#8  0x00007fa0ff44a9d2 in QEventDispatcherGlib::processEvents (this=0x7fa0c8000be0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#9  0x00007fa0ff175a86 in QEventLoop::processEvents (this=0x7fa0d257b980, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:104
#10 QEventLoop::exec (this=0x7fa0d257b980, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:186
#11 0x00007fa0ff28af7e in QThread::exec (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread.cpp:672
#12 0x00007fa0ff330ca9 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:437
#13 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:367
#14 QThreadPrivate::start (arg=0x564cb73590e0) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:397
#15 0x00007fa0fe89698b in start_thread (arg=<optimized out>) at pthread_create.c:448
#16 0x00007fa0fe91a9cc in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 12 (Thread 0x7fa09cfd16c0 (LWP 25237)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007fa0fe89316c in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=<optimized out>, a6=<optimized out>, nr=230) at cancellation.c:49
#2  0x00007fa0fe8e3bd2 in __GI___clock_nanosleep (clock_id=<optimized out>, flags=<optimized out>, req=<optimized out>, rem=<optimized out>) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:48
#3  0x00007fa0fe8efc57 in __GI___nanosleep (req=<optimized out>, rem=<optimized out>) at ../sysdeps/unix/sysv/linux/nanosleep.c:25
#4  0x00007fa101f1ed1c in KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, QString const&)::{lambda()#1}::operator()() const () at /usr/include/c++/15.2.1/bits/this_thread_sleep.h:82
#5  0x00007fa101f1f17a in std::__invoke_impl<void, KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, const QString&)::<lambda()> > (__f=...) at /usr/include/c++/15.2.1/bits/invoke.h:63
#6  std::__invoke<KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, const QString&)::<lambda()> > (__fn=...) at /usr/include/c++/15.2.1/bits/invoke.h:98
#7  std::invoke<KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, const QString&)::<lambda()> > (__fn=...) at /usr/include/c++/15.2.1/functional:122
#8  operator()<> (__closure=<optimized out>) at /usr/include/qt6/QtCore/qthread.h:139
#9  std::__invoke_impl<void, QThread::create<KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, const QString&)::<lambda()> >(KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, const QString&)::<lambda()>&&)::<lambda(auto:67&& ...)> > (__f=...) at /usr/include/c++/15.2.1/bits/invoke.h:63
#10 std::__invoke<QThread::create<KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, const QString&)::<lambda()> >(KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, const QString&)::<lambda()>&&)::<lambda(auto:67&& ...)> > (__fn=...) at /usr/include/c++/15.2.1/bits/invoke.h:98
#11 std::thread::_Invoker<std::tuple<QThread::create<KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, const QString&)::<lambda()> >(KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, const QString&)::<lambda()>&&)::<lambda(auto:67&& ...)> > >::_M_invoke<0> (this=<optimized out>) at /usr/include/c++/15.2.1/bits/std_thread.h:303
#12 std::thread::_Invoker<std::tuple<QThread::create<KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, const QString&)::<lambda()> >(KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, const QString&)::<lambda()>&&)::<lambda(auto:67&& ...)> > >::operator() (this=<optimized out>) at /usr/include/c++/15.2.1/bits/std_thread.h:310
#13 std::__future_base::_Task_setter<std::unique_ptr<std::__future_base::_Result<void>, std::__future_base::_Result_base::_Deleter>, std::thread::_Invoker<std::tuple<QThread::create<KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, const QString&)::<lambda()> >(KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, const QString&)::<lambda()>&&)::<lambda(auto:67&& ...)> > >, void>::operator() (this=0x7fa09cfd0930) at /usr/include/c++/15.2.1/future:1441
#14 std::__invoke_impl<std::unique_ptr<std::__future_base::_Result<void>, std::__future_base::_Result_base::_Deleter>, std::__future_base::_Task_setter<std::unique_ptr<std::__future_base::_Result<void>, std::__future_base::_Result_base::_Deleter>, std::thread::_Invoker<std::tuple<QThread::create<KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, const QString&)::<lambda()> >(KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, const QString&)::<lambda()>&&)::<lambda(auto:67&& ...)> > >, void>&> (__f=...) at /usr/include/c++/15.2.1/bits/invoke.h:63
#15 std::__invoke_r<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter>, std::__future_base::_Task_setter<std::unique_ptr<std::__future_base::_Result<void>, std::__future_base::_Result_base::_Deleter>, std::thread::_Invoker<std::tuple<QThread::create<KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, const QString&)::<lambda()> >(KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, const QString&)::<lambda()>&&)::<lambda(auto:67&& ...)> > >, void>&> (__fn=...) at /usr/include/c++/15.2.1/bits/invoke.h:116
#16 std::_Function_handler<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter>(), std::__future_base::_Task_setter<std::unique_ptr<std::__future_base::_Result<void>, std::__future_base::_Result_base::_Deleter>, std::thread::_Invoker<std::tuple<QThread::create<KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, const QString&)::<lambda()> >(KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, const QString&)::<lambda()>&&)::<lambda(auto:67&& ...)> > >, void> >::_M_invoke(const std::_Any_data &) (__functor=...) at /usr/include/c++/15.2.1/bits/std_function.h:293
#17 0x00007fa101f183f6 in std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter>()>::operator() (this=<optimized out>) at /usr/include/c++/15.2.1/bits/std_function.h:593
#18 std::__future_base::_State_baseV2::_M_do_set (this=0x564cb64d64e0, __f=<optimized out>, __did_set=0x7fa09cfd08d7) at /usr/include/c++/15.2.1/future:598
#19 0x00007fa0fe89be74 in __pthread_once_slow (once_control=0x564cb64d64f8, init_routine=0x7fa0fece3c50 <std::__once_proxy()>) at pthread_once.c:116
#20 0x00007fa0fe89bee9 in ___pthread_once (once_control=<optimized out>, init_routine=<optimized out>) at pthread_once.c:143
#21 0x00007fa101f20d14 in __gthread_once (__once=0x564cb64d64f8, __func=<optimized out>) at /usr/include/c++/15.2.1/x86_64-pc-linux-gnu/bits/gthr-default.h:746
#22 std::call_once<void (std::__future_base::_State_baseV2::*)(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter>()>*, bool*), std::__future_base::_State_baseV2*, std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter>()>*, bool*> (__once=..., __f=@0x7fa09cfd08f0: (void (std::__future_base::_State_baseV2::*)(std::__future_base::_State_baseV2 * const, std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter>()> *, bool *)) 0x7fa101f183c0 <std::__future_base::_State_baseV2::_M_do_set(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*)>) at /usr/include/c++/15.2.1/mutex:918
#23 std::__future_base::_State_baseV2::_M_set_result (this=0x564cb64d64e0, __res=..., __ignore_failure=true) at /usr/include/c++/15.2.1/future:437
#24 std::__future_base::_Deferred_state<std::thread::_Invoker<std::tuple<QThread::create<KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, const QString&)::<lambda()> >(KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, const QString&)::<lambda()>&&)::<lambda(auto:67&& ...)> > >, void>::_M_complete_async(void) (this=0x564cb64d64e0) at /usr/include/c++/15.2.1/future:1721
#25 0x00007fa0ff28bb05 in std::__future_base::_State_baseV2::wait (this=0x564cb64d64e0) at /usr/include/c++/15.2.1/future:359
#26 std::__basic_future<void>::_M_get_result (this=0x564cb81a4770) at /usr/include/c++/15.2.1/future:750
#27 std::future<void>::get (this=0x564cb81a4770) at /usr/include/c++/15.2.1/future:922
#28 QThreadCreateThread::run (this=0x564cb81a4760) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread.cpp:1387
#29 0x00007fa0ff330ca9 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:437
#30 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:367
#31 QThreadPrivate::start (arg=0x564cb81a4760) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:397
#32 0x00007fa0fe89698b in start_thread (arg=<optimized out>) at pthread_create.c:448
#33 0x00007fa0fe91a9cc in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 11 (Thread 0x7fa0e13fc6c0 (LWP 1615)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007fa0fe89316c in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=<optimized out>, a6=<optimized out>, nr=202) at cancellation.c:49
#2  0x00007fa0fe8937dc in __futex_abstimed_wait_common64 (private=<optimized out>, futex_word=<optimized out>, expected=<optimized out>, op=<optimized out>, abstime=<optimized out>, cancel=<optimized out>) at futex-internal.c:57
#3  __futex_abstimed_wait_common (futex_word=<optimized out>, expected=<optimized out>, clockid=<optimized out>, abstime=<optimized out>, private=<optimized out>, cancel=<optimized out>) at futex-internal.c:87
#4  0x00007fa0fe895e9e in __pthread_cond_wait_common (cond=0x564cb6fe3c68, mutex=0x564cb6fe3c38, clockid=0, abstime=0x0) at pthread_cond_wait.c:421
#5  ___pthread_cond_wait (cond=0x564cb6fe3c68, mutex=0x564cb6fe3c38) at pthread_cond_wait.c:453
#6  0x00007fa0ed1d845e in cnd_wait () at ../mesa-25.2.7/src/c11/impl/threads_posix.c:112
#7  0x00007fa0ed15977d in util_queue_thread_func () at ../mesa-25.2.7/src/util/u_queue.c:275
#8  0x00007fa0ed1d838d in impl_thrd_routine () at ../mesa-25.2.7/src/c11/impl/threads_posix.c:43
#9  0x00007fa0fe89698b in start_thread (arg=<optimized out>) at pthread_create.c:448
#10 0x00007fa0fe91a9cc in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 10 (Thread 0x7fa0f73ff6c0 (LWP 1591)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007fa0fe89316c in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=<optimized out>, a6=<optimized out>, nr=271) at cancellation.c:49
#2  0x00007fa0fe8931b4 in __syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=<optimized out>, a6=<optimized out>, nr=271) at cancellation.c:75
#3  0x00007fa0fe90d9f6 in __GI_ppoll (fds=fds@entry=0x564cb7eafc70, nfds=nfds@entry=4, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#4  0x00007fa0fdb71917 in ppoll (__fds=0x564cb7eafc70, __nfds=4, __timeout=0x0, __ss=0x0) at /usr/include/bits/poll2.h:101
#5  g_main_context_poll_unlocked (priority=<optimized out>, context=0x7fa0f0000d00, timeout_usec=<optimized out>, fds=0x564cb7eafc70, n_fds=4) at ../glib/glib/gmain.c:4811
#6  g_main_context_iterate_unlocked (context=context@entry=0x7fa0f0000d00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4485
#7  0x00007fa0fdb719f5 in g_main_context_iteration (context=0x7fa0f0000d00, may_block=1) at ../glib/glib/gmain.c:4556
#8  0x00007fa0ff44a9d2 in QEventDispatcherGlib::processEvents (this=0x7fa0f0000be0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#9  0x00007fa0ff175a86 in QEventLoop::processEvents (this=0x7fa0f73fe930, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:104
#10 QEventLoop::exec (this=0x7fa0f73fe930, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:186
#11 0x00007fa0ff28af7e in QThread::exec (this=this@entry=0x7fa0ff7feda0 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread.cpp:672
#12 0x00007fa0ff77963e in QDBusConnectionManager::run (this=0x7fa0ff7feda0 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-base/qtbase/src/dbus/qdbusconnectionmanager.cpp:145
#13 0x00007fa0ff330ca9 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:437
#14 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:367
#15 QThreadPrivate::start (arg=0x7fa0ff7feda0 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:397
#16 0x00007fa0fe89698b in start_thread (arg=<optimized out>) at pthread_create.c:448
#17 0x00007fa0fe91a9cc in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 9 (Thread 0x7fa0e0bfb6c0 (LWP 1616)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007fa0fe89316c in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=<optimized out>, a6=<optimized out>, nr=202) at cancellation.c:49
#2  0x00007fa0fe8937dc in __futex_abstimed_wait_common64 (private=<optimized out>, futex_word=<optimized out>, expected=<optimized out>, op=<optimized out>, abstime=<optimized out>, cancel=<optimized out>) at futex-internal.c:57
#3  __futex_abstimed_wait_common (futex_word=<optimized out>, expected=<optimized out>, clockid=<optimized out>, abstime=<optimized out>, private=<optimized out>, cancel=<optimized out>) at futex-internal.c:87
#4  0x00007fa0fe895e9e in __pthread_cond_wait_common (cond=0x7fa0f401e5e0, mutex=0x7fa0f401e5b0, clockid=0, abstime=0x0) at pthread_cond_wait.c:421
#5  ___pthread_cond_wait (cond=0x7fa0f401e5e0, mutex=0x7fa0f401e5b0) at pthread_cond_wait.c:453
#6  0x00007fa0ed1d845e in cnd_wait () at ../mesa-25.2.7/src/c11/impl/threads_posix.c:112
#7  0x00007fa0ed15977d in util_queue_thread_func () at ../mesa-25.2.7/src/util/u_queue.c:275
#8  0x00007fa0ed1d838d in impl_thrd_routine () at ../mesa-25.2.7/src/c11/impl/threads_posix.c:43
#9  0x00007fa0fe89698b in start_thread (arg=<optimized out>) at pthread_create.c:448
#10 0x00007fa0fe91a9cc in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 8 (Thread 0x7fa0d36316c0 (LWP 1618)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007fa0fe89316c in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=<optimized out>, a6=<optimized out>, nr=232) at cancellation.c:49
#2  0x00007fa0fe8931b4 in __syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=<optimized out>, a6=<optimized out>, nr=232) at cancellation.c:75
#3  0x00007fa0fe91acb5 in epoll_wait (epfd=<optimized out>, events=<optimized out>, maxevents=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
#4  0x00007fa0d3727c2a in ?? () from /usr/lib/spa-0.2/support/libspa-support.so
#5  0x00007fa0d3714c7f in ?? () from /usr/lib/spa-0.2/support/libspa-support.so
#6  0x00007fa0d36b5014 in ?? () from /usr/lib/libpipewire-0.3.so.0
#7  0x00007fa0fe89698b in start_thread (arg=<optimized out>) at pthread_create.c:448
#8  0x00007fa0fe91a9cc in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 7 (Thread 0x7fa0e1bfd6c0 (LWP 1614)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007fa0fe89316c in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=<optimized out>, a6=<optimized out>, nr=202) at cancellation.c:49
#2  0x00007fa0fe8937dc in __futex_abstimed_wait_common64 (private=<optimized out>, futex_word=<optimized out>, expected=<optimized out>, op=<optimized out>, abstime=<optimized out>, cancel=<optimized out>) at futex-internal.c:57
#3  __futex_abstimed_wait_common (futex_word=<optimized out>, expected=<optimized out>, clockid=<optimized out>, abstime=<optimized out>, private=<optimized out>, cancel=<optimized out>) at futex-internal.c:87
#4  0x00007fa0fe895e9e in __pthread_cond_wait_common (cond=0x7fa0f42f15e0, mutex=0x7fa0f42f15b0, clockid=0, abstime=0x0) at pthread_cond_wait.c:421
#5  ___pthread_cond_wait (cond=0x7fa0f42f15e0, mutex=0x7fa0f42f15b0) at pthread_cond_wait.c:453
#6  0x00007fa0ed1d845e in cnd_wait () at ../mesa-25.2.7/src/c11/impl/threads_posix.c:112
#7  0x00007fa0ed15977d in util_queue_thread_func () at ../mesa-25.2.7/src/util/u_queue.c:275
#8  0x00007fa0ed1d838d in impl_thrd_routine () at ../mesa-25.2.7/src/c11/impl/threads_posix.c:43
#9  0x00007fa0fe89698b in start_thread (arg=<optimized out>) at pthread_create.c:448
#10 0x00007fa0fe91a9cc in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 6 (Thread 0x7fa0e23fe6c0 (LWP 1613)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007fa0fe89316c in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=<optimized out>, a6=<optimized out>, nr=202) at cancellation.c:49
#2  0x00007fa0fe8937dc in __futex_abstimed_wait_common64 (private=<optimized out>, futex_word=<optimized out>, expected=<optimized out>, op=<optimized out>, abstime=<optimized out>, cancel=<optimized out>) at futex-internal.c:57
#3  __futex_abstimed_wait_common (futex_word=<optimized out>, expected=<optimized out>, clockid=<optimized out>, abstime=<optimized out>, private=<optimized out>, cancel=<optimized out>) at futex-internal.c:87
#4  0x00007fa0fe895e9e in __pthread_cond_wait_common (cond=0x564cb66266f8, mutex=0x564cb66266c8, clockid=0, abstime=0x0) at pthread_cond_wait.c:421
#5  ___pthread_cond_wait (cond=0x564cb66266f8, mutex=0x564cb66266c8) at pthread_cond_wait.c:453
#6  0x00007fa0ed1d845e in cnd_wait () at ../mesa-25.2.7/src/c11/impl/threads_posix.c:112
#7  0x00007fa0ed15977d in util_queue_thread_func () at ../mesa-25.2.7/src/util/u_queue.c:275
#8  0x00007fa0ed1d838d in impl_thrd_routine () at ../mesa-25.2.7/src/c11/impl/threads_posix.c:43
#9  0x00007fa0fe89698b in start_thread (arg=<optimized out>) at pthread_create.c:448
#10 0x00007fa0fe91a9cc in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 5 (Thread 0x7fa0f55276c0 (LWP 1602)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007fa0fe89316c in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=<optimized out>, a6=<optimized out>, nr=202) at cancellation.c:49
#2  0x00007fa0fe8937dc in __futex_abstimed_wait_common64 (private=<optimized out>, futex_word=<optimized out>, expected=<optimized out>, op=<optimized out>, abstime=<optimized out>, cancel=<optimized out>) at futex-internal.c:57
#3  __futex_abstimed_wait_common (futex_word=<optimized out>, expected=<optimized out>, clockid=<optimized out>, abstime=<optimized out>, private=<optimized out>, cancel=<optimized out>) at futex-internal.c:87
#4  0x00007fa0fe895e9e in __pthread_cond_wait_common (cond=0x564cb6436808, mutex=0x564cb64367d8, clockid=0, abstime=0x0) at pthread_cond_wait.c:421
#5  ___pthread_cond_wait (cond=0x564cb6436808, mutex=0x564cb64367d8) at pthread_cond_wait.c:453
#6  0x00007fa0ed1d845e in cnd_wait () at ../mesa-25.2.7/src/c11/impl/threads_posix.c:112
#7  0x00007fa0ed15977d in util_queue_thread_func () at ../mesa-25.2.7/src/util/u_queue.c:275
#8  0x00007fa0ed1d838d in impl_thrd_routine () at ../mesa-25.2.7/src/c11/impl/threads_posix.c:43
#9  0x00007fa0fe89698b in start_thread (arg=<optimized out>) at pthread_create.c:448
#10 0x00007fa0fe91a9cc in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 4 (Thread 0x7fa0f5d286c0 (LWP 1601)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007fa0fe89316c in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=<optimized out>, a6=<optimized out>, nr=202) at cancellation.c:49
#2  0x00007fa0fe8937dc in __futex_abstimed_wait_common64 (private=<optimized out>, futex_word=<optimized out>, expected=<optimized out>, op=<optimized out>, abstime=<optimized out>, cancel=<optimized out>) at futex-internal.c:57
#3  __futex_abstimed_wait_common (futex_word=<optimized out>, expected=<optimized out>, clockid=<optimized out>, abstime=<optimized out>, private=<optimized out>, cancel=<optimized out>) at futex-internal.c:87
#4  0x00007fa0fe895e9e in __pthread_cond_wait_common (cond=0x564cb6446ff0, mutex=0x564cb6446fc0, clockid=0, abstime=0x0) at pthread_cond_wait.c:421
#5  ___pthread_cond_wait (cond=0x564cb6446ff0, mutex=0x564cb6446fc0) at pthread_cond_wait.c:453
#6  0x00007fa0ed1d845e in cnd_wait () at ../mesa-25.2.7/src/c11/impl/threads_posix.c:112
#7  0x00007fa0ed15977d in util_queue_thread_func () at ../mesa-25.2.7/src/util/u_queue.c:275
#8  0x00007fa0ed1d838d in impl_thrd_routine () at ../mesa-25.2.7/src/c11/impl/threads_posix.c:43
#9  0x00007fa0fe89698b in start_thread (arg=<optimized out>) at pthread_create.c:448
#10 0x00007fa0fe91a9cc in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 3 (Thread 0x7fa0f4d266c0 (LWP 1603)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007fa0fe89316c in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=<optimized out>, a6=<optimized out>, nr=202) at cancellation.c:49
#2  0x00007fa0fe8937dc in __futex_abstimed_wait_common64 (private=<optimized out>, futex_word=<optimized out>, expected=<optimized out>, op=<optimized out>, abstime=<optimized out>, cancel=<optimized out>) at futex-internal.c:57
#3  __futex_abstimed_wait_common (futex_word=<optimized out>, expected=<optimized out>, clockid=<optimized out>, abstime=<optimized out>, private=<optimized out>, cancel=<optimized out>) at futex-internal.c:87
#4  0x00007fa0fe895e9e in __pthread_cond_wait_common (cond=0x564cb6435178, mutex=0x564cb6435150, clockid=0, abstime=0x0) at pthread_cond_wait.c:421
#5  ___pthread_cond_wait (cond=0x564cb6435178, mutex=0x564cb6435150) at pthread_cond_wait.c:453
#6  0x00007fa0fecdaea1 in __gthread_cond_wait (__cond=<optimized out>, __mutex=<optimized out>) at /usr/src/debug/gcc/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu/bits/gthr-default.h:911
#7  std::__condvar::wait (this=<optimized out>, __m=...) at /usr/src/debug/gcc/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/std_mutex.h:173
#8  std::condition_variable::wait (this=<optimized out>, __lock=...) at /usr/src/debug/gcc/gcc/libstdc++-v3/src/c++11/condition_variable.cc:41
#9  0x00007fa101f1eb16 in KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, QString const&)::{lambda()#1}::operator()() const () at /usr/src/debug/kwin/kwin-6.5.3/src/backends/drm/drm_commit_thread.cpp:45
#10 0x00007fa101f1f17a in std::__invoke_impl<void, KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, const QString&)::<lambda()> > (__f=...) at /usr/include/c++/15.2.1/bits/invoke.h:63
#11 std::__invoke<KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, const QString&)::<lambda()> > (__fn=...) at /usr/include/c++/15.2.1/bits/invoke.h:98
#12 std::invoke<KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, const QString&)::<lambda()> > (__fn=...) at /usr/include/c++/15.2.1/functional:122
#13 operator()<> (__closure=<optimized out>) at /usr/include/qt6/QtCore/qthread.h:139
#14 std::__invoke_impl<void, QThread::create<KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, const QString&)::<lambda()> >(KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, const QString&)::<lambda()>&&)::<lambda(auto:67&& ...)> > (__f=...) at /usr/include/c++/15.2.1/bits/invoke.h:63
#15 std::__invoke<QThread::create<KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, const QString&)::<lambda()> >(KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, const QString&)::<lambda()>&&)::<lambda(auto:67&& ...)> > (__fn=...) at /usr/include/c++/15.2.1/bits/invoke.h:98
#16 std::thread::_Invoker<std::tuple<QThread::create<KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, const QString&)::<lambda()> >(KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, const QString&)::<lambda()>&&)::<lambda(auto:67&& ...)> > >::_M_invoke<0> (this=<optimized out>) at /usr/include/c++/15.2.1/bits/std_thread.h:303
#17 std::thread::_Invoker<std::tuple<QThread::create<KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, const QString&)::<lambda()> >(KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, const QString&)::<lambda()>&&)::<lambda(auto:67&& ...)> > >::operator() (this=<optimized out>) at /usr/include/c++/15.2.1/bits/std_thread.h:310
#18 std::__future_base::_Task_setter<std::unique_ptr<std::__future_base::_Result<void>, std::__future_base::_Result_base::_Deleter>, std::thread::_Invoker<std::tuple<QThread::create<KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, const QString&)::<lambda()> >(KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, const QString&)::<lambda()>&&)::<lambda(auto:67&& ...)> > >, void>::operator() (this=0x7fa0f4d25930) at /usr/include/c++/15.2.1/future:1441
#19 std::__invoke_impl<std::unique_ptr<std::__future_base::_Result<void>, std::__future_base::_Result_base::_Deleter>, std::__future_base::_Task_setter<std::unique_ptr<std::__future_base::_Result<void>, std::__future_base::_Result_base::_Deleter>, std::thread::_Invoker<std::tuple<QThread::create<KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, const QString&)::<lambda()> >(KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, const QString&)::<lambda()>&&)::<lambda(auto:67&& ...)> > >, void>&> (__f=...) at /usr/include/c++/15.2.1/bits/invoke.h:63
#20 std::__invoke_r<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter>, std::__future_base::_Task_setter<std::unique_ptr<std::__future_base::_Result<void>, std::__future_base::_Result_base::_Deleter>, std::thread::_Invoker<std::tuple<QThread::create<KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, const QString&)::<lambda()> >(KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, const QString&)::<lambda()>&&)::<lambda(auto:67&& ...)> > >, void>&> (__fn=...) at /usr/include/c++/15.2.1/bits/invoke.h:116
#21 std::_Function_handler<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter>(), std::__future_base::_Task_setter<std::unique_ptr<std::__future_base::_Result<void>, std::__future_base::_Result_base::_Deleter>, std::thread::_Invoker<std::tuple<QThread::create<KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, const QString&)::<lambda()> >(KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, const QString&)::<lambda()>&&)::<lambda(auto:67&& ...)> > >, void> >::_M_invoke(const std::_Any_data &) (__functor=...) at /usr/include/c++/15.2.1/bits/std_function.h:293
#22 0x00007fa101f183f6 in std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter>()>::operator() (this=<optimized out>) at /usr/include/c++/15.2.1/bits/std_function.h:593
#23 std::__future_base::_State_baseV2::_M_do_set (this=0x564cb646c060, __f=<optimized out>, __did_set=0x7fa0f4d258d7) at /usr/include/c++/15.2.1/future:598
#24 0x00007fa0fe89be74 in __pthread_once_slow (once_control=0x564cb646c078, init_routine=0x7fa0fece3c50 <std::__once_proxy()>) at pthread_once.c:116
#25 0x00007fa0fe89bee9 in ___pthread_once (once_control=<optimized out>, init_routine=<optimized out>) at pthread_once.c:143
#26 0x00007fa101f20d14 in __gthread_once (__once=0x564cb646c078, __func=<optimized out>) at /usr/include/c++/15.2.1/x86_64-pc-linux-gnu/bits/gthr-default.h:746
#27 std::call_once<void (std::__future_base::_State_baseV2::*)(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter>()>*, bool*), std::__future_base::_State_baseV2*, std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter>()>*, bool*> (__once=..., __f=@0x7fa0f4d258f0: (void (std::__future_base::_State_baseV2::*)(std::__future_base::_State_baseV2 * const, std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter>()> *, bool *)) 0x7fa101f183c0 <std::__future_base::_State_baseV2::_M_do_set(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*)>) at /usr/include/c++/15.2.1/mutex:918
#28 std::__future_base::_State_baseV2::_M_set_result (this=0x564cb646c060, __res=..., __ignore_failure=true) at /usr/include/c++/15.2.1/future:437
#29 std::__future_base::_Deferred_state<std::thread::_Invoker<std::tuple<QThread::create<KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, const QString&)::<lambda()> >(KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, const QString&)::<lambda()>&&)::<lambda(auto:67&& ...)> > >, void>::_M_complete_async(void) (this=0x564cb646c060) at /usr/include/c++/15.2.1/future:1721
#30 0x00007fa0ff28bb05 in std::__future_base::_State_baseV2::wait (this=0x564cb646c060) at /usr/include/c++/15.2.1/future:359
#31 std::__basic_future<void>::_M_get_result (this=0x564cb64a8b80) at /usr/include/c++/15.2.1/future:750
#32 std::future<void>::get (this=0x564cb64a8b80) at /usr/include/c++/15.2.1/future:922
#33 QThreadCreateThread::run (this=0x564cb64a8b70) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread.cpp:1387
#34 0x00007fa0ff330ca9 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:437
#35 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:367
#36 QThreadPrivate::start (arg=0x564cb64a8b70) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:397
#37 0x00007fa0fe89698b in start_thread (arg=<optimized out>) at pthread_create.c:448
#38 0x00007fa0fe91a9cc in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 2 (Thread 0x7fa0e2bff6c0 (LWP 1604)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007fa0fe89316c in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=<optimized out>, a6=<optimized out>, nr=271) at cancellation.c:49
#2  0x00007fa0fe8931b4 in __syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=<optimized out>, a6=<optimized out>, nr=271) at cancellation.c:75
#3  0x00007fa0fe90d9f6 in __GI_ppoll (fds=fds@entry=0x7fa0d8001550, nfds=nfds@entry=2, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#4  0x00007fa0fdb71917 in ppoll (__fds=0x7fa0d8001550, __nfds=2, __timeout=0x0, __ss=0x0) at /usr/include/bits/poll2.h:101
#5  g_main_context_poll_unlocked (priority=<optimized out>, context=0x7fa0d8000d00, timeout_usec=<optimized out>, fds=0x7fa0d8001550, n_fds=2) at ../glib/glib/gmain.c:4811
#6  g_main_context_iterate_unlocked (context=context@entry=0x7fa0d8000d00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4485
#7  0x00007fa0fdb719f5 in g_main_context_iteration (context=0x7fa0d8000d00, may_block=1) at ../glib/glib/gmain.c:4556
#8  0x00007fa0ff44a9d2 in QEventDispatcherGlib::processEvents (this=0x7fa0d8000be0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#9  0x00007fa0ff175a86 in QEventLoop::processEvents (this=0x7fa0e2bfe980, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:104
#10 QEventLoop::exec (this=0x7fa0e2bfe980, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:186
#11 0x00007fa0ff28af7e in QThread::exec (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread.cpp:672
#12 0x00007fa0ff330ca9 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:437
#13 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:367
#14 QThreadPrivate::start (arg=0x564cb64d71b8) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:397
#15 0x00007fa0fe89698b in start_thread (arg=<optimized out>) at pthread_create.c:448
#16 0x00007fa0fe91a9cc in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 1 (Thread 0x7fa0f79bfb80 (LWP 1555)):
[KCrash Handler]
#4  QObjectPrivate::deleteChildren (this=this@entry=0x564cb801bf40) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qarraydatapointer.h:120
#5  0x00007fa0ff1c339e in QObject::~QObject (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1120
#6  0x00007fa0ff1de9ea in QTimer::~QTimer (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qtimer.cpp:138
#7  QTimer::~QTimer (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qtimer.cpp:138
#8  0x00007fa0ff1bc6e2 in QObjectPrivate::deleteChildren (this=this@entry=0x564cb83d11b0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:2210
#9  0x00007fa0ff1c339e in QObject::~QObject (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1120
#10 0x00007fa101ebc835 in KWin::XdgToplevelWindow::~XdgToplevelWindow (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kwin/kwin-6.5.3/src/xdgshellwindow.cpp:512
#11 0x00007fa101c1f922 in KWin::EffectWindowDeletedRef::~EffectWindowDeletedRef (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kwin/kwin-6.5.3/src/effect/effectwindow.h:872
#12 std::destroy_at<KWin::EffectWindowDeletedRef> (__location=0x564cb879f5c8) at /usr/include/c++/15.2.1/bits/stl_construct.h:88
#13 std::_Destroy<KWin::EffectWindowDeletedRef> (__pointer=0x564cb879f5c8) at /usr/include/c++/15.2.1/bits/stl_construct.h:164
#14 std::_Destroy<KWin::EffectWindowDeletedRef*> (__first=0x564cb879f5c8, __last=0x564cb879f5d0) at /usr/include/c++/15.2.1/bits/stl_construct.h:226
#15 std::_Destroy<KWin::EffectWindowDeletedRef*, KWin::EffectWindowDeletedRef> (__first=0x564cb879f5c0, __last=0x564cb879f5d0) at /usr/include/c++/15.2.1/bits/alloc_traits.h:1045
#16 std::vector<KWin::EffectWindowDeletedRef, std::allocator<KWin::EffectWindowDeletedRef> >::~vector (this=<optimized out>, this=<optimized out>) at /usr/include/c++/15.2.1/bits/stl_vector.h:802
#17 KWin::AnimationEffect::postPaintScreen (this=<optimized out>) at /usr/src/debug/kwin/kwin-6.5.3/src/effect/animationeffect.cpp:711
#18 0x00007fa101c22e9c in KWin::EffectsHandler::postPaintScreen (this=0x564cb73187d0) at /usr/src/debug/kwin/kwin-6.5.3/src/effect/effecthandler.cpp:379
#19 0x00007fa101c22e9c in KWin::EffectsHandler::postPaintScreen (this=0x564cb73187d0) at /usr/src/debug/kwin/kwin-6.5.3/src/effect/effecthandler.cpp:379
#20 0x00007fa101d8b8d4 in KWin::WorkspaceScene::postPaint (this=0x7fa0f00186e0) at /usr/src/debug/kwin/kwin-6.5.3/src/scene/workspacescene.cpp:590
#21 KWin::SceneView::postPaint (this=<optimized out>) at /usr/src/debug/kwin/kwin-6.5.3/src/scene/scene.cpp:121
#22 0x00007fa101b9515c in KWin::Compositor::composite (this=<optimized out>, renderLoop=<optimized out>) at /usr/src/debug/kwin/kwin-6.5.3/src/compositor.cpp:918
#23 0x00007fa0ff1d716f in QtPrivate::QSlotObjectBase::call (this=<optimized out>, r=<optimized out>, a=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:461
#24 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4255
#25 0x00007fa101bbcde6 in QMetaObject::activate<void, KWin::RenderLoop*> (sender=<optimized out>, mo=<optimized out>, local_signal_index=<optimized out>, ret=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs.h:319
#26 KWin::RenderLoop::frameRequested (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kwin/build/src/kwin_autogen/include/moc_renderloop.cpp:171
#27 0x00007fa0ff1c44f6 in QObject::event (this=<optimized out>, e=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1386
#28 0x00007fa1003020a0 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x564cb8111d20, e=0x7fff61222600) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3307
#29 0x00007fa0ff16a6c8 in QCoreApplication::notifyInternal2 (receiver=0x564cb8111d20, event=0x7fff61222600) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1109
#30 0x00007fa0ff32c6af in QCoreApplication::sendEvent (receiver=<optimized out>, event=0x7fff61222600) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1549
#31 QTimerInfoList::activateTimers (this=this@entry=0x564cb62c89a8) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qtimerinfo_unix.cpp:426
#32 0x00007fa0ff32f901 in QEventDispatcherUNIXPrivate::activateTimers (this=0x564cb62c88d0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_unix.cpp:221
#33 QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=..., flags@entry=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_unix.cpp:503
#34 0x00007fa0fff34773 in QUnixEventDispatcherQPA::processEvents (this=<optimized out>, flags=...) at /usr/src/debug/qt6-base/qtbase/src/gui/platform/unix/qunixeventdispatcher.cpp:27
#35 0x00007fa0ff175a86 in QEventLoop::processEvents (this=0x7fff612227e0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:104
#36 QEventLoop::exec (this=0x7fff612227e0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:186
#37 0x00007fa0ff16f171 in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1452
#38 0x00007fa1002fd31a in QApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2574
#39 0x0000564cb3e1c9e7 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kwin/kwin-6.5.3/src/main_wayland.cpp:635

Reported using DrKonqi
Comment 1 maneren731 2025-12-04 14:03:54 UTC
I recompiled kwin 6.5.3 with ASAN and a different crash log:

=================================================================
==1999==ERROR: AddressSanitizer: heap-use-after-free on address 0x7d60c66ab480 at pc 0x7fc0d1a24fb5 bp 0x7ffebcf5fad0 sp 0x7ffebcf5fac0
READ of size 8 at 0x7d60c66ab480 thread T0
    #0 0x7fc0d1a24fb4 in KWin::Window::isSplash() const /home/maneren/git-repos/kwin-git/src/kwin/src/window.h:1974
    #1 0x7fc0d1a24fb4 in KWin::Workspace::takeActivity(KWin::Window*, QFlags<KWin::Workspace::ActivityFlag>) /home/maneren/git-repos/kwin-git/src/kwin/src/activation.cpp:405
    #2 0x7fc0d1a258ce in KWin::Workspace::requestFocus(KWin::Window*, bool) /home/maneren/git-repos/kwin-git/src/kwin/src/activation.cpp:370
    #3 0x7fc0d2dcfbed in KWin::Workspace::updateWindowVisibilityAndActivateOnDesktopChange(KWin::VirtualDesktop*) /home/maneren/git-repos/kwin-git/src/kwin/src/workspace.cpp:978
    #4 0x7fc0d2dd0149 in KWin::Workspace::slotCurrentDesktopChanged(KWin::VirtualDesktop*, KWin::VirtualDesktop*) /home/maneren/git-repos/kwin-git/src/kwin/src/workspace.cpp:899
    #5 0x7fc0d2e5d591 in QtPrivate::FunctorCall<std::integer_sequence<unsigned long, 0ul, 1ul>, QtPrivate::List<KWin::VirtualDesktop*, KWin::VirtualDesktop*>, void, void (KWin::Workspace::*)(KWin::VirtualDesktop*, KWin::VirtualDesktop*)>::call(void (KWin::Workspace::*)(KWin::VirtualDesktop*, KWin::VirtualDesktop*), KWin::Workspace*, void**)::{lambda()#1}::operator()() const /usr/include/qt6/QtCore/qobjectdefs_impl.h:127
    #6 0x7fc0d2e5d591 in void QtPrivate::FunctorCallBase::call_internal<void, QtPrivate::FunctorCall<std::integer_sequence<unsigned long, 0ul, 1ul>, QtPrivate::List<KWin::VirtualDesktop*, KWin::VirtualDesktop*>, void, void (KWin::Workspace::*)(KWin::VirtualDesktop*, KWin::VirtualDesktop*)>::call(void (KWin::Workspace::*)(KWin::VirtualDesktop*, KWin::VirtualDesktop*), KWin::Workspace*, void**)::{lambda()#1}>(void**, QtPrivate::FunctorCall<std::integer_sequence<unsigned long, 0ul, 1ul>, QtPrivate::List<KWin::VirtualDesktop*, KWin::VirtualDesktop*>, void, void (KWin::Workspace::*)(KWin::VirtualDesktop*, KWin::VirtualDesktop*)>::call(void (KWin::Workspace::*)(KWin::VirtualDesktop*, KWin::VirtualDesktop*), KWin::Workspace*, void**)::{lambda()#1}&&) /usr/include/qt6/QtCore/qobjectdefs_impl.h:65
    #7 0x7fc0d2e5d591 in QtPrivate::FunctorCall<std::integer_sequence<unsigned long, 0ul, 1ul>, QtPrivate::List<KWin::VirtualDesktop*, KWin::VirtualDesktop*>, void, void (KWin::Workspace::*)(KWin::VirtualDesktop*, KWin::VirtualDesktop*)>::call(void (KWin::Workspace::*)(KWin::VirtualDesktop*, KWin::VirtualDesktop*), KWin::Workspace*, void**) /usr/include/qt6/QtCore/qobjectdefs_impl.h:126
    #8 0x7fc0d2e5d591 in void QtPrivate::FunctionPointer<void (KWin::Workspace::*)(KWin::VirtualDesktop*, KWin::VirtualDesktop*)>::call<QtPrivate::List<KWin::VirtualDesktop*, KWin::VirtualDesktop*>, void>(void (KWin::Workspace::*)(KWin::VirtualDesktop*, KWin::VirtualDesktop*), KWin::Workspace*, void**) /usr/include/qt6/QtCore/qobjectdefs_impl.h:174
    #9 0x7fc0d2e5d591 in QtPrivate::QCallableObject<void (KWin::Workspace::*)(KWin::VirtualDesktop*, KWin::VirtualDesktop*), QtPrivate::List<KWin::VirtualDesktop*, KWin::VirtualDesktop*>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/qt6/QtCore/qobjectdefs_impl.h:545
    #10 0x7fc0ce5eded3  (/usr/lib/libQt6Core.so.6+0x1eded3) (BuildId: 471094a19b22e1559bdb74d3c25786291c6be482)
    #11 0x7fc0d2c2bdfe in void QMetaObject::activate<void, KWin::VirtualDesktop*, KWin::VirtualDesktop*>(QObject*, QMetaObject const*, int, void*, KWin::VirtualDesktop* const&, KWin::VirtualDesktop* const&) /usr/include/qt6/QtCore/qobjectdefs.h:319
    #12 0x7fc0d2c2bdfe in KWin::VirtualDesktopManager::currentChanged(KWin::VirtualDesktop*, KWin::VirtualDesktop*) /home/maneren/git-repos/kwin-git/src/build/src/kwin_autogen/include/moc_virtualdesktops.cpp:530
    #13 0x7fc0d2c3fa14 in KWin::VirtualDesktopManager::setCurrent(KWin::VirtualDesktop*) /home/maneren/git-repos/kwin-git/src/kwin/src/virtualdesktops.cpp:599
    #14 0x7fc0d1a22f15 in KWin::Workspace::activateWindow(KWin::Window*, bool) /home/maneren/git-repos/kwin-git/src/kwin/src/activation.cpp:315
    #15 0x7fc0d3b3ba23 in KWin::TabBox::TabBox::accept(bool) /home/maneren/git-repos/kwin-git/src/kwin/src/tabbox/tabbox.cpp:986
    #16 0x7fc0d20da217 in KWin::TabBoxInputFilter::keyboardKey(KWin::KeyboardKeyEvent*) /home/maneren/git-repos/kwin-git/src/kwin/src/input.cpp:1843
    #17 0x7fc0d21bff68 in void KWin::InputRedirection::processFilters<bool (KWin::InputEventFilter::*)(KWin::KeyboardKeyEvent*), KWin::KeyboardKeyEvent*>(bool (KWin::InputEventFilter::*)(KWin::KeyboardKeyEvent*), KWin::KeyboardKeyEvent* const&) /home/maneren/git-repos/kwin-git/src/kwin/src/input.h:153
    #18 0x7fc0d21bff68 in KWin::KeyboardInputRedirection::processKey(unsigned int, KWin::KeyboardKeyState, std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice*) /home/maneren/git-repos/kwin-git/src/kwin/src/keyboard_input.cpp:329
    #19 0x7fc0d20e0641 in QtPrivate::FunctorCall<std::integer_sequence<unsigned long, 0ul, 1ul, 2ul, 3ul>, QtPrivate::List<unsigned int, KWin::KeyboardKeyState, std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice*>, void, void (KWin::KeyboardInputRedirection::*)(unsigned int, KWin::KeyboardKeyState, std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice*)>::call(void (KWin::KeyboardInputRedirection::*)(unsigned int, KWin::KeyboardKeyState, std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice*), KWin::KeyboardInputRedirection*, void**)::{lambda()#1}::operator()() const /usr/include/qt6/QtCore/qobjectdefs_impl.h:127
    #20 0x7fc0d20e0641 in void QtPrivate::FunctorCallBase::call_internal<void, QtPrivate::FunctorCall<std::integer_sequence<unsigned long, 0ul, 1ul, 2ul, 3ul>, QtPrivate::List<unsigned int, KWin::KeyboardKeyState, std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice*>, void, void (KWin::KeyboardInputRedirection::*)(unsigned int, KWin::KeyboardKeyState, std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice*)>::call(void (KWin::KeyboardInputRedirection::*)(unsigned int, KWin::KeyboardKeyState, std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice*), KWin::KeyboardInputRedirection*, void**)::{lambda()#1}>(void**, QtPrivate::FunctorCall<std::integer_sequence<unsigned long, 0ul, 1ul, 2ul, 3ul>, QtPrivate::List<unsigned int, KWin::KeyboardKeyState, std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice*>, void, void (KWin::KeyboardInputRedirection::*)(unsigned int, KWin::KeyboardKeyState, std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice*)>::call(void (KWin::KeyboardInputRedirection::*)(unsigned int, KWin::KeyboardKeyState, std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice*), KWin::KeyboardInputRedirection*, void**)::{lambda()#1}&&) /usr/include/qt6/QtCore/qobjectdefs_impl.h:65
    #21 0x7fc0d20e0641 in QtPrivate::FunctorCall<std::integer_sequence<unsigned long, 0ul, 1ul, 2ul, 3ul>, QtPrivate::List<unsigned int, KWin::KeyboardKeyState, std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice*>, void, void (KWin::KeyboardInputRedirection::*)(unsigned int, KWin::KeyboardKeyState, std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice*)>::call(void (KWin::KeyboardInputRedirection::*)(unsigned int, KWin::KeyboardKeyState, std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice*), KWin::KeyboardInputRedirection*, void**) /usr/include/qt6/QtCore/qobjectdefs_impl.h:126
    #22 0x7fc0d20e0641 in void QtPrivate::FunctionPointer<void (KWin::KeyboardInputRedirection::*)(unsigned int, KWin::KeyboardKeyState, std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice*)>::call<QtPrivate::List<unsigned int, KWin::KeyboardKeyState, std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice*>, void>(void (KWin::KeyboardInputRedirection::*)(unsigned int, KWin::KeyboardKeyState, std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice*), KWin::KeyboardInputRedirection*, void**) /usr/include/qt6/QtCore/qobjectdefs_impl.h:174
    #23 0x7fc0d20e0641 in QtPrivate::QCallableObject<void (KWin::KeyboardInputRedirection::*)(unsigned int, KWin::KeyboardKeyState, std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice*), QtPrivate::List<unsigned int, KWin::KeyboardKeyState, std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice*>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/qt6/QtCore/qobjectdefs_impl.h:545
    #24 0x7fc0ce5edcd4  (/usr/lib/libQt6Core.so.6+0x1edcd4) (BuildId: 471094a19b22e1559bdb74d3c25786291c6be482)
    #25 0x7fc0d1b7989e in void QMetaObject::activate<void, unsigned int, KWin::KeyboardKeyState, std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice*>(QObject*, QMetaObject const*, int, void*, unsigned int const&, KWin::KeyboardKeyState const&, std::chrono::duration<long, std::ratio<1l, 1000000l> > const&, KWin::InputDevice* const&) /usr/include/qt6/QtCore/qobjectdefs.h:319
    #26 0x7fc0d1b7989e in KWin::InputDevice::keyChanged(unsigned int, KWin::KeyboardKeyState, std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice*) /home/maneren/git-repos/kwin-git/src/build/src/kwin_autogen/include/moc_inputdevice.cpp:719
    #27 0x7fc0d3367de2 in KWin::LibInput::Connection::processEvents() /home/maneren/git-repos/kwin-git/src/kwin/src/backends/libinput/connection.cpp:286
    #28 0x7fc0d33fa2c8 in operator() /home/maneren/git-repos/kwin-git/src/kwin/src/backends/libinput/libinputbackend.cpp:25
    #29 0x7fc0d33fa2c8 in operator() /usr/include/qt6/QtCore/qobjectdefs_impl.h:116
    #30 0x7fc0d33fa2c8 in call_internal<void, QtPrivate::FunctorCall<std::integer_sequence<long unsigned int>, QtPrivate::List<>, void, KWin::LibinputBackend::LibinputBackend(KWin::Session*, QObject*)::<lambda()> >::call(KWin::LibinputBackend::LibinputBackend(KWin::Session*, QObject*)::<lambda()>&, void**)::<lambda()> > /usr/include/qt6/QtCore/qobjectdefs_impl.h:65
    #31 0x7fc0d33fa2c8 in call /usr/include/qt6/QtCore/qobjectdefs_impl.h:115
    #32 0x7fc0d33fa2c8 in call<QtPrivate::List<>, void> /usr/include/qt6/QtCore/qobjectdefs_impl.h:337
    #33 0x7fc0d33fa2c8 in impl /usr/include/qt6/QtCore/qobjectdefs_impl.h:547
    #34 0x7fc0ce5ded90 in QObject::event(QEvent*) (/usr/lib/libQt6Core.so.6+0x1ded90) (BuildId: 471094a19b22e1559bdb74d3c25786291c6be482)
    #35 0x7fc0cf9022bf in QApplicationPrivate::notify_helper(QObject*, QEvent*) (/usr/lib/libQt6Widgets.so.6+0x1022bf) (BuildId: 98c1e0998bb073a33b05bf2d320b0eb8fec74803)
    #36 0x7fc0ce57be47 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (/usr/lib/libQt6Core.so.6+0x17be47) (BuildId: 471094a19b22e1559bdb74d3c25786291c6be482)
    #37 0x7fc0ce57c21f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (/usr/lib/libQt6Core.so.6+0x17c21f) (BuildId: 471094a19b22e1559bdb74d3c25786291c6be482)
    #38 0x7fc0ce769f0c in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (/usr/lib/libQt6Core.so.6+0x369f0c) (BuildId: 471094a19b22e1559bdb74d3c25786291c6be482)
    #39 0x7fc0cf5cffb2 in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (/usr/lib/libQt6Gui.so.6+0x7cffb2) (BuildId: 713076f1c15a019988b2126516da0576cd697d8e)
    #40 0x7fc0ce587595 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (/usr/lib/libQt6Core.so.6+0x187595) (BuildId: 471094a19b22e1559bdb74d3c25786291c6be482)
    #41 0x7fc0ce580c41 in QCoreApplication::exec() (/usr/lib/libQt6Core.so.6+0x180c41) (BuildId: 471094a19b22e1559bdb74d3c25786291c6be482)
    #42 0x55c446bd4a7b in main /home/maneren/git-repos/kwin-git/src/kwin/src/main_wayland.cpp:635
    #43 0x7fc0cdc27634  (/usr/lib/libc.so.6+0x27634) (BuildId: 2f722da304c0a508c891285e6840199c35019c8d)
    #44 0x7fc0cdc276e8 in __libc_start_main (/usr/lib/libc.so.6+0x276e8) (BuildId: 2f722da304c0a508c891285e6840199c35019c8d)
    #45 0x55c446a350a4 in _start (/usr/bin/kwin_wayland+0xca0a4) (BuildId: a21dc046aea76c20a3768c17b77e0b85f21a3575)
0x7d60c66ab480 is located 0 bytes inside of 1288-byte region [0x7d60c66ab480,0x7d60c66ab988)
freed by thread T0 here:
    #0 0x7fc0d3f22a2d in operator delete(void*, unsigned long) /usr/src/debug/gcc/gcc/libsanitizer/asan/asan_new_delete.cpp:155
    #1 0x55c446b85a4e in KWin::QPA::Window::unmap() /home/maneren/git-repos/kwin-git/src/kwin/src/plugins/qpa/window.cpp:166
    #2 0x7fc0cf01f270 in QWindowPrivate::setVisible(bool) (/usr/lib/libQt6Gui.so.6+0x21f270) (BuildId: 713076f1c15a019988b2126516da0576cd697d8e)
    #3 0x7fc0cf0237ec in QWindowPrivate::destroy() (/usr/lib/libQt6Gui.so.6+0x2237ec) (BuildId: 713076f1c15a019988b2126516da0576cd697d8e)
    #4 0x7fc0cf02a439 in QWindow::event(QEvent*) (/usr/lib/libQt6Gui.so.6+0x22a439) (BuildId: 713076f1c15a019988b2126516da0576cd697d8e)
    #5 0x7fc0cf9022bf in QApplicationPrivate::notify_helper(QObject*, QEvent*) (/usr/lib/libQt6Widgets.so.6+0x1022bf) (BuildId: 98c1e0998bb073a33b05bf2d320b0eb8fec74803)
    #6 0x7fc0ce57be47 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (/usr/lib/libQt6Core.so.6+0x17be47) (BuildId: 471094a19b22e1559bdb74d3c25786291c6be482)
    #7 0x7fc0cefb40b1 in QGuiApplicationPrivate::processCloseEvent(QWindowSystemInterfacePrivate::CloseEvent*) (/usr/lib/libQt6Gui.so.6+0x1b40b1) (BuildId: 713076f1c15a019988b2126516da0576cd697d8e)
    #8 0x7fc0cf0073a2 in QPlatformWindow::close() (/usr/lib/libQt6Gui.so.6+0x2073a2) (BuildId: 713076f1c15a019988b2126516da0576cd697d8e)
    #9 0x7fc0cf0275f2 in QWindow::close() (/usr/lib/libQt6Gui.so.6+0x2275f2) (BuildId: 713076f1c15a019988b2126516da0576cd697d8e)
    #10 0x7fc0d263e947 in KWin::PopupInputFilter::cancelPopups() /home/maneren/git-repos/kwin-git/src/kwin/src/popup_input_filter.cpp:176
    #11 0x7fc0d2643d4a in QtPrivate::FunctorCall<std::integer_sequence<unsigned long>, QtPrivate::List<>, void, void (KWin::PopupInputFilter::*)()>::call(void (KWin::PopupInputFilter::*)(), KWin::PopupInputFilter*, void**)::{lambda()#1}::operator()() const /usr/include/qt6/QtCore/qobjectdefs_impl.h:127
    #12 0x7fc0d2643d4a in void QtPrivate::FunctorCallBase::call_internal<void, QtPrivate::FunctorCall<std::integer_sequence<unsigned long>, QtPrivate::List<>, void, void (KWin::PopupInputFilter::*)()>::call(void (KWin::PopupInputFilter::*)(), KWin::PopupInputFilter*, void**)::{lambda()#1}>(void**, QtPrivate::FunctorCall<std::integer_sequence<unsigned long>, QtPrivate::List<>, void, void (KWin::PopupInputFilter::*)()>::call(void (KWin::PopupInputFilter::*)(), KWin::PopupInputFilter*, void**)::{lambda()#1}&&) /usr/include/qt6/QtCore/qobjectdefs_impl.h:65
    #13 0x7fc0d2643d4a in QtPrivate::FunctorCall<std::integer_sequence<unsigned long>, QtPrivate::List<>, void, void (KWin::PopupInputFilter::*)()>::call(void (KWin::PopupInputFilter::*)(), KWin::PopupInputFilter*, void**) /usr/include/qt6/QtCore/qobjectdefs_impl.h:126
    #14 0x7fc0d2643d4a in void QtPrivate::FunctionPointer<void (KWin::PopupInputFilter::*)()>::call<QtPrivate::List<>, void>(void (KWin::PopupInputFilter::*)(), KWin::PopupInputFilter*, void**) /usr/include/qt6/QtCore/qobjectdefs_impl.h:174
    #15 0x7fc0d2643d4a in QtPrivate::QCallableObject<void (KWin::PopupInputFilter::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/qt6/QtCore/qobjectdefs_impl.h:545
    #16 0x7fc0ce5eded3  (/usr/lib/libQt6Core.so.6+0x1eded3) (BuildId: 471094a19b22e1559bdb74d3c25786291c6be482)
    #17 0x7fc0d2da51ac in void QMetaObject::activate<void, KWin::Window*>(QObject*, QMetaObject const*, int, void*, KWin::Window* const&) /usr/include/qt6/QtCore/qobjectdefs.h:319
    #18 0x7fc0d2da51ac in KWin::Workspace::windowActivated(KWin::Window*) /home/maneren/git-repos/kwin-git/src/build/src/kwin_autogen/include/moc_workspace.cpp:611
    #19 0x7fc0d1a1eeee in KWin::Workspace::setActiveWindow(KWin::Window*) /home/maneren/git-repos/kwin-git/src/kwin/src/activation.cpp:279
    #20 0x7fc0d2cea139 in KWin::Window::setActive(bool) /home/maneren/git-repos/kwin-git/src/kwin/src/window.cpp:501
    #21 0x7fc0d1a1ec16 in KWin::Workspace::setActiveWindow(KWin::Window*) /home/maneren/git-repos/kwin-git/src/kwin/src/activation.cpp:245
    #22 0x7fc0d2dcf745 in KWin::Workspace::activateWindowOnDesktop(KWin::VirtualDesktop*) /home/maneren/git-repos/kwin-git/src/kwin/src/workspace.cpp:999
    #23 0x7fc0d2dcfbed in KWin::Workspace::updateWindowVisibilityAndActivateOnDesktopChange(KWin::VirtualDesktop*) /home/maneren/git-repos/kwin-git/src/kwin/src/workspace.cpp:978
    #24 0x7fc0d2dd0149 in KWin::Workspace::slotCurrentDesktopChanged(KWin::VirtualDesktop*, KWin::VirtualDesktop*) /home/maneren/git-repos/kwin-git/src/kwin/src/workspace.cpp:899
    #25 0x7fc0d2e5d591 in QtPrivate::FunctorCall<std::integer_sequence<unsigned long, 0ul, 1ul>, QtPrivate::List<KWin::VirtualDesktop*, KWin::VirtualDesktop*>, void, void (KWin::Workspace::*)(KWin::VirtualDesktop*, KWin::VirtualDesktop*)>::call(void (KWin::Workspace::*)(KWin::VirtualDesktop*, KWin::VirtualDesktop*), KWin::Workspace*, void**)::{lambda()#1}::operator()() const /usr/include/qt6/QtCore/qobjectdefs_impl.h:127
    #26 0x7fc0d2e5d591 in void QtPrivate::FunctorCallBase::call_internal<void, QtPrivate::FunctorCall<std::integer_sequence<unsigned long, 0ul, 1ul>, QtPrivate::List<KWin::VirtualDesktop*, KWin::VirtualDesktop*>, void, void (KWin::Workspace::*)(KWin::VirtualDesktop*, KWin::VirtualDesktop*)>::call(void (KWin::Workspace::*)(KWin::VirtualDesktop*, KWin::VirtualDesktop*), KWin::Workspace*, void**)::{lambda()#1}>(void**, QtPrivate::FunctorCall<std::integer_sequence<unsigned long, 0ul, 1ul>, QtPrivate::List<KWin::VirtualDesktop*, KWin::VirtualDesktop*>, void, void (KWin::Workspace::*)(KWin::VirtualDesktop*, KWin::VirtualDesktop*)>::call(void (KWin::Workspace::*)(KWin::VirtualDesktop*, KWin::VirtualDesktop*), KWin::Workspace*, void**)::{lambda()#1}&&) /usr/include/qt6/QtCore/qobjectdefs_impl.h:65
    #27 0x7fc0d2e5d591 in QtPrivate::FunctorCall<std::integer_sequence<unsigned long, 0ul, 1ul>, QtPrivate::List<KWin::VirtualDesktop*, KWin::VirtualDesktop*>, void, void (KWin::Workspace::*)(KWin::VirtualDesktop*, KWin::VirtualDesktop*)>::call(void (KWin::Workspace::*)(KWin::VirtualDesktop*, KWin::VirtualDesktop*), KWin::Workspace*, void**) /usr/include/qt6/QtCore/qobjectdefs_impl.h:126
    #28 0x7fc0d2e5d591 in void QtPrivate::FunctionPointer<void (KWin::Workspace::*)(KWin::VirtualDesktop*, KWin::VirtualDesktop*)>::call<QtPrivate::List<KWin::VirtualDesktop*, KWin::VirtualDesktop*>, void>(void (KWin::Workspace::*)(KWin::VirtualDesktop*, KWin::VirtualDesktop*), KWin::Workspace*, void**) /usr/include/qt6/QtCore/qobjectdefs_impl.h:174
    #29 0x7fc0d2e5d591 in QtPrivate::QCallableObject<void (KWin::Workspace::*)(KWin::VirtualDesktop*, KWin::VirtualDesktop*), QtPrivate::List<KWin::VirtualDesktop*, KWin::VirtualDesktop*>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/qt6/QtCore/qobjectdefs_impl.h:545
    #30 0x7fc0ce5eded3  (/usr/lib/libQt6Core.so.6+0x1eded3) (BuildId: 471094a19b22e1559bdb74d3c25786291c6be482)
    #31 0x7fc0d2c2bdfe in void QMetaObject::activate<void, KWin::VirtualDesktop*, KWin::VirtualDesktop*>(QObject*, QMetaObject const*, int, void*, KWin::VirtualDesktop* const&, KWin::VirtualDesktop* const&) /usr/include/qt6/QtCore/qobjectdefs.h:319
    #32 0x7fc0d2c2bdfe in KWin::VirtualDesktopManager::currentChanged(KWin::VirtualDesktop*, KWin::VirtualDesktop*) /home/maneren/git-repos/kwin-git/src/build/src/kwin_autogen/include/moc_virtualdesktops.cpp:530
    #33 0x7fc0d2c3fa14 in KWin::VirtualDesktopManager::setCurrent(KWin::VirtualDesktop*) /home/maneren/git-repos/kwin-git/src/kwin/src/virtualdesktops.cpp:599
    #34 0x7fc0d1a22f15 in KWin::Workspace::activateWindow(KWin::Window*, bool) /home/maneren/git-repos/kwin-git/src/kwin/src/activation.cpp:315
    #35 0x7fc0d3b3ba23 in KWin::TabBox::TabBox::accept(bool) /home/maneren/git-repos/kwin-git/src/kwin/src/tabbox/tabbox.cpp:986
    #36 0x7fc0d20da217 in KWin::TabBoxInputFilter::keyboardKey(KWin::KeyboardKeyEvent*) /home/maneren/git-repos/kwin-git/src/kwin/src/input.cpp:1843
    #37 0x7fc0d21bff68 in void KWin::InputRedirection::processFilters<bool (KWin::InputEventFilter::*)(KWin::KeyboardKeyEvent*), KWin::KeyboardKeyEvent*>(bool (KWin::InputEventFilter::*)(KWin::KeyboardKeyEvent*), KWin::KeyboardKeyEvent* const&) /home/maneren/git-repos/kwin-git/src/kwin/src/input.h:153
    #38 0x7fc0d21bff68 in KWin::KeyboardInputRedirection::processKey(unsigned int, KWin::KeyboardKeyState, std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice*) /home/maneren/git-repos/kwin-git/src/kwin/src/keyboard_input.cpp:329
    #39 0x7fc0d20e0641 in QtPrivate::FunctorCall<std::integer_sequence<unsigned long, 0ul, 1ul, 2ul, 3ul>, QtPrivate::List<unsigned int, KWin::KeyboardKeyState, std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice*>, void, void (KWin::KeyboardInputRedirection::*)(unsigned int, KWin::KeyboardKeyState, std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice*)>::call(void (KWin::KeyboardInputRedirection::*)(unsigned int, KWin::KeyboardKeyState, std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice*), KWin::KeyboardInputRedirection*, void**)::{lambda()#1}::operator()() const /usr/include/qt6/QtCore/qobjectdefs_impl.h:127
    #40 0x7fc0d20e0641 in void QtPrivate::FunctorCallBase::call_internal<void, QtPrivate::FunctorCall<std::integer_sequence<unsigned long, 0ul, 1ul, 2ul, 3ul>, QtPrivate::List<unsigned int, KWin::KeyboardKeyState, std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice*>, void, void (KWin::KeyboardInputRedirection::*)(unsigned int, KWin::KeyboardKeyState, std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice*)>::call(void (KWin::KeyboardInputRedirection::*)(unsigned int, KWin::KeyboardKeyState, std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice*), KWin::KeyboardInputRedirection*, void**)::{lambda()#1}>(void**, QtPrivate::FunctorCall<std::integer_sequence<unsigned long, 0ul, 1ul, 2ul, 3ul>, QtPrivate::List<unsigned int, KWin::KeyboardKeyState, std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice*>, void, void (KWin::KeyboardInputRedirection::*)(unsigned int, KWin::KeyboardKeyState, std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice*)>::call(void (KWin::KeyboardInputRedirection::*)(unsigned int, KWin::KeyboardKeyState, std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice*), KWin::KeyboardInputRedirection*, void**)::{lambda()#1}&&) /usr/include/qt6/QtCore/qobjectdefs_impl.h:65
    #41 0x7fc0d20e0641 in QtPrivate::FunctorCall<std::integer_sequence<unsigned long, 0ul, 1ul, 2ul, 3ul>, QtPrivate::List<unsigned int, KWin::KeyboardKeyState, std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice*>, void, void (KWin::KeyboardInputRedirection::*)(unsigned int, KWin::KeyboardKeyState, std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice*)>::call(void (KWin::KeyboardInputRedirection::*)(unsigned int, KWin::KeyboardKeyState, std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice*), KWin::KeyboardInputRedirection*, void**) /usr/include/qt6/QtCore/qobjectdefs_impl.h:126
    #42 0x7fc0d20e0641 in void QtPrivate::FunctionPointer<void (KWin::KeyboardInputRedirection::*)(unsigned int, KWin::KeyboardKeyState, std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice*)>::call<QtPrivate::List<unsigned int, KWin::KeyboardKeyState, std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice*>, void>(void (KWin::KeyboardInputRedirection::*)(unsigned int, KWin::KeyboardKeyState, std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice*), KWin::KeyboardInputRedirection*, void**) /usr/include/qt6/QtCore/qobjectdefs_impl.h:174
    #43 0x7fc0d20e0641 in QtPrivate::QCallableObject<void (KWin::KeyboardInputRedirection::*)(unsigned int, KWin::KeyboardKeyState, std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice*), QtPrivate::List<unsigned int, KWin::KeyboardKeyState, std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice*>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/qt6/QtCore/qobjectdefs_impl.h:545
    #44 0x7fc0ce5edcd4  (/usr/lib/libQt6Core.so.6+0x1edcd4) (BuildId: 471094a19b22e1559bdb74d3c25786291c6be482)
previously allocated by thread T0 here:
    #0 0x7fc0d3f218cd in operator new(unsigned long) /usr/src/debug/gcc/gcc/libsanitizer/asan/asan_new_delete.cpp:86
    #1 0x55c446b8496e in KWin::QPA::Window::map() /home/maneren/git-repos/kwin-git/src/kwin/src/plugins/qpa/window.cpp:154
    #2 0x7bc097bb4848 in non-virtual thunk to PlasmaQuick::Dialog::componentComplete() (/usr/lib/libPlasmaQuick.so.6+0x3e848) (BuildId: 21d180107bdf23832790e93512331f60ddabc624)
    #3 0x7fc0d0336b93 in QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) (/usr/lib/libQt6Qml.so.6+0x336b93) (BuildId: 2a2121a46d604089afb637a419a2a1b836fee756)
    #4 0x7fc0d02fb0b6 in QQmlIncubatorPrivate::incubate(QQmlInstantiationInterrupt&) (/usr/lib/libQt6Qml.so.6+0x2fb0b6) (BuildId: 2a2121a46d604089afb637a419a2a1b836fee756)
    #5 0x7fc0d02fbb27 in QQmlEnginePrivate::incubate(QQmlIncubator&, QQmlRefPointer<QQmlContextData> const&) (/usr/lib/libQt6Qml.so.6+0x2fbb27) (BuildId: 2a2121a46d604089afb637a419a2a1b836fee756)
    #6 0x7fc0cd6d3c15  (/usr/lib/libQt6QmlModels.so.6+0x8fc15) (BuildId: 8745e9d9ef033d7c4d8651635e598e01fddaf995)
    #7 0x7fc0cd68a15b in QQmlInstantiatorPrivate::regenerate() (/usr/lib/libQt6QmlModels.so.6+0x4615b) (BuildId: 8745e9d9ef033d7c4d8651635e598e01fddaf995)
    #8 0x7fc0d0271ac2  (/usr/lib/libQt6Qml.so.6+0x271ac2) (BuildId: 2a2121a46d604089afb637a419a2a1b836fee756)
    #9 0x7fc0d028e68e  (/usr/lib/libQt6Qml.so.6+0x28e68e) (BuildId: 2a2121a46d604089afb637a419a2a1b836fee756)
    #10 0x7fc0d0290d14 in QQmlBinding::doUpdate(QQmlJavaScriptExpression::DeleteWatcher const&, QFlags<QQmlPropertyData::WriteFlag>, QV4::Scope&) (/usr/lib/libQt6Qml.so.6+0x290d14) (BuildId: 2a2121a46d604089afb637a419a2a1b836fee756)
    #11 0x7fc0d028792c in QQmlBinding::update(QFlags<QQmlPropertyData::WriteFlag>) (/usr/lib/libQt6Qml.so.6+0x28792c) (BuildId: 2a2121a46d604089afb637a419a2a1b836fee756)
    #12 0x7fc0d0327757 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) (/usr/lib/libQt6Qml.so.6+0x327757) (BuildId: 2a2121a46d604089afb637a419a2a1b836fee756)
    #13 0x7fc0ce5ed999  (/usr/lib/libQt6Core.so.6+0x1ed999) (BuildId: 471094a19b22e1559bdb74d3c25786291c6be482)
    #14 0x7fc0d3b77add in KWin::TabBox::TabBoxHandlerPrivate::show() /home/maneren/git-repos/kwin-git/src/kwin/src/tabbox/tabboxhandler.cpp:253
    #15 0x7fc0d3b7958d in KWin::TabBox::TabBoxHandler::show() /home/maneren/git-repos/kwin-git/src/kwin/src/tabbox/tabboxhandler.cpp:295
    #16 0x7fc0d3b52eaa in QtPrivate::FunctorCall<std::integer_sequence<unsigned long>, QtPrivate::List<>, void, void (KWin::TabBox::TabBox::*)()>::call(void (KWin::TabBox::TabBox::*)(), KWin::TabBox::TabBox*, void**)::{lambda()#1}::operator()() const /usr/include/qt6/QtCore/qobjectdefs_impl.h:127
    #17 0x7fc0d3b52eaa in void QtPrivate::FunctorCallBase::call_internal<void, QtPrivate::FunctorCall<std::integer_sequence<unsigned long>, QtPrivate::List<>, void, void (KWin::TabBox::TabBox::*)()>::call(void (KWin::TabBox::TabBox::*)(), KWin::TabBox::TabBox*, void**)::{lambda()#1}>(void**, QtPrivate::FunctorCall<std::integer_sequence<unsigned long>, QtPrivate::List<>, void, void (KWin::TabBox::TabBox::*)()>::call(void (KWin::TabBox::TabBox::*)(), KWin::TabBox::TabBox*, void**)::{lambda()#1}&&) /usr/include/qt6/QtCore/qobjectdefs_impl.h:65
    #18 0x7fc0d3b52eaa in QtPrivate::FunctorCall<std::integer_sequence<unsigned long>, QtPrivate::List<>, void, void (KWin::TabBox::TabBox::*)()>::call(void (KWin::TabBox::TabBox::*)(), KWin::TabBox::TabBox*, void**) /usr/include/qt6/QtCore/qobjectdefs_impl.h:126
    #19 0x7fc0d3b52eaa in void QtPrivate::FunctionPointer<void (KWin::TabBox::TabBox::*)()>::call<QtPrivate::List<>, void>(void (KWin::TabBox::TabBox::*)(), KWin::TabBox::TabBox*, void**) /usr/include/qt6/QtCore/qobjectdefs_impl.h:174
    #20 0x7fc0d3b52eaa in QtPrivate::QCallableObject<void (KWin::TabBox::TabBox::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/qt6/QtCore/qobjectdefs_impl.h:545
    #21 0x7fc0ce5eded3  (/usr/lib/libQt6Core.so.6+0x1eded3) (BuildId: 471094a19b22e1559bdb74d3c25786291c6be482)
    #22 0x7fc0ce5fccbc in QTimer::timerEvent(QTimerEvent*) (/usr/lib/libQt6Core.so.6+0x1fccbc) (BuildId: 471094a19b22e1559bdb74d3c25786291c6be482)
    #23 0x7fc0ce5ded38 in QObject::event(QEvent*) (/usr/lib/libQt6Core.so.6+0x1ded38) (BuildId: 471094a19b22e1559bdb74d3c25786291c6be482)
    #24 0x7fc0cf9022bf in QApplicationPrivate::notify_helper(QObject*, QEvent*) (/usr/lib/libQt6Widgets.so.6+0x1022bf) (BuildId: 98c1e0998bb073a33b05bf2d320b0eb8fec74803)
    #25 0x7fc0ce57be47 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (/usr/lib/libQt6Core.so.6+0x17be47) (BuildId: 471094a19b22e1559bdb74d3c25786291c6be482)
    #26 0x7fc0ce75c63c in QTimerInfoList::activateTimers() (/usr/lib/libQt6Core.so.6+0x35c63c) (BuildId: 471094a19b22e1559bdb74d3c25786291c6be482)
    #27 0x7fc0ce76a708 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (/usr/lib/libQt6Core.so.6+0x36a708) (BuildId: 471094a19b22e1559bdb74d3c25786291c6be482)
    #28 0x7fc0cf5cffb2 in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (/usr/lib/libQt6Gui.so.6+0x7cffb2) (BuildId: 713076f1c15a019988b2126516da0576cd697d8e)
    #29 0x7fc0ce587595 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (/usr/lib/libQt6Core.so.6+0x187595) (BuildId: 471094a19b22e1559bdb74d3c25786291c6be482)
    #30 0x7fc0ce580c41 in QCoreApplication::exec() (/usr/lib/libQt6Core.so.6+0x180c41) (BuildId: 471094a19b22e1559bdb74d3c25786291c6be482)
    #31 0x55c446bd4a7b in main /home/maneren/git-repos/kwin-git/src/kwin/src/main_wayland.cpp:635
    #32 0x7fc0cdc27634  (/usr/lib/libc.so.6+0x27634) (BuildId: 2f722da304c0a508c891285e6840199c35019c8d)
    #33 0x7fc0cdc276e8 in __libc_start_main (/usr/lib/libc.so.6+0x276e8) (BuildId: 2f722da304c0a508c891285e6840199c35019c8d)
SUMMARY: AddressSanitizer: heap-use-after-free /home/maneren/git-repos/kwin-git/src/kwin/src/window.h:1974 in KWin::Window::isSplash() const
Shadow bytes around the buggy address:
  0x7d60c66ab200: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x7d60c66ab280: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x7d60c66ab300: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x7d60c66ab380: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x7d60c66ab400: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
=>0x7d60c66ab480:[fd]fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x7d60c66ab500: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x7d60c66ab580: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x7d60c66ab600: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x7d60c66ab680: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x7d60c66ab700: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07
  Heap left redzone:       fa
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Container overflow:      fc
  Array cookie:            ac
  Intra object redzone:    bb
  ASan internal:           fe
  Left alloca redzone:     ca
  Right alloca redzone:    cb
==1999==ABORTING
Comment 2 Vlad Zahorodnii 2025-12-10 14:27:57 UTC
Do you use the default task switcher? Also, did you disable the fading popups effect?
Comment 3 maneren731 2025-12-10 16:25:51 UTC
(In reply to Vlad Zahorodnii from comment #2)
> Do you use the default task switcher? Also, did you disable the fading popups effect?

Yes, I use the default task switcher with the "Thumbnail grid" visualization and I have fading popups enabled. I can try turning them off, if it helps?
Comment 4 maneren731 2025-12-10 16:33:59 UTC
I will also note, that over the weekend, I have encountered a very similar crash on another PC (same KDE versions, similar SW config, completely different HW). On the other hand, I have updated to 6.5.4 yesterday and haven't encountered a crash since, so it is possible, that it fixed this. I'll see in a few days.
Comment 5 Vlad Zahorodnii 2025-12-11 08:12:52 UTC
(In reply to maneren731 from comment #4)
> I will also note, that over the weekend, I have encountered a very similar
> crash on another PC (same KDE versions, similar SW config, completely
> different HW). On the other hand, I have updated to 6.5.4 yesterday and
> haven't encountered a crash since, so it is possible, that it fixed this.
> I'll see in a few days.

No there were not any fixes.
Comment 6 Vlad Zahorodnii 2025-12-11 08:25:08 UTC
activateWindowOnDesktop() got reworked in 6.6 though so it's possible that this will be fixed there. I personally cannot reproduce the crash.
Comment 7 maneren731 2025-12-11 23:01:36 UTC
(In reply to Vlad Zahorodnii from comment #5)
> (In reply to maneren731 from comment #4)
> > I will also note, that over the weekend, I have encountered a very similar
> > crash on another PC (same KDE versions, similar SW config, completely
> > different HW). On the other hand, I have updated to 6.5.4 yesterday and
> > haven't encountered a crash since, so it is possible, that it fixed this.
> > I'll see in a few days.
> 
> No there were not any fixes.

Yeah, I ofc spoke too soon, it has crashed again now (without a useful stack trace as I made a mess in the debug info versions while updating).

Is there anything I can try to do or info to provide to help narrow this down? I am not sure, what all can affect this. So far I have tried turning off desktop effects (force blur and rounded corners) and kwin scripts (krohnkite) but that made no noticeable difference (except seldom the crash triggered right when applying the settings).
Comment 8 maneren731 2025-12-11 23:10:42 UTC
lol, crashed again right as I alt-tabbed after posting the comment. Coredump shows exactly the same stack trace as previously.
Comment 9 maneren731 2025-12-16 10:59:17 UTC
After updating to 6.5.4-3 (that is 6.5.4, with ef450432 patched over), I am getting these crashes almost hourly, making the computer unusable. Also with a slightly different backtrace now:

#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x00007fc5d56989d3 in __pthread_kill_internal (threadid=<optimized out>, signo=11) at pthread_kill.c:89
#2  0x00007fc5d563e3a0 in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
#3  0x00007fc5d9215ba9 in KCrash::defaultCrashHandler (sig=11) at /usr/src/debug/kcrash/kcrash-6.21.0/src/kcrash.cpp:605
#4  0x00007fc5d563e4d0 in <signal handler called> () at /usr/lib/libc.so.6
#5  0x00007fc5d5fdd5f5 in QObject::~QObject (this=this@entry=0x55c8f0a42400, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1067
#6  0x00007fc59c02edb7 in Kirigami::Platform::PlatformTheme::~PlatformTheme (this=this@entry=0x55c8f0a42400) at /usr/src/debug/kirigami/kirigami-6.21.0/src/platform/platformtheme.cpp:449
#7  0x00007fc59c21c76b in PlasmaTheme::~PlasmaTheme (this=0x55c8f0a42400, this=<optimized out>) at /usr/src/debug/libplasma/libplasma-6.5.4/src/declarativeimports/kirigamiplasmastyle/plasmatheme.cpp:63
#8  PlasmaTheme::~PlasmaTheme (this=0x55c8f0a42400, this=<optimized out>) at /usr/src/debug/libplasma/libplasma-6.5.4/src/declarativeimports/kirigamiplasmastyle/plasmatheme.cpp:63
#9  0x00007fc5d5fd6b42 in QObjectPrivate::deleteChildren (this=this@entry=0x55c8f10f0a20) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:2212
#10 0x00007fc5d5fdd9bd in QObject::~QObject (this=this@entry=0x55c8f1422790, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1122
#11 0x00007fc5d8175620 in QQuickItem::~QQuickItem (this=this@entry=0x55c8f1422790, this=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:2436
#12 0x00007fc597f365cc in Icon::~Icon (this=this@entry=0x55c8f1422790) at /usr/src/debug/kirigami/kirigami-6.21.0/src/primitives/icon.cpp:47
#13 0x00007fc597f33bb3 in QQmlPrivate::QQmlElement<Icon>::~QQmlElement (this=0x55c8f1422790) at /usr/include/qt6/QtQml/qqmlprivate.h:105
#14 QQmlPrivate::QQmlElement<Icon>::~QQmlElement (this=0x55c8f1422790) at /usr/include/qt6/QtQml/qqmlprivate.h:105
#15 0x00007fc5d5fd6b42 in QObjectPrivate::deleteChildren (this=this@entry=0x55c8f10e89d0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:2212
#16 0x00007fc5d5fdd9bd in QObject::~QObject (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1122
#17 0x00007fc58dd53616 in QQuickLinearLayout::~QQuickLinearLayout (this=0x55c8ef23efe0, this=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quicklayouts/qquicklinearlayout_p.h:187
#18 QQuickRowLayout::~QQuickRowLayout (this=0x55c8ef23efe0, this=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quicklayouts/qquicklinearlayout_p.h:225
#19 QQmlPrivate::QQmlElement<QQuickRowLayout>::~QQmlElement (this=0x55c8ef23efe0, this=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlprivate.h:105
#20 QQmlPrivate::QQmlElement<QQuickRowLayout>::~QQmlElement (this=0x55c8ef23efe0, this=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlprivate.h:105
#21 0x00007fc5d5fdec9a in QObject::event (this=<optimized out>, e=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1398
#22 0x00007fc5d71022c0 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55c8ef23efe0, e=0x55c8f0ed12e0) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3305
#23 0x00007fc5d5f7be48 in QCoreApplication::notifyInternal2 (receiver=0x55c8ef23efe0, event=event@entry=0x55c8f0ed12e0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1109
#24 0x00007fc5d5f7c220 in QCoreApplication::sendEvent (receiver=<optimized out>, event=0x55c8f0ed12e0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1549
#25 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55c8ef09e770) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1904
#26 0x00007fc5d6169f0d in QEventDispatcherUNIX::processEvents (this=0x55c8ef0c58a0, flags=flags@entry=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_unix.cpp:440
#27 0x00007fc5d6dcffb3 in QUnixEventDispatcherQPA::processEvents (this=<optimized out>, flags=...) at /usr/src/debug/qt6-base/qtbase/src/gui/platform/unix/qunixeventdispatcher.cpp:28
#28 0x00007fc5d5f87596 in QEventLoop::processEvents (this=0x7ffd71927fb0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:104
#29 QEventLoop::exec (this=0x7ffd71927fb0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:186
#30 0x00007fc5d5f80c42 in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1452
#31 0x00007fc5d70fd4aa in QApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2575
#32 0x000055c8b7ab4aa4 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kwin/kwin-6.5.4/src/main_wayland.cpp:635