SUMMARY Crash when logging in STEPS TO REPRODUCE 1. Turn on computer, login -> crash OBSERVED RESULT (gdb) thread apply all bt Thread 15 (Thread 0x7ff34ebad6c0 (LWP 175515)): #0 0x00007ff3da3211b6 in epoll_wait (epfd=160, events=0x7ff34ebac930, maxevents=32, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30 #1 0x00007ff3b41a3639 in () at /usr/lib/spa-0.2/support/libspa-support.so #2 0x00007ff3b41939fb in () at /usr/lib/spa-0.2/support/libspa-support.so #3 0x00007ff3db56c237 in do_loop (user_data=0x564d42f21cd0) at ../pipewire/src/pipewire/data-loop.c:81 #4 0x00007ff3da29ebb5 in start_thread (arg=<optimized out>) at pthread_create.c:444 #5 0x00007ff3da320d90 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 Thread 14 (Thread 0x7ff3b53fe6c0 (LWP 1270)): #0 __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x7ff3cffab580) at futex-internal.c:57 #1 __futex_abstimed_wait_common (futex_word=futex_word@entry=0x7ff3cffab580, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87 #2 0x00007ff3da29b7cf in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x7ff3cffab580, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139 #3 0x00007ff3da29df90 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7ff3cffab530, cond=0x7ff3cffab558) at pthread_cond_wait.c:503 #4 ___pthread_cond_wait (cond=0x7ff3cffab558, mutex=0x7ff3cffab530) at pthread_cond_wait.c:618 #5 0x00007ff3ce50c4ee in cnd_wait () at ../mesa-22.3.6/src/c11/impl/threads_posix.c:135 #6 0x00007ff3ce4bc8bc in util_queue_thread_func () at ../mesa-22.3.6/src/util/u_queue.c:290 #7 0x00007ff3ce50c41c in impl_thrd_routine () at ../mesa-22.3.6/src/c11/impl/threads_posix.c:67 #8 0x00007ff3da29ebb5 in start_thread (arg=<optimized out>) at pthread_create.c:444 #9 0x00007ff3da320d90 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 Thread 13 (Thread 0x7ff3b49fd6c0 (LWP 7339)): #0 __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x7ff383b3c580) at futex-internal.c:57 #1 __futex_abstimed_wait_common (futex_word=futex_word@entry=0x7ff383b3c580, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87 #2 0x00007ff3da29b7cf in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x7ff383b3c580, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139 #3 0x00007ff3da29df90 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7ff383b3c530, cond=0x7ff383b3c558) at pthread_cond_wait.c:503 #4 ___pthread_cond_wait (cond=0x7ff383b3c558, mutex=0x7ff383b3c530) at pthread_cond_wait.c:618 #5 0x00007ff3ce50c4ee in cnd_wait () at ../mesa-22.3.6/src/c11/impl/threads_posix.c:135 #6 0x00007ff3ce4bc8bc in util_queue_thread_func () at ../mesa-22.3.6/src/util/u_queue.c:290 #7 0x00007ff3ce50c41c in impl_thrd_routine () at ../mesa-22.3.6/src/c11/impl/threads_posix.c:67 #8 0x00007ff3da29ebb5 in start_thread (arg=<optimized out>) at pthread_create.c:444 #9 0x00007ff3da320d90 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 Thread 12 (Thread 0x7ff3b5bff6c0 (LWP 1269)): #0 __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x7ff3d40e2580) at futex-internal.c:57 #1 __futex_abstimed_wait_common (futex_word=futex_word@entry=0x7ff3d40e2580, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87 #2 0x00007ff3da29b7cf in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x7ff3d40e2580, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139 #3 0x00007ff3da29df90 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7ff3d40e2530, cond=0x7ff3d40e2558) at pthread_cond_wait.c:503 #4 ___pthread_cond_wait (cond=0x7ff3d40e2558, mutex=0x7ff3d40e2530) at pthread_cond_wait.c:618 #5 0x00007ff3ce50c4ee in cnd_wait () at ../mesa-22.3.6/src/c11/impl/threads_posix.c:135 #6 0x00007ff3ce4bc8bc in util_queue_thread_func () at ../mesa-22.3.6/src/util/u_queue.c:290 #7 0x00007ff3ce50c41c in impl_thrd_routine () at ../mesa-22.3.6/src/c11/impl/threads_posix.c:67 #8 0x00007ff3da29ebb5 in start_thread (arg=<optimized out>) at pthread_create.c:444 #9 0x00007ff3da320d90 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 Thread 11 (Thread 0x7ff393bff6c0 (LWP 1272)): #0 0x00007ff3da3139df in __GI___poll (fds=0x7ff38c0029e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007ff3d8d6dc2f in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7ff38c0029e0, timeout=<optimized out>, context=0x7ff38c000c30) at ../glib/glib/gmain.c:4553 #2 g_main_context_iterate.constprop.0 (context=0x7ff38c000c30, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4243 #3 0x00007ff3d8d150e2 in g_main_context_iteration (context=0x7ff38c000c30, may_block=1) at ../glib/glib/gmain.c:4313 #4 0x00007ff3db2d8c6c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ff38c000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #5 0x00007ff3db2866ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ff393bfeca0, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #6 0x00007ff3db0e725f in QThread::exec() (this=this@entry=0x564d4150ee60) at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #7 0x00007ff3dc0c00e0 in QQmlThreadPrivate::run() (this=0x564d4150ee60) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/ftw/qqmlthread.cpp:155 #8 0x00007ff3db0e432a in QThreadPrivate::start(void*) (arg=0x564d4150ee60) at thread/qthread_unix.cpp:330 #9 0x00007ff3da29ebb5 in start_thread (arg=<optimized out>) at pthread_create.c:444 #10 0x00007ff3da320d90 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 Thread 10 (Thread 0x7ff3d5bff6c0 (LWP 1253)): #0 0x00007ff3da3139df in __GI___poll (fds=0x7ff3d00053e0, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007ff3d8d6dc2f in g_main_context_poll (priority=<optimized out>, n_fds=3, fds=0x7ff3d00053e0, timeout=<optimized out>, context=0x7ff3d0001cf0) at ../glib/glib/gmain.c:4553 #2 g_main_context_iterate.constprop.0 (context=0x7ff3d0001cf0, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4243 #3 0x00007ff3d8d150e2 in g_main_context_iteration (context=0x7ff3d0001cf0, may_block=1) at ../glib/glib/gmain.c:4313 #4 0x00007ff3db2d8c6c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ff3d0000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #5 0x00007ff3db2866ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ff3d5bfec90, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #6 0x00007ff3db0e725f in QThread::exec() (this=this@entry=0x7ff3dd253560 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #7 0x00007ff3dd1f7cba in QDBusConnectionManager::run() (this=0x7ff3dd253560 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at /usr/src/debug/qt5-base/qtbase/src/dbus/qdbusconnection.cpp:179 #8 0x00007ff3db0e432a in QThreadPrivate::start(void*) (arg=0x7ff3dd253560 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:330 #9 0x00007ff3da29ebb5 in start_thread (arg=<optimized out>) at pthread_create.c:444 #10 0x00007ff3da320d90 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 Thread 9 (Thread 0x7ff3b7fff6c0 (LWP 1266)): #0 __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x564d41073ea0) at futex-internal.c:57 #1 __futex_abstimed_wait_common (futex_word=futex_word@entry=0x564d41073ea0, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87 #2 0x00007ff3da29b7cf in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x564d41073ea0, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139 #3 0x00007ff3da29df90 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x564d41073e50, cond=0x564d41073e78) at pthread_cond_wait.c:503 --Type <RET> for more, q to quit, c to continue without paging--c #4 ___pthread_cond_wait (cond=0x564d41073e78, mutex=0x564d41073e50) at pthread_cond_wait.c:618 #5 0x00007ff3ce50c4ee in cnd_wait () at ../mesa-22.3.6/src/c11/impl/threads_posix.c:135 #6 0x00007ff3ce4bc8bc in util_queue_thread_func () at ../mesa-22.3.6/src/util/u_queue.c:290 #7 0x00007ff3ce50c41c in impl_thrd_routine () at ../mesa-22.3.6/src/c11/impl/threads_posix.c:67 #8 0x00007ff3da29ebb5 in start_thread (arg=<optimized out>) at pthread_create.c:444 #9 0x00007ff3da320d90 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 Thread 8 (Thread 0x7ff3c49fb6c0 (LWP 1265)): #0 __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x564d41073ea0) at futex-internal.c:57 #1 __futex_abstimed_wait_common (futex_word=futex_word@entry=0x564d41073ea0, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87 #2 0x00007ff3da29b7cf in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x564d41073ea0, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139 #3 0x00007ff3da29df90 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x564d41073e50, cond=0x564d41073e78) at pthread_cond_wait.c:503 #4 ___pthread_cond_wait (cond=0x564d41073e78, mutex=0x564d41073e50) at pthread_cond_wait.c:618 #5 0x00007ff3ce50c4ee in cnd_wait () at ../mesa-22.3.6/src/c11/impl/threads_posix.c:135 #6 0x00007ff3ce4bc8bc in util_queue_thread_func () at ../mesa-22.3.6/src/util/u_queue.c:290 #7 0x00007ff3ce50c41c in impl_thrd_routine () at ../mesa-22.3.6/src/c11/impl/threads_posix.c:67 #8 0x00007ff3da29ebb5 in start_thread (arg=<optimized out>) at pthread_create.c:444 #9 0x00007ff3da320d90 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 Thread 7 (Thread 0x7ff3b6ffd6c0 (LWP 1268)): #0 0x00007ff3da3139df in __GI___poll (fds=0x7ff39c0029e0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007ff3d8d6dc2f in g_main_context_poll (priority=<optimized out>, n_fds=2, fds=0x7ff39c0029e0, timeout=<optimized out>, context=0x7ff39c000c30) at ../glib/glib/gmain.c:4553 #2 g_main_context_iterate.constprop.0 (context=0x7ff39c000c30, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4243 #3 0x00007ff3d8d150e2 in g_main_context_iteration (context=0x7ff39c000c30, may_block=1) at ../glib/glib/gmain.c:4313 #4 0x00007ff3db2d8c6c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ff39c000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #5 0x00007ff3db2866ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ff3b6ffccc0, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #6 0x00007ff3db0e725f in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #7 0x00007ff3db0e432a in QThreadPrivate::start(void*) (arg=0x564d41078ac8) at thread/qthread_unix.cpp:330 #8 0x00007ff3da29ebb5 in start_thread (arg=<optimized out>) at pthread_create.c:444 #9 0x00007ff3da320d90 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 Thread 6 (Thread 0x7ff3b77fe6c0 (LWP 1267)): #0 __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x564d41073ea0) at futex-internal.c:57 #1 __futex_abstimed_wait_common (futex_word=futex_word@entry=0x564d41073ea0, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87 #2 0x00007ff3da29b7cf in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x564d41073ea0, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139 #3 0x00007ff3da29df90 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x564d41073e50, cond=0x564d41073e78) at pthread_cond_wait.c:503 #4 ___pthread_cond_wait (cond=0x564d41073e78, mutex=0x564d41073e50) at pthread_cond_wait.c:618 #5 0x00007ff3ce50c4ee in cnd_wait () at ../mesa-22.3.6/src/c11/impl/threads_posix.c:135 #6 0x00007ff3ce4bc8bc in util_queue_thread_func () at ../mesa-22.3.6/src/util/u_queue.c:290 #7 0x00007ff3ce50c41c in impl_thrd_routine () at ../mesa-22.3.6/src/c11/impl/threads_posix.c:67 #8 0x00007ff3da29ebb5 in start_thread (arg=<optimized out>) at pthread_create.c:444 #9 0x00007ff3da320d90 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 Thread 5 (Thread 0x7ff3c59fd6c0 (LWP 1263)): #0 __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x564d41073ea0) at futex-internal.c:57 #1 __futex_abstimed_wait_common (futex_word=futex_word@entry=0x564d41073ea0, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87 #2 0x00007ff3da29b7cf in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x564d41073ea0, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139 #3 0x00007ff3da29df90 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x564d41073e50, cond=0x564d41073e78) at pthread_cond_wait.c:503 #4 ___pthread_cond_wait (cond=0x564d41073e78, mutex=0x564d41073e50) at pthread_cond_wait.c:618 #5 0x00007ff3ce50c4ee in cnd_wait () at ../mesa-22.3.6/src/c11/impl/threads_posix.c:135 #6 0x00007ff3ce4bc8bc in util_queue_thread_func () at ../mesa-22.3.6/src/util/u_queue.c:290 #7 0x00007ff3ce50c41c in impl_thrd_routine () at ../mesa-22.3.6/src/c11/impl/threads_posix.c:67 #8 0x00007ff3da29ebb5 in start_thread (arg=<optimized out>) at pthread_create.c:444 #9 0x00007ff3da320d90 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 Thread 4 (Thread 0x7ff3c51fc6c0 (LWP 1264)): #0 __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x564d41073ea0) at futex-internal.c:57 #1 __futex_abstimed_wait_common (futex_word=futex_word@entry=0x564d41073ea0, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87 #2 0x00007ff3da29b7cf in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x564d41073ea0, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139 #3 0x00007ff3da29df90 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x564d41073e50, cond=0x564d41073e78) at pthread_cond_wait.c:503 #4 ___pthread_cond_wait (cond=0x564d41073e78, mutex=0x564d41073e50) at pthread_cond_wait.c:618 #5 0x00007ff3ce50c4ee in cnd_wait () at ../mesa-22.3.6/src/c11/impl/threads_posix.c:135 #6 0x00007ff3ce4bc8bc in util_queue_thread_func () at ../mesa-22.3.6/src/util/u_queue.c:290 #7 0x00007ff3ce50c41c in impl_thrd_routine () at ../mesa-22.3.6/src/c11/impl/threads_posix.c:67 #8 0x00007ff3da29ebb5 in start_thread (arg=<optimized out>) at pthread_create.c:444 #9 0x00007ff3da320d90 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 Thread 3 (Thread 0x7ff3c61fe6c0 (LWP 1262)): #0 __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x564d41073ea4) at futex-internal.c:57 #1 __futex_abstimed_wait_common (futex_word=futex_word@entry=0x564d41073ea4, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87 #2 0x00007ff3da29b7cf in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x564d41073ea4, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139 #3 0x00007ff3da29df90 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x564d41073e50, cond=0x564d41073e78) at pthread_cond_wait.c:503 #4 ___pthread_cond_wait (cond=0x564d41073e78, mutex=0x564d41073e50) at pthread_cond_wait.c:618 #5 0x00007ff3ce50c4ee in cnd_wait () at ../mesa-22.3.6/src/c11/impl/threads_posix.c:135 #6 0x00007ff3ce4bc8bc in util_queue_thread_func () at ../mesa-22.3.6/src/util/u_queue.c:290 #7 0x00007ff3ce50c41c in impl_thrd_routine () at ../mesa-22.3.6/src/c11/impl/threads_posix.c:67 #8 0x00007ff3da29ebb5 in start_thread (arg=<optimized out>) at pthread_create.c:444 #9 0x00007ff3da320d90 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 Thread 2 (Thread 0x7ff3c69ff6c0 (LWP 1261)): #0 __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x564d4107a8e8) at futex-internal.c:57 #1 __futex_abstimed_wait_common (futex_word=futex_word@entry=0x564d4107a8e8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87 #2 0x00007ff3da29b7cf in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x564d4107a8e8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139 #3 0x00007ff3da29df90 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x564d4107a898, cond=0x564d4107a8c0) at pthread_cond_wait.c:503 #4 ___pthread_cond_wait (cond=0x564d4107a8c0, mutex=0x564d4107a898) at pthread_cond_wait.c:618 #5 0x00007ff3ce50c4ee in cnd_wait () at ../mesa-22.3.6/src/c11/impl/threads_posix.c:135 #6 0x00007ff3ce4bc8bc in util_queue_thread_func () at ../mesa-22.3.6/src/util/u_queue.c:290 #7 0x00007ff3ce50c41c in impl_thrd_routine () at ../mesa-22.3.6/src/c11/impl/threads_posix.c:67 #8 0x00007ff3da29ebb5 in start_thread (arg=<optimized out>) at pthread_create.c:444 #9 0x00007ff3da320d90 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 Thread 1 (Thread 0x7ff3d606c8c0 (LWP 1223)): #0 std::__shared_ptr<KWin::OutputMode, (__gnu_cxx::_Lock_policy)2>::operator bool() const (this=0x38) at /usr/include/c++/12.2.1/bits/shared_ptr_base.h:1669 #1 KWin::Output::modeSize() const (this=this@entry=0x0) at /usr/src/debug/kwin/kwin-5.27.1/src/core/output.cpp:194 #2 0x00007ff3dcbc3482 in KWin::Output::pixelSize() const (this=0x0) at /usr/src/debug/kwin/kwin-5.27.1/src/core/output.cpp:199 #3 0x0000564d3efe65f0 in KWin::ScreenCastStream::recordFrame(QRegion const&) (this=this@entry=0x564d42dcc710, _damagedRegion=...) at /usr/src/debug/kwin/kwin-5.27.1/src/plugins/screencast/screencaststream.cpp:392 #4 0x0000564d3efe77f3 in operator() (__closure=<optimized out>) at /usr/src/debug/kwin/kwin-5.27.1/src/plugins/screencast/screencaststream.cpp:357 #5 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, KWin::ScreenCastStream::createStream()::<lambda()> >::call (arg=<optimized out>, f=<optimized out>) at /usr/include/qt/QtCore/qobjectdefs_impl.h:146 #6 QtPrivate::Functor<KWin::ScreenCastStream::createStream()::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=<optimized out>) at /usr/include/qt/QtCore/qobjectdefs_impl.h:256 #7 QtPrivate::QFunctorSlotObject<KWin::ScreenCastStream::createStream()::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt/QtCore/qobjectdefs_impl.h:443 #8 0x00007ff3db2bea71 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffcf7715250, r=<optimized out>, this=0x564d424f6f70, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #9 doActivate<false>(QObject*, int, void**) (sender=0x564d411915f0, signal_index=5, argv=0x7ffcf7715250) at kernel/qobject.cpp:3923 #10 0x00007ff3dcb707cc in KWin::Cursors::positionChanged(KWin::Cursor*, QPoint const&) (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>) at /usr/src/debug/kwin/build/src/kwin_autogen/EWIEGA46WW/moc_cursor.cpp:399 #11 0x00007ff3db2bea71 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffcf7715350, r=<optimized out>, this=0x564d411b0570, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #12 doActivate<false>(QObject*, int, void**) (sender=0x564d411a24b0, signal_index=3, argv=0x7ffcf7715350) at kernel/qobject.cpp:3923 #13 0x00007ff3dcb70577 in KWin::Cursor::posChanged(QPoint const&) (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kwin/build/src/kwin_autogen/EWIEGA46WW/moc_cursor.cpp:206 #14 0x00007ff3dcc5aa3a in KWin::InputRedirectionCursor::slotPosChanged(QPointF const&) (this=0x564d411a24b0, pos=...) at /usr/src/debug/kwin/kwin-5.27.1/src/pointer_input.cpp:1184 #15 0x00007ff3db2bea71 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffcf77154b0, r=<optimized out>, this=0x564d411b0770, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #16 doActivate<false>(QObject*, int, void**) (sender=0x564d410966f0, signal_index=5, argv=0x7ffcf77154b0) at kernel/qobject.cpp:3923 #17 0x00007ff3dcb7c0ba in KWin::InputRedirection::globalPointerChanged(QPointF const&) (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kwin/build/src/kwin_autogen/EWIEGA46WW/moc_input.cpp:320 #18 0x00007ff3dcc5bec1 in KWin::PointerInputRedirection::updatePosition(QPointF const&) (this=this@entry=0x564d40fe8380, pos=...) at /usr/src/debug/kwin/kwin-5.27.1/src/pointer_input.cpp:772 #19 0x00007ff3dcc5c124 in KWin::PointerInputRedirection::processMotionInternal(QPointF const&, QPointF const&, QPointF const&, std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice*) (this=this@entry=0x564d40fe8380, pos=..., delta=..., deltaNonAccelerated=..., time=..., device=device@entry=0x0) at /usr/src/debug/kwin/kwin-5.27.1/src/pointer_input.cpp:239 #20 0x00007ff3dcc5c709 in KWin::PointerInputRedirection::processMotionAbsolute(QPointF const&, std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice*) (this=this@entry=0x564d40fe8380, pos=..., time=..., time@entry=..., device=device@entry=0x0) at /usr/src/debug/kwin/kwin-5.27.1/src/pointer_input.cpp:219 #21 0x00007ff3dcc5d281 in KWin::PointerInputRedirection::updateAfterScreenChange() (this=0x564d40fe8380) at /usr/src/debug/kwin/kwin-5.27.1/src/pointer_input.cpp:836 #22 KWin::PointerInputRedirection::updateAfterScreenChange() (this=0x564d40fe8380) at /usr/src/debug/kwin/kwin-5.27.1/src/pointer_input.cpp:824 #23 0x00007ff3db2bea71 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffcf7715820, r=<optimized out>, this=0x564d41745a10, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #24 doActivate<false>(QObject*, int, void**) (sender=0x564d40fcdff0, signal_index=24, argv=0x7ffcf7715820) at kernel/qobject.cpp:3923 #25 0x00007ff3dcd16e33 in KWin::Workspace::updateOutputs(QVector<KWin::Output*> const&) (this=0x564d40fcdff0, outputOrder=<optimized out>) at /usr/src/debug/kwin/kwin-5.27.1/src/workspace.cpp:1646 #26 0x00007ff3dcd0e604 in KWin::Workspace::slotOutputBackendOutputsQueried() (this=0x564d40fcdff0) at /usr/src/debug/kwin/kwin-5.27.1/src/workspace.cpp:1535 #27 0x00007ff3db2bea71 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffcf7715a80, r=<optimized out>, this=0x564d415aa760, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #28 doActivate<false>(QObject*, int, void**) (sender=0x564d40fda050, signal_index=3, argv=0x7ffcf7715a80) at kernel/qobject.cpp:3923 #29 0x00007ff3dcd62b28 in KWin::DrmBackend::updateOutputs() (this=<optimized out>) at /usr/src/debug/kwin/kwin-5.27.1/src/backends/drm/drm_backend.cpp:329 #30 0x00007ff3dcd5d166 in KWin::DrmBackend::handleUdevEvent() (this=0x564d40fda050) at /usr/src/debug/kwin/kwin-5.27.1/src/backends/drm/drm_backend.cpp:265 #31 0x00007ff3db2bea71 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffcf7716140, r=<optimized out>, this=0x564d41016b30, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #32 doActivate<false>(QObject*, int, void**) (sender=0x564d4108d9e0, signal_index=3, argv=0x7ffcf7716140) at kernel/qobject.cpp:3923 #33 0x00007ff3db2c0924 in QSocketNotifier::activated(QSocketDescriptor, QSocketNotifier::Type, QSocketNotifier::QPrivateSignal) (this=this@entry=0x564d4108d9e0, _t1=..., _t2=<optimized out>, _t3=...) at .moc/moc_qsocketnotifier.cpp:178 #34 0x00007ff3db2c0a68 in QSocketNotifier::event(QEvent*) (this=0x564d4108d9e0, e=<optimized out>) at kernel/qsocketnotifier.cpp:302 #35 0x00007ff3da978b5c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x564d4108d9e0, e=0x7ffcf7716260) at kernel/qapplication.cpp:3640 #36 0x00007ff3db28df48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x564d4108d9e0, event=0x7ffcf7716260) at kernel/qcoreapplication.cpp:1064 #37 0x00007ff3db2d792c in QEventDispatcherUNIXPrivate::activateSocketNotifiers() (this=0x564d40f85240) at kernel/qeventdispatcher_unix.cpp:304 #38 0x00007ff3db2d8a21 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:511 #39 0x0000564d3f099712 in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () #40 0x00007ff3db2866ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ffcf77163f0, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #41 0x00007ff3db291219 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #42 0x00007ff3db739fe2 in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1870 #43 0x00007ff3da976f2a in QApplication::exec() () at kernel/qapplication.cpp:2832 #44 0x0000564d3efb6242 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kwin/kwin-5.27.1/src/main_wayland.cpp:628 SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: 5.27.1 (available in About System) KDE Plasma Version: 5.27.1 KDE Frameworks Version: 5.103.0 Qt Version: 5.15.8 ADDITIONAL INFORMATION
Looking at the callstack a bit more, this might have happened after logging in, when using the vokoscreenng screen capture tool. Mixed up the timestamps a bit
I have been trying to reproduce this problem and I have been unable to so far. Does it happen every time for you? It seems that vokoscreen uses XDP to connect to kwin's screencasting system. It eventually ended up with OutputScreenCastSource::m_output being nullptr. It would be interesting to know that ended up being the case.
(In reply to Aleix Pol from comment #2) > I have been trying to reproduce this problem and I have been unable to so > far. Does it happen every time for you? > > It seems that vokoscreen uses XDP to connect to kwin's screencasting > system. It eventually ended up with OutputScreenCastSource::m_output being > nullptr. It would be interesting to know that ended up being the case. It only happened the one time. However, it might be that this bug is victim of another, more overarching bug. Since it looks like this crash was happening when taking a video, then that means I took it while my machine was suffering from this bug: https://bugs.kde.org/show_bug.cgi?id=466487 (click on the video!) At the time, I didn't notice anything crashing, but I mean... everything was in such a bad state that it appears KWin went down and then came back up. I do see that KWin::PointerInputRedirection::updateAfterScreenChange() is in the calllstack -- Is that supposed to be called often? Maybe that has both something to do with that bug and this one as well. I'll also cross-link the stack as the bugs are possibly related.
This should be fixed in 6.0.5. Please reopen this bug report if the crash still occurs. Also, please provide a new backtrace in that case.