Bug 403253

Summary: KWin crashes when show all desktops function activated
Product: [Plasma] kwin Reporter: Denis <superden1988>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.14.5   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:

Description Denis 2019-01-16 00:12:44 UTC
Application: kwin_x11 (5.14.5)

Qt Version: 5.11.2
Frameworks Version: 5.54.0
Operating System: Linux 4.15.0-39-generic x86_64
Distribution: KDE neon User Edition 5.14

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

I activated function "show all desktops" (4 virtual desktops in my case) to move one of windows from one desktop to another. This action make KWin crashes  stable. However activation this function without moving of windows works fine. Method of activation the function has no matter (keyboard shortcut or mouse move to screen corner).

The crash can be reproduced every time.

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

Thread 6 (Thread 0x7f5cfcc3d700 (LWP 26762)):
#0  0x00007f5d34077cf6 in __GI_ppoll (fds=fds@entry=0x7f5cf8001a38, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f5d31676d51 in ppoll (__ss=<optimized out>, __timeout=<optimized out>, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/poll2.h:77
#2  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f5cf8001a38) at kernel/qcore_unix.cpp:132
#3  qt_safe_poll (fds=0x7f5cf8001a38, nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:153
#4  0x00007f5d3167845e in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:500
#5  0x00007f5d3161f30a in QEventLoop::exec (this=this@entry=0x7f5cfcc3cd40, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#6  0x00007f5d3144abba in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#7  0x00007f5d2bb364f5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007f5d31455adb in QThreadPrivate::start (arg=0x55d7ac23d840) at thread/qthread_unix.cpp:367
#9  0x00007f5d2d0aa6db in start_thread (arg=0x7f5cfcc3d700) at pthread_create.c:463
#10 0x00007f5d3408488f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f5cf7fff700 (LWP 1809)):
#0  0x00007f5d2d0b09f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f5d3065afb8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x7f5d3065af68, cond=0x7f5d3065af90) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x7f5d3065af90, mutex=0x7f5d3065af68) at pthread_cond_wait.c:655
#3  0x00007f5d30365954 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#4  0x00007f5d30365999 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#5  0x00007f5d2d0aa6db in start_thread (arg=0x7f5cf7fff700) at pthread_create.c:463
#6  0x00007f5d3408488f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f5d1236a700 (LWP 1800)):
#0  0x00007f5d34077cf6 in __GI_ppoll (fds=fds@entry=0x7f5d00000d28, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f5d31676d51 in ppoll (__ss=<optimized out>, __timeout=<optimized out>, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/poll2.h:77
#2  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f5d00000d28) at kernel/qcore_unix.cpp:132
#3  qt_safe_poll (fds=0x7f5d00000d28, nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:153
#4  0x00007f5d3167845e in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:500
#5  0x00007f5d3161f30a in QEventLoop::exec (this=this@entry=0x7f5d12369d40, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#6  0x00007f5d3144abba in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#7  0x00007f5d2bb364f5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007f5d31455adb in QThreadPrivate::start (arg=0x55d7ab626900) at thread/qthread_unix.cpp:367
#9  0x00007f5d2d0aa6db in start_thread (arg=0x7f5d1236a700) at pthread_create.c:463
#10 0x00007f5d3408488f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f5d18d11700 (LWP 1699)):
#0  0x00007f5d34077cf6 in __GI_ppoll (fds=fds@entry=0x7f5d0c00b6e8, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f5d31676d51 in ppoll (__ss=<optimized out>, __timeout=<optimized out>, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/poll2.h:77
#2  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f5d0c00b6e8) at kernel/qcore_unix.cpp:132
#3  qt_safe_poll (fds=0x7f5d0c00b6e8, nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:153
#4  0x00007f5d3167845e in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:500
#5  0x00007f5d3161f30a in QEventLoop::exec (this=this@entry=0x7f5d18d10d30, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#6  0x00007f5d3144abba in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#7  0x00007f5d2aa15e45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007f5d31455adb in QThreadPrivate::start (arg=0x7f5d2ac8dd60) at thread/qthread_unix.cpp:367
#9  0x00007f5d2d0aa6db in start_thread (arg=0x7f5d18d11700) at pthread_create.c:463
#10 0x00007f5d3408488f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f5d1b7b7700 (LWP 1679)):
#0  0x00007f5d34077bf9 in __GI___poll (fds=0x7f5d1b7b6c68, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f5d31189747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f5d3118b36a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f5d1c8a9ed9 in QXcbEventReader::run (this=0x55d7ab4b0230) at qxcbconnection.cpp:1391
#4  0x00007f5d31455adb in QThreadPrivate::start (arg=0x55d7ab4b0230) at thread/qthread_unix.cpp:367
#5  0x00007f5d2d0aa6db in start_thread (arg=0x7f5d1b7b7700) at pthread_create.c:463
#6  0x00007f5d3408488f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f5d34728840 (LWP 1658)):
[KCrash Handler]
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#7  0x00007f5d33fa3801 in __GI_abort () at abort.c:79
#8  0x00007f5d314265db in qt_message_fatal (context=..., message=<synthetic pointer>...) at global/qlogging.cpp:1842
#9  QMessageLogger::fatal (this=this@entry=0x7fff4d13c540, msg=msg@entry=0x7f5d30be82f0 "Splitting quads is allowed only in pre-paint calls!") at global/qlogging.cpp:880
#10 0x00007f5d30bd38dc in KWin::WindowQuad::makeSubQuad (this=this@entry=0x55d7ac9c26c0, x1=x1@entry=-49.015991674673444, y1=y1@entry=603.12183249109421, x2=x2@entry=-21.757465779872348, y2=y2@entry=643) at ./libkwineffects/kwineffects.cpp:1013
#11 0x00007f5d10f15455 in KWin::SceneOpenGL::Window::beginRenderWindow (this=0x55d7ac7d1ac0, mask=118, region=..., data=...) at ./plugins/scenes/opengl/scene_opengl.cpp:1193
#12 0x00007f5d10f156f6 in KWin::SceneOpenGL2Window::performPaint (this=this@entry=0x55d7ac7d1ac0, mask=mask@entry=118, region=..., data=...) at ./plugins/scenes/opengl/scene_opengl.cpp:1393
#13 0x00007f5d10f1ef13 in KWin::SceneOpenGL2::performPaintWindow (this=<optimized out>, w=<optimized out>, mask=<optimized out>, region=..., data=...) at ./plugins/scenes/opengl/scene_opengl.cpp:1108
#14 0x00007f5d10f1f047 in KWin::SceneOpenGL2::finalDrawWindow (this=this@entry=0x55d7ab665fe0, w=w@entry=0x55d7ac7e6080, mask=mask@entry=118, region=..., data=...) at ./plugins/scenes/opengl/scene_opengl.cpp:1090
#15 0x00007f5d33be2186 in KWin::EffectsHandlerImpl::drawWindow (this=this@entry=0x55d7aba17b60, w=w@entry=0x55d7ac7e6080, mask=mask@entry=118, region=..., data=...) at ./effects.cpp:459
#16 0x00007f5d30bcfff0 in KWin::Effect::drawWindow (this=this@entry=0x55d7ab57a7c0, w=w@entry=0x55d7ac7e6080, mask=mask@entry=118, region=..., data=...) at ./libkwineffects/kwineffects.cpp:629
#17 0x00007f5d33be211e in KWin::EffectsHandlerImpl::drawWindow (this=this@entry=0x55d7aba17b60, w=w@entry=0x55d7ac7e6080, mask=mask@entry=118, region=..., data=...) at ./effects.cpp:456
#18 0x00007f5d30970df6 in KWin::ContrastEffect::drawWindow (this=this@entry=0x55d7ab4c2ef0, w=w@entry=0x55d7ac7e6080, mask=mask@entry=118, region=..., data=...) at ./effects/backgroundcontrast/contrast.cpp:424
#19 0x00007f5d33be211e in KWin::EffectsHandlerImpl::drawWindow (this=this@entry=0x55d7aba17b60, w=w@entry=0x55d7ac7e6080, mask=mask@entry=118, region=..., data=...) at ./effects.cpp:456
#20 0x00007f5d308dec85 in KWin::BlurEffect::drawWindow (this=this@entry=0x55d7abe6eb00, w=w@entry=0x55d7ac7e6080, mask=mask@entry=118, region=..., data=...) at ./effects/blur/blur.cpp:567
#21 0x00007f5d33be211e in KWin::EffectsHandlerImpl::drawWindow (this=this@entry=0x55d7aba17b60, w=w@entry=0x55d7ac7e6080, mask=mask@entry=118, region=..., data=...) at ./effects.cpp:456
#22 0x00007f5d30bcfff0 in KWin::Effect::drawWindow (this=this@entry=0x7f5d14002f90, w=w@entry=0x55d7ac7e6080, mask=mask@entry=118, region=..., data=...) at ./libkwineffects/kwineffects.cpp:629
#23 0x00007f5d33be211e in KWin::EffectsHandlerImpl::drawWindow (this=this@entry=0x55d7aba17b60, w=w@entry=0x55d7ac7e6080, mask=mask@entry=118, region=..., data=...) at ./effects.cpp:456
#24 0x00007f5d30bcfff0 in KWin::Effect::drawWindow (this=this@entry=0x55d7ac043a10, w=w@entry=0x55d7ac7e6080, mask=mask@entry=118, region=..., data=...) at ./libkwineffects/kwineffects.cpp:629
#25 0x00007f5d33be211e in KWin::EffectsHandlerImpl::drawWindow (this=this@entry=0x55d7aba17b60, w=w@entry=0x55d7ac7e6080, mask=mask@entry=118, region=..., data=...) at ./effects.cpp:456
#26 0x00007f5d33bcf0c0 in KWin::Scene::finalPaintWindow (this=this@entry=0x55d7ab665fe0, w=w@entry=0x55d7ac7e6080, mask=mask@entry=118, region=..., data=...) at ./scene.cpp:604
#27 0x00007f5d33be1fad in KWin::EffectsHandlerImpl::paintWindow (this=this@entry=0x55d7aba17b60, w=w@entry=0x55d7ac7e6080, mask=mask@entry=118, region=..., data=...) at ./effects.cpp:422
#28 0x00007f5d30bcfe80 in KWin::Effect::paintWindow (this=this@entry=0x55d7ab57a7c0, w=w@entry=0x55d7ac7e6080, mask=mask@entry=118, region=..., data=...) at ./libkwineffects/kwineffects.cpp:599
#29 0x00007f5d33be1f4e in KWin::EffectsHandlerImpl::paintWindow (this=this@entry=0x55d7aba17b60, w=w@entry=0x55d7ac7e6080, mask=mask@entry=118, region=..., data=...) at ./effects.cpp:419
#30 0x00007f5d30bcfe80 in KWin::Effect::paintWindow (this=this@entry=0x55d7ab4c2ef0, w=w@entry=0x55d7ac7e6080, mask=mask@entry=118, region=..., data=...) at ./libkwineffects/kwineffects.cpp:599
#31 0x00007f5d33be1f4e in KWin::EffectsHandlerImpl::paintWindow (this=this@entry=0x55d7aba17b60, w=w@entry=0x55d7ac7e6080, mask=mask@entry=118, region=..., data=...) at ./effects.cpp:419
#32 0x00007f5d30bcfe80 in KWin::Effect::paintWindow (this=this@entry=0x55d7abe6eb00, w=w@entry=0x55d7ac7e6080, mask=mask@entry=118, region=..., data=...) at ./libkwineffects/kwineffects.cpp:599
#33 0x00007f5d33be1f4e in KWin::EffectsHandlerImpl::paintWindow (this=this@entry=0x55d7aba17b60, w=0x55d7ac7e6080, mask=mask@entry=118, region=..., data=...) at ./effects.cpp:419
#34 0x00007f5d3095f33c in KWin::FallApartEffect::paintWindow (this=this@entry=0x7f5d14002f90, w=<optimized out>, w@entry=0x55d7ac7e6080, mask=mask@entry=118, region=..., data=...) at ./effects/fallapart/fallapart.cpp:125
#35 0x00007f5d33be1f4e in KWin::EffectsHandlerImpl::paintWindow (this=this@entry=0x55d7aba17b60, w=w@entry=0x55d7ac7e6080, mask=mask@entry=118, region=..., data=...) at ./effects.cpp:419
#36 0x00007f5d30906e02 in KWin::DesktopGridEffect::paintWindow (this=this@entry=0x55d7ac043a10, w=w@entry=0x55d7ac7e6080, mask=mask@entry=118, region=..., data=...) at ./effects/desktopgrid/desktopgrid.cpp:386
#37 0x00007f5d33be1f4e in KWin::EffectsHandlerImpl::paintWindow (this=this@entry=0x55d7aba17b60, w=0x55d7ac7e6080, mask=mask@entry=118, region=..., data=...) at ./effects.cpp:419
#38 0x00007f5d33bd5192 in KWin::Scene::paintWindow (this=this@entry=0x55d7ab665fe0, w=0x55d7ac7d1ac0, mask=118, region=..., quads=...) at ./scene.cpp:476
#39 0x00007f5d33bd1df7 in KWin::Scene::paintGenericScreen (this=this@entry=0x55d7ab665fe0, orig_mask=orig_mask@entry=112) at ./scene.cpp:238
#40 0x00007f5d10f1ed22 in KWin::SceneOpenGL2::paintGenericScreen (this=this@entry=0x55d7ab665fe0, mask=mask@entry=112, data=...) at ./plugins/scenes/opengl/scene_opengl.cpp:1062
#41 0x00007f5d33bd4770 in KWin::Scene::finalPaintScreen (this=this@entry=0x55d7ab665fe0, mask=mask@entry=112, region=..., data=...) at ./scene.cpp:197
#42 0x00007f5d33be1d05 in KWin::EffectsHandlerImpl::paintScreen (this=this@entry=0x55d7aba17b60, mask=mask@entry=112, region=..., data=...) at ./effects.cpp:379
#43 0x00007f5d30965173 in KWin::ScreenEdgeEffect::paintScreen (this=this@entry=0x55d7ab57a7c0, mask=mask@entry=112, region=..., data=...) at ./effects/screenedge/screenedgeeffect.cpp:94
#44 0x00007f5d33be1cad in KWin::EffectsHandlerImpl::paintScreen (this=this@entry=0x55d7aba17b60, mask=mask@entry=112, region=..., data=...) at ./effects.cpp:376
#45 0x00007f5d30bcfdd1 in KWin::Effect::paintScreen (this=this@entry=0x55d7ab4c2ef0, mask=mask@entry=112, region=..., data=...) at ./libkwineffects/kwineffects.cpp:584
#46 0x00007f5d33be1cad in KWin::EffectsHandlerImpl::paintScreen (this=this@entry=0x55d7aba17b60, mask=mask@entry=112, region=..., data=...) at ./effects.cpp:376
#47 0x00007f5d30bcfdd1 in KWin::Effect::paintScreen (this=this@entry=0x55d7abe6eb00, mask=mask@entry=112, region=..., data=...) at ./libkwineffects/kwineffects.cpp:584
#48 0x00007f5d33be1cad in KWin::EffectsHandlerImpl::paintScreen (this=this@entry=0x55d7aba17b60, mask=mask@entry=112, region=..., data=...) at ./effects.cpp:376
#49 0x00007f5d30bcfdd1 in KWin::Effect::paintScreen (this=this@entry=0x7f5d14002f90, mask=mask@entry=112, region=..., data=...) at ./libkwineffects/kwineffects.cpp:584
#50 0x00007f5d33be1cad in KWin::EffectsHandlerImpl::paintScreen (this=this@entry=0x55d7aba17b60, mask=mask@entry=112, region=..., data=...) at ./effects.cpp:376
#51 0x00007f5d30905e57 in KWin::DesktopGridEffect::paintScreen (this=this@entry=0x55d7ac043a10, mask=mask@entry=112, region=..., data=...) at ./effects/desktopgrid/desktopgrid.cpp:182
#52 0x00007f5d33be1cad in KWin::EffectsHandlerImpl::paintScreen (this=this@entry=0x55d7aba17b60, mask=112, region=..., data=...) at ./effects.cpp:376
#53 0x00007f5d33bd441e in KWin::Scene::paintScreen (this=this@entry=0x55d7ab665fe0, mask=mask@entry=0x7fff4d13e210, damage=..., repaint=..., updateRegion=updateRegion@entry=0x7fff4d13e1f8, validRegion=validRegion@entry=0x7fff4d13e200, projection=..., outputGeometry=...) at ./scene.cpp:149
#54 0x00007f5d10f18df1 in KWin::SceneOpenGL::paint (this=this@entry=0x55d7ab665fe0, damage=..., toplevels=...) at ./plugins/scenes/opengl/scene_opengl.cpp:702
#55 0x00007f5d33bc6b12 in KWin::Compositor::performCompositing (this=0x55d7ab546370) at ./composite.cpp:745
#56 0x00007f5d31650b9b in QObject::event (this=0x55d7ab546370, e=<optimized out>) at kernel/qobject.cpp:1273
#57 0x00007f5d323ade1c in QApplicationPrivate::notify_helper (this=this@entry=0x55d7ab499880, receiver=receiver@entry=0x55d7ab546370, e=e@entry=0x7fff4d13e650) at kernel/qapplication.cpp:3727
#58 0x00007f5d323b53ef in QApplication::notify (this=0x7fff4d13e900, receiver=0x55d7ab546370, e=0x7fff4d13e650) at kernel/qapplication.cpp:3486
#59 0x00007f5d31620fe8 in QCoreApplication::notifyInternal2 (receiver=0x55d7ab546370, event=event@entry=0x7fff4d13e650) at kernel/qcoreapplication.cpp:1048
#60 0x00007f5d3167a4be in QCoreApplication::sendEvent (event=0x7fff4d13e650, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#61 QTimerInfoList::activateTimers (this=this@entry=0x55d7ab4e75f0) at kernel/qtimerinfo_unix.cpp:643
#62 0x00007f5d316778ec in QEventDispatcherUNIXPrivate::activateTimers (this=this@entry=0x55d7ab4e7550) at kernel/qeventdispatcher_unix.cpp:249
#63 0x00007f5d316786c2 in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:514
#64 0x00007f5d1c9359fd in QUnixEventDispatcherQPA::processEvents (this=<optimized out>, flags=...) at qunixeventdispatcher.cpp:68
#65 0x00007f5d3161f30a in QEventLoop::exec (this=this@entry=0x7fff4d13e810, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#66 0x00007f5d316284d0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1336
#67 0x00007f5d3435cdab in kdemain (argc=<optimized out>, argv=0x7fff4d13ea98) at ./main_x11.cpp:468
#68 0x00007f5d33f84b97 in __libc_start_main (main=0x55d7a9655720 <main>, argc=3, argv=0x7fff4d13ea98, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff4d13ea88) at ../csu/libc-start.c:310
#69 0x000055d7a965575a in _start ()

The reporter indicates this bug may be a duplicate of or related to bug 368847.

Possible duplicates by query: bug 401442, bug 400127, bug 396297, bug 395712, bug 392092.

Reported using DrKonqi
Comment 1 Martin Flöser 2019-01-16 05:22:17 UTC

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