Bug 401422

Summary: Plasma crashes in KWin::EffectsHandler::windowGeometryShapeChanged() when adding a virtual desktop
Product: [Plasma] kwin Reporter: Marco Satti <marcosatti>
Component: effects-desktop-gridAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: bugseforuns, fabiodanielreis, kde, kdebugs, nate, smit17xp, sort465, zchoudhary.10
Priority: NOR Keywords: drkonqi
Version: 5.14.4   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=423133
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Marco Satti 2018-11-26 10:27:19 UTC
Application: kwin_x11 (5.13.5)

Qt Version: 5.11.2
Frameworks Version: 5.49.0
Operating System: Linux 4.18.0-2-amd64 x86_64
Distribution: Debian GNU/Linux testing (buster)

-- Information about the crash:
- What I was doing when the application crashed:
Adding a virtual desktop through the task switching hot corner, then clicking the add button in the lower right corner.

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f3a85f3b940 (LWP 2145))]

Thread 15 (Thread 0x7f3a7d83b700 (LWP 2848)):
#0  0x00007f3a90bef836 in __GI_ppoll (fds=0x7f3a70000d68, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f3a8f7e1d11 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f3a8f7e3189 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f3a8f792d0b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f3a8f5e20c6 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f3a8dc40385 in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007f3a8f5ebc97 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f3a8e410f2a in start_thread (arg=0x7f3a7d83b700) at pthread_create.c:463
#8  0x00007f3a90bf9edf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 14 (Thread 0x7f3a7fdf9700 (LWP 2847)):
#0  0x00007f3a90bef836 in __GI_ppoll (fds=0x7f3a74030468, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f3a8f7e1d11 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f3a8f7e3189 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f3a8f792d0b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f3a8f5e20c6 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f3a8dc40385 in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007f3a8f5ebc97 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f3a8e410f2a in start_thread (arg=0x7f3a7fdf9700) at pthread_create.c:463
#8  0x00007f3a90bf9edf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 13 (Thread 0x7f3a56ffd700 (LWP 2732)):
#0  0x00007f3a8e416e6c in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55735e303a4c) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f3a8e416e6c in __pthread_cond_wait_common (abstime=0x0, mutex=0x55735e3039f8, cond=0x55735e303a20) at pthread_cond_wait.c:502
#2  0x00007f3a8e416e6c in __pthread_cond_wait (cond=0x55735e303a20, mutex=0x55735e3039f8) at pthread_cond_wait.c:655
#3  0x00007f3a6b60998b in  () at /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f3a6b6096b7 in  () at /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f3a8e410f2a in start_thread (arg=0x7f3a56ffd700) at pthread_create.c:463
#6  0x00007f3a90bf9edf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 12 (Thread 0x7f3a567fc700 (LWP 2375)):
#0  0x00007f3a8e416e6c in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f3a8f204fb8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f3a8e416e6c in __pthread_cond_wait_common (abstime=0x0, mutex=0x7f3a8f204f68, cond=0x7f3a8f204f90) at pthread_cond_wait.c:502
#2  0x00007f3a8e416e6c in __pthread_cond_wait (cond=0x7f3a8f204f90, mutex=0x7f3a8f204f68) at pthread_cond_wait.c:655
#3  0x00007f3a8f10de2a in  () at /lib/x86_64-linux-gnu/libQt5Script.so.5
#4  0x00007f3a8f10de49 in  () at /lib/x86_64-linux-gnu/libQt5Script.so.5
#5  0x00007f3a8e410f2a in start_thread (arg=0x7f3a567fc700) at pthread_create.c:463
#6  0x00007f3a90bf9edf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7f3a577fe700 (LWP 2366)):
#0  0x00007f3a8e416e6c in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55735dfd9888) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f3a8e416e6c in __pthread_cond_wait_common (abstime=0x0, mutex=0x55735dfd9838, cond=0x55735dfd9860) at pthread_cond_wait.c:502
#2  0x00007f3a8e416e6c in __pthread_cond_wait (cond=0x55735dfd9860, mutex=0x55735dfd9838) at pthread_cond_wait.c:655
#3  0x00007f3a6b60998b in  () at /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f3a6b6096b7 in  () at /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f3a8e410f2a in start_thread (arg=0x7f3a577fe700) at pthread_create.c:463
#6  0x00007f3a90bf9edf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7f3a57fff700 (LWP 2362)):
#0  0x00007f3a8e416e6c in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55735defeb5c) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f3a8e416e6c in __pthread_cond_wait_common (abstime=0x0, mutex=0x55735defeb08, cond=0x55735defeb30) at pthread_cond_wait.c:502
#2  0x00007f3a8e416e6c in __pthread_cond_wait (cond=0x55735defeb30, mutex=0x55735defeb08) at pthread_cond_wait.c:655
#3  0x00007f3a6b60998b in  () at /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f3a6b6096b7 in  () at /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f3a8e410f2a in start_thread (arg=0x7f3a57fff700) at pthread_create.c:463
#6  0x00007f3a90bf9edf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7f3a64ed4700 (LWP 2361)):
#0  0x00007f3a8e416e6c in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55735defeb5c) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f3a8e416e6c in __pthread_cond_wait_common (abstime=0x0, mutex=0x55735defeb08, cond=0x55735defeb30) at pthread_cond_wait.c:502
#2  0x00007f3a8e416e6c in __pthread_cond_wait (cond=0x55735defeb30, mutex=0x55735defeb08) at pthread_cond_wait.c:655
#3  0x00007f3a6b60998b in  () at /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f3a6b6096b7 in  () at /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f3a8e410f2a in start_thread (arg=0x7f3a64ed4700) at pthread_create.c:463
#6  0x00007f3a90bf9edf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f3a656d5700 (LWP 2360)):
#0  0x00007f3a8e416e6c in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55735defea4c) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f3a8e416e6c in __pthread_cond_wait_common (abstime=0x0, mutex=0x55735defe9f8, cond=0x55735defea20) at pthread_cond_wait.c:502
#2  0x00007f3a8e416e6c in __pthread_cond_wait (cond=0x55735defea20, mutex=0x55735defe9f8) at pthread_cond_wait.c:655
#3  0x00007f3a6b60998b in  () at /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f3a6b6096b7 in  () at /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f3a8e410f2a in start_thread (arg=0x7f3a656d5700) at pthread_create.c:463
#6  0x00007f3a90bf9edf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f3a65ed6700 (LWP 2359)):
#0  0x00007f3a8e416e6c in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55735defea4c) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f3a8e416e6c in __pthread_cond_wait_common (abstime=0x0, mutex=0x55735defe9f8, cond=0x55735defea20) at pthread_cond_wait.c:502
#2  0x00007f3a8e416e6c in __pthread_cond_wait (cond=0x55735defea20, mutex=0x55735defe9f8) at pthread_cond_wait.c:655
#3  0x00007f3a6b60998b in  () at /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f3a6b6096b7 in  () at /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f3a8e410f2a in start_thread (arg=0x7f3a65ed6700) at pthread_create.c:463
#6  0x00007f3a90bf9edf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f3a666d7700 (LWP 2358)):
#0  0x00007f3a8e416e6c in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55735defea48) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f3a8e416e6c in __pthread_cond_wait_common (abstime=0x0, mutex=0x55735defe9f8, cond=0x55735defea20) at pthread_cond_wait.c:502
#2  0x00007f3a8e416e6c in __pthread_cond_wait (cond=0x55735defea20, mutex=0x55735defe9f8) at pthread_cond_wait.c:655
#3  0x00007f3a6b60998b in  () at /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f3a6b6096b7 in  () at /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f3a8e410f2a in start_thread (arg=0x7f3a666d7700) at pthread_create.c:463
#6  0x00007f3a90bf9edf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f3a66ed8700 (LWP 2357)):
#0  0x00007f3a8e416e6c in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55735dd1ab00) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f3a8e416e6c in __pthread_cond_wait_common (abstime=0x0, mutex=0x55735dd1aab0, cond=0x55735dd1aad8) at pthread_cond_wait.c:502
#2  0x00007f3a8e416e6c in __pthread_cond_wait (cond=0x55735dd1aad8, mutex=0x55735dd1aab0) at pthread_cond_wait.c:655
#3  0x00007f3a6b60998b in  () at /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f3a6b6096b7 in  () at /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f3a8e410f2a in start_thread (arg=0x7f3a66ed8700) at pthread_create.c:463
#6  0x00007f3a90bf9edf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f3a676d9700 (LWP 2356)):
#0  0x00007f3a8e416e6c in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55735defb7c0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f3a8e416e6c in __pthread_cond_wait_common (abstime=0x0, mutex=0x55735defb770, cond=0x55735defb798) at pthread_cond_wait.c:502
#2  0x00007f3a8e416e6c in __pthread_cond_wait (cond=0x55735defb798, mutex=0x55735defb770) at pthread_cond_wait.c:655
#3  0x00007f3a6b60998b in  () at /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f3a6b6096b7 in  () at /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f3a8e410f2a in start_thread (arg=0x7f3a676d9700) at pthread_create.c:463
#6  0x00007f3a90bf9edf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f3a7f4b7700 (LWP 2335)):
#0  0x00007f3a90bef836 in __GI_ppoll (fds=0x7f3a6c000d28, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f3a8f7e1d11 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f3a8f7e3189 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f3a8f792d0b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f3a8f5e20c6 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f3a8dc40385 in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007f3a8f5ebc97 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f3a8e410f2a in start_thread (arg=0x7f3a7f4b7700) at pthread_create.c:463
#8  0x00007f3a90bf9edf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f3a848a8700 (LWP 2233)):
#0  0x00007f3a90bef836 in __GI_ppoll (fds=0x7f3a7800ee28, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f3a8f7e1d11 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f3a8f7e3189 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f3a8f792d0b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f3a8f5e20c6 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f3a8d71d545 in  () at /lib/x86_64-linux-gnu/libQt5DBus.so.5
#6  0x00007f3a8f5ebc97 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f3a8e410f2a in start_thread (arg=0x7f3a848a8700) at pthread_create.c:463
#8  0x00007f3a90bf9edf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f3a85f3b940 (LWP 2145)):
[KCrash Handler]
#6  0x00007f3a8f2b5cd7 in  () at /lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#7  0x00007f3a8f2af69e in  () at /lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#8  0x00007f3a8f32e130 in  () at /lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#9  0x00007f3a8f7bd28b in QMetaObject::activate(QObject*, int, int, void**) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f3a8f393f87 in KWin::EffectsHandler::windowGeometryShapeChanged(KWin::EffectWindow*, QRect const&) () at /lib/x86_64-linux-gnu/libkwineffects.so.11
#11 0x00007f3a8f7bd3e0 in QMetaObject::activate(QObject*, int, int, void**) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f3a90a3aae7 in KWin::Toplevel::geometryShapeChanged(KWin::Toplevel*, QRect const&) () at /lib/x86_64-linux-gnu/libkwin.so.5
#13 0x00007f3a908c1096 in KWin::Client::updateShape() () at /lib/x86_64-linux-gnu/libkwin.so.5
#14 0x00007f3a9094c500 in KWin::Client::setGeometry(int, int, int, int, KWin::AbstractClient::ForceGeometry_t) () at /lib/x86_64-linux-gnu/libkwin.so.5
#15 0x00007f3a9094dda6 in KWin::AbstractClient::blockGeometryUpdates(bool) () at /lib/x86_64-linux-gnu/libkwin.so.5
#16 0x00007f3a9094e9da in KWin::Client::changeMaximize(bool, bool, bool) () at /lib/x86_64-linux-gnu/libkwin.so.5
#17 0x00007f3a90952366 in KWin::AbstractClient::checkWorkspacePosition(QRect, int, QRect) () at /lib/x86_64-linux-gnu/libkwin.so.5
#18 0x00007f3a9095783c in KWin::Workspace::updateClientArea(bool) () at /lib/x86_64-linux-gnu/libkwin.so.5
#19 0x00007f3a8f7bd28b in QMetaObject::activate(QObject*, int, int, void**) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f3a90a3afcc in KWin::VirtualDesktopManager::countChanged(unsigned int, unsigned int) () at /lib/x86_64-linux-gnu/libkwin.so.5
#21 0x00007f3a9099e4ea in KWin::VirtualDesktopManager::setCount(unsigned int) () at /lib/x86_64-linux-gnu/libkwin.so.5
#22 0x00007f3a8f32e0ed in  () at /lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#23 0x00007f3a8f7bd28b in QMetaObject::activate(QObject*, int, int, void**) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007f3a8f7bd28b in QMetaObject::activate(QObject*, int, int, void**) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007f3a8db92455 in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#26 0x00007f3a8db91e6a in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#27 0x00007f3a8db91e6a in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#28 0x00007f3a8dbf2f3d in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#29 0x00007f3a8db59643 in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#30 0x00007f3a8db5a809 in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#31 0x00007f3a8db5b4d3 in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#32 0x00007f3a8db75b55 in QV4::Runtime::method_callProperty(QV4::ExecutionEngine*, QV4::Value*, int, QV4::Value*, int) () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#33 0x00007f3a8db690d2 in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#34 0x00007f3a8dc209bf in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#35 0x00007f3a8dbb2d57 in QQmlBoundSignalExpression::evaluate(void**) () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#36 0x00007f3a8dbb3eeb in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#37 0x00007f3a8dbfd703 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#38 0x00007f3a8db9635a in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#39 0x00007f3a8f7bcbbf in QMetaObject::activate(QObject*, int, int, void**) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#40 0x00007f3a3c9e462f in  () at /usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/libqtquickcontrolsplugin.so
#41 0x00007f3a3c9e4b1c in  () at /usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/libqtquickcontrolsplugin.so
#42 0x00007f3a3c9e5123 in  () at /usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/libqtquickcontrolsplugin.so
#43 0x00007f3a8dbf2f3d in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#44 0x00007f3a8db59361 in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#45 0x00007f3a8db5a835 in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#46 0x00007f3a8db5b8ba in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#47 0x00007f3a8db75b55 in QV4::Runtime::method_callProperty(QV4::ExecutionEngine*, QV4::Value*, int, QV4::Value*, int) () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#48 0x00007f3a8db690d2 in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#49 0x00007f3a8dc209bf in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#50 0x00007f3a8dbb2d57 in QQmlBoundSignalExpression::evaluate(void**) () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#51 0x00007f3a8dbb3eeb in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#52 0x00007f3a8dbfd703 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#53 0x00007f3a8db9635a in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#54 0x00007f3a8f7bcbbf in QMetaObject::activate(QObject*, int, int, void**) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#55 0x00007f3a8e048542 in QQuickMouseArea::released(QQuickMouseEvent*) () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#56 0x00007f3a8e049d4c in QQuickMouseArea::setPressed(Qt::MouseButton, bool, Qt::MouseEventSource) () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#57 0x00007f3a8e04aeef in QQuickMouseArea::mouseReleaseEvent(QMouseEvent*) () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#58 0x00007f3a8dfbc098 in QQuickItem::event(QEvent*) () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#59 0x00007f3a9010c491 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#60 0x00007f3a90113ad0 in QApplication::notify(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#61 0x00007f3a8f794039 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#62 0x00007f3a8dfd4967 in QQuickWindowPrivate::deliverMouseEvent(QQuickPointerMouseEvent*) () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#63 0x00007f3a8dfd53db in QQuickWindowPrivate::deliverPointerEvent(QQuickPointerEvent*) () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#64 0x00007f3a8dfd5d0f in QQuickWindowPrivate::handleMouseEvent(QMouseEvent*) () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#65 0x00007f3a8f2b3c90 in  () at /lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#66 0x00007f3a9098c3ff in KWin::EffectsHandlerImpl::checkInputWindowEvent(QMouseEvent*) () at /lib/x86_64-linux-gnu/libkwin.so.5
#67 0x00007f3a840840bc in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.platforms/KWinX11Platform.so
#68 0x00007f3a9091e2c9 in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) () at /lib/x86_64-linux-gnu/libkwin.so.5
#69 0x00007f3a8f791b8f in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#70 0x00007f3a85c39cb0 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#71 0x00007f3a85c3a843 in QXcbConnection::processXcbEvents() () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#72 0x00007f3a8f7bdb42 in QObject::event(QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#73 0x00007f3a9010c491 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#74 0x00007f3a90113ad0 in QApplication::notify(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#75 0x00007f3a8f794039 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#76 0x00007f3a8f79702b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#77 0x00007f3a8f7e2ffb in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#78 0x00007f3a85ccbaed in  () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#79 0x00007f3a8f792d0b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#80 0x00007f3a8f79ae82 in QCoreApplication::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#81 0x00007f3a90cc947b in kdemain () at /lib/x86_64-linux-gnu/libkdeinit5_kwin_x11.so
#82 0x00007f3a90b24b17 in __libc_start_main (main=0x55735c52f050, argc=1, argv=0x7fff339cbf18, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff339cbf08) at ../csu/libc-start.c:310
#83 0x000055735c52f08a in _start ()

Reported using DrKonqi
Comment 1 David Edmundson 2018-11-26 10:32:05 UTC
Can you get debug symbols for libkwin4_effect_builtins.so.1  please.
Comment 2 Marco Satti 2018-11-27 09:51:24 UTC
Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f529ad26940 (LWP 18097))]

Thread 16 (Thread 0x7f5290bb7700 (LWP 18136)):
#0  0x00007f52a3008e6c in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55f87417d058) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55f87417d008, cond=0x55f87417d030) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55f87417d030, mutex=0x55f87417d008) at pthread_cond_wait.c:655
#3  0x00007f527f20098b in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f527f2006b7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f52a3002f2a in start_thread (arg=0x7f5290bb7700) at pthread_create.c:463
#6  0x00007f52a57ebedf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 15 (Thread 0x7f5293fff700 (LWP 18135)):
#0  0x00007f52a57e1836 in __GI_ppoll (fds=0x7f5288015188, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f52a43d3d11 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f52a43d5189 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f52a4384d0b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f52a41d40c6 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f52a2832385 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007f52a41ddc97 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f52a3002f2a in start_thread (arg=0x7f5293fff700) at pthread_create.c:463
#8  0x00007f52a57ebedf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 14 (Thread 0x7f52627fc700 (LWP 18134)):
#0  0x00007f52a57e1836 in __GI_ppoll (fds=0x7f524c001ac8, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f52a43d3d11 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f52a43d5189 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f52a4384d0b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f52a41d40c6 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f52a2832385 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007f52a41ddc97 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f52a3002f2a in start_thread (arg=0x7f52627fc700) at pthread_create.c:463
#8  0x00007f52a57ebedf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 13 (Thread 0x7f5260804700 (LWP 18119)):
#0  0x00007f52a3008e6c in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f52a3df6fb8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x7f52a3df6f68, cond=0x7f52a3df6f90) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x7f52a3df6f90, mutex=0x7f52a3df6f68) at pthread_cond_wait.c:655
#3  0x00007f52a3cffe2a in ?? () from /lib/x86_64-linux-gnu/libQt5Script.so.5
#4  0x00007f52a3cffe49 in ?? () from /lib/x86_64-linux-gnu/libQt5Script.so.5
#5  0x00007f52a3002f2a in start_thread (arg=0x7f5260804700) at pthread_create.c:463
#6  0x00007f52a57ebedf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 12 (Thread 0x7f5262ffd700 (LWP 18117)):
#0  0x00007f52a3008e6c in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55f873d5a76c) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55f873d5a718, cond=0x55f873d5a740) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55f873d5a740, mutex=0x55f873d5a718) at pthread_cond_wait.c:655
#3  0x00007f527f20098b in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f527f2006b7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f52a3002f2a in start_thread (arg=0x7f5262ffd700) at pthread_create.c:463
#6  0x00007f52a57ebedf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7f52637fe700 (LWP 18116)):
#0  0x00007f52a3008e6c in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55f873c7e95c) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55f873c7e908, cond=0x55f873c7e930) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55f873c7e930, mutex=0x55f873c7e908) at pthread_cond_wait.c:655
#3  0x00007f527f20098b in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f527f2006b7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f52a3002f2a in start_thread (arg=0x7f52637fe700) at pthread_create.c:463
#6  0x00007f52a57ebedf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7f5263fff700 (LWP 18115)):
#0  0x00007f52a3008e6c in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55f873c7e95c) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55f873c7e908, cond=0x55f873c7e930) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55f873c7e930, mutex=0x55f873c7e908) at pthread_cond_wait.c:655
#3  0x00007f527f20098b in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f527f2006b7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f52a3002f2a in start_thread (arg=0x7f5263fff700) at pthread_create.c:463
#6  0x00007f52a57ebedf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7f5278c6b700 (LWP 18114)):
#0  0x00007f52a3008e6c in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55f873c7e848) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55f873c7e7f8, cond=0x55f873c7e820) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55f873c7e820, mutex=0x55f873c7e7f8) at pthread_cond_wait.c:655
#3  0x00007f527f20098b in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f527f2006b7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f52a3002f2a in start_thread (arg=0x7f5278c6b700) at pthread_create.c:463
#6  0x00007f52a57ebedf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f527946c700 (LWP 18113)):
#0  0x00007f52a3008e6c in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55f873c7e84c) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55f873c7e7f8, cond=0x55f873c7e820) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55f873c7e820, mutex=0x55f873c7e7f8) at pthread_cond_wait.c:655
#3  0x00007f527f20098b in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f527f2006b7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f52a3002f2a in start_thread (arg=0x7f527946c700) at pthread_create.c:463
#6  0x00007f52a57ebedf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f5279c6d700 (LWP 18112)):
#0  0x00007f52a3008e6c in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55f873c7e848) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55f873c7e7f8, cond=0x55f873c7e820) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55f873c7e820, mutex=0x55f873c7e7f8) at pthread_cond_wait.c:655
#3  0x00007f527f20098b in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f527f2006b7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f52a3002f2a in start_thread (arg=0x7f5279c6d700) at pthread_create.c:463
#6  0x00007f52a57ebedf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f527a46e700 (LWP 18111)):
#0  0x00007f52a3008e6c in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55f873a59920) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55f873a598d0, cond=0x55f873a598f8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55f873a598f8, mutex=0x55f873a598d0) at pthread_cond_wait.c:655
#3  0x00007f527f20098b in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f527f2006b7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f52a3002f2a in start_thread (arg=0x7f527a46e700) at pthread_create.c:463
#6  0x00007f52a57ebedf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f527ac6f700 (LWP 18110)):
#0  0x00007f52a3008e6c in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55f873c7b4b0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55f873c7b460, cond=0x55f873c7b488) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55f873c7b488, mutex=0x55f873c7b460) at pthread_cond_wait.c:655
#3  0x00007f527f20098b in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f527f2006b7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f52a3002f2a in start_thread (arg=0x7f527ac6f700) at pthread_create.c:463
#6  0x00007f52a57ebedf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f52917f8700 (LWP 18108)):
#0  0x00007f52a57e1836 in __GI_ppoll (fds=0x7f5280000d28, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f52a43d3d11 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f52a43d5189 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f52a4384d0b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f52a41d40c6 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f52a2832385 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007f52a41ddc97 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f52a3002f2a in start_thread (arg=0x7f52917f8700) at pthread_create.c:463
#8  0x00007f52a57ebedf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f529968f700 (LWP 18101)):
#0  0x00007f52a57e1836 in __GI_ppoll (fds=0x7f528c00eab8, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f52a43d3d11 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f52a43d5189 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f52a4384d0b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f52a41d40c6 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f52a230f545 in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#6  0x00007f52a41ddc97 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f52a3002f2a in start_thread (arg=0x7f529968f700) at pthread_create.c:463
#8  0x00007f52a57ebedf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f529a543700 (LWP 18099)):
#0  0x00007f52a57e1739 in __GI___poll (fds=0x7f529a542b78, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f52a52f4cf7 in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f52a52f691a in xcb_wait_for_event () from /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f529aa27519 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f52a41ddc97 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f52a3002f2a in start_thread (arg=0x7f529a543700) at pthread_create.c:463
#6  0x00007f52a57ebedf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f529ad26940 (LWP 18097)):
[KCrash Handler]
#6  QHash<KWin::EffectWindow*, KWin::WindowMotionManager::WindowMotion>::size (this=0x55f873eaed68) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:267
#7  QHash<KWin::EffectWindow*, KWin::WindowMotionManager::WindowMotion>::keys (this=this@entry=0x55f873eaed68) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:664
#8  0x00007f52a3ea169e in KWin::WindowMotionManager::managedWindows (this=0x55f873eaed60) at ./libkwineffects/kwineffects.h:3096
#9  KWin::DesktopGridEffect::slotWindowGeometryShapeChanged (this=0x55f873e84820, w=0x55f873dbb2e0, old=...) at ./effects/desktopgrid/desktopgrid.cpp:459
#10 0x00007f52a3f20130 in KWin::DesktopGridEffect::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./obj-x86_64-linux-gnu/effects/kwin4_effect_builtins_autogen/LJ2EGOOBKZ/moc_desktopgrid.cpp:256
#11 0x00007f52a43af28b in QMetaObject::activate(QObject*, int, int, void**) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f52a3f85f87 in KWin::EffectsHandler::windowGeometryShapeChanged(KWin::EffectWindow*, QRect const&) () from /lib/x86_64-linux-gnu/libkwineffects.so.11
#13 0x00007f52a43af3e0 in QMetaObject::activate(QObject*, int, int, void**) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f52a562cae7 in KWin::Toplevel::geometryShapeChanged(KWin::Toplevel*, QRect const&) () from /lib/x86_64-linux-gnu/libkwin.so.5
#15 0x00007f52a54b3096 in KWin::Client::updateShape() () from /lib/x86_64-linux-gnu/libkwin.so.5
#16 0x00007f52a553e500 in KWin::Client::setGeometry(int, int, int, int, KWin::AbstractClient::ForceGeometry_t) () from /lib/x86_64-linux-gnu/libkwin.so.5
#17 0x00007f52a553fda6 in KWin::AbstractClient::blockGeometryUpdates(bool) () from /lib/x86_64-linux-gnu/libkwin.so.5
#18 0x00007f52a55409da in KWin::Client::changeMaximize(bool, bool, bool) () from /lib/x86_64-linux-gnu/libkwin.so.5
#19 0x00007f52a5544366 in KWin::AbstractClient::checkWorkspacePosition(QRect, int, QRect) () from /lib/x86_64-linux-gnu/libkwin.so.5
#20 0x00007f52a554983c in KWin::Workspace::updateClientArea(bool) () from /lib/x86_64-linux-gnu/libkwin.so.5
#21 0x00007f52a43af28b in QMetaObject::activate(QObject*, int, int, void**) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007f52a562cfcc in KWin::VirtualDesktopManager::countChanged(unsigned int, unsigned int) () from /lib/x86_64-linux-gnu/libkwin.so.5
#23 0x00007f52a55904ea in KWin::VirtualDesktopManager::setCount(unsigned int) () from /lib/x86_64-linux-gnu/libkwin.so.5
#24 0x00007f52a3f200ed in KWin::DesktopGridEffect::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./obj-x86_64-linux-gnu/effects/kwin4_effect_builtins_autogen/LJ2EGOOBKZ/moc_desktopgrid.cpp:250
#25 0x00007f52a43af28b in QMetaObject::activate(QObject*, int, int, void**) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007f52a43af28b in QMetaObject::activate(QObject*, int, int, void**) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007f52a2784455 in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#28 0x00007f52a2783e6a in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#29 0x00007f52a2783e6a in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#30 0x00007f52a27e4f3d in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#31 0x00007f52a274b643 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#32 0x00007f52a274c809 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#33 0x00007f52a274d4d3 in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#34 0x00007f52a2767b55 in QV4::Runtime::method_callProperty(QV4::ExecutionEngine*, QV4::Value*, int, QV4::Value*, int) () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#35 0x00007f52a275b0d2 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#36 0x00007f52a28129bf in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#37 0x00007f52a27a4d57 in QQmlBoundSignalExpression::evaluate(void**) () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#38 0x00007f52a27a5eeb in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#39 0x00007f52a27ef703 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#40 0x00007f52a278835a in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#41 0x00007f52a43aebbf in QMetaObject::activate(QObject*, int, int, void**) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#42 0x00007f52510d662f in ?? () from /usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/libqtquickcontrolsplugin.so
#43 0x00007f52510d6b1c in ?? () from /usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/libqtquickcontrolsplugin.so
#44 0x00007f52510d7123 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/libqtquickcontrolsplugin.so
#45 0x00007f52a27e4f3d in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#46 0x00007f52a274b361 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#47 0x00007f52a274c835 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#48 0x00007f52a274d8ba in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#49 0x00007f52a2767b55 in QV4::Runtime::method_callProperty(QV4::ExecutionEngine*, QV4::Value*, int, QV4::Value*, int) () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#50 0x00007f52a275b0d2 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#51 0x00007f52a28129bf in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#52 0x00007f52a27a4d57 in QQmlBoundSignalExpression::evaluate(void**) () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#53 0x00007f52a27a5eeb in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#54 0x00007f52a27ef703 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#55 0x00007f52a278835a in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#56 0x00007f52a43aebbf in QMetaObject::activate(QObject*, int, int, void**) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#57 0x00007f52a2c3a542 in QQuickMouseArea::released(QQuickMouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#58 0x00007f52a2c3bd4c in QQuickMouseArea::setPressed(Qt::MouseButton, bool, Qt::MouseEventSource) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#59 0x00007f52a2c3ceef in QQuickMouseArea::mouseReleaseEvent(QMouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#60 0x00007f52a2bae098 in QQuickItem::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#61 0x00007f52a4cfe491 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#62 0x00007f52a4d05ad0 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#63 0x00007f52a4386039 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#64 0x00007f52a2bc6967 in QQuickWindowPrivate::deliverMouseEvent(QQuickPointerMouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#65 0x00007f52a2bc73db in QQuickWindowPrivate::deliverPointerEvent(QQuickPointerEvent*) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#66 0x00007f52a2bc7d0f in QQuickWindowPrivate::handleMouseEvent(QMouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#67 0x00007f52a3ea5c90 in KWin::DesktopGridEffect::windowInputMouseEvent (this=<optimized out>, e=0x7ffe37b78e90) at ./effects/desktopgrid/desktopgrid.cpp:477
#68 0x00007f52a557e3ff in KWin::EffectsHandlerImpl::checkInputWindowEvent(QMouseEvent*) () from /lib/x86_64-linux-gnu/libkwin.so.5
#69 0x00007f5298e6b0bc in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.platforms/KWinX11Platform.so
#70 0x00007f52a55102c9 in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) () from /lib/x86_64-linux-gnu/libkwin.so.5
#71 0x00007f52a4383b8f in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#72 0x00007f529aa28cb0 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#73 0x00007f529aa29843 in QXcbConnection::processXcbEvents() () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#74 0x00007f52a43afb42 in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#75 0x00007f52a4cfe491 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#76 0x00007f52a4d05ad0 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#77 0x00007f52a4386039 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#78 0x00007f52a438902b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#79 0x00007f52a43d4ffb in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#80 0x00007f529aabaaed in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#81 0x00007f52a4384d0b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#82 0x00007f52a438ce82 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#83 0x00007f52a58bb47b in kdemain () from /lib/x86_64-linux-gnu/libkdeinit5_kwin_x11.so
#84 0x00007f52a5716b17 in __libc_start_main (main=0x55f871d01050, argc=3, argv=0x7ffe37b79858, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe37b79848) at ../csu/libc-start.c:310
#85 0x000055f871d0108a in _start ()
Comment 3 Vlad Zahorodnii 2018-11-27 10:27:53 UTC
I can't reproduce it. Could you please provide more details? E.g. what windows are open, their state, etc. If you can provide a screen recording, it would be really helpful.

Also, could you please post output of
    qdbus org.kde.KWin /KWin supportInformation
Comment 4 Marco Satti 2018-11-27 12:19:29 UTC
Sure, hope youtube is ok: https://youtu.be/WdkHIy67TUo

and for the support info: https://paste.kde.org/poejuv0tb/icoojm

I did change the animation used when switching virtual desktops from slide to no animation, this is the only thing I can think of that I recently changed...
Comment 5 Marco Satti 2018-11-27 12:20:24 UTC
Changing the animation back to slide did not fix it.
Comment 6 Vlad Zahorodnii 2018-11-27 12:22:36 UTC
(In reply to Marco Satti from comment #4)
> Sure, hope youtube is ok: https://youtu.be/WdkHIy67TUo
> and for the support info: https://paste.kde.org/poejuv0tb/icoojm
I can't access both the video and the support information.
Comment 7 Marco Satti 2018-11-27 12:32:17 UTC
Yikes that was bad.. sorry, try now.
Comment 8 Vlad Zahorodnii 2019-01-14 13:55:50 UTC
*** Bug 403202 has been marked as a duplicate of this bug. ***
Comment 9 Vlad Zahorodnii 2020-03-13 10:46:12 UTC
*** Bug 418783 has been marked as a duplicate of this bug. ***
Comment 10 Vlad Zahorodnii 2020-03-13 10:57:15 UTC
Alright, I am able to reproduce this crash.

- Create a window rule that forces Konsole to be on all desktops
- Maximize the Konsole window
- Launch the Desktop Grid
- Click the Add button in DG
Comment 11 Vlad Zahorodnii 2020-03-13 11:15:47 UTC
Huh, so DesktopGridEffect::slotWindowGeometryShapeChanged is called before DesktopGridEffect::slotNumberDesktopsChanged(), which resizes m_managers.
Comment 12 Vlad Zahorodnii 2020-03-13 11:18:59 UTC
This crash doesn't occur in git master because the new frameGeometryChanged() signal is emitted when the geometry of a client has actually changed. So, slotWindowGeometryShapeChanged() is not called at all.
Comment 13 Vlad Zahorodnii 2020-03-13 12:25:49 UTC
So, one way to fix this bug is to check whether m_managers is up-to-date and layout changes can be made, e.g.

    if (effects->numberOfDesktops() * effects->numScreens() != m_managers.count())
        return;

Although, maybe there is a better way to fix this crash. I need a bit more time to think.
Comment 14 Nate Graham 2021-03-17 22:41:45 UTC
*** Bug 434368 has been marked as a duplicate of this bug. ***
Comment 15 Nate Graham 2021-03-17 22:42:01 UTC
*** Bug 423133 has been marked as a duplicate of this bug. ***
Comment 16 Nate Graham 2022-05-19 16:48:56 UTC
Can someone check again in the Plasma 5.25 beta (or the final release in a month) to see if they're still able to experience this? The effect was rewritten and there's a good chance the issue is fixed now. Thanks!
Comment 17 Bug Janitor Service 2022-06-03 04:35:43 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 18 Bug Janitor Service 2022-06-18 04:35:36 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!