SUMMARY I was using Wayland, logged out, logged in to X11, logged out, logged in to Wayland, then kwin_wayland started to crash in a loop and I need to force reboot. Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.26.80 KDE Frameworks Version: 5.100.0 Qt Version: 5.15.6 Graphics Platform: Wayland Thread 8 (Thread 0x7f46737fe640 (LWP 104653)): #0 0x00007f4694b18d7f in __GI___poll (fds=0x7f46600029e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007f4693575696 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f46600029e0, timeout=<optimized out>, context=0x7f4660000c30) at ../../../glib/gmain.c:4516 #2 g_main_context_iterate.constprop.0 (context=context@entry=0x7f4660000c30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4206 #3 0x00007f469351e3c3 in g_main_context_iteration (context=0x7f4660000c30, may_block=1) at ../../../glib/gmain.c:4276 #4 0x00007f4695d156f8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f4660000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #5 0x00007f4695cba90b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f46737fdb20, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #6 0x00007f4695acd482 in QThread::exec() (this=this@entry=0x55e562444520) at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #7 0x00007f4696d32959 in QQmlThreadPrivate::run() (this=0x55e562444520) at qml/ftw/qqmlthread.cpp:155 #8 0x00007f4695ace6a3 in QThreadPrivate::start(void*) (arg=0x55e562444520) at thread/qthread_unix.cpp:330 #9 0x00007f4694a94b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442 #10 0x00007f4694b26a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 Thread 7 (Thread 0x7f468d6dc640 (LWP 104629)): #0 __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x55e562128488) at ./nptl/futex-internal.c:57 #1 __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x55e562128488) at ./nptl/futex-internal.c:87 #2 __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55e562128488, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139 #3 0x00007f4694a93ac1 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55e562128438, cond=0x55e562128460) at ./nptl/pthread_cond_wait.c:503 #4 ___pthread_cond_wait (cond=cond@entry=0x55e562128460, mutex=mutex@entry=0x55e562128438) at ./nptl/pthread_cond_wait.c:627 #5 0x00007f468dabf85b in cnd_wait (mtx=0x55e562128438, cond=0x55e562128460) at ../include/c11/threads_posix.h:155 #6 util_queue_thread_func (input=input@entry=0x55e5621287c0) at ../src/util/u_queue.c:294 #7 0x00007f468dabf48b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87 #8 0x00007f4694a94b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442 #9 0x00007f4694b26a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 Thread 6 (Thread 0x7f46903ff640 (LWP 104628)): #0 0x00007f4694b18d7f in __GI___poll (fds=0x7f46880053c0, nfds=3, timeout=24615) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007f4693575696 in g_main_context_poll (priority=<optimized out>, n_fds=3, fds=0x7f46880053c0, timeout=<optimized out>, context=0x7f4688001cf0) at ../../../glib/gmain.c:4516 #2 g_main_context_iterate.constprop.0 (context=context@entry=0x7f4688001cf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4206 #3 0x00007f469351e3c3 in g_main_context_iteration (context=0x7f4688001cf0, may_block=1) at ../../../glib/gmain.c:4276 #4 0x00007f4695d156f8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f4688000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #5 0x00007f4695cba90b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f46903feb10, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #6 0x00007f4695acd482 in QThread::exec() (this=this@entry=0x7f4697cd1d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #7 0x00007f4697c58f1b in QDBusConnectionManager::run() (this=0x7f4697cd1d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ./src/dbus/qdbusconnection.cpp:179 #8 0x00007f4695ace6a3 in QThreadPrivate::start(void*) (arg=0x7f4697cd1d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:330 #9 0x00007f4694a94b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442 #10 0x00007f4694b26a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 Thread 5 (Thread 0x7f4680bfe640 (LWP 104651)): #0 __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x7f468c5dc550) at ./nptl/futex-internal.c:57 #1 __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x7f468c5dc550) at ./nptl/futex-internal.c:87 #2 __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x7f468c5dc550, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139 #3 0x00007f4694a93ac1 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7f468c5dc500, cond=0x7f468c5dc528) at ./nptl/pthread_cond_wait.c:503 #4 ___pthread_cond_wait (cond=cond@entry=0x7f468c5dc528, mutex=mutex@entry=0x7f468c5dc500) at ./nptl/pthread_cond_wait.c:627 #5 0x00007f468dabf85b in cnd_wait (mtx=0x7f468c5dc500, cond=0x7f468c5dc528) at ../include/c11/threads_posix.h:155 #6 util_queue_thread_func (input=input@entry=0x55e56224e900) at ../src/util/u_queue.c:294 #7 0x00007f468dabf48b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87 #8 0x00007f4694a94b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442 #9 0x00007f4694b26a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 Thread 4 (Thread 0x7f46813ff640 (LWP 104650)): #0 __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x7f468c662550) at ./nptl/futex-internal.c:57 #1 __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x7f468c662550) at ./nptl/futex-internal.c:87 #2 __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x7f468c662550, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139 #3 0x00007f4694a93ac1 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7f468c662500, cond=0x7f468c662528) at ./nptl/pthread_cond_wait.c:503 #4 ___pthread_cond_wait (cond=cond@entry=0x7f468c662528, mutex=mutex@entry=0x7f468c662500) at ./nptl/pthread_cond_wait.c:627 #5 0x00007f468dabf85b in cnd_wait (mtx=0x7f468c662500, cond=0x7f468c662528) at ../include/c11/threads_posix.h:155 #6 util_queue_thread_func (input=input@entry=0x55e562246560) at ../src/util/u_queue.c:294 #7 0x00007f468dabf48b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87 #8 0x00007f4694a94b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442 #9 0x00007f4694b26a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 Thread 3 (Thread 0x7f4673fff640 (LWP 104652)): #0 __futex_abstimed_wait_common64 (private=1644500872, cancel=true, abstime=0x7f4673ffeab0, op=137, expected=0, futex_word=0x55e56231a324) at ./nptl/futex-internal.c:57 #1 __futex_abstimed_wait_common (cancel=true, private=1644500872, abstime=0x7f4673ffeab0, clockid=1745148624, expected=0, futex_word=0x55e56231a324) at ./nptl/futex-internal.c:87 #2 __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55e56231a324, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7f4673ffeab0, private=private@entry=0) at ./nptl/futex-internal.c:139 #3 0x00007f4694a93f1b in __pthread_cond_wait_common (abstime=0x7f4673ffeab0, clockid=1, mutex=0x55e56231a2d0, cond=0x55e56231a2f8) at ./nptl/pthread_cond_wait.c:503 #4 ___pthread_cond_timedwait64 (cond=0x55e56231a2f8, mutex=0x55e56231a2d0, abstime=0x7f4673ffeab0) at ./nptl/pthread_cond_wait.c:652 #5 0x00007f4695ad464c in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (deadline=..., this=0x55e56231a2d0) at thread/qwaitcondition_unix.cpp:136 #6 QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., deadline=..., this=0x55e56231a2d0) at thread/qwaitcondition_unix.cpp:144 #7 QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x55e562322310, mutex=mutex@entry=0x55e56231f3b8, deadline=...) at thread/qwaitcondition_unix.cpp:225 #8 0x00007f4695ad1b05 in QThreadPoolThread::run() (this=0x55e562322300) at thread/qthreadpool.cpp:140 #9 0x00007f4695ace6a3 in QThreadPrivate::start(void*) (arg=0x55e562322300) at thread/qthread_unix.cpp:330 #10 0x00007f4694a94b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442 #11 0x00007f4694b26a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 Thread 2 (Thread 0x7f468cedb640 (LWP 104631)): #0 0x00007f4694b18d7f in __GI___poll (fds=0x7f46740029e0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007f4693575696 in g_main_context_poll (priority=<optimized out>, n_fds=2, fds=0x7f46740029e0, timeout=<optimized out>, context=0x7f4674000c30) at ../../../glib/gmain.c:4516 #2 g_main_context_iterate.constprop.0 (context=context@entry=0x7f4674000c30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4206 #3 0x00007f469351e3c3 in g_main_context_iteration (context=0x7f4674000c30, may_block=1) at ../../../glib/gmain.c:4276 #4 0x00007f4695d156f8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f4674000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #5 0x00007f4695cba90b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f468cedab40, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #6 0x00007f4695acd482 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #7 0x00007f4695ace6a3 in QThreadPrivate::start(void*) (arg=0x55e56213a3f8) at thread/qthread_unix.cpp:330 #8 0x00007f4694a94b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442 #9 0x00007f4694b26a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 Thread 1 (Thread 0x7f4690cca9c0 (LWP 104626)): #0 KSelectionOwner::filterEvent(void*) (this=0x55e562fe8e80, ev_P=<optimized out>) at ./src/platforms/xcb/kselectionowner.cpp:380 #1 0x00007f4695cb93b7 in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) (this=<optimized out>, eventType=..., message=message@entry=0x7f46880181f0, result=result@entry=0x7fff7cf34378) at kernel/qabstracteventdispatcher.cpp:495 #2 0x000055e5615ba388 in KWin::Xwl::Xwayland::dispatchEvents() (this=0x55e562c5b530) at xwayland/./src/xwayland/xwayland.cpp:122 #3 0x00007f4695cf3dc4 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7fff7cf344c0, r=0x55e562c5b530, this=0x55e562c53100) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #4 doActivate<false>(QObject*, int, void**) (sender=0x55e562ed3610, signal_index=3, argv=0x7fff7cf344c0) at kernel/qobject.cpp:3919 #5 0x00007f4695cece67 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x55e562ed3610, m=m@entry=0x7f4695f5d1a0 <QSocketNotifier::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff7cf344c0) at kernel/qobject.cpp:3979 #6 0x00007f4695cf7303 in QSocketNotifier::activated(QSocketDescriptor, QSocketNotifier::Type, QSocketNotifier::QPrivateSignal) (this=this@entry=0x55e562ed3610, _t1=..., _t2=<optimized out>, _t3=...) at .moc/moc_qsocketnotifier.cpp:178 #7 0x00007f4695cf7b33 in QSocketNotifier::event(QEvent*) (this=0x55e562ed3610, e=0x7fff7cf345e0) at kernel/qsocketnotifier.cpp:302 #8 0x00007f469536c763 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x55e562ed3610, e=0x7fff7cf345e0) at kernel/qapplication.cpp:3637 #9 0x00007f4695cbbfea in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55e562ed3610, event=0x7fff7cf345e0) at kernel/qcoreapplication.cpp:1064 #10 0x00007f4695d129eb in QEventDispatcherUNIXPrivate::activateSocketNotifiers() (this=0x55e562061fd0) at kernel/qeventdispatcher_unix.cpp:304 #11 0x00007f4695d12e5b in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:511 #12 0x000055e561688cd1 in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () #13 0x00007f4695cba90b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fff7cf34770, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #14 0x00007f4695cc2ea4 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #15 0x00007f4696136540 in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1870 #16 0x00007f469536c6d9 in QApplication::exec() () at kernel/qapplication.cpp:2829 #17 0x000055e5615aae74 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ./src/main_wayland.cpp:613
*** Bug 475531 has been marked as a duplicate of this bug. ***
Do you know how to reliably reproduce the crash?
.
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
(In reply to Vlad Zahorodnii from comment #2) > Do you know how to reliably reproduce the crash? When I noticed this issue, the reproducibilty was 100% by: 1. Log in using Wayland 2. Log out 3. Log in using X11 4. Log out 5. Log in using Wayland The last login at 5. failed consistently.
Unfortunately kwin doesn't crash if I log in and out between x11 and wayland sessions back and forth.
(In reply to Lassi Väätämöinen from comment #5) > When I noticed this issue, the reproducibilty was 100% by: > 1. Log in using Wayland > 2. Log out > 3. Log in using X11 > 4. Log out > 5. Log in using Wayland > > The last login at 5. failed consistently. What version of Plasma does this happen on for you? I can't trigger the crash either
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone!
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.