Bug 430648

Summary: KWin crash after waking up from suspend
Product: [Plasma] kwin Reporter: supersasho <supersasho>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate
Priority: NOR Keywords: drkonqi
Version: 5.20.4   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description supersasho 2020-12-21 06:50:40 UTC
Application: kwin_x11 (5.20.4)

Qt Version: 5.15.2
Frameworks Version: 5.77.0
Operating System: Linux 5.4.0-58-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:
Waking up the PC after suspend.  Tried it multiple times with the same result.

The crash can be reproduced every time.

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

[New LWP 3088]
[New LWP 3100]
[New LWP 3197]
[New LWP 3260]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f348b770aff in __GI___poll (fds=0x7ffe9cb5eae8, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
[Current thread is 1 (Thread 0x7f3485c298c0 (LWP 3087))]

Thread 5 (Thread 0x7f347d2e0700 (LWP 3260)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f348b52dfd8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7f348b52df88, cond=0x7f348b52dfb0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x7f348b52dfb0, mutex=0x7f348b52df88) at pthread_cond_wait.c:638
#3  0x00007f348b43063a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#4  0x00007f348b43065f in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#5  0x00007f348af26609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f348b77d293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f347e550700 (LWP 3197)):
#0  0x00007f348b770bf6 in __ppoll (fds=fds@entry=0x7f3474000d78, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44
#1  0x00007f348bd63eb9 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=0x7f3474000d78) at kernel/qcore_unix.cpp:132
#3  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f3474000d78) at kernel/qcore_unix.cpp:129
#4  qt_safe_poll (fds=0x7f3474000d78, nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:155
#5  0x00007f348bd65563 in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:211
#6  0x00007f348bd0c1ab in QEventLoop::exec (this=this@entry=0x7f347e54fcc0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#7  0x00007f348bb26a12 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#8  0x00007f348a4affa9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007f348bb27bac in QThreadPrivate::start (arg=0x56238e0e08f0) at thread/qthread_unix.cpp:329
#10 0x00007f348af26609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#11 0x00007f348b77d293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f347ffff700 (LWP 3100)):
#0  0x00007f348b770bf6 in __ppoll (fds=fds@entry=0x7f347800b978, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44
#1  0x00007f348bd63eb9 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=0x7f347800b978) at kernel/qcore_unix.cpp:132
#3  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f347800b978) at kernel/qcore_unix.cpp:129
#4  qt_safe_poll (fds=0x7f347800b978, nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:155
#5  0x00007f348bd65563 in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:211
#6  0x00007f348bd0c1ab in QEventLoop::exec (this=this@entry=0x7f347fffecb0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#7  0x00007f348bb26a12 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#8  0x00007f348ce51f4b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#9  0x00007f348bb27bac in QThreadPrivate::start (arg=0x7f348ced5d80) at thread/qthread_unix.cpp:329
#10 0x00007f348af26609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#11 0x00007f348b77d293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f3485241700 (LWP 3088)):
#0  0x00007f348b770aff in __GI___poll (fds=0x7f3485240be8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f348ba39c1a in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f348ba3b90a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f348531cd58 in QXcbEventQueue::run (this=0x56238e10de50) at qxcbeventqueue.cpp:228
#4  0x00007f348bb27bac in QThreadPrivate::start (arg=0x56238e10de50) at thread/qthread_unix.cpp:329
#5  0x00007f348af26609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f348b77d293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f3485c298c0 (LWP 3087)):
[KCrash Handler]
#4  0x00007f348ad5a338 in _mm_stream_si128(long long __vector(2)*, long long __vector(2)) (__B=..., __A=0x7f346df68fb0) at /usr/lib/gcc/x86_64-linux-gnu/9/include/emmintrin.h:1486
#5  KWin::WindowQuadList::makeInterleavedArrays (this=this@entry=0x7f3480014db0, type=type@entry=7, vertices=vertices@entry=0x7f346df68fb0, textureMatrix=...) at ./libkwineffects/kwineffects.cpp:1148
#6  0x00007f347d3033d7 in KWin::OpenGLWindow::performPaint (this=0x56238e6f56c0, mask=<optimized out>, region=..., _data=...) at ./plugins/scenes/opengl/scene_opengl.cpp:1484
#7  0x00007f347d2f7503 in KWin::SceneOpenGL2::performPaintWindow (this=<optimized out>, w=0x56238e6eeb50, mask=2, region=..., data=...) at ./effects.h:645
#8  0x00007f348b60e7a9 in KWin::ContrastEffect::drawWindow (this=0x56238e292c70, w=<optimized out>, mask=<optimized out>, region=..., data=...) at ./effects/backgroundcontrast/contrast.cpp:452
#9  0x00007f348d11da05 in KWin::EffectsHandlerImpl::drawWindow (this=0x56238e51d7a0, w=<optimized out>, mask=<optimized out>, region=..., data=...) at ./effects.cpp:463
#10 0x00007f348b576d8e in KWin::BlurEffect::drawWindow (this=<optimized out>, w=<optimized out>, mask=<optimized out>, region=..., data=...) at ./effects/blur/blur.cpp:593
#11 0x00007f348d11da05 in KWin::EffectsHandlerImpl::drawWindow (this=0x56238e51d7a0, w=<optimized out>, mask=<optimized out>, region=..., data=...) at ./effects.cpp:463
#12 0x00007f348d11da05 in KWin::EffectsHandlerImpl::drawWindow (this=0x56238e51d7a0, w=<optimized out>, mask=<optimized out>, region=..., data=...) at ./effects.cpp:463
#13 0x00007f348d11da05 in KWin::EffectsHandlerImpl::drawWindow (this=0x56238e51d7a0, w=<optimized out>, mask=<optimized out>, region=..., data=...) at ./effects.cpp:463
#14 0x00007f348d11d8ed in KWin::EffectsHandlerImpl::paintWindow (this=0x56238e51d7a0, w=0x56238e6eeb50, mask=2, region=..., data=...) at ./effects.cpp:429
#15 0x00007f348d11d8a7 in KWin::EffectsHandlerImpl::paintWindow (this=0x56238e51d7a0, w=0x56238e6eeb50, mask=2, region=..., data=...) at ./effects.cpp:426
#16 0x00007f348d11d8a7 in KWin::EffectsHandlerImpl::paintWindow (this=0x56238e51d7a0, w=0x56238e6eeb50, mask=2, region=..., data=...) at ./effects.cpp:426
#17 0x00007f348b5a61d7 in KWin::DimInactiveEffect::paintWindow (this=this@entry=0x56238e57cc70, w=<optimized out>, w@entry=0x56238e6eeb50, mask=mask@entry=2, region=..., data=...) at ./effects/diminactive/diminactive.cpp:124
#18 0x00007f348d11d8a7 in KWin::EffectsHandlerImpl::paintWindow (this=0x56238e51d7a0, w=0x56238e6eeb50, mask=2, region=..., data=...) at ./effects.cpp:426
#19 0x00007f348b609bdc in KWin::SlidingPopupsEffect::paintWindow (this=this@entry=0x56238e5d0950, w=<optimized out>, w@entry=0x56238e6eeb50, mask=mask@entry=2, region=..., data=...) at ./effects/slidingpopups/slidingpopups.cpp:160
#20 0x00007f348d11d8a7 in KWin::EffectsHandlerImpl::paintWindow (this=this@entry=0x56238e51d7a0, w=0x56238e6eeb50, mask=mask@entry=2, region=..., data=...) at ./effects.cpp:426
#21 0x00007f348d1a8315 in KWin::Scene::paintWindow (this=0x56238e3a8420, w=0x56238e6f56c0, mask=2, _region=..., quads=...) at ./scene.cpp:472
#22 0x00007f348d1a570f in KWin::Scene::paintSimpleScreen (this=<optimized out>, orig_mask=0, region=...) at ./scene.cpp:384
#23 0x00007f348d1a15c6 in KWin::Scene::finalPaintScreen (this=0x56238e3a8420, mask=<optimized out>, region=..., data=...) at ./scene.cpp:188
#24 0x00007f348d11d6b2 in KWin::EffectsHandlerImpl::paintScreen (this=0x56238e51d7a0, mask=<optimized out>, region=..., data=...) at ./effects.cpp:383
#25 0x00007f348d11d6b2 in KWin::EffectsHandlerImpl::paintScreen (this=0x56238e51d7a0, mask=<optimized out>, region=..., data=...) at ./effects.cpp:383
#26 0x00007f348d11d6b2 in KWin::EffectsHandlerImpl::paintScreen (this=0x56238e51d7a0, mask=<optimized out>, region=..., data=...) at ./effects.cpp:383
#27 0x00007f348d11d6b2 in KWin::EffectsHandlerImpl::paintScreen (this=0x56238e51d7a0, mask=<optimized out>, region=..., data=...) at ./effects.cpp:383
#28 0x00007f348d1a7684 in KWin::Scene::paintScreen (this=this@entry=0x56238e3a8420, mask=mask@entry=0x7ffe9cb5ff88, damage=..., repaint=..., updateRegion=updateRegion@entry=0x7ffe9cb5ff70, validRegion=validRegion@entry=0x7ffe9cb5ff78, projection=..., outputGeometry=..., screenScale=1) at ./scene.cpp:135
#29 0x00007f347d2fdc48 in KWin::SceneOpenGL::paint (this=0x56238e3a8420, damage=..., toplevels=...) at ./plugins/scenes/opengl/scene_opengl.h:115
#30 0x00007f348d0e3b3f in KWin::Compositor::performCompositing (this=0x56238e1e1690) at ./composite.cpp:689
#31 0x00007f348bd3b155 in QObject::event (this=0x56238e1e1690, e=0x7ffe9cb603f0) at kernel/qobject.cpp:1336
#32 0x00007f348c7e4dc3 in QApplicationPrivate::notify_helper (this=this@entry=0x56238e10b620, receiver=receiver@entry=0x56238e1e1690, e=e@entry=0x7ffe9cb603f0) at kernel/qapplication.cpp:3632
#33 0x00007f348c7edbb8 in QApplication::notify (this=0x7ffe9cb60670, receiver=0x56238e1e1690, e=0x7ffe9cb603f0) at kernel/qapplication.cpp:3156
#34 0x00007f348bd0d69a in QCoreApplication::notifyInternal2 (receiver=0x56238e1e1690, event=0x7ffe9cb603f0) at ../../include/QtCore/5.15.2/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#35 0x00007f348bd672f0 in QTimerInfoList::activateTimers (this=this@entry=0x56238e1b3748) at kernel/qtimerinfo_unix.cpp:643
#36 0x00007f348bd649c0 in QEventDispatcherUNIXPrivate::activateTimers (this=this@entry=0x56238e1b36c0) at kernel/qeventdispatcher_unix.cpp:249
#37 0x00007f348bd656b7 in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:516
#38 0x00007f348531e132 in QXcbUnixEventDispatcher::processEvents (this=0x56238e1c9e00, flags=...) at qxcbeventdispatcher.cpp:60
#39 0x00007f348bd0c1ab in QEventLoop::exec (this=this@entry=0x7ffe9cb60590, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#40 0x00007f348bd14354 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#41 0x000056238ca27a2d in main (argc=<optimized out>, argv=0x7ffe9cb60818) at ./main_x11.cpp:484
[Inferior 1 (process 3087) detached]

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

Possible duplicates by query: bug 430160, bug 429217, bug 428473, bug 422028, bug 421666.

Reported using DrKonqi
Comment 1 Nate Graham 2021-01-05 15:48:13 UTC

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