Bug 511374

Summary: Kwin crash on resume from displays off at lock screen.
Product: [Plasma] kwin Reporter: David Murray <dave>
Component: generic-crashAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdedev
Priority: NOR Keywords: drkonqi
Version First Reported In: 6.5.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/280222/events/52e17aa4f0984930b2a748b3d63752c9/

Description David Murray 2025-10-30 13:08:20 UTC
Application: kwin_wayland (6.5.0)

ApplicationNotResponding [ANR]: false
Qt Version: 6.10.0
Frameworks Version: 6.19.0
Operating System: Linux 6.17.5-arch1-1 x86_64
Windowing System: Wayland
Distribution: Arch Linux
DrKonqi: 6.5.0 [CoredumpBackend]

-- Information about the crash:
Dual monitor setup, wayland compositing, with displays turned off by power management at lock screen.

Pressing a key activates displays and shows login screen, but with password field only on one screen (I think now it should appear on both, so possibly something has already gone wrong).

On logging in have desktop on both monitors, but some applications have crashed, and remaining windows have all been moved to one display.

Kwin has crashed.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KWin (kwin_wayland), signal: Aborted
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}

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

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

warning: Can't open file /memfd:/.glXXXXXX (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:gdk-wayland (deleted) 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:xwayland-shared (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:kwayland-shared (deleted) during file-backed mapping note processing
[New LWP 1157]
[New LWP 1175]
[New LWP 1187]
[New LWP 1208]
[New LWP 1188]
[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 :0 --xwayland-xauthority /run/user/1001/xauth_XQuyvs --xwayland'.
Program terminated with signal SIGABRT, Aborted.
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, 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 0x7fae2dfa4400 (LWP 1157))]

Downloading 813.00 B source file /usr/src/debug/qt6-base/qtbase/src/gui/platform/unix/qunixeventdispatcher.cpp...
Downloading 14.87 K source file /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_unix.cpp...
Downloading 10.79 K source file /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qsocketnotifier.cpp...
Downloading 6.26 K source file /usr/src/debug/qt6-base/build/src/corelib/Core_autogen/include/moc_qsocketnotifier.cpp...
Downloading 31.27 K source file /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs.h...
Downloading 85.89 K source file /usr/src/debug/qt6-base/qtbase/src/corelib/global/qlogging.cpp...
Downloading 7.34 K source file /usr/src/debug/qt6-base/qtbase/src/corelib/global/qassert.cpp...
Downloading 3.07 K source file /usr/src/debug/glibc/glibc/stdlib/abort.c...
Downloading 1.07 K source file /usr/src/debug/glibc/glibc/signal/../sysdeps/posix/raise.c...
Downloading 6.11 K source file /usr/src/debug/glibc/glibc/nptl/pthread_once.c...
[Current thread is 1 (Thread 0x7fae2dfa4400 (LWP 1157))]

Thread 5 (Thread 0x7fae277fe6c0 (LWP 1188)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007fae346931ac in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8, a6=a6@entry=0, nr=271) at cancellation.c:49
#2  0x00007fae346931f4 in __syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8, a6=a6@entry=0, nr=271) at cancellation.c:75
#3  0x00007fae3470da36 in __GI_ppoll (fds=fds@entry=0x7fae1c001550, nfds=nfds@entry=2, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#4  0x00007fae33ac2784 in ppoll (__fds=0x7fae1c001550, __nfds=2, __timeout=0x0, __ss=0x0) at /usr/include/bits/poll2.h:101
#5  g_main_context_poll_unlocked (priority=<optimized out>, context=0x7fae1c000d00, timeout_usec=<optimized out>, fds=0x7fae1c001550, n_fds=2) at ../glib/glib/gmain.c:4811
#6  g_main_context_iterate_unlocked (context=context@entry=0x7fae1c000d00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4485
#7  0x00007fae33ac2865 in g_main_context_iteration (context=0x7fae1c000d00, may_block=1) at ../glib/glib/gmain.c:4556
#8  0x00007fae3524a9d2 in QEventDispatcherGlib::processEvents (this=0x7fae1c000be0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#9  0x00007fae34f75a86 in QEventLoop::processEvents (this=0x7fae277fd980, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:104
#10 QEventLoop::exec (this=0x7fae277fd980, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:186
#11 0x00007fae3508af7e in QThread::exec (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread.cpp:672
#12 0x00007fae35130ca9 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=0x55b2abcfe8b8) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:397
#15 0x00007fae346969cb in start_thread (arg=<optimized out>) at pthread_create.c:448
#16 0x00007fae3471aa0c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 4 (Thread 0x7fadfffff6c0 (LWP 1208)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007fae346931ac in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8, a6=a6@entry=0, nr=271) at cancellation.c:49
#2  0x00007fae346931f4 in __syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8, a6=a6@entry=0, nr=271) at cancellation.c:75
#3  0x00007fae3470da36 in __GI_ppoll (fds=fds@entry=0x7fadf40014a0, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#4  0x00007fae33ac2784 in ppoll (__fds=0x7fadf40014a0, __nfds=1, __timeout=0x0, __ss=0x0) at /usr/include/bits/poll2.h:101
#5  g_main_context_poll_unlocked (priority=<optimized out>, context=0x7fadf4000d00, timeout_usec=<optimized out>, fds=0x7fadf40014a0, n_fds=1) at ../glib/glib/gmain.c:4811
#6  g_main_context_iterate_unlocked (context=context@entry=0x7fadf4000d00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4485
#7  0x00007fae33ac2865 in g_main_context_iteration (context=0x7fadf4000d00, may_block=1) at ../glib/glib/gmain.c:4556
#8  0x00007fae3524a9d2 in QEventDispatcherGlib::processEvents (this=0x7fadf4000be0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#9  0x00007fae34f75a86 in QEventLoop::processEvents (this=0x7fadffffe980, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:104
#10 QEventLoop::exec (this=0x7fadffffe980, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:186
#11 0x00007fae3508af7e in QThread::exec (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread.cpp:672
#12 0x00007fae35130ca9 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=0x55b2ac240300) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:397
#15 0x00007fae346969cb in start_thread (arg=<optimized out>) at pthread_create.c:448
#16 0x00007fae3471aa0c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 3 (Thread 0x7fae27fff6c0 (LWP 1187)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007fae346931ac in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=0, a6=a6@entry=4294967295, nr=202) at cancellation.c:49
#2  0x00007fae3469381c in __futex_abstimed_wait_common64 (private=0, futex_word=0x55b2abcf726c, expected=<optimized out>, op=<optimized out>, abstime=0x0, cancel=true) at futex-internal.c:57
#3  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55b2abcf726c, expected=<optimized out>, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#4  0x00007fae3469387f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55b2abcf726c, expected=<optimized out>, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#5  0x00007fae34695ede in __pthread_cond_wait_common (cond=0x55b2abcf7248, mutex=0x55b2abcf7220, clockid=0, abstime=0x0) at pthread_cond_wait.c:421
#6  ___pthread_cond_wait (cond=0x55b2abcf7248, mutex=0x55b2abcf7220) at pthread_cond_wait.c:453
#7  0x00007fae34adaea1 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
#8  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
#9  std::condition_variable::wait (this=<optimized out>, __lock=...) at /usr/src/debug/gcc/gcc/libstdc++-v3/src/c++11/condition_variable.cc:41
#10 0x00007fae37c8cd04 in KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, QString const&)::{lambda()#1}::operator()() const () at /usr/src/debug/kwin/kwin-6.5.0/src/backends/drm/drm_commit_thread.cpp:45
#11 0x00007fae37c8d2ca 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
#12 std::__invoke<KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, const QString&)::<lambda()> > (__fn=...) at /usr/include/c++/15.2.1/bits/invoke.h:98
#13 std::invoke<KWin::DrmCommitThread::DrmCommitThread(KWin::DrmGpu*, const QString&)::<lambda()> > (__fn=...) at /usr/include/c++/15.2.1/functional:122
#14 operator()<> (__closure=<optimized out>) at /usr/include/qt6/QtCore/qthread.h:139
#15 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
#16 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
#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&& ...)> > >::_M_invoke<0> (this=<optimized out>) at /usr/include/c++/15.2.1/bits/std_thread.h:303
#18 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
#19 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=0x7fae27ffe930) at /usr/include/c++/15.2.1/future:1441
#20 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
#21 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
#22 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
#23 0x00007fae37c87326 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
#24 std::__future_base::_State_baseV2::_M_do_set (this=0x55b2abcf4f40, __f=<optimized out>, __did_set=0x7fae27ffe8e7) at /usr/include/c++/15.2.1/future:598
#25 0x00007fae3469beb4 in __pthread_once_slow (once_control=0x55b2abcf4f58, init_routine=0x7fae34ae3c50 <std::__once_proxy()>) at pthread_once.c:116
#26 0x00007fae3469bf29 in ___pthread_once (once_control=<optimized out>, init_routine=<optimized out>) at pthread_once.c:143
#27 0x00007fae37c87dbf in __gthread_once (__once=0x55b2abcf4f58, __func=<optimized out>) at /usr/include/c++/15.2.1/x86_64-pc-linux-gnu/bits/gthr-default.h:746
#28 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=@0x7fae27ffe900: (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 *)) 0x7fae37c872f0 <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
#29 std::__future_base::_State_baseV2::_M_set_result (this=0x55b2abcf4f40, __res=..., __ignore_failure=true) at /usr/include/c++/15.2.1/future:437
#30 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=0x55b2abcf4f40) at /usr/include/c++/15.2.1/future:1721
#31 0x00007fae3508bb05 in std::__future_base::_State_baseV2::wait (this=0x55b2abcf4f40) at /usr/include/c++/15.2.1/future:359
#32 std::__basic_future<void>::_M_get_result (this=0x55b2abcf7190) at /usr/include/c++/15.2.1/future:750
#33 std::future<void>::get (this=0x55b2abcf7190) at /usr/include/c++/15.2.1/future:922
#34 QThreadCreateThread::run (this=0x55b2abcf7180) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread.cpp:1387
#35 0x00007fae35130ca9 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:437
#36 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:367
#37 QThreadPrivate::start (arg=0x55b2abcf7180) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:397
#38 0x00007fae346969cb in start_thread (arg=<optimized out>) at pthread_create.c:448
#39 0x00007fae3471aa0c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 2 (Thread 0x7fae2d7ff6c0 (LWP 1175)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007fae346931ac in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8, a6=a6@entry=0, nr=271) at cancellation.c:49
#2  0x00007fae346931f4 in __syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8, a6=a6@entry=0, nr=271) at cancellation.c:75
#3  0x00007fae3470da36 in __GI_ppoll (fds=fds@entry=0x7fae28001680, nfds=nfds@entry=3, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#4  0x00007fae33ac2784 in ppoll (__fds=0x7fae28001680, __nfds=3, __timeout=0x0, __ss=0x0) at /usr/include/bits/poll2.h:101
#5  g_main_context_poll_unlocked (priority=<optimized out>, context=0x7fae28000d00, timeout_usec=<optimized out>, fds=0x7fae28001680, n_fds=3) at ../glib/glib/gmain.c:4811
#6  g_main_context_iterate_unlocked (context=context@entry=0x7fae28000d00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4485
#7  0x00007fae33ac2865 in g_main_context_iteration (context=0x7fae28000d00, may_block=1) at ../glib/glib/gmain.c:4556
#8  0x00007fae3524a9d2 in QEventDispatcherGlib::processEvents (this=0x7fae28000be0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#9  0x00007fae34f75a86 in QEventLoop::processEvents (this=0x7fae2d7fe930, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:104
#10 QEventLoop::exec (this=0x7fae2d7fe930, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:186
#11 0x00007fae3508af7e in QThread::exec (this=this@entry=0x7fae355feda0 <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 0x00007fae3557963e in QDBusConnectionManager::run (this=0x7fae355feda0 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-base/qtbase/src/dbus/qdbusconnectionmanager.cpp:145
#13 0x00007fae35130ca9 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=0x7fae355feda0 <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 0x00007fae346969cb in start_thread (arg=<optimized out>) at pthread_create.c:448
#17 0x00007fae3471aa0c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 1 (Thread 0x7fae2dfa4400 (LWP 1157)):
[KCrash Handler]
#5  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#6  0x00007fae34698a13 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:89
#7  0x00007fae3463e410 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007fae3462557a in __GI_abort () at abort.c:77
#9  0x00007fae34e9348c in qAbort () at /usr/src/debug/qt6-base/qtbase/src/corelib/global/qassert.cpp:46
#10 qt_maybe_message_fatal<QString&> (msgType=QtFatalMsg, context=..., message=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/global/qlogging.cpp:2165
#11 qt_message(QtMsgType, const QMessageLogContext &, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, context=..., msg=msg@entry=0x7fae37e7de86 "unknown active output", ap=ap@entry=0x7fff707dcf48) at /usr/src/debug/qt6-base/qtbase/src/corelib/global/qlogging.cpp:412
#12 0x00007fae34e94250 in QMessageLogger::fatal (this=this@entry=0x7fff707dd180, msg=msg@entry=0x7fae37e7de86 "unknown active output") at /usr/src/debug/qt6-base/qtbase/src/corelib/global/qlogging.cpp:901
#13 0x00007fae3795c8fa in KWin::Workspace::setActiveOutput (this=<optimized out>, output=<optimized out>) at /usr/src/debug/kwin/kwin-6.5.0/src/workspace.cpp:2441
#14 KWin::Workspace::setActiveOutput (this=<optimized out>, output=<optimized out>) at /usr/src/debug/kwin/kwin-6.5.0/src/workspace.cpp:2438
#15 0x00007fae3797b5ce in KWin::Workspace::takeActivity (this=0x55b2ac107590, window=<optimized out>, flags=...) at /usr/src/debug/kwin/kwin-6.5.0/src/activation.cpp:423
#16 0x00007fae3797b865 in KWin::Workspace::requestFocus (this=<optimized out>, window=<optimized out>, force=<optimized out>) at /usr/include/qt6/QtCore/qflags.h:77
#17 0x00007fae3797bbdb in KWin::Workspace::activateNextWindow (this=0x55b2ac107590, window=0x55b2ad2aeac0) at /usr/src/debug/kwin/kwin-6.5.0/src/activation.cpp:516
#18 0x00007fae37c106aa in KWin::Workspace::removeWaylandWindow (this=0x55b2ac107590, window=0x55b2ad2aeac0) at /usr/src/debug/kwin/kwin-6.5.0/src/workspace.cpp:813
#19 0x00007fae34fd716f 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
#20 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
#21 0x00007fae37bd9e0b in QMetaObject::activate<void, KWin::Window*> (sender=<optimized out>, mo=<optimized out>, local_signal_index=<optimized out>, ret=<optimized out>, sender=<optimized out>, mo=<optimized out>, local_signal_index=<optimized out>, ret=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs.h:319
#22 KWin::WaylandServer::windowRemoved (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kwin/build/src/kwin_autogen/include/moc_wayland_server.cpp:155
#23 0x00007fae37a9bd67 in KWin::LayerShellV1Window::destroyWindow (this=0x55b2ad2aeac0) at /usr/src/debug/kwin/kwin-6.5.0/src/layershellv1window.cpp:213
#24 0x00007fae34fd716f 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
#25 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
#26 0x00007fae37c1ed1b in QMetaObject::activate<void, KWin::Output*> (sender=<optimized out>, mo=<optimized out>, local_signal_index=<optimized out>, ret=<optimized out>, sender=<optimized out>, mo=<optimized out>, local_signal_index=<optimized out>, ret=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs.h:319
#27 KWin::Workspace::outputRemoved (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kwin/build/src/kwin_autogen/include/moc_workspace.cpp:659
#28 0x00007fae37c170cf in KWin::Workspace::updateOutputs (this=0x55b2ac107590, outputOrder=...) at /usr/src/debug/kwin/kwin-6.5.0/src/workspace.cpp:1228
#29 0x00007fae37c0edcd in KWin::Workspace::applyOutputConfiguration (this=this@entry=0x55b2ac107590, config=..., outputOrder=std::optional = {...}) at /usr/src/debug/kwin/kwin-6.5.0/src/workspace.cpp:442
#30 0x00007fae37c0f0fe in KWin::Workspace::updateOutputConfiguration (this=this@entry=0x55b2ac107590) at /usr/src/debug/kwin/kwin-6.5.0/src/workspace.cpp:511
#31 0x00007fae37c101a0 in KWin::Workspace::slotOutputBackendOutputsQueried (this=0x55b2ac107590) at /usr/src/debug/kwin/kwin-6.5.0/src/workspace.cpp:1148
#32 0x00007fae34fd716f 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
#33 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
#34 0x00007fae37c82d30 in KWin::DrmBackend::updateOutputs (this=this@entry=0x55b2abcb1980) at /usr/src/debug/kwin/kwin-6.5.0/src/backends/drm/drm_backend.cpp:303
#35 0x00007fae37c84967 in KWin::DrmBackend::handleUdevEvent (this=0x55b2abcb1980) at /usr/src/debug/kwin/kwin-6.5.0/src/backends/drm/drm_backend.cpp:203
#36 0x00007fae34fd716f 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
#37 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
#38 0x00007fae34fe1c40 in QMetaObject::activate<void, QSocketDescriptor, QSocketNotifier::Type, QSocketNotifier::QPrivateSignal> (sender=0x55b2abce3850, mo=<optimized out>, local_signal_index=0, ret=0x0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs.h:319
#39 QSocketNotifier::activated (this=0x55b2abce3850, _t1=..., _t2=<optimized out>, _t3=...) at /usr/src/debug/qt6-base/build/src/corelib/Core_autogen/include/moc_qsocketnotifier.cpp:161
#40 QSocketNotifier::event (this=0x55b2abce3850, e=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qsocketnotifier.cpp:324
#41 0x00007fae361020a0 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55b2abce3850, e=0x7fff707de670) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3307
#42 0x00007fae34f6a6c8 in QCoreApplication::notifyInternal2 (receiver=0x55b2abce3850, event=0x7fff707de670) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1109
#43 0x00007fae3512f049 in QCoreApplication::sendEvent (receiver=<optimized out>, event=0x7fff707de670) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1549
#44 QEventDispatcherUNIXPrivate::activateSocketNotifiers (this=this@entry=0x55b2abb984f0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_unix.cpp:276
#45 0x00007fae3512fb6c in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=..., flags@entry=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_unix.cpp:498
#46 0x00007fae35d34773 in QUnixEventDispatcherQPA::processEvents (this=<optimized out>, flags=...) at /usr/src/debug/qt6-base/qtbase/src/gui/platform/unix/qunixeventdispatcher.cpp:27
#47 0x00007fae34f75a86 in QEventLoop::processEvents (this=0x7fff707de840, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:104
#48 QEventLoop::exec (this=0x7fff707de840, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:186
#49 0x00007fae34f6f171 in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1452
#50 0x00007fae360fd31a in QApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2574
#51 0x000055b280f7d9e4 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kwin/kwin-6.5.0/src/main_wayland.cpp:635

Reported using DrKonqi
Comment 1 TraceyC 2025-10-30 19:02:56 UTC
Thank you for the bug report. Based on the backtrace this looks like a duplicate of bug 495702. A fix has been merged and will reach your system when it updates to Plasma 6.5.1.

If you still experience the crash on 6.5.1, please comment in bug 495702. Thanks.

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