Bug 410839 - Kwin crashes sometimes when using the virtual desktop grid
Summary: Kwin crashes sometimes when using the virtual desktop grid
Status: RESOLVED DUPLICATE of bug 429202
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.22.3
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-08-12 08:56 UTC by Marcel
Modified: 2021-07-28 16:34 UTC (History)
3 users (show)

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


Attachments
New crash information added by DrKonqi (14.36 KB, text/plain)
2019-08-18 22:57 UTC, Marcel
Details
kwin support information (6.70 KB, text/plain)
2019-09-19 10:35 UTC, Marcel
Details
New crash information added by DrKonqi (3.09 KB, text/plain)
2021-01-07 19:41 UTC, Marcel
Details
Full stacktrace (63.76 KB, text/plain)
2021-07-28 16:28 UTC, postix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcel 2019-08-12 08:56:03 UTC
Application: kwin_x11 (5.16.4)

Qt Version: 5.13.0
Frameworks Version: 5.60.0
Operating System: Linux 5.2.5-1-default x86_64
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:

I've bound the virtual desktop grid effect to the bottom right screen corner. Sometimes when using this corner KWin crashes with the attached backtrace.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f1ec2931880 (LWP 16238))]

Thread 28 (Thread 0x7f1db7f25700 (LWP 16365)):
#0  0x00007f1ec5838e05 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f1eaab787fb in  () at /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f1eaab786c7 in  () at /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f1ec5832faa in start_thread () at /lib64/libpthread.so.0
#4  0x00007f1ec791973f in clone () at /lib64/libc.so.6

Thread 27 (Thread 0x7f1db8726700 (LWP 16364)):
#0  0x00007f1ec5838e05 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f1eaab787fb in  () at /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f1eaab786c7 in  () at /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f1ec5832faa in start_thread () at /lib64/libpthread.so.0
#4  0x00007f1ec791973f in clone () at /lib64/libc.so.6

Thread 26 (Thread 0x7f1eabfff700 (LWP 16361)):
#0  0x00007f1ec790edb6 in ppoll () at /lib64/libc.so.6
#1  0x00007f1ec646aa39 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f1ec646c031 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#3  0x00007f1ec641723b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f1ec624ff91 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#5  0x00007f1ec4fc5595 in  () at /usr/lib64/libQt5Qml.so.5
#6  0x00007f1ec6251112 in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007f1ec5832faa in start_thread () at /lib64/libpthread.so.0
#8  0x00007f1ec791973f in clone () at /lib64/libc.so.6

Thread 25 (Thread 0x7f1e51ffb700 (LWP 16324)):
#0  0x00007f1ec5838e05 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f1ec5cee1ea in  () at /usr/lib64/libQt5Script.so.5
#2  0x00007f1ec5cee20b in  () at /usr/lib64/libQt5Script.so.5
#3  0x00007f1ec5832faa in start_thread () at /lib64/libpthread.so.0
#4  0x00007f1ec791973f in clone () at /lib64/libc.so.6

Thread 24 (Thread 0x7f1e52ffd700 (LWP 16322)):
#0  0x00007f1ec5838e05 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f1eaab787fb in  () at /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f1eaab786c7 in  () at /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f1ec5832faa in start_thread () at /lib64/libpthread.so.0
#4  0x00007f1ec791973f in clone () at /lib64/libc.so.6

Thread 23 (Thread 0x7f1e537fe700 (LWP 16321)):
#0  0x00007f1ec5838e05 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f1eaab787fb in  () at /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f1eaab786c7 in  () at /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f1ec5832faa in start_thread () at /lib64/libpthread.so.0
#4  0x00007f1ec791973f in clone () at /lib64/libc.so.6

Thread 22 (Thread 0x7f1e53fff700 (LWP 16312)):
#0  0x00007f1ec5838e05 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f1eaab787fb in  () at /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f1eaab786c7 in  () at /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f1ec5832faa in start_thread () at /lib64/libpthread.so.0
#4  0x00007f1ec791973f in clone () at /lib64/libc.so.6

Thread 21 (Thread 0x7f1e88ff9700 (LWP 16311)):
#0  0x00007f1ec5838e05 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f1eaab787fb in  () at /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f1eaab786c7 in  () at /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f1ec5832faa in start_thread () at /lib64/libpthread.so.0
#4  0x00007f1ec791973f in clone () at /lib64/libc.so.6

Thread 20 (Thread 0x7f1e897fa700 (LWP 16310)):
#0  0x00007f1ec5838e05 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f1eaab787fb in  () at /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f1eaab786c7 in  () at /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f1ec5832faa in start_thread () at /lib64/libpthread.so.0
#4  0x00007f1ec791973f in clone () at /lib64/libc.so.6

Thread 19 (Thread 0x7f1e89ffb700 (LWP 16309)):
#0  0x00007f1ec5838e05 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f1eaab787fb in  () at /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f1eaab786c7 in  () at /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f1ec5832faa in start_thread () at /lib64/libpthread.so.0
#4  0x00007f1ec791973f in clone () at /lib64/libc.so.6

Thread 18 (Thread 0x7f1e8a7fc700 (LWP 16308)):
#0  0x00007f1ec5838e05 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f1eaab787fb in  () at /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f1eaab786c7 in  () at /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f1ec5832faa in start_thread () at /lib64/libpthread.so.0
#4  0x00007f1ec791973f in clone () at /lib64/libc.so.6

Thread 17 (Thread 0x7f1e8affd700 (LWP 16307)):
#0  0x00007f1ec5838e05 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f1eaab787fb in  () at /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f1eaab786c7 in  () at /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f1ec5832faa in start_thread () at /lib64/libpthread.so.0
#4  0x00007f1ec791973f in clone () at /lib64/libc.so.6

Thread 16 (Thread 0x7f1e8bfff700 (LWP 16306)):
#0  0x00007f1ec5838e05 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f1eaab787fb in  () at /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f1eaab786c7 in  () at /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f1ec5832faa in start_thread () at /lib64/libpthread.so.0
#4  0x00007f1ec791973f in clone () at /lib64/libc.so.6

Thread 15 (Thread 0x7f1e90ff9700 (LWP 16305)):
#0  0x00007f1ec5838e05 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f1eaab787fb in  () at /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f1eaab786c7 in  () at /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f1ec5832faa in start_thread () at /lib64/libpthread.so.0
#4  0x00007f1ec791973f in clone () at /lib64/libc.so.6

Thread 14 (Thread 0x7f1e917fa700 (LWP 16304)):
#0  0x00007f1ec5838e05 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f1eaab787fb in  () at /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f1eaab786c7 in  () at /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f1ec5832faa in start_thread () at /lib64/libpthread.so.0
#4  0x00007f1ec791973f in clone () at /lib64/libc.so.6

Thread 13 (Thread 0x7f1e91ffb700 (LWP 16303)):
#0  0x00007f1ec5838e05 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f1eaab787fb in  () at /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f1eaab786c7 in  () at /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f1ec5832faa in start_thread () at /lib64/libpthread.so.0
#4  0x00007f1ec791973f in clone () at /lib64/libc.so.6

Thread 12 (Thread 0x7f1e927fc700 (LWP 16302)):
#0  0x00007f1ec5838e05 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f1eaab787fb in  () at /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f1eaab786c7 in  () at /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f1ec5832faa in start_thread () at /lib64/libpthread.so.0
#4  0x00007f1ec791973f in clone () at /lib64/libc.so.6

Thread 11 (Thread 0x7f1e92ffd700 (LWP 16301)):
#0  0x00007f1ec5838e05 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f1eaab787fb in  () at /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f1eaab786c7 in  () at /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f1ec5832faa in start_thread () at /lib64/libpthread.so.0
#4  0x00007f1ec791973f in clone () at /lib64/libc.so.6

Thread 10 (Thread 0x7f1e937fe700 (LWP 16300)):
#0  0x00007f1ec5838e05 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f1eaab787fb in  () at /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f1eaab786c7 in  () at /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f1ec5832faa in start_thread () at /lib64/libpthread.so.0
#4  0x00007f1ec791973f in clone () at /lib64/libc.so.6

Thread 9 (Thread 0x7f1e8b7fe700 (LWP 16299)):
#0  0x00007f1ec5838e05 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f1eaab787fb in  () at /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f1eaab786c7 in  () at /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f1ec5832faa in start_thread () at /lib64/libpthread.so.0
#4  0x00007f1ec791973f in clone () at /lib64/libc.so.6

Thread 8 (Thread 0x7f1e93fff700 (LWP 16298)):
#0  0x00007f1ec5838e05 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f1eaab787fb in  () at /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f1eaab786c7 in  () at /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f1ec5832faa in start_thread () at /lib64/libpthread.so.0
#4  0x00007f1ec791973f in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7f1ea8f95700 (LWP 16297)):
#0  0x00007f1ec5838e05 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f1eaab787fb in  () at /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f1eaab786c7 in  () at /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f1ec5832faa in start_thread () at /lib64/libpthread.so.0
#4  0x00007f1ec791973f in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f1ea9796700 (LWP 16296)):
#0  0x00007f1ec5838e05 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f1eaab787fb in  () at /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f1eaab786c7 in  () at /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f1ec5832faa in start_thread () at /lib64/libpthread.so.0
#4  0x00007f1ec791973f in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f1ea9f97700 (LWP 16295)):
#0  0x00007f1ec5838e05 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f1eaab787fb in  () at /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f1eaab786c7 in  () at /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f1ec5832faa in start_thread () at /lib64/libpthread.so.0
#4  0x00007f1ec791973f in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f1eaa798700 (LWP 16294)):
#0  0x00007f1ec5838e05 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f1eaab787fb in  () at /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f1eaab786c7 in  () at /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f1ec5832faa in start_thread () at /lib64/libpthread.so.0
#4  0x00007f1ec791973f in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f1eb9917700 (LWP 16256)):
#0  0x00007f1ec790edb6 in ppoll () at /lib64/libc.so.6
#1  0x00007f1ec646aa39 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f1ec646c031 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#3  0x00007f1ec641723b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f1ec624ff91 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#5  0x00007f1ec4fc5595 in  () at /usr/lib64/libQt5Qml.so.5
#6  0x00007f1ec6251112 in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007f1ec5832faa in start_thread () at /lib64/libpthread.so.0
#8  0x00007f1ec791973f in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f1ebbd8b700 (LWP 16246)):
#0  0x00007f1ec790edb6 in ppoll () at /lib64/libc.so.6
#1  0x00007f1ec646aa39 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f1ec646c031 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#3  0x00007f1ec641723b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f1ec624ff91 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#5  0x00007f1ec4a214f6 in  () at /usr/lib64/libQt5DBus.so.5
#6  0x00007f1ec6251112 in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007f1ec5832faa in start_thread () at /lib64/libpthread.so.0
#8  0x00007f1ec791973f in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f1ec2931880 (LWP 16238)):
[KCrash Handler]
#6  0x00007f1ec75d3a60 in KWin::AbstractClient::setDesktops(QVector<KWin::VirtualDesktop*>) () at /usr/lib64/libkwin.so.5
#7  0x00007f1ec766a983 in KWin::EffectsHandlerImpl::windowToDesktops(KWin::EffectWindow*, QVector<unsigned int> const&) () at /usr/lib64/libkwin.so.5
#8  0x00007f1ec5ed61e9 in  () at /usr/lib64/libkwin4_effect_builtins.so.1
#9  0x00007f1ec766a447 in KWin::EffectsHandlerImpl::checkInputWindowEvent(QMouseEvent*) () at /usr/lib64/libkwin.so.5
#10 0x00007f1ebb41293a in  () at /usr/lib64/qt5/plugins/org.kde.kwin.platforms/KWinX11Platform.so
#11 0x00007f1ec76cbe7b in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) () at /usr/lib64/libkwin.so.5
#12 0x00007f1ec6416117 in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () at /usr/lib64/libQt5Core.so.5
#13 0x00007f1ec0aa4981 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /usr/lib64/libQt5XcbQpa.so.5
#14 0x00007f1ec0aa56d6 in QXcbConnection::processXcbEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5XcbQpa.so.5
#15 0x00007f1ec0ace1dc in  () at /usr/lib64/libQt5XcbQpa.so.5
#16 0x00007f1ec641723b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#17 0x00007f1ec641edb2 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#18 0x00007f1ec7814fa6 in kdemain () at /usr/lib64/libkdeinit5_kwin_x11.so
#19 0x00007f1ec7842bcb in __libc_start_main () at /lib64/libc.so.6
#20 0x0000556a2104008a in _start ()
[Inferior 1 (process 16238) detached]

Reported using DrKonqi
Comment 1 Martin Flöser 2019-08-12 12:10:23 UTC
Unfortunately the backtrace is lacking debug symbols. If you are able to reproduce please install debug packages and attach a new backtrace.
Comment 2 Marcel 2019-08-18 22:57:38 UTC
Created attachment 122235 [details]
New crash information added by DrKonqi

kwin_x11 (5.16.4) using Qt 5.13.0

Attached you can find a stacktrace with debuginfo packages installed

-- Backtrace (Reduced):
#6  0x00007fb9570a6a60 in KWin::AbstractClient::desktop() const (this=0x559f49568510) at /usr/include/qt5/QtCore/qarraydata.h:216
#7  0x00007fb9570a6a60 in KWin::AbstractClient::setDesktops(QVector<KWin::VirtualDesktop*>) (this=<optimized out>, desktops=...) at /usr/src/debug/kwin5-5.16.4-310.2.x86_64/abstract_client.cpp:548
#8  0x00007fb95713d983 in KWin::EffectsHandlerImpl::windowToDesktops(KWin::EffectWindow*, QVector<unsigned int> const&) (this=<optimized out>, w=<optimized out>, desktopIds=...) at /usr/src/debug/kwin5-5.16.4-310.2.x86_64/effects.cpp:931
#9  0x00007fb9559a91e9 in KWin::DesktopGridEffect::windowInputMouseEvent(QEvent*) (this=0x7fb940012840, e=<optimized out>) at /usr/src/debug/kwin5-5.16.4-310.2.x86_64/effects/desktopgrid/desktopgrid.cpp:571
#10 0x00007fb95713d447 in KWin::EffectsHandlerImpl::checkInputWindowEvent(QMouseEvent*) (e=0x7ffe37f51610, this=<optimized out>) at /usr/src/debug/kwin5-5.16.4-310.2.x86_64/effects.cpp:1288
Comment 3 Martin Flöser 2019-08-19 06:43:41 UTC
Backtrace is provided
Comment 4 Vlad Zahorodnii 2019-08-31 12:16:45 UTC
Please post output of
    qdbus org.kde.KWin /KWin supportInformation

It seems like left mouse button was being held when you were approaching the bottom right screen corner. Is that true?
Comment 5 Marcel 2019-09-19 10:35:13 UTC
Created attachment 122719 [details]
kwin support information
Comment 6 Marcel 2019-09-19 10:37:44 UTC
(In reply to Vlad Zahorodnii from comment #4)
> Please post output of
>     qdbus org.kde.KWin /KWin supportInformation
> 
> It seems like left mouse button was being held when you were approaching the
> bottom right screen corner. Is that true?

today the bug happened again. I wanted to use the bottom right corner to switch to the bottom right virtual desktop, so it is possible that I clicked a bit too early. But I cannot reproduce the crash this way, If I actively click before going to the corner then the effect is not starting at all.
Comment 7 Mathieu Jobin 2021-01-03 07:41:05 UTC
would you please try again with kwin 5.19+
debug symbols installed

desktop effects and compositing settings on and off.
Comment 8 Marcel 2021-01-03 15:38:44 UTC
(In reply to Mathieu Jobin from comment #7)
> would you please try again with kwin 5.19+
> debug symbols installed
> 
> desktop effects and compositing settings on and off.

Sadly I cannot reproduce the bug actively, it just happens from time to time, currently using:
* Qt 5.15.2
* KDE Frameworks 5.77.0
* Plasma 5.20.4

I will attach a new stacktrace as soon as the crash is happening again. I think I will never see this crash with compositing off as the desktop grid will not work without compositing enabled.
Comment 9 Marcel 2021-01-07 19:41:38 UTC
Created attachment 134646 [details]
New crash information added by DrKonqi

kwin_x11 (5.20.5) using Qt 5.15.2

This is again the same crash using current packages

-- Backtrace (Reduced):
#4  0x00007fa2e06aabbb in KWin::VirtualDesktop::x11DesktopNumber() const (this=0x0) at /usr/src/debug/kwin5-5.20.5-387.1.x86_64/build/kwin_autogen/EWIEGA46WW/../../../virtualdesktops.h:57
#5  KWin::AbstractClient::desktop() const (this=0x55899e18c9f0) at /usr/src/debug/kwin5-5.20.5-387.1.x86_64/build/kwin_autogen/EWIEGA46WW/../../../abstract_client.h:468
#6  0x00007fa2e06d8bd5 in KWin::AbstractClient::setDesktops(QVector<KWin::VirtualDesktop*>) (this=<optimized out>, desktops=...) at /usr/src/debug/kwin5-5.20.5-387.1.x86_64/abstract_client.cpp:474
#7  0x00007fa2e072c959 in KWin::EffectsHandlerImpl::windowToDesktops(KWin::EffectWindow*, QVector<unsigned int> const&) (this=<optimized out>, w=<optimized out>, desktopIds=<optimized out>) at /usr/src/debug/kwin5-5.20.5-387.1.x86_64/effects.cpp:921
#8  0x00007fa2deb6f5b6 in KWin::DesktopGridEffect::windowInputMouseEvent(QEvent*) (this=0x55899cca0c10, e=<optimized out>) at /usr/src/debug/kwin5-5.20.5-387.1.x86_64/effects/desktopgrid/desktopgrid.cpp:539
Comment 10 Christoph Feck 2021-01-09 17:09:21 UTC
Thank you for the updated backtrace; changing status for inspection.
Comment 11 postix 2021-07-28 16:28:49 UTC
Created attachment 140376 [details]
Full stacktrace

I can confirm this issue on

Operating System: openSUSE Tumbleweed 20210726
KDE Plasma Version: 5.22.3
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.2
Kernel Version: 5.13.4-1-default (64-bit)
Graphics Platform: X11
Graphics Processor: Radeon RX 580 Series

```
#3  KCrash::startProcess(int, char const**, bool) (argv=argv@entry=0x7ffe41c05498, waitAndExit=waitAndExit@entry=true, argc=<optimized out>) at /usr/src/debug/kcrash-5.84.0-1.1.x86_64/src/kcrash.cpp:711
#4  0x00007fe308982d00 in KCrash::defaultCrashHandler(int) (sig=11) at /usr/src/debug/kcrash-5.84.0-1.1.x86_64/src/kcrash.cpp:608
#5  <signal handler called> () at ../sysdeps/unix/sysv/linux/sigaction.c
#6  0x00007fe308aa2654 in KWin::VirtualDesktop::x11DesktopNumber() const (this=0x0) at /usr/src/debug/kwin5-5.22.3-2.1.x86_64/build/src/kwin_autogen/EWIEGA46WW/../../../../src/virtualdesktops.h:57
#7  KWin::AbstractClient::desktop() const (this=0x563c92c37120) at /usr/src/debug/kwin5-5.22.3-2.1.x86_64/build/src/kwin_autogen/EWIEGA46WW/../../../../src/abstract_client.h:475
#8  KWin::AbstractClient::setDesktops(QVector<KWin::VirtualDesktop*>) (this=<optimized out>, desktops=...) at /usr/src/debug/kwin5-5.22.3-2.1.x86_64/src/abstract_client.cpp:474
#9  0x00007fe308af4a49 in KWin::EffectsHandlerImpl::windowToDesktops(KWin::EffectWindow*, QVector<unsigned int> const&) (this=<optimized out>, w=<optimized out>, desktopIds=<optimized out>) at /usr/src/debug/kwin5-5.22.3-2.1.x86_64/src/effects.cpp:923
#10 0x00007fe306ead984 in KWin::DesktopGridEffect::windowInputMouseEvent(QEvent*) (this=0x563c92753ff0, e=<optimized out>) at /usr/src/debug/kwin5-5.22.3-2.1.x86_64/src/effects/desktopgrid/desktopgrid.cpp:573
#11 0x00007fe308afa9b7 in KWin::EffectsHandlerImpl::checkInputWindowEvent(QMouseEvent*) (this=<optimized out>, e=0x7ffe41c06910) at /usr/src/debug/kwin5-5.22.3-2.1.x86_64/src/effects.cpp:1272
#12 0x00007fe2f815e222 in KWin::EffectsMouseInterceptionX11Filter::event(xcb_generic_event_t*) (this=0x563c935da950, event=0x7fe2fc079720) at /usr/src/debug/kwin5-5.22.3-2.1.x86_64/src/plugins/platforms/x11/standalone/effects_mouse_interception_x11_filter.cpp:90
#13 0x00007fe308b3c6ae in KWin::Application::dispatchEvent(xcb_generic_event_t*) (this=<optimized out>, event=0x7fe2fc079720) at /usr/src/debug/kwin5-5.22.3-2.1.x86_64/src/main.cpp:470
#14 0x00007fe3076b7eff in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) (this=<optimized out>, eventType=..., message=message@entry=0x7fe2fc079720, result=result@entry=0x7ffe41c06b28) at kernel/qabstracteventdispatcher.cpp:495
#15 0x00007fe3015f44a1 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) (this=this@entry=0x563c91ac14d0, event=event@entry=0x7fe2fc079720) at qxcbconnection.cpp:536
#16 0x00007fe3015f5a96 in QXcbConnection::processXcbEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x563c91ac14d0, flags=...) at qxcbconnection.cpp:1014
#17 0x00007fe30161c0bc in QXcbUnixEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x563c91b98aa0, flags=...) at qxcbeventdispatcher.cpp:61
#18 0x00007fe3076b936b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffe41c06c70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#19 0x00007fe3076c1650 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#20 0x00007fe307b051dc in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1867
#21 0x00007fe30828e9f5 in QApplication::exec() () at kernel/qapplication.cpp:2824
#22 0x0000563c90f72fb6 in main(int, char**) (argc=<optimized out>, argv=0x7ffe41c06f08) at /usr/src/debug/kwin5-5.22.3-2.1.x86_64/src/main_x11.cpp:479
```
Comment 12 postix 2021-07-28 16:32:21 UTC
Isn't this actually a duplicate of https://bugs.kde.org/show_bug.cgi?id=429202 ?
Comment 13 postix 2021-07-28 16:34:28 UTC

*** This bug has been marked as a duplicate of bug 429202 ***