Bug 422424

Summary: kwin_wayland crashes when I change global theme
Product: [Plasma] kwin Reporter: Patrick Silva <bugseforuns>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: alex765, bizyaev, carl, katyaberezyaka, kde, kde, nate, nicolas.fella, oguilherme, postix, seplexfake, seqularise
Priority: VHI    
Version: git master   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In: 5.22
Sentry Crash Report:
Attachments: gdb full backtrace

Description Patrick Silva 2020-06-03 14:19:05 UTC
SUMMARY
I can't reproduce this crash consistently, sometimes kwin_wayland crashes when I change global theme from Breeze to Breeze Dark and vice-versa.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.19.80
KDE Frameworks Version: 5.71.0
Qt Version: 5.14.2




Thread 13 (Thread 2983.3504):
#0  0x00007fb51c475ed9 in futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7fb4cf7fdbf0, expected=0, futex_word=0x563a11cf1850)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7fb4cf7fdca0, mutex=0x563a11cf1800, cond=0x563a11cf1828) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=cond@entry=0x563a11cf1828, mutex=mutex@entry=0x563a11cf1800, abstime=abstime@entry=0x7fb4cf7fdca0) at pthread_cond_wait.c:667
#3  0x00007fb51adb716a in QWaitConditionPrivate::wait_relative (this=0x563a11cf1800, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait (deadline=..., this=0x563a11cf1800) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait (this=<optimized out>, mutex=0x563a11cf16c8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007fb51adb7326 in QWaitCondition::wait (this=this@entry=0x563a120022f0, mutex=mutex@entry=0x563a11cf16c8, time=<optimized out>)
    at thread/qwaitcondition_unix.cpp:209
#7  0x00007fb51adb46b5 in QThreadPoolThread::run (this=0x563a120022e0) at thread/qthreadpool.cpp:139
#8  0x00007fb51adb0c2c in QThreadPrivate::start (arg=0x563a120022e0) at thread/qthread_unix.cpp:342
#9  0x00007fb51c46f6db in start_thread (arg=0x7fb4cf7fe700) at pthread_create.c:463
#10 0x00007fb51a47d88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 12 (Thread 2983.3503):
#0  0x00007fb51c475ed9 in futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7fb4ebd12bf0, expected=0, futex_word=0x563a12320cd0)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7fb4ebd12ca0, mutex=0x563a12320c80, cond=0x563a12320ca8) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=cond@entry=0x563a12320ca8, mutex=mutex@entry=0x563a12320c80, abstime=abstime@entry=0x7fb4ebd12ca0) at pthread_cond_wait.c:667
#3  0x00007fb51adb716a in QWaitConditionPrivate::wait_relative (this=0x563a12320c80, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait (deadline=..., this=0x563a12320c80) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait (this=<optimized out>, mutex=0x563a11cf16c8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007fb51adb7326 in QWaitCondition::wait (this=this@entry=0x563a12317550, mutex=mutex@entry=0x563a11cf16c8, time=<optimized out>)
    at thread/qwaitcondition_unix.cpp:209
#7  0x00007fb51adb46b5 in QThreadPoolThread::run (this=0x563a12317540) at thread/qthreadpool.cpp:139
#8  0x00007fb51adb0c2c in QThreadPrivate::start (arg=0x563a12317540) at thread/qthread_unix.cpp:342
#9  0x00007fb51c46f6db in start_thread (arg=0x7fb4ebd13700) at pthread_create.c:463
#10 0x00007fb51a47d88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 2983.3074):
#0  0x00007fb51c4759f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7fb51a037fb8 <QTWTF::pageheap_memory+57592>)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x7fb51a037f68 <QTWTF::pageheap_memory+57512>, cond=0x7fb51a037f90 <QTWTF::pageheap_memory+57552>)
    at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=cond@entry=0x7fb51a037f90 <QTWTF::pageheap_memory+57552>, mutex=mutex@entry=0x7fb51a037f68 <QTWTF::pageheap_memory+57512>)
    at pthread_cond_wait.c:655
#3  0x00007fb519d42934 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fb51a029ec0 <QTWTF::pageheap_memory>)
    at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#4  0x00007fb519d42979 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#5  0x00007fb51c46f6db in start_thread (arg=0x7fb4ce7fc700) at pthread_create.c:463
#6  0x00007fb51a47d88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 2983.3073):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007fb51adb3184 in QtLinuxFutex::_q_futex (val3=0, addr2=0x0, val2=0, val=<optimized out>, op=0, addr=<optimized out>) at thread/qfutex_p.h:116
#2  QtLinuxFutex::futexWait<QBasicAtomicInteger<unsigned int> > (expectedValue=<optimized out>, futex=...) at thread/qfutex_p.h:135
#3  futexSemaphoreTryAcquire_loop<false> (timeout=-1, nn=8589934593, curValue=<optimized out>, u=...) at thread/qsemaphore.cpp:219
#4  futexSemaphoreTryAcquire<false> (timeout=-1, n=n@entry=1, u=...) at thread/qsemaphore.cpp:262
#5  QSemaphore::acquire (this=this@entry=0x563a125750c0, n=n@entry=1) at thread/qsemaphore.cpp:326
#6  0x00007fb5044ddd7a in QtVirtualKeyboard::HunspellWorker::run (this=0x563a125750a0) at hunspellworker.cpp:744
#7  0x00007fb51adb0c2c in QThreadPrivate::start (arg=0x563a125750a0) at thread/qthread_unix.cpp:342
#8  0x00007fb51c46f6db in start_thread (arg=0x7fb4ceffd700) at pthread_create.c:463
#9  0x00007fb51a47d88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 2983.3071):
#0  0x00007fb51c4759f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x563a12206580) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x563a12206530, cond=0x563a12206558) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=cond@entry=0x563a12206558, mutex=mutex@entry=0x563a12206530) at pthread_cond_wait.c:655
#3  0x00007fb51adb71db in QWaitConditionPrivate::wait (deadline=..., this=0x563a12206530) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=<optimized out>, mutex=0x563a12206398, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007fb51adb7359 in QWaitCondition::wait (this=this@entry=0x563a122063a0, mutex=mutex@entry=0x563a12206398, time=time@entry=18446744073709551615)
    at thread/qwaitcondition_unix.cpp:208
#6  0x00007fb4d5ab58eb in FileInfoThread::run (this=0x563a12206388) at fileinfothread.cpp:231
#7  0x00007fb51adb0c2c in QThreadPrivate::start (arg=0x563a12206388) at thread/qthread_unix.cpp:342
#8  0x00007fb51c46f6db in start_thread (arg=0x7fb4cffff700) at pthread_create.c:463
#9  0x00007fb51a47d88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 2983.3070):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007fb51adb3184 in QtLinuxFutex::_q_futex (val3=0, addr2=0x0, val2=0, val=<optimized out>, op=0, addr=<optimized out>) at thread/qfutex_p.h:116
#2  QtLinuxFutex::futexWait<QBasicAtomicInteger<unsigned int> > (expectedValue=<optimized out>, futex=...) at thread/qfutex_p.h:135
#3  futexSemaphoreTryAcquire_loop<false> (timeout=-1, nn=8589934593, curValue=<optimized out>, u=...) at thread/qsemaphore.cpp:219
#4  futexSemaphoreTryAcquire<false> (timeout=-1, n=n@entry=1, u=...) at thread/qsemaphore.cpp:262
#5  QSemaphore::acquire (this=this@entry=0x563a122051e0, n=n@entry=1) at thread/qsemaphore.cpp:326
#6  0x00007fb5044ddd7a in QtVirtualKeyboard::HunspellWorker::run (this=0x563a122051c0) at hunspellworker.cpp:744
#7  0x00007fb51adb0c2c in QThreadPrivate::start (arg=0x563a122051c0) at thread/qthread_unix.cpp:342
#8  0x00007fb51c46f6db in start_thread (arg=0x7fb4d4e8c700) at pthread_create.c:463
#9  0x00007fb51a47d88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 2983.3046):
#0  0x00007fb51a470bf9 in __GI___poll (fds=0x7fb4d80029e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fb5115c45c9 in ?? () from target:/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb5115c46dc in g_main_context_iteration () from target:/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb51afff7ac in QEventDispatcherGlib::processEvents (this=0x7fb4d8000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#4  0x00007fb51af9ed2a in QEventLoop::exec (this=this@entry=0x7fb4e1319d80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007fb51adaf757 in QThread::exec (this=this@entry=0x563a12201eb0) at thread/qthread.cpp:536
#6  0x00007fb51619ffc5 in QQmlThreadPrivate::run (this=0x563a12201eb0) at qml/ftw/qqmlthread.cpp:155
#7  0x00007fb51adb0c2c in QThreadPrivate::start (arg=0x563a12201eb0) at thread/qthread_unix.cpp:342
#8  0x00007fb51c46f6db in start_thread (arg=0x7fb4e131a700) at pthread_create.c:463
#9  0x00007fb51a47d88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 2983.3017):
#0  0x00007fb51a470bf9 in __GI___poll (fds=0x7fb4dc002de0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fb5115c45c9 in ?? () from target:/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb5115c46dc in g_main_context_iteration () from target:/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb51afff7ac in QEventDispatcherGlib::processEvents (this=0x7fb4dc000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#4  0x00007fb51af9ed2a in QEventLoop::exec (this=this@entry=0x7fb4eb309d80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007fb51adaf757 in QThread::exec (this=this@entry=0x563a120ac720) at thread/qthread.cpp:536
#6  0x00007fb51619ffc5 in QQmlThreadPrivate::run (this=0x563a120ac720) at qml/ftw/qqmlthread.cpp:155
#7  0x00007fb51adb0c2c in QThreadPrivate::start (arg=0x563a120ac720) at thread/qthread_unix.cpp:342
#8  0x00007fb51c46f6db in start_thread (arg=0x7fb4eb30a700) at pthread_create.c:463
#9  0x00007fb51a47d88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 2983.2987):
#0  0x00007fb51c4759f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x563a11cb0928) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x563a11cb08d8, cond=0x563a11cb0900) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=cond@entry=0x563a11cb0900, mutex=mutex@entry=0x563a11cb08d8) at pthread_cond_wait.c:655
#3  0x00007fb4f3238ecb in cnd_wait (mtx=0x563a11cb08d8, cond=0x563a11cb0900) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x563a11cdc200) at ../src/util/u_queue.c:258
#5  0x00007fb4f3238ac7 in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007fb51c46f6db in start_thread (arg=0x7fb4f1b9b700) at pthread_create.c:463
#7  0x00007fb51a47d88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 2983.2986):
#0  0x00007fb51a470bf9 in __GI___poll (fds=0x7fb4f80029e0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fb5115c45c9 in ?? () from target:/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb5115c46dc in g_main_context_iteration () from target:/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb51afff7ac in QEventDispatcherGlib::processEvents (this=0x7fb4f8000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#4  0x00007fb51af9ed2a in QEventLoop::exec (this=this@entry=0x7fb502149da0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007fb51adaf757 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#6  0x00007fb51adb0c2c in QThreadPrivate::start (arg=0x563a11bfe480) at thread/qthread_unix.cpp:342
#7  0x00007fb51c46f6db in start_thread (arg=0x7fb50214a700) at pthread_create.c:463
#8  0x00007fb51a47d88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 2983.2985):
#0  0x00007fb51a470bf9 in __GI___poll (fds=0x7fb4f4002de0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fb5115c45c9 in ?? () from target:/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb5115c46dc in g_main_context_iteration () from target:/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb51afff7ac in QEventDispatcherGlib::processEvents (this=0x7fb4f4000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#4  0x00007fb51af9ed2a in QEventLoop::exec (this=this@entry=0x7fb50294ada0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007fb51adaf757 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#6  0x00007fb51adb0c2c in QThreadPrivate::start (arg=0x563a11bfd350) at thread/qthread_unix.cpp:342
#7  0x00007fb51c46f6db in start_thread (arg=0x7fb50294b700) at pthread_create.c:463
#8  0x00007fb51a47d88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 2983.2984):
#0  0x00007fb51a470bf9 in __GI___poll (fds=0x7fb4fc017470, nfds=5, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fb5115c45c9 in ?? () from target:/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb5115c46dc in g_main_context_iteration () from target:/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb51afff7ac in QEventDispatcherGlib::processEvents (this=0x7fb4fc000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#4  0x00007fb51af9ed2a in QEventLoop::exec (this=this@entry=0x7fb5037b1d70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007fb51adaf757 in QThread::exec (this=this@entry=0x7fb51c466da0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:536
#6  0x00007fb51c1ee555 in QDBusConnectionManager::run (this=0x7fb51c466da0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#7  0x00007fb51adb0c2c in QThreadPrivate::start (arg=0x7fb51c466da0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:342
#8  0x00007fb51c46f6db in start_thread (arg=0x7fb5037b2700) at pthread_create.c:463
#9  0x00007fb51a47d88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 2983.2983):
#0  0x00007fb5134a27cb in wl_closure_invoke (closure=closure@entry=0x563a11c50920, flags=flags@entry=2, target=<optimized out>, target@entry=0x563a12cce910, 
    opcode=opcode@entry=0, data=<optimized out>, data@entry=0x563a126968a0) at ../src/connection.c:1002
#1  0x00007fb51349f26f in wl_client_connection_data (fd=<optimized out>, mask=<optimized out>, data=0x563a126968a0) at ../src/wayland-server.c:420
#2  0x00007fb5134a0832 in wl_event_loop_dispatch (loop=0x563a11bdca10, timeout=<optimized out>) at ../src/event-loop.c:641
#3  0x00007fb51c6f77ce in KWaylandServer::Display::Private::dispatch() () from target:/usr/lib/x86_64-linux-gnu/libKWaylandServer.so.5
#4  0x00007fb51afdb6d7 in QtPrivate::QSlotObjectBase::call (a=0x7ffcdfe4e1b0, r=0x563a11bf71c0, this=<optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#5  doActivate<false> (sender=0x563a11bf7a90, signal_index=3, argv=0x7ffcdfe4e1b0) at kernel/qobject.cpp:3870
#6  0x00007fb51afd5f92 in QMetaObject::activate (sender=sender@entry=0x563a11bf7a90, m=m@entry=0x7fb51b46eba0 <QSocketNotifier::staticMetaObject>, 
    local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffcdfe4e1b0) at kernel/qobject.cpp:3930
#7  0x00007fb51afdecb8 in QSocketNotifier::activated (this=this@entry=0x563a11bf7a90, _t1=<optimized out>, _t2=...) at .moc/moc_qsocketnotifier.cpp:141
#8  0x00007fb51afdf072 in QSocketNotifier::event (this=0x563a11bf7a90, e=0x7ffcdfe4e480) at kernel/qsocketnotifier.cpp:266
#9  0x00007fb51b5d49ac in QApplicationPrivate::notify_helper (this=this@entry=0x563a11b9c8e0, receiver=receiver@entry=0x563a11bf7a90, e=e@entry=0x7ffcdfe4e480)
    at kernel/qapplication.cpp:3685
#10 0x00007fb51b5dbbb0 in QApplication::notify (this=0x7ffcdfe4e890, receiver=0x563a11bf7a90, e=0x7ffcdfe4e480) at kernel/qapplication.cpp:3431
#11 0x00007fb51afa04a8 in QCoreApplication::notifyInternal2 (receiver=0x563a11bf7a90, event=0x7ffcdfe4e480) at kernel/qcoreapplication.cpp:1075
#12 0x00007fb51affc973 in QEventDispatcherUNIXPrivate::activateSocketNotifiers (this=this@entry=0x563a11babd10) at kernel/qeventdispatcher_unix.cpp:304
#13 0x00007fb51affcd7f in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:509
#14 0x00007fb5069e3c4d in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from target:/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/KWinQpaPlugin.so
#15 0x00007fb51af9ed2a in QEventLoop::exec (this=this@entry=0x7ffcdfe4e630, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#16 0x00007fb51afa84a0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1383
#17 0x0000563a0fba517c in main (argc=<optimized out>, argv=<optimized out>) at ./main_wayland.cpp:704
Detaching from program: target:/usr/bin/kwin_wayland, process 2983
Ending remote debugging.
Comment 1 Guilherme Silva 2020-06-13 06:03:14 UTC
Created attachment 129289 [details]
gdb full backtrace

I'm having the same issue and I can reproduce it consistently.

Keep in mind that I'm running Plasma on Wayland using NVIDIA's proprietary graphics driver, version 440.82.

Operating System: openSUSE Tumbleweed 20200611
KDE Plasma Version: 5.19.0
KDE Frameworks Version: 5.70.0
Qt Version: 5.15.0
Kernel Version: 5.6.14-1-default
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-3570K CPU @ 3.40GHz
Memory: 7,7 GiB of RAM
Graphics Processor: GeForce GTX 660/PCIe/SSE2
Comment 2 Guilherme Silva 2020-06-13 06:11:25 UTC
Hmm, now that I think about it, I think my issue might not exactly be related to yours...

Once I select the theme and hit "Apply", my screen goes completely dark. Though I'm able to switch to a VT, I don't know how to end that Plasma session that is broken, so I just restart my computer instead.

Also, according to coredumpctl, is plasmashell that crashes for me, not kwin_wayland:

$ coredumpctl list --since=today
Sat 2020-06-13 02:28:10 -03    6711  1000   100   6 present   /usr/bin/plasmashell
Comment 3 Patrick Silva 2020-06-13 11:08:46 UTC
plasma crash was reported as bug 414834
Comment 4 Guilherme Silva 2020-06-13 18:19:02 UTC
Thanks, I'll post it there.
Comment 5 Nicolas Fella 2020-07-26 19:57:09 UTC
*** Bug 422863 has been marked as a duplicate of this bug. ***
Comment 6 Patrick Silva 2020-10-05 16:27:13 UTC
Sometimes Plasma loses its settings (icons arrangement/alingment, wallpaper and widgets) after this crash.
Comment 7 Vlad Zahorodnii 2020-11-05 09:05:45 UTC
*** Bug 428690 has been marked as a duplicate of this bug. ***
Comment 8 Carl Schwan 2020-11-18 14:22:54 UTC
For me, it crashes the entire section each time. I tried changing the individual appearance settings individually and this works fine.

Plasma 5.20.80
KDE Framework master
Qt 5.15.1
Comment 9 Nate Graham 2021-01-28 21:56:17 UTC
*** Bug 432261 has been marked as a duplicate of this bug. ***
Comment 10 Patrick Silva 2021-03-30 11:04:25 UTC
This crash is still happening on non unstable.


Thread 12 (Thread 0x7ff225061700 (LWP 12478)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7ff225060c50, clockid=<optimized out>, expected=0, futex_word=0x5606b3386da0) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7ff225060c50, clockid=<optimized out>, mutex=0x5606b3386d50, cond=0x5606b3386d78) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=cond@entry=0x5606b3386d78, mutex=mutex@entry=0x5606b3386d50, abstime=abstime@entry=0x7ff225060c50) at pthread_cond_wait.c:656
#3  0x00007ff24dfa4ce8 in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (this=0x5606b3386d50, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x5606b3386d50) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x5606b3386660, mutex=mutex@entry=0x5606b3386b08, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007ff24dfa21f1 in QThreadPoolThread::run() (this=0x5606b3386650) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:270
#7  0x00007ff24df9ebec in QThreadPrivate::start(void*) (arg=0x5606b3386650) at thread/qthread_unix.cpp:329
#8  0x00007ff24ca7e609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007ff24c701293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7ff226c03700 (LWP 12479)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7ff226c02c50, clockid=<optimized out>, expected=0, futex_word=0x5606b29f1be4) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7ff226c02c50, clockid=<optimized out>, mutex=0x5606b29f1b90, cond=0x5606b29f1bb8) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=cond@entry=0x5606b29f1bb8, mutex=mutex@entry=0x5606b29f1b90, abstime=abstime@entry=0x7ff226c02c50) at pthread_cond_wait.c:656
#3  0x00007ff24dfa4ce8 in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (this=0x5606b29f1b90, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x5606b29f1b90) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x5606b29f1a80, mutex=mutex@entry=0x5606b3386b08, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007ff24dfa21f1 in QThreadPoolThread::run() (this=0x5606b29f1a70) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:270
#7  0x00007ff24df9ebec in QThreadPrivate::start(void*) (arg=0x5606b29f1a70) at thread/qthread_unix.cpp:329
#8  0x00007ff24ca7e609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007ff24c701293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7ff20a813700 (LWP 12440)):
#0  0x00007ff24c7015ce in epoll_wait (epfd=96, events=events@entry=0x7ff20a8128f0, maxevents=32, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
#1  0x00007ff20ade1e0b in impl_pollfd_wait (object=<optimized out>, pfd=<optimized out>, ev=0x7ff20a812aa0, n_ev=<optimized out>, timeout=<optimized out>) at ../spa/plugins/support/system.c:154
#2  0x00007ff20add5134 in loop_iterate (object=0x5606b3df1d18, timeout=-1) at ../spa/plugins/support/loop.c:291
#3  0x00007ff24c9eaa80 in  () at /lib/x86_64-linux-gnu/libpipewire-0.3.so.0
#4  0x00007ff24ca7e609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#5  0x00007ff24c701293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7ff2359b9700 (LWP 8301)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5606b2b1f208) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5606b2b1f1b8, cond=0x5606b2b1f1e0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5606b2b1f1e0, mutex=0x5606b2b1f1b8) at pthread_cond_wait.c:638
#3  0x00007ff237717e6b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007ff237717a6b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007ff24ca7e609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007ff24c701293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7ff2262a4700 (LWP 8303)):
#0  0x00007ff24c6f4aff in __GI___poll (fds=0x7ff214004e60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ff24ba3f36e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7ff214004e60, timeout=<optimized out>, context=0x7ff214000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7ff214000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007ff24ba3f4a3 in g_main_context_iteration (context=0x7ff214000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007ff24e1defe2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ff214000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007ff24e1831eb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ff2262a3cc0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007ff24df9da52 in QThread::exec() (this=this@entry=0x5606b3420890) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007ff24b009fa9 in QQmlThreadPrivate::run() (this=0x5606b3420890) at qml/ftw/qqmlthread.cpp:155
#8  0x00007ff24df9ebec in QThreadPrivate::start(void*) (arg=0x5606b3420890) at thread/qthread_unix.cpp:329
#9  0x00007ff24ca7e609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007ff24c701293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7ff2369bb700 (LWP 8299)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5606b2b1f208) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5606b2b1f1b8, cond=0x5606b2b1f1e0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5606b2b1f1e0, mutex=0x5606b2b1f1b8) at pthread_cond_wait.c:638
#3  0x00007ff237717e6b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007ff237717a6b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007ff24ca7e609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007ff24c701293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7ff2371bc700 (LWP 8298)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5606b2b1f208) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5606b2b1f1b8, cond=0x5606b2b1f1e0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5606b2b1f1e0, mutex=0x5606b2b1f1b8) at pthread_cond_wait.c:638
#3  0x00007ff237717e6b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007ff237717a6b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007ff24ca7e609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007ff24c701293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7ff2361ba700 (LWP 8300)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5606b2b1f208) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5606b2b1f1b8, cond=0x5606b2b1f1e0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5606b2b1f1e0, mutex=0x5606b2b1f1b8) at pthread_cond_wait.c:638
#3  0x00007ff237717e6b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007ff237717a6b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007ff24ca7e609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007ff24c701293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7ff245b50700 (LWP 8297)):
#0  0x00007ff24c6f4aff in __GI___poll (fds=0x7ff23c004630, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ff24ba3f36e in g_main_context_poll (priority=<optimized out>, n_fds=2, fds=0x7ff23c004630, timeout=<optimized out>, context=0x7ff23c000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7ff23c000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007ff24ba3f4a3 in g_main_context_iteration (context=0x7ff23c000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007ff24e1defe2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ff23c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007ff24e1831eb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ff245b4fce0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007ff24df9da52 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007ff24df9ebec in QThreadPrivate::start(void*) (arg=0x5606b28a2170) at thread/qthread_unix.cpp:329
#8  0x00007ff24ca7e609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007ff24c701293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7ff246c71700 (LWP 8295)):
#0  0x00007ff24c6f4aff in __GI___poll (fds=0x7ff240018fc0, nfds=4, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ff24ba3f36e in g_main_context_poll (priority=<optimized out>, n_fds=4, fds=0x7ff240018fc0, timeout=<optimized out>, context=0x7ff240001ce0) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7ff240001ce0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007ff24ba3f4a3 in g_main_context_iteration (context=0x7ff240001ce0, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007ff24e1defe2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ff240000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007ff24e1831eb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ff246c70cb0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007ff24df9da52 in QThread::exec() (this=this@entry=0x7ff24eb8ad80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007ff24eb06f4b in QDBusConnectionManager::run() (this=0x7ff24eb8ad80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#8  0x00007ff24df9ebec in QThreadPrivate::start(void*) (arg=0x7ff24eb8ad80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:329
#9  0x00007ff24ca7e609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007ff24c701293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7ff246351700 (LWP 8296)):
#0  0x00007ff24c6f4aff in __GI___poll (fds=0x7ff238005240, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ff24ba3f36e in g_main_context_poll (priority=<optimized out>, n_fds=2, fds=0x7ff238005240, timeout=<optimized out>, context=0x7ff238000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7ff238000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007ff24ba3f4a3 in g_main_context_iteration (context=0x7ff238000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007ff24e1defe2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ff238000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007ff24e1831eb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ff246350ce0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007ff24df9da52 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007ff24df9ebec in QThreadPrivate::start(void*) (arg=0x5606b2891d80) at thread/qthread_unix.cpp:329
#8  0x00007ff24ca7e609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007ff24c701293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7ff24768ed80 (LWP 8294)):
#0  QtWaylandServer::org_kde_kwin_blur_manager::bind_func(wl_client*, void*, unsigned int, unsigned int) (client=0x5606b3954530, data=0x0, version=1, id=142) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:663
#1  0x00007ff247e79ff5 in ffi_call_unix64 () at ../src/x86/unix64.S:101
#2  0x00007ff247e7940a in ffi_call_int (cif=<optimized out>, fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>, closure=<optimized out>) at ../src/x86/ffi64.c:669
#3  0x00007ff24a6a3628 in wl_closure_invoke (closure=closure@entry=0x5606b31b40c0, flags=flags@entry=2, target=<optimized out>, target@entry=0x5606b394cf10, opcode=opcode@entry=0, data=<optimized out>, data@entry=0x5606b3954530) at ../src/connection.c:1018
#4  0x00007ff24a69f9e2 in wl_client_connection_data (fd=<optimized out>, mask=<optimized out>, data=0x5606b3954530) at ../src/wayland-server.c:432
#5  0x00007ff24a6a165a in wl_event_loop_dispatch (loop=0x5606b284c120, timeout=timeout@entry=0) at ../src/event-loop.c:1027
#6  0x00007ff24cc8b34c in KWaylandServer::Display::dispatchEvents() (this=<optimized out>) at ./src/server/display.cpp:107
#7  0x00007ff24e1bb6fe in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffec7c5a640, r=0x5606b28780b0, this=0x5606b339a2b0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#8  doActivate<false>(QObject*, int, void**) (sender=0x5606b3396430, signal_index=3, argv=0x7ffec7c5a640) at kernel/qobject.cpp:3886
#9  0x00007ff24e1b4ac7 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x5606b3396430, m=m@entry=0x7ff24e41eb40 <QSocketNotifier::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffec7c5a640) at kernel/qobject.cpp:3946
#10 0x00007ff24e1bf773 in QSocketNotifier::activated(QSocketDescriptor, QSocketNotifier::Type, QSocketNotifier::QPrivateSignal) (this=this@entry=0x5606b3396430, _t1=..., _t2=<optimized out>, _t3=...) at .moc/moc_qsocketnotifier.cpp:178
#11 0x00007ff24e1bff13 in QSocketNotifier::event(QEvent*) (this=0x5606b3396430, e=0x7ffec7c5a910) at kernel/qsocketnotifier.cpp:302
#12 0x00007ff24d0dcdc3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x5606b2838d90, receiver=receiver@entry=0x5606b3396430, e=e@entry=0x7ffec7c5a910) at kernel/qapplication.cpp:3632
#13 0x00007ff24d0e5bb8 in QApplication::notify(QObject*, QEvent*) (this=0x7ffec7c5ad20, receiver=0x5606b3396430, e=0x7ffec7c5a910) at kernel/qapplication.cpp:3156
#14 0x00007ff24e1846da in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x5606b3396430, event=0x7ffec7c5a910) at ../../include/QtCore/5.15.2/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#15 0x00007ff24e1dc20b in QEventDispatcherUNIXPrivate::activateSocketNotifiers() (this=0x5606b284ce70) at kernel/qeventdispatcher_unix.cpp:304
#16 0x00007ff24e1dc66b in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:511
#17 0x00005606b18a48e1 in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
#18 0x00007ff24e1831eb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffec7c5aaa0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#19 0x00007ff24e18b394 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#20 0x00005606b1831281 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ./src/main_wayland.cpp:802
Comment 11 Nate Graham 2021-03-30 18:48:47 UTC
Your backtrace is in QtWaylandServer::org_kde_kwin_blur_manager::bind_func which is different from the one originally reported. Seems like Bug 435009 is related. Re-closing this the original issue here is fixed. Please file a new bug report for the new crash. Thanks!
Comment 12 Patrick Silva 2021-04-02 11:46:28 UTC
(In reply to Nate Graham from comment #11)
> Your backtrace is in QtWaylandServer::org_kde_kwin_blur_manager::bind_func
> which is different from the one originally reported. Seems like Bug 435009
> is related. Re-closing this the original issue here is fixed. Please file a
> new bug report for the new crash. Thanks!

done, see bug 435258