Bug 461832

Summary: kwin_wayland crashed when I tried to run Vivaldi browser natively on Wayland
Product: [Plasma] kwin Reporter: Patrick Silva <bugseforuns>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: alex765, nate
Priority: NOR    
Version First Reported In: master   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Patrick Silva 2022-11-14 18:06:22 UTC
Title says it all.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.26.80
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.7
Graphics Platform: Wayland


Thread 12 (Thread 0x7fd0999fd640 (LWP 4672)):
#0  __futex_abstimed_wait_common64 (private=-16777216, cancel=true, abstime=0x7fd0999fcab0, op=137, expected=0, futex_word=0x557d3d70ea50) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=-16777216, abstime=0x7fd0999fcab0, clockid=0, expected=0, futex_word=0x557d3d70ea50) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x557d3d70ea50, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7fd0999fcab0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007fd0ada93f1b in __pthread_cond_wait_common (abstime=0x7fd0999fcab0, clockid=1, mutex=0x557d3d70ea00, cond=0x557d3d70ea28) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_timedwait64 (cond=0x557d3d70ea28, mutex=0x557d3d70ea00, abstime=0x7fd0999fcab0) at ./nptl/pthread_cond_wait.c:652
#5  0x00007fd0aead46cc in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (deadline=..., this=0x557d3d70ea00) at thread/qwaitcondition_unix.cpp:136
#6  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., deadline=..., this=0x557d3d70ea00) at thread/qwaitcondition_unix.cpp:144
#7  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x557d3ca7fd30, mutex=mutex@entry=0x557d3c979b38, deadline=...) at thread/qwaitcondition_unix.cpp:225
#8  0x00007fd0aead1b65 in QThreadPoolThread::run() (this=0x557d3ca7fd20) at thread/qthreadpool.cpp:140
#9  0x00007fd0aeace703 in QThreadPrivate::start(void*) (arg=0x557d3ca7fd20) at thread/qthread_unix.cpp:330
#10 0x00007fd0ada94b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#11 0x00007fd0adb26a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 11 (Thread 0x7fd067fff640 (LWP 4675)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x7fd075c5c550) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x7fd075c5c550) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x7fd075c5c550, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007fd0ada93ac1 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7fd075c5c500, cond=0x7fd075c5c528) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=cond@entry=0x7fd075c5c528, mutex=mutex@entry=0x7fd075c5c500) at ./nptl/pthread_cond_wait.c:627
#5  0x00007fd0a26bf85b in cnd_wait (mtx=0x7fd075c5c500, cond=0x7fd075c5c528) at ../include/c11/threads_posix.h:155
#6  util_queue_thread_func (input=input@entry=0x557d3d74ffa0) at ../src/util/u_queue.c:294
#7  0x00007fd0a26bf48b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#8  0x00007fd0ada94b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007fd0adb26a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 10 (Thread 0x7fd0a91ff640 (LWP 1125)):
#0  0x00007fd0adb18d7f in __GI___poll (fds=0x7fd0a40053c0, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fd0ac4a6696 in g_main_context_poll (priority=<optimized out>, n_fds=3, fds=0x7fd0a40053c0, timeout=<optimized out>, context=0x7fd0a4001cf0) at ../../../glib/gmain.c:4516
#2  g_main_context_iterate.constprop.0 (context=context@entry=0x7fd0a4001cf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4206
#3  0x00007fd0ac44f3c3 in g_main_context_iteration (context=0x7fd0a4001cf0, may_block=1) at ../../../glib/gmain.c:4276
#4  0x00007fd0aed15af8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fd0a4000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007fd0aecba9bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fd0a91feb10, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#6  0x00007fd0aeacd4e2 in QThread::exec() (this=this@entry=0x7fd0b0c81d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007fd0b0c08f1b in QDBusConnectionManager::run() (this=0x7fd0b0c81d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ./src/dbus/qdbusconnection.cpp:179
#8  0x00007fd0aeace703 in QThreadPrivate::start(void*) (arg=0x7fd0b0c81d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:330
#9  0x00007fd0ada94b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#10 0x00007fd0adb26a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 9 (Thread 0x7fd09a1fe640 (LWP 1145)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x7fd09b588550) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x7fd09b588550) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x7fd09b588550, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007fd0ada93ac1 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7fd09b588500, cond=0x7fd09b588528) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=cond@entry=0x7fd09b588528, mutex=mutex@entry=0x7fd09b588500) at ./nptl/pthread_cond_wait.c:627
#5  0x00007fd0a26bf85b in cnd_wait (mtx=0x7fd09b588500, cond=0x7fd09b588528) at ../include/c11/threads_posix.h:155
#6  util_queue_thread_func (input=input@entry=0x557d3c8a6970) at ../src/util/u_queue.c:294
#7  0x00007fd0a26bf48b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#8  0x00007fd0ada94b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007fd0adb26a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 8 (Thread 0x7fd09bdfe640 (LWP 1138)):
#0  0x00007fd0adb18d7f in __GI___poll (fds=0x7fd08c0029e0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fd0ac4a6696 in g_main_context_poll (priority=<optimized out>, n_fds=2, fds=0x7fd08c0029e0, timeout=<optimized out>, context=0x7fd08c000c30) at ../../../glib/gmain.c:4516
#2  g_main_context_iterate.constprop.0 (context=context@entry=0x7fd08c000c30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4206
#3  0x00007fd0ac44f3c3 in g_main_context_iteration (context=0x7fd08c000c30, may_block=1) at ../../../glib/gmain.c:4276
#4  0x00007fd0aed15af8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fd08c000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007fd0aecba9bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fd09bdfdb40, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#6  0x00007fd0aeacd4e2 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007fd0aeace703 in QThreadPrivate::start(void*) (arg=0x557d3c79e618) at thread/qthread_unix.cpp:330
#8  0x00007fd0ada94b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007fd0adb26a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 7 (Thread 0x7fd09a9ff640 (LWP 1144)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x7fd0a25cc550) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x7fd0a25cc550) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x7fd0a25cc550, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007fd0ada93ac1 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7fd0a25cc500, cond=0x7fd0a25cc528) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=cond@entry=0x7fd0a25cc528, mutex=mutex@entry=0x7fd0a25cc500) at ./nptl/pthread_cond_wait.c:627
#5  0x00007fd0a26bf85b in cnd_wait (mtx=0x7fd0a25cc500, cond=0x7fd0a25cc528) at ../include/c11/threads_posix.h:155
#6  util_queue_thread_func (input=input@entry=0x557d3c8aa8f0) at ../src/util/u_queue.c:294
#7  0x00007fd0a26bf48b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#8  0x00007fd0ada94b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007fd0adb26a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 6 (Thread 0x7fd076dfe640 (LWP 4673)):
#0  __futex_abstimed_wait_common64 (private=416020127, cancel=true, abstime=0x7fd076dfdab0, op=137, expected=0, futex_word=0x557d3c97ea04) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=416020127, abstime=0x7fd076dfdab0, clockid=112, expected=0, futex_word=0x557d3c97ea04) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x557d3c97ea04, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7fd076dfdab0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007fd0ada93f1b in __pthread_cond_wait_common (abstime=0x7fd076dfdab0, clockid=1, mutex=0x557d3c97e9b0, cond=0x557d3c97e9d8) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_timedwait64 (cond=0x557d3c97e9d8, mutex=0x557d3c97e9b0, abstime=0x7fd076dfdab0) at ./nptl/pthread_cond_wait.c:652
#5  0x00007fd0aead46cc in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (deadline=..., this=0x557d3c97e9b0) at thread/qwaitcondition_unix.cpp:136
#6  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., deadline=..., this=0x557d3c97e9b0) at thread/qwaitcondition_unix.cpp:144
#7  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x557d3c954c70, mutex=mutex@entry=0x557d3c979b38, deadline=...) at thread/qwaitcondition_unix.cpp:225
#8  0x00007fd0aead1b65 in QThreadPoolThread::run() (this=0x557d3c954c60) at thread/qthreadpool.cpp:140
#9  0x00007fd0aeace703 in QThreadPrivate::start(void*) (arg=0x557d3c954c60) at thread/qthread_unix.cpp:330
#10 0x00007fd0ada94b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#11 0x00007fd0adb26a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 5 (Thread 0x7fd099161640 (LWP 1148)):
#0  0x00007fd0adb18d7f in __GI___poll (fds=0x7fd07c0029e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fd0ac4a6696 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fd07c0029e0, timeout=<optimized out>, context=0x7fd07c000c30) at ../../../glib/gmain.c:4516
#2  g_main_context_iterate.constprop.0 (context=context@entry=0x7fd07c000c30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4206
#3  0x00007fd0ac44f3c3 in g_main_context_iteration (context=0x7fd07c000c30, may_block=1) at ../../../glib/gmain.c:4276
#4  0x00007fd0aed15af8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fd07c000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007fd0aecba9bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fd099160b20, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#6  0x00007fd0aeacd4e2 in QThread::exec() (this=this@entry=0x557d3caec760) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007fd0afd32959 in QQmlThreadPrivate::run() (this=0x557d3caec760) at qml/ftw/qqmlthread.cpp:155
#8  0x00007fd0aeace703 in QThreadPrivate::start(void*) (arg=0x557d3caec760) at thread/qthread_unix.cpp:330
#9  0x00007fd0ada94b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#10 0x00007fd0adb26a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 4 (Thread 0x7fd0775ff640 (LWP 4674)):
#0  __futex_abstimed_wait_common64 (private=416020127, cancel=true, abstime=0x7fd0775feab0, op=137, expected=0, futex_word=0x557d3d70f270) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=416020127, abstime=0x7fd0775feab0, clockid=0, expected=0, futex_word=0x557d3d70f270) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x557d3d70f270, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7fd0775feab0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007fd0ada93f1b in __pthread_cond_wait_common (abstime=0x7fd0775feab0, clockid=1, mutex=0x557d3d70f220, cond=0x557d3d70f248) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_timedwait64 (cond=0x557d3d70f248, mutex=0x557d3d70f220, abstime=0x7fd0775feab0) at ./nptl/pthread_cond_wait.c:652
#5  0x00007fd0aead46cc in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (deadline=..., this=0x557d3d70f220) at thread/qwaitcondition_unix.cpp:136
#6  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., deadline=..., this=0x557d3d70f220) at thread/qwaitcondition_unix.cpp:144
#7  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x557d3ca75ec0, mutex=mutex@entry=0x557d3c979b38, deadline=...) at thread/qwaitcondition_unix.cpp:225
#8  0x00007fd0aead1b65 in QThreadPoolThread::run() (this=0x557d3ca75eb0) at thread/qthreadpool.cpp:140
#9  0x00007fd0aeace703 in QThreadPrivate::start(void*) (arg=0x557d3ca75eb0) at thread/qthread_unix.cpp:330
#10 0x00007fd0ada94b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#11 0x00007fd0adb26a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 3 (Thread 0x7fd0765fd640 (LWP 4671)):
#0  __futex_abstimed_wait_common64 (private=16711935, cancel=true, abstime=0x7fd0765fcab0, op=137, expected=0, futex_word=0x557d3d772350) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=16711935, abstime=0x7fd0765fcab0, clockid=0, expected=0, futex_word=0x557d3d772350) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x557d3d772350, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7fd0765fcab0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007fd0ada93f1b in __pthread_cond_wait_common (abstime=0x7fd0765fcab0, clockid=1, mutex=0x557d3d772300, cond=0x557d3d772328) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_timedwait64 (cond=0x557d3d772328, mutex=0x557d3d772300, abstime=0x7fd0765fcab0) at ./nptl/pthread_cond_wait.c:652
#5  0x00007fd0aead46cc in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (deadline=..., this=0x557d3d772300) at thread/qwaitcondition_unix.cpp:136
#6  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., deadline=..., this=0x557d3d772300) at thread/qwaitcondition_unix.cpp:144
#7  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x557d3d6f88c0, mutex=mutex@entry=0x557d3c979b38, deadline=...) at thread/qwaitcondition_unix.cpp:225
#8  0x00007fd0aead1b65 in QThreadPoolThread::run() (this=0x557d3d6f88b0) at thread/qthreadpool.cpp:140
#9  0x00007fd0aeace703 in QThreadPrivate::start(void*) (arg=0x557d3d6f88b0) at thread/qthread_unix.cpp:330
#10 0x00007fd0ada94b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#11 0x00007fd0adb26a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 2 (Thread 0x7fd09c5ff640 (LWP 1137)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x557d3c784c58) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x557d3c784c58) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x557d3c784c58, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007fd0ada93ac1 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x557d3c784c08, cond=0x557d3c784c30) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=cond@entry=0x557d3c784c30, mutex=mutex@entry=0x557d3c784c08) at ./nptl/pthread_cond_wait.c:627
#5  0x00007fd0a26bf85b in cnd_wait (mtx=0x557d3c784c08, cond=0x557d3c784c30) at ../include/c11/threads_posix.h:155
#6  util_queue_thread_func (input=input@entry=0x557d3c7825e0) at ../src/util/u_queue.c:294
#7  0x00007fd0a26bf48b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#8  0x00007fd0ada94b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007fd0adb26a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 1 (Thread 0x7fd0a9c649c0 (LWP 1110)):
#0  0x00007fd0b08bcf2f in KWin::Window::isDesktop() const (this=0x557d3d736e80) at ./src/window.h:2130
#1  KWin::Window::isSpecialWindow() const (this=0x557d3d736e80) at ./src/window.cpp:1052
#2  0x00007fd0b08d1e5c in operator() (cl=0x557d3d736e80, __closure=0x7ffc7a840db0) at ./src/window.cpp:3409
#3  std::__invoke_impl<bool, KWin::Window::findWindowWithSameCaption() const::<lambda(const KWin::Window*)>&, const KWin::Window*> (__f=...) at /usr/include/c++/11/bits/invoke.h:61
#4  std::__invoke_r<bool, KWin::Window::findWindowWithSameCaption() const::<lambda(const KWin::Window*)>&, const KWin::Window*> (__fn=...) at /usr/include/c++/11/bits/invoke.h:114
#5  std::_Function_handler<bool(const KWin::Window*), KWin::Window::findWindowWithSameCaption() const::<lambda(const KWin::Window*)> >::_M_invoke(const std::_Any_data &, const KWin::Window *&&) (__functor=..., __args#0=<optimized out>) at /usr/include/c++/11/bits/std_function.h:290
#6  0x00007fd0b0a401d3 in std::function<bool (KWin::X11Window const*)>::operator()(KWin::X11Window const*) const (__args#0=<optimized out>, this=0x7ffc7a840db0) at /usr/include/c++/11/bits/std_function.h:590
#7  __gnu_cxx::__ops::_Iter_pred<std::function<bool (KWin::Window const*)> >::operator()<QList<KWin::Window*>::const_iterator>(QList<KWin::Window*>::const_iterator) (__it=..., this=0x7ffc7a840db0) at /usr/include/c++/11/bits/predefined_ops.h:318
#8  std::__find_if<QList<KWin::Window*>::const_iterator, __gnu_cxx::__ops::_Iter_pred<std::function<bool (KWin::Window const*)> > >(QList<KWin::Window*>::const_iterator, QList<KWin::Window*>::const_iterator, __gnu_cxx::__ops::_Iter_pred<std::function<bool (KWin::Window const*)> >, std::random_access_iterator_tag) [clone .constprop.0] (__first=..., __last=..., __pred=...) at /usr/include/c++/11/bits/stl_algobase.h:2099
#9  0x00007fd0b08e12d6 in std::__find_if<QList<KWin::Window*>::const_iterator, __gnu_cxx::__ops::_Iter_pred<std::function<bool (KWin::Window const*)> > >(QList<KWin::Window*>::const_iterator, QList<KWin::Window*>::const_iterator, __gnu_cxx::__ops::_Iter_pred<std::function<bool (KWin::Window const*)> >) (__pred=..., __last=..., __first=...) at /usr/include/c++/11/bits/stl_algobase.h:2115
#10 std::find_if<QList<KWin::Window*>::const_iterator, std::function<bool (KWin::Window const*)> >(QList<KWin::Window*>::const_iterator, QList<KWin::Window*>::const_iterator, std::function<bool (KWin::Window const*)>) (__pred=..., __last=..., __first=...) at /usr/include/c++/11/bits/stl_algo.h:3911
#11 KWin::Window::findInList<KWin::Window, KWin::Window>(QList<KWin::Window*> const&, std::function<bool (KWin::Window const*)>) (func=..., list=<optimized out>) at ./src/window.h:2318
#12 KWin::Workspace::findAbstractClient(std::function<bool (KWin::Window const*)>) const (this=0x557d3c9774a0, func=...) at ./src/workspace.cpp:1976
#13 0x00007fd0b08c9716 in KWin::Window::findWindowWithSameCaption() const (this=<optimized out>) at ./src/window.cpp:3411
#14 0x00007fd0b08b82a4 in KWin::WaylandWindow::updateCaption() (this=0x557d3d75bab0) at ./src/waylandwindow.cpp:189
#15 0x00007fd0b09153b8 in KWin::WaylandWindow::setCaption(QString const&) (caption=..., this=0x557d3d75bab0) at ./src/waylandwindow.cpp:205
#16 KWin::XdgToplevelWindow::handleWindowTitleChanged() (this=0x557d3d75bab0) at ./src/xdgshellwindow.cpp:1097
#17 0x00007fd0aecf40f4 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffc7a841000, r=0x557d3d75bab0, this=0x557d3d7b7580) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#18 doActivate<false>(QObject*, int, void**) (sender=0x557d3d55a630, signal_index=6, argv=0x7ffc7a841000) at kernel/qobject.cpp:3919
#19 0x00007fd0aeced197 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7fd0b0b90ce0 <KWaylandServer::XdgToplevelInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffc7a841000) at kernel/qobject.cpp:3979
#20 0x00007fd0b078ee39 in KWaylandServer::XdgToplevelInterface::windowTitleChanged(QString const&) (this=<optimized out>, _t1=<optimized out>) at ./obj-x86_64-linux-gnu/src/kwin_autogen/IEXH3JLKNG/moc_xdgshell_interface.cpp:740
#21 0x00007fd0b0a2827c in QtWaylandServer::xdg_toplevel::handle_set_title(wl_client*, wl_resource*, char const*) (client=<optimized out>, resource=<optimized out>, title=0x557d3d638e6c "Plasma") at wayland/./obj-x86_64-linux-gnu/src/wayland/qwayland-server-xdg-shell.cpp:1339
#22 0x00007fd0abedae2e in  () at /lib/x86_64-linux-gnu/libffi.so.8
#23 0x00007fd0abed7493 in  () at /lib/x86_64-linux-gnu/libffi.so.8
#24 0x00007fd0ad6302a0 in  () at /lib/x86_64-linux-gnu/libwayland-server.so.0
#25 0x00007fd0ad634694 in  () at /lib/x86_64-linux-gnu/libwayland-server.so.0
#26 0x00007fd0ad6330fa in wl_event_loop_dispatch () at /lib/x86_64-linux-gnu/libwayland-server.so.0
#27 0x00007fd0b0997c7a in KWaylandServer::Display::dispatchEvents() (this=<optimized out>) at ./src/wayland/display.cpp:114
#28 0x00007fd0aecf40f4 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffc7a841890, r=0x557d3c6efa60, this=0x557d3d2805c0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#29 doActivate<false>(QObject*, int, void**) (sender=0x557d3d27c970, signal_index=3, argv=0x7ffc7a841890) at kernel/qobject.cpp:3919
#30 0x00007fd0aeced197 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x557d3d27c970, m=m@entry=0x7fd0aef5d1a0 <QSocketNotifier::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc7a841890) at kernel/qobject.cpp:3979
#31 0x00007fd0aecf7633 in QSocketNotifier::activated(QSocketDescriptor, QSocketNotifier::Type, QSocketNotifier::QPrivateSignal) (this=this@entry=0x557d3d27c970, _t1=..., _t2=<optimized out>, _t3=...) at .moc/moc_qsocketnotifier.cpp:178
#32 0x00007fd0aecf7e63 in QSocketNotifier::event(QEvent*) (this=0x557d3d27c970, e=0x7ffc7a8419b0) at kernel/qsocketnotifier.cpp:302
#33 0x00007fd0ae36c763 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x557d3d27c970, e=0x7ffc7a8419b0) at kernel/qapplication.cpp:3637
#34 0x00007fd0aecbc09a in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x557d3d27c970, event=0x7ffc7a8419b0) at kernel/qcoreapplication.cpp:1064
#35 0x00007fd0aed12deb in QEventDispatcherUNIXPrivate::activateSocketNotifiers() (this=0x557d3c6bd810) at kernel/qeventdispatcher_unix.cpp:304
#36 0x00007fd0aed1325b in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:511
#37 0x0000557d3b5b6331 in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
#38 0x00007fd0aecba9bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffc7a841b40, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#39 0x00007fd0aecc2f54 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#40 0x00007fd0af1364e0 in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1870
#41 0x00007fd0ae36c6d9 in QApplication::exec() () at kernel/qapplication.cpp:2829
#42 0x0000557d3b4d7f5f in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ./src/main_wayland.cpp:620
Comment 1 Vlad Zahorodnii 2022-11-14 18:28:21 UTC
Do you use virtual keyboard?
Comment 2 Patrick Silva 2022-11-14 18:29:53 UTC
(In reply to Vlad Zahorodnii from comment #1)
> Do you use virtual keyboard?

No.
Comment 3 Vlad Zahorodnii 2022-11-14 18:33:28 UTC
What windows did you close before opening vivaldi? I can't make kwin crash by running "vivaldi-stable --enable-features=UseOzonePlatform --ozone-platform=wayland"
Comment 4 Vlad Zahorodnii 2022-11-14 18:41:03 UTC
> #6  0x00007fd0b0a401d3 in std::function<bool (KWin::X11Window const*)>::operator()(KWin::X11Window const*) const (__args#0=<optimized out>, this=0x7ffc7a840db0) at /usr/include/c++/11/bits/std_function.h:590

were there any apps that run through xwayland?
Comment 5 Patrick Silva 2022-11-14 18:44:36 UTC
I enabled the flag to run Vivaldi natively on Wayland in vivaldi:flags page (set Preferred Ozone platform flag to 'Auto') and clicked on 'Relaunch' button. Vivaldi tried to restart but it got stuck in the task manager with a Wayland generic icon and never appeared on the screen. I closed the unusable Vivaldi with a middle-clicked on its task and then kwin_wayland crashed.

(In reply to Vlad Zahorodnii from comment #4)
> > #6  0x00007fd0b0a401d3 in std::function<bool (KWin::X11Window const*)>::operator()(KWin::X11Window const*) const (__args#0=<optimized out>, this=0x7ffc7a840db0) at /usr/include/c++/11/bits/std_function.h:590
> 
> were there any apps that run through xwayland?
When the crashed occured, no. But before setting Vivaldi to run natively on Wayland I was running it on Xwayland.
Comment 6 Vlad Zahorodnii 2022-11-14 18:50:33 UTC
Can you still reproduce the crash? I followed your steps, but kwin seems to be okay
Comment 7 Patrick Silva 2022-11-15 11:18:57 UTC
I can reproduce (but not consistently) by following these steps:

(In reply to Patrick Silva from comment #5)
> I enabled the flag to run Vivaldi natively on Wayland in vivaldi:flags page
> (set 'Preferred Ozone platform' flag to 'Auto') and clicked on 'Relaunch'
> button. Vivaldi tried to restart but it got stuck in the task manager with a
> Wayland generic icon and never appeared on the screen. I closed the unusable
> Vivaldi with a middle-click...

And then opening Kickoff or right-clicking on desktop.
Comment 8 Patrick Silva 2022-12-07 20:13:19 UTC
Also reproducible on Arch Linux after update to vivaldi 5.6.2867.36-1

Operating System: Arch Linux
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.7
Graphics Platform: Wayland
Comment 9 Alex 2023-05-07 14:05:37 UTC
I got a similar crash shortly after trying to run Discord natively on Wayland.

I followed the step given here: https://github.com/flathub/com.discordapp.Discord#wayland
I then started Discord, the loading spinner appeared, and then the Task Manager entry for the Discord window appeared, but the window itself wasn't visible. The timing of the kwin crash is a bit random, I think once it crashed when attempting to close Discord via the context menu in that situation - possibly similar to https://bugs.kde.org/show_bug.cgi?id=460598

Plasma 5.27.4
Qt 5.15.9
Frameworks 5.105.0
Comment 10 David Edmundson 2024-05-29 10:32:21 UTC
This bug is a crash report that is over a year old without any activity, as our software is always changing, the information in this ticket is unlikely to still be useful.

If this issue is still reproducible in a newer version of kwin (5.27.5 or 6.0) please reopen this ticket with a bumped version number or it will be closed in 30 days.
Comment 11 Bug Janitor Service 2024-06-13 03:47:02 UTC
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!
Comment 12 Bug Janitor Service 2024-06-28 03:47:56 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now 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

Thank you for helping us make KDE software even better for everyone!