Bug 428473

Summary: kwin crashes with alternating workspaces
Product: [Plasma] kwin Reporter: Walker Luiz de Freitas <walker.lfreitas>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate
Priority: NOR Keywords: drkonqi
Version: 5.20.2   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Walker Luiz de Freitas 2020-10-30 13:32:53 UTC
Application: kwin_x11 (5.20.2)

Qt Version: 5.15.0
Frameworks Version: 5.75.0
Operating System: Linux 5.4.0-52-generic x86_64
Windowing system: X11
Distribution: KDE neon User Edition 5.20

-- Information about the crash:
- What I was doing when the application crashed: alternating workpaces where in a with running VM Quemu started.

- Unusual behavior I noticed: Crashes message  with cash icon in menu bar.

- Custom settings of the application: Global Theme WhiteSur-Alt with Mac Icons and blur activate in workspace.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault

[New LWP 1717]
[New LWP 1737]
[New LWP 1823]
[New LWP 2243]
[New LWP 5136]
[New LWP 7317]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f1918cc3aff in __GI___poll (fds=0x7ffdc07530e8, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
[Current thread is 1 (Thread 0x7f19135e5480 (LWP 1699))]

Thread 7 (Thread 0x7f186677b700 (LWP 7317)):
#0  0x00007f1918cc3bf6 in __ppoll (fds=fds@entry=0x7f184c0017a8, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44
#1  0x00007f19192b3da9 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=0x7f184c0017a8) at kernel/qcore_unix.cpp:132
#3  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f184c0017a8) at kernel/qcore_unix.cpp:129
#4  qt_safe_poll (fds=0x7f184c0017a8, nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:155
#5  0x00007f19192b5453 in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:211
#6  0x00007f191925c1bb in QEventLoop::exec (this=this@entry=0x7f186677ad80, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#7  0x00007f191907a082 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#8  0x00007f1917a086c9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007f191907b20c in QThreadPrivate::start (arg=0x558d411286d0) at thread/qthread_unix.cpp:342
#10 0x00007f191847b609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#11 0x00007f1918cd0293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f185e3b5700 (LWP 5136)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x558d41476e74) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x558d41476e20, cond=0x558d41476e48) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x558d41476e48, mutex=0x558d41476e20) at pthread_cond_wait.c:638
#3  0x00007f191908110b in QWaitConditionPrivate::wait (deadline=..., this=0x558d41476e20) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=this@entry=0x558d41476d98, mutex=mutex@entry=0x558d41476d90, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f1917d83154 in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x558d41476d88) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#6  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x558d41476cf0) at scenegraph/qsgthreadedrenderloop.cpp:936
#7  0x00007f1917d835c9 in QSGRenderThread::run (this=0x558d41476cf0) at scenegraph/qsgthreadedrenderloop.cpp:1053
#8  0x00007f191907b20c in QThreadPrivate::start (arg=0x558d41476cf0) at thread/qthread_unix.cpp:342
#9  0x00007f191847b609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f1918cd0293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f186cce6700 (LWP 2243)):
#0  QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:519
#1  0x00007f191925c1bb in QEventLoop::exec (this=this@entry=0x7f186cce5d80, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#2  0x00007f191907a082 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#3  0x00007f1917a086c9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#4  0x00007f191907b20c in QThreadPrivate::start (arg=0x558d403f01d0) at thread/qthread_unix.cpp:342
#5  0x00007f191847b609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f1918cd0293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f1909fbe700 (LWP 1823)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f1918a7ffd8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7f1918a7ff88, cond=0x7f1918a7ffb0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x7f1918a7ffb0, mutex=0x7f1918a7ff88) at pthread_cond_wait.c:638
#3  0x00007f191898263a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#4  0x00007f191898265f in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#5  0x00007f191847b609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f1918cd0293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f190adee700 (LWP 1737)):
#0  0x00007f1918cc3bf6 in __ppoll (fds=fds@entry=0x7f18f8000d78, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44
#1  0x00007f19192b3da9 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=0x7f18f8000d78) at kernel/qcore_unix.cpp:132
#3  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f18f8000d78) at kernel/qcore_unix.cpp:129
#4  qt_safe_poll (fds=0x7f18f8000d78, nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:155
#5  0x00007f19192b5453 in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:211
#6  0x00007f191925c1bb in QEventLoop::exec (this=this@entry=0x7f190adedd80, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#7  0x00007f191907a082 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#8  0x00007f1917a086c9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007f191907b20c in QThreadPrivate::start (arg=0x558d400b38f0) at thread/qthread_unix.cpp:342
#10 0x00007f191847b609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#11 0x00007f1918cd0293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f1910e5e700 (LWP 1717)):
#0  0x00007f1918cc3bf6 in __ppoll (fds=fds@entry=0x558d403b72e8, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44
#1  0x00007f19192b3da9 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=0x558d403b72e8) at kernel/qcore_unix.cpp:132
#3  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x558d403b72e8) at kernel/qcore_unix.cpp:129
#4  qt_safe_poll (fds=0x558d403b72e8, nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:155
#5  0x00007f19192b5453 in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:211
#6  0x00007f191925c1bb in QEventLoop::exec (this=this@entry=0x7f1910e5dd70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#7  0x00007f191907a082 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#8  0x00007f191a3fdf2b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#9  0x00007f191907b20c in QThreadPrivate::start (arg=0x7f191a480d80) at thread/qthread_unix.cpp:342
#10 0x00007f191847b609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#11 0x00007f1918cd0293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f19135e5480 (LWP 1699)):
[KCrash Handler]
#4  0x00007f19182b0338 in _mm_stream_si128(long long __vector(2)*, long long __vector(2)) (__B=..., __A=0x7f190891c190) at /usr/lib/gcc/x86_64-linux-gnu/9/include/emmintrin.h:1486
#5  KWin::WindowQuadList::makeInterleavedArrays (this=this@entry=0x558d4132c130, type=type@entry=7, vertices=vertices@entry=0x7f190891c190, textureMatrix=...) at ./libkwineffects/kwineffects.cpp:1148
#6  0x00007f1909fe1417 in KWin::OpenGLWindow::performPaint (this=0x558d40ff5480, mask=<optimized out>, region=..., _data=...) at ./plugins/scenes/opengl/scene_opengl.cpp:1484
#7  0x00007f1909fd5543 in KWin::SceneOpenGL2::performPaintWindow (this=<optimized out>, w=0x558d40a469b0, mask=2, region=..., data=...) at ./effects.h:645
#8  0x00007f1918b61b59 in KWin::ContrastEffect::drawWindow (this=0x558d408185c0, w=<optimized out>, mask=<optimized out>, region=..., data=...) at ./effects/backgroundcontrast/contrast.cpp:452
#9  0x00007f191a6c8e95 in KWin::EffectsHandlerImpl::drawWindow (this=0x558d406a61b0, w=<optimized out>, mask=<optimized out>, region=..., data=...) at ./effects.cpp:463
#10 0x00007f1918ac8d8e in KWin::BlurEffect::drawWindow (this=<optimized out>, w=<optimized out>, mask=<optimized out>, region=..., data=...) at ./effects/blur/blur.cpp:593
#11 0x00007f191a6c8e95 in KWin::EffectsHandlerImpl::drawWindow (this=0x558d406a61b0, w=<optimized out>, mask=<optimized out>, region=..., data=...) at ./effects.cpp:463
#12 0x00007f191a6c8d7d in KWin::EffectsHandlerImpl::paintWindow (this=0x558d406a61b0, w=0x558d40a469b0, mask=2, region=..., data=...) at ./effects.cpp:429
#13 0x00007f191a6c8d37 in KWin::EffectsHandlerImpl::paintWindow (this=0x558d406a61b0, w=0x558d40a469b0, mask=2, region=..., data=...) at ./effects.cpp:426
#14 0x00007f191a6c8d37 in KWin::EffectsHandlerImpl::paintWindow (this=this@entry=0x558d406a61b0, w=0x558d40a469b0, mask=mask@entry=2, region=..., data=...) at ./effects.cpp:426
#15 0x00007f191a7535e5 in KWin::Scene::paintWindow (this=0x558d405a6ff0, w=0x558d40ff5480, mask=2, _region=..., quads=...) at ./scene.cpp:499
#16 0x00007f191a7509df in KWin::Scene::paintSimpleScreen (this=<optimized out>, orig_mask=0, region=...) at ./scene.cpp:384
#17 0x00007f191a74c9a6 in KWin::Scene::finalPaintScreen (this=0x558d405a6ff0, mask=<optimized out>, region=..., data=...) at ./scene.cpp:188
#18 0x00007f191a6c8b42 in KWin::EffectsHandlerImpl::paintScreen (this=0x558d406a61b0, mask=<optimized out>, region=..., data=...) at ./effects.cpp:383
#19 0x00007f191a6c8b42 in KWin::EffectsHandlerImpl::paintScreen (this=0x558d406a61b0, mask=<optimized out>, region=..., data=...) at ./effects.cpp:383
#20 0x00007f191a752954 in KWin::Scene::paintScreen (this=this@entry=0x558d405a6ff0, mask=mask@entry=0x7ffdc07544b8, damage=..., repaint=..., updateRegion=updateRegion@entry=0x7ffdc07544a0, validRegion=validRegion@entry=0x7ffdc07544a8, projection=..., outputGeometry=..., screenScale=1) at ./scene.cpp:135
#21 0x00007f1909fdbc88 in KWin::SceneOpenGL::paint (this=0x558d405a6ff0, damage=..., toplevels=...) at ./plugins/scenes/opengl/scene_opengl.h:115
#22 0x00007f191a68ecaf in KWin::Compositor::performCompositing (this=0x558d403b2cb0) at ./composite.cpp:689
#23 0x00007f191928b045 in QObject::event (this=0x558d403b2cb0, e=0x7ffdc0754920) at kernel/qobject.cpp:1336
#24 0x00007f1919d96cc3 in QApplicationPrivate::notify_helper (this=this@entry=0x558d400de660, receiver=receiver@entry=0x558d403b2cb0, e=e@entry=0x7ffdc0754920) at kernel/qapplication.cpp:3671
#25 0x00007f1919d9fc70 in QApplication::notify (this=0x7ffdc0754ba0, receiver=0x558d403b2cb0, e=0x7ffdc0754920) at kernel/qapplication.cpp:3417
#26 0x00007f191925d6aa in QCoreApplication::notifyInternal2 (receiver=0x558d403b2cb0, event=0x7ffdc0754920) at ../../include/QtCore/5.15.0/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#27 0x00007f19192b71e0 in QTimerInfoList::activateTimers (this=this@entry=0x558d400e4938) at kernel/qtimerinfo_unix.cpp:643
#28 0x00007f19192b48b0 in QEventDispatcherUNIXPrivate::activateTimers (this=this@entry=0x558d400e48b0) at kernel/qeventdispatcher_unix.cpp:249
#29 0x00007f19192b55a7 in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:516
#30 0x00007f1912f51d52 in QXcbUnixEventDispatcher::processEvents (this=0x558d401898f0, flags=...) at qxcbeventdispatcher.cpp:60
#31 0x00007f191925c1bb in QEventLoop::exec (this=this@entry=0x7ffdc0754ac0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#32 0x00007f1919264354 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#33 0x0000558d3e613a2d in main (argc=<optimized out>, argv=0x7ffdc0754d48) at ./main_x11.cpp:484
[Inferior 1 (process 1699) detached]

Possible duplicates by query: bug 422028, bug 421666, bug 420372, bug 417120, bug 416203.

Reported using DrKonqi
Comment 1 Nate Graham 2020-10-30 14:41:37 UTC

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