Bug 428581 - kwin_wayland crashes when I apply changes in Virtual Desktops KCM
Summary: kwin_wayland crashes when I apply changes in Virtual Desktops KCM
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: git master
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-01 22:53 UTC by Patrick Silva
Modified: 2021-11-04 14:49 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2020-11-01 22:53:19 UTC
STEPS TO REPRODUCE
1. start Wayland session
2. open System Settings > Workspace Behavior > Virtual Desktops
3. change the number of rows and add or remove virtual desktops
4. click on "Apply" button
5. if kwin_wayland did not crash, repeat the steps 3 and 4. At some point, kwin_wayland will crash.

EXPECTED RESULT
no crash

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.20.80
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.0


Thread 13 (Thread 61180.64581):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f8ab0a33d10, clockid=<optimized out>, expected=0, futex_word=0x5616a021dd14) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7f8ab0a33d10, clockid=<optimized out>, mutex=0x5616a021dcc0, cond=0x5616a021dce8) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=cond@entry=0x5616a021dce8, mutex=mutex@entry=0x5616a021dcc0, abstime=abstime@entry=0x7f8ab0a33d10) at pthread_cond_wait.c:656
#3  0x00007f8ad19bf098 in QWaitConditionPrivate::wait_relative (this=0x5616a021dcc0, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait (deadline=..., this=0x5616a021dcc0) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait (this=this@entry=0x5616a00c80c0, mutex=mutex@entry=0x56169ff385e8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007f8ad19bc6c1 in QThreadPoolThread::run (this=0x5616a00c80b0) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:270
#7  0x00007f8ad19b920c in QThreadPrivate::start (arg=0x5616a00c80b0) at thread/qthread_unix.cpp:342
#8  0x00007f8ad2dec609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f8ad14dd293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 12 (Thread 61180.64580):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f8a98933d10, clockid=<optimized out>, expected=0, futex_word=0x56169ff38884) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7f8a98933d10, clockid=<optimized out>, mutex=0x56169ff38830, cond=0x56169ff38858) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=cond@entry=0x56169ff38858, mutex=mutex@entry=0x56169ff38830, abstime=abstime@entry=0x7f8a98933d10) at pthread_cond_wait.c:656
#3  0x00007f8ad19bf098 in QWaitConditionPrivate::wait_relative (this=0x56169ff38830, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait (deadline=..., this=0x56169ff38830) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait (this=this@entry=0x56169ff38140, mutex=mutex@entry=0x56169ff385e8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007f8ad19bc6c1 in QThreadPoolThread::run (this=0x56169ff38130) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:270
#7  0x00007f8ad19b920c in QThreadPrivate::start (arg=0x56169ff38130) at thread/qthread_unix.cpp:342
#8  0x00007f8ad2dec609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f8ad14dd293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 61180.62206):
#0  0x00007f8ad14dd5ce in epoll_wait (epfd=105, events=events@entry=0x7f8ab3ffe9b0, maxevents=32, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
#1  0x00007f8ab001312b in impl_pollfd_wait (object=<optimized out>, pfd=<optimized out>, ev=0x7f8ab3ffeb60, n_ev=<optimized out>, timeout=<optimized out>) at ../spa/plugins/support/system.c:154
#2  0x00007f8ab0007124 in loop_iterate (object=0x5616a068dcf8, timeout=-1) at ../spa/plugins/support/loop.c:289
#3  0x00007f8ad31dc290 in do_loop (user_data=0x5616a009dc50) at ../src/pipewire/data-loop.c:79
#4  0x00007f8ad2dec609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#5  0x00007f8ad14dd293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 61180.61245):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f8ad1289fd8 <QTWTF::pageheap_memory+57592>) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7f8ad1289f88 <QTWTF::pageheap_memory+57512>, cond=0x7f8ad1289fb0 <QTWTF::pageheap_memory+57552>) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=cond@entry=0x7f8ad1289fb0 <QTWTF::pageheap_memory+57552>, mutex=mutex@entry=0x7f8ad1289f88 <QTWTF::pageheap_memory+57512>) at pthread_cond_wait.c:638
#3  0x00007f8ad118c63a in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f8ad127bee0 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#4  0x00007f8ad118c65f in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#5  0x00007f8ad2dec609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f8ad14dd293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 61180.61227):
#0  0x00007f8ad14d0aff in __GI___poll (fds=0x7f8aa0004e60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f8acf4291ae in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f8aa0004e60, timeout=<optimized out>, context=0x7f8aa0000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f8aa0000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f8acf4292e3 in g_main_context_iteration (context=0x7f8aa0000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f8ad1bf5d62 in QEventDispatcherGlib::processEvents (this=0x7f8aa0000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007f8ad1b9a08b in QEventLoop::exec (this=this@entry=0x7f8ab2d19d80, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f8ad19b8082 in QThread::exec (this=this@entry=0x5616a00f3500) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f8ad064d6c9 in QQmlThreadPrivate::run (this=0x5616a00f3500) at qml/ftw/qqmlthread.cpp:155
#8  0x00007f8ad19b920c in QThreadPrivate::start (arg=0x5616a00f3500) at thread/qthread_unix.cpp:342
#9  0x00007f8ad2dec609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f8ad14dd293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 61180.61189):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x56169f681c38) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x56169f681be8, cond=0x56169f681c10) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=cond@entry=0x56169f681c10, mutex=mutex@entry=0x56169f681be8) at pthread_cond_wait.c:638
#3  0x00007f8ac879897b in cnd_wait (mtx=0x56169f681be8, cond=0x56169f681c10) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x56169f3c9270) at ../src/util/u_queue.c:275
#5  0x00007f8ac879858b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007f8ad2dec609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f8ad14dd293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 61180.61188):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x56169f681c38) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x56169f681be8, cond=0x56169f681c10) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=cond@entry=0x56169f681c10, mutex=mutex@entry=0x56169f681be8) at pthread_cond_wait.c:638
#3  0x00007f8ac879897b in cnd_wait (mtx=0x56169f681be8, cond=0x56169f681c10) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x56169f4e4be0) at ../src/util/u_queue.c:275
#5  0x00007f8ac879858b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007f8ad2dec609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f8ad14dd293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 61180.61187):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x56169f681c38) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x56169f681be8, cond=0x56169f681c10) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=cond@entry=0x56169f681c10, mutex=mutex@entry=0x56169f681be8) at pthread_cond_wait.c:638
#3  0x00007f8ac879897b in cnd_wait (mtx=0x56169f681be8, cond=0x56169f681c10) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x56169f49a4c0) at ../src/util/u_queue.c:275
#5  0x00007f8ac879858b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007f8ad2dec609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f8ad14dd293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 61180.61186):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x56169f681c38) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x56169f681be8, cond=0x56169f681c10) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=cond@entry=0x56169f681c10, mutex=mutex@entry=0x56169f681be8) at pthread_cond_wait.c:638
#3  0x00007f8ac879897b in cnd_wait (mtx=0x56169f681be8, cond=0x56169f681c10) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x56169f4dfc10) at ../src/util/u_queue.c:275
#5  0x00007f8ac879858b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007f8ad2dec609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f8ad14dd293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 61180.61183):
#0  0x00007f8ad14d0aff in __GI___poll (fds=0x7f8ac0004630, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f8acf4291ae in g_main_context_poll (priority=<optimized out>, n_fds=2, fds=0x7f8ac0004630, timeout=<optimized out>, context=0x7f8ac0000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f8ac0000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f8acf4292e3 in g_main_context_iteration (context=0x7f8ac0000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f8ad1bf5d62 in QEventDispatcherGlib::processEvents (this=0x7f8ac0000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007f8ad1b9a08b in QEventLoop::exec (this=this@entry=0x7f8aca5b0da0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f8ad19b8082 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f8ad19b920c in QThreadPrivate::start (arg=0x56169f402a50) at thread/qthread_unix.cpp:342
#8  0x00007f8ad2dec609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f8ad14dd293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 61180.61182):
#0  0x00007f8ad14d0aff in __GI___poll (fds=0x7f8abc005240, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f8acf4291ae in g_main_context_poll (priority=<optimized out>, n_fds=2, fds=0x7f8abc005240, timeout=<optimized out>, context=0x7f8abc000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f8abc000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f8acf4292e3 in g_main_context_iteration (context=0x7f8abc000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f8ad1bf5d62 in QEventDispatcherGlib::processEvents (this=0x7f8abc000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007f8ad1b9a08b in QEventLoop::exec (this=this@entry=0x7f8acadb1da0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f8ad19b8082 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f8ad19b920c in QThreadPrivate::start (arg=0x56169f400de0) at thread/qthread_unix.cpp:342
#8  0x00007f8ad2dec609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f8ad14dd293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 61180.61181):
#0  0x00007f8ad14d0aff in __GI___poll (fds=0x7f8ac4017210, nfds=5, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f8acf4291ae in g_main_context_poll (priority=<optimized out>, n_fds=5, fds=0x7f8ac4017210, timeout=<optimized out>, context=0x7f8ac4001ce0) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f8ac4001ce0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f8acf4292e3 in g_main_context_iteration (context=0x7f8ac4001ce0, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f8ad1bf5d62 in QEventDispatcherGlib::processEvents (this=0x7f8ac4000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007f8ad1b9a08b in QEventLoop::exec (this=this@entry=0x7f8acb64dd70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f8ad19b8082 in QThread::exec (this=this@entry=0x7f8ad2db7d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f8ad2d34f2b in QDBusConnectionManager::run (this=0x7f8ad2db7d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#8  0x00007f8ad19b920c in QThreadPrivate::start (arg=0x7f8ad2db7d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:342
#9  0x00007f8ad2dec609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f8ad14dd293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 61180.61180):
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007f8ad13e0859 in __GI_abort () at abort.c:79
#2  0x00007f8ad144b3ee in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7f8ad1575285 "%s\n") at ../sysdeps/posix/libc_fatal.c:155
#3  0x00007f8ad145347c in malloc_printerr (str=str@entry=0x7f8ad15734ae "free(): invalid pointer") at malloc.c:5347
#4  0x00007f8ad1454cac in _int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at malloc.c:4173
#5  0x00007f8ac879289a in unsafe_free (info=0x5616a07d1b90) at ../src/util/ralloc.c:292
#6  0x00007f8ac8792c3a in ralloc_free (ptr=<optimized out>) at ../src/util/ralloc.c:262
#7  0x00007f8ac86d5a2c in (anonymous namespace)::builtin_builder::release (this=0x7f8ac8f578b0 <builtins>, this=0x7f8ac8f578b0 <builtins>) at ../src/compiler/glsl/builtin_functions.cpp:7681
#8  _mesa_glsl_builtin_functions_decref () at ../src/compiler/glsl/builtin_functions.cpp:7681
#9  0x00007f8ac84d3615 in _mesa_free_context_data (ctx=ctx@entry=0x56169fde55d0) at ../src/mesa/main/context.c:1405
#10 0x00007f8ac8383423 in intelDestroyContext (driContextPriv=0x5616a0121eb0) at ../src/mesa/drivers/dri/i965/brw_context.c:1221
#11 0x00007f8ac84243f7 in driDestroyContext (pcp=0x5616a0121eb0) at ../src/mesa/drivers/dri/common/dri_util.c:528
#12 0x00007f8ac92a12fd in ?? () from target:/lib/x86_64-linux-gnu/libEGL_mesa.so.0
#13 0x00007f8ac9296ce9 in ?? () from target:/lib/x86_64-linux-gnu/libEGL_mesa.so.0
#14 0x00007f8acae37528 in KWin::AbstractEglBackend::cleanup (this=this@entry=0x56169f9d5260) at ./platformsupport/scenes/opengl/abstract_egl_backend.cpp:116
#15 0x00007f8acae2dc55 in KWin::EglGbmBackend::~EglGbmBackend (this=0x56169f9d5260, __in_chrg=<optimized out>) at ./plugins/platforms/drm/egl_gbm_backend.cpp:42
#16 0x00007f8acae2dcbd in KWin::EglGbmBackend::~EglGbmBackend (this=0x56169f9d5260, __in_chrg=<optimized out>) at ./plugins/platforms/drm/egl_gbm_backend.cpp:40
#17 0x00007f8ac930a90f in KWin::SceneOpenGL::~SceneOpenGL (this=0x56169f9dace0, __in_chrg=<optimized out>) at ./plugins/scenes/opengl/scene_opengl.cpp:365
#18 0x00007f8ac930a9bd in KWin::SceneOpenGL2::~SceneOpenGL2 (this=0x56169f9dace0, __in_chrg=<optimized out>) at ./plugins/scenes/opengl/scene_opengl.cpp:978
#19 0x00007f8ad337d5c1 in KWin::Compositor::stop (this=0x56169f4f37f0) at ./composite.cpp:448
#20 KWin::Compositor::stop (this=0x56169f4f37f0) at ./composite.cpp:395
#21 0x00007f8ad337d721 in KWin::Compositor::reinitialize (this=0x56169f4f37f0) at ./composite.cpp:524
#22 0x00007f8ad337946e in KWin::Compositor::configChanged (this=0x56169f4f37f0) at ./composite.cpp:514
#23 0x00007f8ad1bd247e in QtPrivate::QSlotObjectBase::call (a=0x7ffc312f8720, r=0x56169f4f37f0, this=0x56169f4e6990) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#24 doActivate<false> (sender=0x56169f3b5420, signal_index=63, argv=0x7ffc312f8720) at kernel/qobject.cpp:3886
#25 0x00007f8ad1bcb847 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f8ad35ec7a0 <KWin::Options::staticMetaObject>, local_signal_index=local_signal_index@entry=60, argv=argv@entry=0x0) at kernel/qobject.cpp:3946
#26 0x00007f8ad3328b67 in KWin::Options::configChanged (this=<optimized out>) at ./obj-x86_64-linux-gnu/kwin_autogen/EWIEGA46WW/moc_options.cpp:1767
#27 0x00007f8ad341cae0 in KWin::Options::updateSettings (this=<optimized out>) at ./options.cpp:757
#28 0x00007f8ad34c3e1c in KWin::Workspace::slotReconfigure (this=0x56169f9f6ac0) at ./workspace.cpp:921
#29 0x00007f8ad1bd247e in QtPrivate::QSlotObjectBase::call (a=0x7ffc312f88f0, r=0x56169f9f6ac0, this=0x5616a0225b00) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#30 doActivate<false> (sender=0x56169f9f6c00, signal_index=3, argv=0x7ffc312f88f0) at kernel/qobject.cpp:3886
#31 0x00007f8ad1bcb847 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f8ad1e82ca0 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc312f88f0) at kernel/qobject.cpp:3946
#32 0x00007f8ad1bd6fae in QTimer::timeout (this=<optimized out>, _t1=...) at .moc/moc_qtimer.cpp:205
#33 0x00007f8ad1bc8f15 in QObject::event (this=0x56169f9f6c00, e=0x7ffc312f8c20) at kernel/qobject.cpp:1336
#34 0x00007f8ad26d6cc3 in QApplicationPrivate::notify_helper (this=this@entry=0x56169f390350, receiver=receiver@entry=0x56169f9f6c00, e=e@entry=0x7ffc312f8c20) at kernel/qapplication.cpp:3671
#35 0x00007f8ad26dfc70 in QApplication::notify (this=0x7ffc312f9010, receiver=0x56169f9f6c00, e=0x7ffc312f8c20) at kernel/qapplication.cpp:3417
#36 0x00007f8ad1b9b57a in QCoreApplication::notifyInternal2 (receiver=0x56169f9f6c00, event=0x7ffc312f8c20) at ../../include/QtCore/5.15.0/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#37 0x00007f8ad1bf50b0 in QTimerInfoList::activateTimers (this=this@entry=0x56169f39f558) at kernel/qtimerinfo_unix.cpp:643
#38 0x00007f8ad1bf2780 in QEventDispatcherUNIXPrivate::activateTimers (this=this@entry=0x56169f39f4d0) at kernel/qeventdispatcher_unix.cpp:249
#39 0x00007f8ad1bf3477 in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:516
#40 0x00007f8acbe582c1 in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from target:/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/KWinQpaPlugin.so
#41 0x00007f8ad1b9a08b in QEventLoop::exec (this=this@entry=0x7ffc312f8dc0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#42 0x00007f8ad1ba2224 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#43 0x000056169ea4673c in main (argc=<optimized out>, argv=<optimized out>) at ./main_wayland.cpp:702
Detaching from program: target:/usr/bin/kwin_wayland, process 61180
Ending remote debugging.
[Inferior 1 (process 61180) detached]
Comment 1 kde.org 2021-11-04 14:25:43 UTC
This bug report is quite old. Quite a few changes have been made in this area and from my superficial code browsing it looks as if this problem has been fixed. Can you still reproduce this issue with KDE 5.23? If so, please provide a new backtrace.
Comment 2 Patrick Silva 2021-11-04 14:49:08 UTC
I'm unable to reproduce. Thanks.

Operating System: Arch Linux
KDE Plasma Version: 5.23.2
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.
Graphics Platform: Wayland