Bug 428468 - icon-only task manager crash when move icons position on Wayland
Summary: icon-only task manager crash when move icons position on Wayland
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.20.3
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-30 10:53 UTC by Ivan
Modified: 2021-02-18 13:25 UTC (History)
5 users (show)

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


Attachments
Kwin_Wayland Stack-Trace via GDB (9.27 KB, text/plain)
2020-11-13 20:16 UTC, Yognaut6+KDE
Details
Relevant lines from Dmesg (363 bytes, text/x-log)
2020-11-13 20:17 UTC, Yognaut6+KDE
Details
kwin-gdb-full (163.11 KB, text/plain)
2021-02-12 10:40 UTC, ElXreno
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan 2020-10-30 10:53:28 UTC
SUMMARY
In the icon-only task manager, when I try to change a position of a pinned icon (dragging it by mouse), plasma crashes. It happens only in Wayland.

STEPS TO REPRODUCE
1. Drag an icon on the icon-only task manager to change its position

OBSERVED RESULT
Plasma crashes and a new login is required


EXPECTED RESULT
Icon change its position in the task manager


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE neon 5.20
(available in About System)
KDE Plasma Version: 5.20.2
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.0
Comment 1 David Edmundson 2020-10-30 11:05:45 UTC
Crashes should have a backtrace please. 

You should see a sad face icon in the system tray
Comment 2 Ivan 2020-11-02 09:50:14 UTC
This is not possible (or maybe i'm not able) just because plasma crashes immediately and the user is logged out
Comment 3 Christoph Feck 2020-11-09 23:54:06 UTC
Then the compositor crashes, not the Plasma shell.
Comment 4 Yognaut6+KDE 2020-11-13 20:16:44 UTC
Created attachment 133315 [details]
Kwin_Wayland Stack-Trace via GDB
Comment 5 Yognaut6+KDE 2020-11-13 20:17:29 UTC
Created attachment 133316 [details]
Relevant lines from Dmesg
Comment 6 Yognaut6+KDE 2020-11-13 20:21:58 UTC
I've ran into the same issue.
Just let me know if there are any other logs I can provide,
or if I should grab another wayland log with `QT_LOGGING_RULES="kwin_*.debug=true"` set, etc.

SOFTWARE/OS VERSIONS
Distribution: Gentoo Linux
Plasma Shell: 5.20.3
KDE Frameworks: 5.75.0
Qt: 5.15.1
Comment 7 Christoph Feck 2020-12-01 12:18:27 UTC
Backtrace from comment 4:

Thread 1 "kwin_wayland" received signal SIGSEGV, Segmentation fault.
0x00007f94207507cb in KWaylandServer::SurfaceInterface::frameRendered(unsigned int) () from /usr/lib64/libKWaylandServer.so.5
(gdb) bt
#0  0x00007f94207507cb in KWaylandServer::SurfaceInterface::frameRendered(unsigned int) () from /usr/lib64/libKWaylandServer.so.5
#1  0x00007f9420b7f380 in ?? () from /usr/lib64/libkwin.so.5
#2  0x00007f941f62cc26 in ?? () from /usr/lib64/libQt5Core.so.5
#3  0x00007f9420aeb5c2 in KWin::Compositor::performCompositing() () from /usr/lib64/libkwin.so.5
#4  0x00007f94190749e7 in drmHandleEvent () from /usr/lib64/libdrm.so.2
#5  0x00007f94190b2d5d in ?? () from /usr/lib64/qt5/plugins/org.kde.kwin.waylandbackends/KWinWaylandDrmBackend.so
#6  0x00007f941f62cc26 in ?? () from /usr/lib64/libQt5Core.so.5
#7  0x00007f941f631bd6 in QSocketNotifier::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
Comment 8 Christoph Feck 2020-12-01 12:19:11 UTC
The backtrace lacks debug symbol information. Please add a backtrace with debug symbols.
Comment 9 Yognaut6+KDE 2020-12-10 19:00:08 UTC
I had my Gentoo-based tablet in the corner recompile @world, wanted to both clear the name of my hither-to-unmentioned LTO optimizations and enable 'splitdebug' to get gdb it's debug symbols. Despite this, symbols still appear to be missing for several Qt libraries, though at least I can rule out any LTO issues as the crash persists. I've been doing just fine on Xorg, and will paste the trace here, but understand that if nothing jumps out it's a low  priority issue until/unless it pops up for a few more users. Thank you for your time c:

>>> [Thread 0x7f3993fff640 (LWP 1227) exited]
>>> 
>>> Thread 1 "kwin_wayland" received signal SIGSEGV, Segmentation fault.
>>> 0x00007f39b3a28750 in KWaylandServer::SurfaceInterface::frameRendered(unsigned int) () from /usr/lib64/libKWaylandServer.so.5
>>> 
>>> Thread 11 (Thread 0x7f39919c3640 (LWP 1231)):
>>> #0  0x00007f39b1c511ff in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
>>> #1  0x00007f39b2004d6c in ?? () from /usr/lib64/libQt5Script.so.5
>>> #2  0x00007f39b2004daa in ?? () from /usr/lib64/libQt5Script.so.5
>>> #3  0x00007f39b1c4afef in start_thread () from /lib64/libpthread.so.0
>>> #4  0x00007f39b23135ef in clone () from /lib64/libc.so.6
>>> 
>>> Thread 10 (Thread 0x7f3993473640 (LWP 1228)):
>>> #0  0x00007f39b2308a40 in poll () from /lib64/libc.so.6
>>> #1  0x00007f39afe46d88 in g_poll () from /usr/lib64/libglib-2.0.so.0
>>> #2  0x00007f39afe32348 in g_main_context_poll () from /usr/lib64/libglib-2.0.so.0
>>> #3  0x00007f39afe31a7a in g_main_context_iterate () from /usr/lib64/libglib-2.0.so.0
>>> #4  0x00007f39afe31bab in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
>>> #5  0x00007f39b2925bef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
>>> #6  0x00007f39b28d665a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
>>> #7  0x00007f39b27478cf in QThread::exec() () from /usr/lib64/libQt5Core.so.5
>>> #8  0x00007f39b13910d9 in ?? () from /usr/lib64/libQt5Qml.so.5
>>> #9  0x00007f39b2748466 in ?? () from /usr/lib64/libQt5Core.so.5
>>> #10 0x00007f39b1c4afef in start_thread () from /lib64/libpthread.so.0
>>> #11 0x00007f39b23135ef in clone () from /lib64/libc.so.6
>>> 
>>> Thread 8 (Thread 0x7f399affd640 (LWP 1226)):
>>> #0  0x00007f39b1c511ff in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
>>> #1  0x00007f39a93681a4 in cnd_wait () from /usr/lib64/dri/i965_dri.so
>>> #2  0x00007f39a9368ccf in util_queue_thread_func () from /usr/lib64/dri/i965_dri.so
>>> #3  0x00007f39a9368059 in impl_thrd_routine () from /usr/lib64/dri/i965_dri.so
>>> #4  0x00007f39b1c4afef in start_thread () from /lib64/libpthread.so.0
>>> #5  0x00007f39b23135ef in clone () from /lib64/libc.so.6
>>> 
>>> Thread 7 (Thread 0x7f399b7fe640 (LWP 1225)):
>>> #0  0x00007f39b1c511ff in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
>>> #1  0x00007f39a93681a4 in cnd_wait () from /usr/lib64/dri/i965_dri.so
>>> #2  0x00007f39a9368ccf in util_queue_thread_func () from /usr/lib64/dri/i965_dri.so
>>> #3  0x00007f39a9368059 in impl_thrd_routine () from /usr/lib64/dri/i965_dri.so
>>> #4  0x00007f39b1c4afef in start_thread () from /lib64/libpthread.so.0
>>> #5  0x00007f39b23135ef in clone () from /lib64/libc.so.6
>>> 
>>> Thread 6 (Thread 0x7f399bfff640 (LWP 1224)):
>>> #0  0x00007f39b1c511ff in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
>>> #1  0x00007f39a93681a4 in cnd_wait () from /usr/lib64/dri/i965_dri.so
>>> #2  0x00007f39a9368ccf in util_queue_thread_func () from /usr/lib64/dri/i965_dri.so
>>> #3  0x00007f39a9368059 in impl_thrd_routine () from /usr/lib64/dri/i965_dri.so
>>> #4  0x00007f39b1c4afef in start_thread () from /lib64/libpthread.so.0
>>> #5  0x00007f39b23135ef in clone () from /lib64/libc.so.6
>>> 
>>> Thread 5 (Thread 0x7f39a8a1d640 (LWP 1223)):
>>> #0  0x00007f39b1c511ff in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
>>> #1  0x00007f39a93681a4 in cnd_wait () from /usr/lib64/dri/i965_dri.so
>>> #2  0x00007f39a9368ccf in util_queue_thread_func () from /usr/lib64/dri/i965_dri.so
>>> #3  0x00007f39a9368059 in impl_thrd_routine () from /usr/lib64/dri/i965_dri.so
>>> #4  0x00007f39b1c4afef in start_thread () from /lib64/libpthread.so.0
>>> #5  0x00007f39b23135ef in clone () from /lib64/libc.so.6
>>> 
>>> Thread 4 (Thread 0x7f39ab427640 (LWP 1222)):
>>> #0  0x00007f39b2308a40 in poll () from /lib64/libc.so.6
>>> #1  0x00007f39afe46d88 in g_poll () from /usr/lib64/libglib-2.0.so.0
>>> #2  0x00007f39afe32348 in g_main_context_poll () from /usr/lib64/libglib-2.0.so.0
>>> #3  0x00007f39afe31a7a in g_main_context_iterate () from /usr/lib64/libglib-2.0.so.0
>>> #4  0x00007f39afe31bab in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
>>> #5  0x00007f39b2925bef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
>>> #6  0x00007f39b28d665a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
>>> #7  0x00007f39b27478cf in QThread::exec() () from /usr/lib64/libQt5Core.so.5
>>> #8  0x00007f39b2748466 in ?? () from /usr/lib64/libQt5Core.so.5
>>> #9  0x00007f39b1c4afef in start_thread () from /lib64/libpthread.so.0
>>> #10 0x00007f39b23135ef in clone () from /lib64/libc.so.6
>>> 
>>> Thread 3 (Thread 0x7f39abc28640 (LWP 1221)):
>>> #0  0x00007f39b2308a40 in poll () from /lib64/libc.so.6
>>> #1  0x00007f39afe46d88 in g_poll () from /usr/lib64/libglib-2.0.so.0
>>> #2  0x00007f39afe32348 in g_main_context_poll () from /usr/lib64/libglib-2.0.so.0
>>> #3  0x00007f39afe31a7a in g_main_context_iterate () from /usr/lib64/libglib-2.0.so.0
>>> #4  0x00007f39afe31bab in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
>>> #5  0x00007f39b2925bef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
>>> #6  0x00007f39b28d665a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
>>> #7  0x00007f39b27478cf in QThread::exec() () from /usr/lib64/libQt5Core.so.5
>>> #8  0x00007f39b2748466 in ?? () from /usr/lib64/libQt5Core.so.5
>>> #9  0x00007f39b1c4afef in start_thread () from /lib64/libpthread.so.0
>>> #10 0x00007f39b23135ef in clone () from /lib64/libc.so.6
>>> 
>>> Thread 2 (Thread 0x7f39ac4c0640 (LWP 1220)):
>>> #0  0x00007f39b2308a40 in poll () from /lib64/libc.so.6
>>> #1  0x00007f39afe46d88 in g_poll () from /usr/lib64/libglib-2.0.so.0
>>> #2  0x00007f39afe32348 in g_main_context_poll () from /usr/lib64/libglib-2.0.so.0
>>> #3  0x00007f39afe31a7a in g_main_context_iterate () from /usr/lib64/libglib-2.0.so.0
>>> #4  0x00007f39afe31bab in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
>>> #5  0x00007f39b2925bef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
>>> #6  0x00007f39b28d665a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
>>> #7  0x00007f39b27478cf in QThread::exec() () from /usr/lib64/libQt5Core.so.5
>>> #8  0x00007f39b38eed14 in ?? () from /usr/lib64/libQt5DBus.so.5
>>> #9  0x00007f39b2748466 in ?? () from /usr/lib64/libQt5Core.so.5
>>> #10 0x00007f39b1c4afef in start_thread () from /lib64/libpthread.so.0
>>> #11 0x00007f39b23135ef in clone () from /lib64/libc.so.6
>>> 
>>> Thread 1 (Thread 0x7f39acc38840 (LWP 1219)):
>>> #0  0x00007f39b3a28750 in KWaylandServer::SurfaceInterface::frameRendered(unsigned int) () from /usr/lib64/libKWaylandServer.so.5
>>> #1  0x00007f39b3e59380 in ?? () from /usr/lib64/libkwin.so.5
>>> #2  0x00007f39b2904c26 in ?? () from /usr/lib64/libQt5Core.so.5
>>> #3  0x00007f39b3dc55c2 in KWin::Compositor::performCompositing() () from /usr/lib64/libkwin.so.5
>>> #4  0x00007f39abc52475 in drmHandleEvent () from /usr/lib64/libdrm.so.2
>>> #5  0x00007f39abc90d5d in ?? () from /usr/lib64/qt5/plugins/org.kde.kwin.waylandbackends/KWinWaylandDrmBackend.so
>>> #6  0x00007f39b2904c26 in ?? () from /usr/lib64/libQt5Core.so.5
>>> #7  0x00007f39b2909bd6 in QSocketNotifier::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
>>> #8  0x00007f39b329f7c1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
>>> #9  0x00007f39b28d7f78 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
>>> #10 0x00007f39b2921245 in QEventDispatcherUNIXPrivate::activateSocketNotifiers() () from /usr/lib64/libQt5Core.so.5
>>> #11 0x00007f39b29216e1 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
>>> #12 0x00007f39aca3ebae in ?? () from /usr/lib64/qt5/plugins/platforms/KWinQpaPlugin.so
>>> #13 0x00007f39b28d665a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
>>> #14 0x00007f39b28d85a5 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
>>> #15 0x000055559ce14355 in ?? ()
>>> #16 0x00007f39b223ce9b in __libc_start_main () from /lib64/libc.so.6
>>> #17 0x000055559ce1480a in _start ()
>>> A debugging session is active.
>>> 
>>> 	Inferior 1 [process 1219] will be detached.
>>> 
>>> Quit anyway? (y or n) [answered Y; input not from terminal]
>>> [Inferior 1 (process 1219) detached]
Comment 10 Bug Janitor Service 2020-12-25 04:34:21 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 11 Bug Janitor Service 2021-01-09 04:33:54 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!
Comment 12 ElXreno 2021-02-12 09:07:01 UTC
I have the same issue.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 33 KDE Respin
(available in About System)
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2

Backtrace:
[Thread 0x7f395225d640 (LWP 9049) exited]
[Thread 0x7f3951a5c640 (LWP 9048) exited]
[Thread 0x7f39e31ce640 (LWP 9051) exited]
[Thread 0x7f395125b640 (LWP 9050) exited]
[New Thread 0x7f395125b640 (LWP 9186)]

Thread 1 "kwin_wayland" received signal SIGSEGV, Segmentation fault.
0x00007f3a214fae7c in KWaylandServer::SurfaceInterface::frameRendered(unsigned int) () from /lib64/libKWaylandServer.so.5

Thread 15 (Thread 0x7f395125b640 (LWP 9186) "kwin_wayland"):
#0  0x00007f3a1fc13e9e in epoll_wait () from /lib64/libc.so.6
#1  0x00007f39e1363518 in impl_pollfd_wait () from /usr/lib64/spa-0.2/support/libspa-support.so
#2  0x00007f39e13597b4 in loop_iterate () from /usr/lib64/spa-0.2/support/libspa-support.so
#3  0x00007f3a217b2427 in do_loop () from /lib64/libpipewire-0.3.so.0
#4  0x00007f3a1f5573f9 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f3a1fc13b53 in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7f39e2995640 (LWP 7611) "kwin_wayland"):
#0  0x00007f3a1f55d6c2 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f3a1f902cec in QTWTF::TCMalloc_PageHeap::scavengerThread() () from /lib64/libQt5Script.so.5
#2  0x00007f3a1f902d1f in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /lib64/libQt5Script.so.5
#3  0x00007f3a1f5573f9 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f3a1fc13b53 in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7f39fce3d640 (LWP 7608) "QQmlThread"):
#0  0x00007f3a1fc08a5f in poll () from /lib64/libc.so.6
#1  0x00007f3a1dd759f6 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#2  0x00007f3a1dd20e33 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f3a202f46f3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f3a202a657b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f3a2010bb67 in QThread::exec() () from /lib64/libQt5Core.so.5
#6  0x00007f3a1ee1e5ec in QQmlThreadPrivate::run() () from /lib64/libQt5Qml.so.5
#7  0x00007f3a2010cdf0 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#8  0x00007f3a1f5573f9 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f3a1fc13b53 in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f39feffd640 (LWP 7601) "kwin_wa:disk$3"):
#0  0x00007f3a1f55d6c2 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f3a05daea6b in util_queue_thread_func () from /usr/lib64/dri/i965_dri.so
#2  0x00007f3a05dae52b in impl_thrd_routine () from /usr/lib64/dri/i965_dri.so
#3  0x00007f3a1f5573f9 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f3a1fc13b53 in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f39ff7fe640 (LWP 7600) "kwin_wa:disk$2"):
#0  0x00007f3a1f55d6c2 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f3a05daea6b in util_queue_thread_func () from /usr/lib64/dri/i965_dri.so
#2  0x00007f3a05dae52b in impl_thrd_routine () from /usr/lib64/dri/i965_dri.so
#3  0x00007f3a1f5573f9 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f3a1fc13b53 in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f39fffff640 (LWP 7599) "kwin_wa:disk$1"):
#0  0x00007f3a1f55d6c2 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f3a05daea6b in util_queue_thread_func () from /usr/lib64/dri/i965_dri.so
#2  0x00007f3a05dae52b in impl_thrd_routine () from /usr/lib64/dri/i965_dri.so
#3  0x00007f3a1f5573f9 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f3a1fc13b53 in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f3a04dae640 (LWP 7598) "kwin_wa:disk$0"):
#0  0x00007f3a1f55d6c2 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f3a05daea6b in util_queue_thread_func () from /usr/lib64/dri/i965_dri.so
#2  0x00007f3a05dae52b in impl_thrd_routine () from /usr/lib64/dri/i965_dri.so
#3  0x00007f3a1f5573f9 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f3a1fc13b53 in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f3a077fe640 (LWP 7588) "libinput-connec"):
#0  0x00007f3a1fc08a5f in poll () from /lib64/libc.so.6
#1  0x00007f3a1dd759f6 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#2  0x00007f3a1dd20e33 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f3a202f46f3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f3a202a657b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f3a2010bb67 in QThread::exec() () from /lib64/libQt5Core.so.5
#6  0x00007f3a2010cdf0 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#7  0x00007f3a1f5573f9 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f3a1fc13b53 in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f3a07fff640 (LWP 7587) "QThread"):
#0  0x00007f3a1fc08a5f in poll () from /lib64/libc.so.6
#1  0x00007f3a1dd759f6 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#2  0x00007f3a1dd20e33 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f3a202f46f3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f3a202a657b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f3a2010bb67 in QThread::exec() () from /lib64/libQt5Core.so.5
#6  0x00007f3a2010cdf0 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#7  0x00007f3a1f5573f9 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f3a1fc13b53 in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f3a0c97a640 (LWP 7586) "QDBusConnection"):
#0  0x00007f3a1fc08a5f in poll () from /lib64/libc.so.6
#1  0x00007f3a1dd759f6 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#2  0x00007f3a1dd20e33 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f3a202f46f3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f3a202a657b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f3a2010bb67 in QThread::exec() () from /lib64/libQt5Core.so.5
#6  0x00007f3a2138210b in QDBusConnectionManager::run() () from /lib64/libQt5DBus.so.5
#7  0x00007f3a2010cdf0 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#8  0x00007f3a1f5573f9 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f3a1fc13b53 in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f3a1a3fb940 (LWP 7584) "kwin_wayland"):
#0  0x00007f3a214fae7c in KWaylandServer::SurfaceInterface::frameRendered(unsigned int) () from /lib64/libKWaylandServer.so.5
#1  0x00007f3a219f50a0 in KWin::CursorImage::markAsRendered (this=0x56494391f420) at /usr/src/debug/kwin-5.20.5-1.fc33.x86_64/pointer_input.cpp:973
#2  0x00007f3a202d7386 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#3  0x00007f3a2191fa49 in KWin::Cursor::rendered (this=<optimized out>, _t1=...) at /usr/src/debug/kwin-5.20.5-1.fc33.x86_64/x86_64-redhat-linux-gnu/kwin_autogen/EWIEGA46WW/moc_cursor.cpp:230
#4  0x00007f3a219737ce in KWin::Cursor::markAsRendered (this=0x564942d3a810) at /usr/src/debug/kwin-5.20.5-1.fc33.x86_64/cursor.h:170
#5  KWin::Compositor::performCompositing (this=0x564942ddcb30) at /usr/src/debug/kwin-5.20.5-1.fc33.x86_64/composite.cpp:709
#6  0x00007f3a0c12bb3d in drmHandleEvent () from /lib64/libdrm.so.2
#7  0x00007f3a0c14b86b in operator() (__closure=<optimized out>) at /usr/src/debug/kwin-5.20.5-1.fc33.x86_64/plugins/platforms/drm/drm_backend.cpp:269
#8  QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, KWin::DrmBackend::openDrm()::<lambda()> >::call (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:146
#9  QtPrivate::Functor<KWin::DrmBackend::openDrm()::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:256
#10 QtPrivate::QFunctorSlotObject<KWin::DrmBackend::openDrm()::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:443
#11 0x00007f3a202d7386 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#12 0x00007f3a202da77a in QSocketNotifier::activated(QSocketDescriptor, QSocketNotifier::Type, QSocketNotifier::QPrivateSignal) () from /lib64/libQt5Core.so.5
#13 0x00007f3a202daf21 in QSocketNotifier::event(QEvent*) () from /lib64/libQt5Core.so.5
#14 0x00007f3a20d3cec3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#15 0x00007f3a202a7bd8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#16 0x00007f3a202f1a4e in QEventDispatcherUNIXPrivate::activateSocketNotifiers() () from /lib64/libQt5Core.so.5
#17 0x00007f3a202f1dd4 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#18 0x00007f3a0ceb21a1 in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt5/plugins/platforms/KWinQpaPlugin.so
#19 0x00007f3a202a657b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#20 0x00007f3a202ae1b4 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#21 0x0000564942a7155e in main (argc=<optimized out>, argv=0x7ffd3a96a180) at /usr/src/debug/kwin-5.20.5-1.fc33.x86_64/main_wayland.cpp:702
A debugging session is active.

	Inferior 1 [process 7584] will be detached.

Quit anyway? (y or n) [answered Y; input not from terminal]
[Inferior 1 (process 7584) detached]
Comment 13 Yaroslav Sidlovsky 2021-02-12 09:41:40 UTC
I can reproduce this bug too.
Crash happens somewhere in kwayland-server.

Thread 1 "kwin_wayland" received signal SIGSEGV, Segmentation fault.
KWaylandServer::SurfaceInterface::frameRendered (this=0x5641f8f55120, msec=151866) at /usr/src/debug/kwayland-server-5.20.5-1.fc33.x86_64/src/server/surface_interface.cpp:420
420         const bool needsFlush = !d->current.frameCallbacks.isEmpty();

Full stack trace:
```
Thread 1 "kwin_wayland" received signal SIGSEGV, Segmentation fault.
KWaylandServer::SurfaceInterface::frameRendered (this=0x5641f8f55120, msec=151866) at /usr/src/debug/kwayland-server-5.20.5-1.fc33.x86_64/src/server/surface_interface.cpp:420
420         const bool needsFlush = !d->current.frameCallbacks.isEmpty();

Thread 15 (Thread 0x7f553a029640 (LWP 26472) "EglStrmComm*261"):
#0  0x00007f55fd8aae1c in recv () at /lib64/libc.so.6
#1  0x00007f55e8618e63 in  () at /lib64/libEGL_nvidia.so.0
#2  0x00007f55e8619c14 in  () at /lib64/libEGL_nvidia.so.0
#3  0x00007f55e860ee05 in  () at /lib64/libEGL_nvidia.so.0
#4  0x00007f55e865bd4e in  () at /lib64/libEGL_nvidia.so.0
#5  0x00007f55fd1b13f9 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f55fd8a9b53 in clone () at /lib64/libc.so.6

Thread 10 (Thread 0x7f55d50b7640 (LWP 26184) "kwin_wayland"):
#0  0x00007f55fd8a9e9e in epoll_wait () at /lib64/libc.so.6
#1  0x00007f55e8058518 in impl_pollfd_wait () at /usr/lib64/spa-0.2/support/libspa-support.so
#2  0x00007f55e804e7b4 in loop_iterate () at /usr/lib64/spa-0.2/support/libspa-support.so
#3  0x00007f55ff48b427 in do_loop () at /lib64/libpipewire-0.3.so.0
#4  0x00007f55fd1b13f9 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f55fd8a9b53 in clone () at /lib64/libc.so.6

Thread 9 (Thread 0x7f553b02b640 (LWP 25280) "EglStrmComm*2D1"):
#0  0x00007f55fd8aae1c in recv () at /lib64/libc.so.6
#1  0x00007f55e8618e63 in  () at /lib64/libEGL_nvidia.so.0
#2  0x00007f55e8619c14 in  () at /lib64/libEGL_nvidia.so.0
#3  0x00007f55e860ee05 in  () at /lib64/libEGL_nvidia.so.0
#4  0x00007f55e865bd4e in  () at /lib64/libEGL_nvidia.so.0
#5  0x00007f55fd1b13f9 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f55fd8a9b53 in clone () at /lib64/libc.so.6

Thread 8 (Thread 0x7f5540f97640 (LWP 25258) "EglStrmComm*C21"):
#0  0x00007f55fd8aae1c in recv () at /lib64/libc.so.6
#1  0x00007f55e8618e63 in  () at /lib64/libEGL_nvidia.so.0
#2  0x00007f55e8619c14 in  () at /lib64/libEGL_nvidia.so.0
#3  0x00007f55e860ee05 in  () at /lib64/libEGL_nvidia.so.0
#4  0x00007f55e865bd4e in  () at /lib64/libEGL_nvidia.so.0
#5  0x00007f55fd1b13f9 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f55fd8a9b53 in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7f55c761a640 (LWP 24719) "kwin_wayland"):
#0  0x00007f55fd1b76c2 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f55fd594cec in QTWTF::TCMalloc_PageHeap::scavengerThread() () at /lib64/libQt5Script.so.5
#2  0x00007f55fd594d1f in  () at /lib64/libQt5Script.so.5
#3  0x00007f55fd1b13f9 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f55fd8a9b53 in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f55d7c67640 (LWP 24716) "QQmlThread"):
#0  0x00007f55fd89ea5f in poll () at /lib64/libc.so.6
#1  0x00007f55fb95d9f6 in g_main_context_iterate.constprop () at /lib64/libglib-2.0.so.0
#2  0x00007f55fb908e33 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007f55fdf966f3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#4  0x00007f55fdf4857b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007f55fddadb67 in QThread::exec() () at /lib64/libQt5Core.so.5
#6  0x00007f55fca6d5ec in QQmlThreadPrivate::run() () at /lib64/libQt5Qml.so.5
#7  0x00007f55fddaedf0 in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#8  0x00007f55fd1b13f9 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f55fd8a9b53 in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f55d958d640 (LWP 24714) "EglStrmAcq*DAB1"):
#0  0x00007f55fd1b76c2 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f55e8657068 in  () at /lib64/libEGL_nvidia.so.0
#2  0x00007f55e86246b8 in  () at /lib64/libEGL_nvidia.so.0
#3  0x00007f55e865bd4e in  () at /lib64/libEGL_nvidia.so.0
#4  0x00007f55fd1b13f9 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f55fd8a9b53 in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f55e91ee640 (LWP 24709) "libinput-connec"):
#0  0x00007f55fd89ea5f in poll () at /lib64/libc.so.6
#1  0x00007f55fb95d9f6 in g_main_context_iterate.constprop () at /lib64/libglib-2.0.so.0
#2  0x00007f55fb908e33 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007f55fdf966f3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#4  0x00007f55fdf4857b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007f55fddadb67 in QThread::exec() () at /lib64/libQt5Core.so.5
#6  0x00007f55fddaedf0 in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#7  0x00007f55fd1b13f9 in start_thread () at /lib64/libpthread.so.0
#8  0x00007f55fd8a9b53 in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f55e99ef640 (LWP 24708) "QThread"):
#0  0x00007f55fd89ea5f in poll () at /lib64/libc.so.6
#1  0x00007f55fb95d9f6 in g_main_context_iterate.constprop () at /lib64/libglib-2.0.so.0
#2  0x00007f55fb908e33 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007f55fdf966f3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#4  0x00007f55fdf4857b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007f55fddadb67 in QThread::exec() () at /lib64/libQt5Core.so.5
#6  0x00007f55fddaedf0 in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#7  0x00007f55fd1b13f9 in start_thread () at /lib64/libpthread.so.0
#8  0x00007f55fd8a9b53 in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f55ea337640 (LWP 24707) "QDBusConnection"):
#0  0x00007f55fd89ea5f in poll () at /lib64/libc.so.6
#1  0x00007f55fb95d9f6 in g_main_context_iterate.constprop () at /lib64/libglib-2.0.so.0
#2  0x00007f55fb908e33 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007f55fdf966f3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#4  0x00007f55fdf4857b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007f55fddadb67 in QThread::exec() () at /lib64/libQt5Core.so.5
#6  0x00007f55ff03510b in QDBusConnectionManager::run() () at /lib64/libQt5DBus.so.5
#7  0x00007f55fddaedf0 in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#8  0x00007f55fd1b13f9 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f55fd8a9b53 in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f55fdc95940 (LWP 24706) "kwin_wayland"):
#0  KWaylandServer::SurfaceInterface::frameRendered(unsigned int) (this=0x5641f8f55120, msec=151866) at /usr/src/debug/kwayland-server-5.20.5-1.fc33.x86_64/src/server/surface_interface.cpp:420
#1  0x00007f55ff6d10a0 in KWin::CursorImage::markAsRendered() (this=0x5641f8bf2c40) at /usr/src/debug/kwin-5.20.5-1.fc33.x86_64/pointer_input.cpp:973
#2  0x00007f55fdf79386 in void doActivate<false>(QObject*, int, void**) () at /lib64/libQt5Core.so.5
#3  0x00007f55ff5fba49 in KWin::Cursor::rendered(QRect const&) (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kwin-5.20.5-1.fc33.x86_64/x86_64-redhat-linux-gnu/kwin_autogen/EWIEGA46WW/moc_cursor.cpp:230
#4  0x00007f55ff64f7ce in KWin::Cursor::markAsRendered() (this=0x5641f88cef50) at /usr/src/debug/kwin-5.20.5-1.fc33.x86_64/cursor.h:170
#5  KWin::Compositor::performCompositing() (this=0x5641f896d0f0) at /usr/src/debug/kwin-5.20.5-1.fc33.x86_64/composite.cpp:709
#6  0x00007f55e9a44b3d in drmHandleEvent () at /lib64/libdrm.so.2
#7  0x00007f55e9aa886b in operator() (__closure=<optimized out>) at /usr/src/debug/kwin-5.20.5-1.fc33.x86_64/plugins/platforms/drm/drm_backend.cpp:269
#8  QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, KWin::DrmBackend::openDrm()::<lambda()> >::call (arg=<optimized out>, f=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:146
#9  QtPrivate::Functor<KWin::DrmBackend::openDrm()::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:256
#10 QtPrivate::QFunctorSlotObject<KWin::DrmBackend::openDrm()::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:443
#11 0x00007f55fdf79386 in void doActivate<false>(QObject*, int, void**) () at /lib64/libQt5Core.so.5
#12 0x00007f55fdf7c77a in QSocketNotifier::activated(QSocketDescriptor, QSocketNotifier::Type, QSocketNotifier::QPrivateSignal) () at /lib64/libQt5Core.so.5
#13 0x00007f55fdf7cf21 in QSocketNotifier::event(QEvent*) () at /lib64/libQt5Core.so.5
#14 0x00007f55fe9e5ec3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#15 0x00007f55fdf49bd8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#16 0x00007f55fdf93a4e in QEventDispatcherUNIXPrivate::activateSocketNotifiers() () at /lib64/libQt5Core.so.5
#17 0x00007f55fdf93dd4 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#18 0x00007f55ea9b91a1 in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/qt5/plugins/platforms/KWinQpaPlugin.so
#19 0x00007f55fdf4857b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#20 0x00007f55fdf501b4 in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#21 0x00005641f850655e in main(int, char**) (argc=<optimized out>, argv=0x7ffd4bc49df0) at /usr/src/debug/kwin-5.20.5-1.fc33.x86_64/main_wayland.cpp:702
```
Comment 14 Yaroslav Sidlovsky 2021-02-12 10:12:18 UTC
Every crash that I've seen after reproducing this bug has very different stack trace.
Maybe memory corruption takes place?

This bug can be easily reproduced in nested kwin_wayland:
```
export (dbus-launch) && env QT_QPA_PLATFORM=wayland kwin_wayland --xwayland --socket nested plasmashell
```
Comment 15 ElXreno 2021-02-12 10:39:42 UTC
The chance of getting a crash increases if you first hover your cursor over the draggable icon and wait for its caption to appear.

A full backtrace will also be available below. Previously was not with all debuginfo packages.
Comment 16 ElXreno 2021-02-12 10:40:27 UTC
Created attachment 135623 [details]
kwin-gdb-full
Comment 17 ElXreno 2021-02-17 19:28:34 UTC
This problem seems to have been resolved in version 5.21.
Comment 18 Ivan 2021-02-18 12:45:57 UTC
I confirm that the problem is NOT present in Plasma 5.21
Comment 19 Vlad Zahorodnii 2021-02-18 13:25:49 UTC
It's quite possible that it was fixed by https://invent.kde.org/plasma/kwayland-server/-/commit/bfc4dadddc7e42342f56c59427f395203272a701

Anyway, thanks for the update. :-)