Bug 421666 - kwin crash after resume from sleep
Summary: kwin crash after resume from sleep
Status: RESOLVED DUPLICATE of bug 399499
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.18.4
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-05-17 09:10 UTC by ciop1971
Modified: 2020-05-18 08:38 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ciop1971 2020-05-17 09:10:23 UTC
Application: kwin_x11 (5.18.4)

Qt Version: 5.12.8
Frameworks Version: 5.68.0
Operating System: Linux 5.4.0-29-generic x86_64
Windowing system: X11
Distribution: Ubuntu 20.04 LTS

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

- Unusual behavior I noticed: always crash when return form sleep

- Custom settings of the application: kwin (focal) 5.18.4.1-0ubuntu2 all, KDE Plasma 5.18.4, KDE Frameworks 5.68.0, QT 5.12.8, Kernel 5.4.0-29-generic, Kubuntu 20.04 64-bit

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 0x7fa0a8857800 (LWP 1547))]

Thread 4 (Thread 0x7fa08a7c2700 (LWP 1856)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7fa0ad9f5fb8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7fa0ad9f5f68, cond=0x7fa0ad9f5f90) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x7fa0ad9f5f90, mutex=0x7fa0ad9f5f68) at pthread_cond_wait.c:638
#3  0x00007fa0ad8f85fa in ?? () from /lib/x86_64-linux-gnu/libQt5Script.so.5
#4  0x00007fa0ad8f861f in ?? () from /lib/x86_64-linux-gnu/libQt5Script.so.5
#5  0x00007fa0ad3aa609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fa0af618103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fa0a5117700 (LWP 1791)):
#0  0x00007fa0addece60 in QMutex::lock() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#1  0x00007fa0ae009840 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fa0adfb34db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fa0addeb785 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fa0acb1e1a9 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#5  0x00007fa0addec9d2 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fa0ad3aa609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007fa0af618103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fa0a7074700 (LWP 1646)):
#0  0x00007fa0af60ba66 in __ppoll (fds=0x7fa09800ea98, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44
#1  0x00007fa0ae0084a9 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fa0ae009a14 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fa0adfb34db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fa0addeb785 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fa0af01defa in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#6  0x00007fa0addec9d2 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fa0ad3aa609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007fa0af618103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fa0a8857800 (LWP 1547)):
[KCrash Handler]
#6  0x00007fa0ad1ddd42 in KWin::WindowQuadList::makeInterleavedArrays(unsigned int, KWin::GLVertex2D*, QMatrix4x4 const&) const () from /lib/x86_64-linux-gnu/libkwineffects.so.12
#7  0x00007fa0a42b39b2 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#8  0x00007fa0a42baf79 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#9  0x00007fa0a42bb0ab in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#10 0x00007fa0af2da387 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) () from /lib/x86_64-linux-gnu/libkwin.so.5
#11 0x00007fa0af2da324 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) () from /lib/x86_64-linux-gnu/libkwin.so.5
#12 0x00007fa0adad8149 in ?? () from /lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#13 0x00007fa0af2da324 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) () from /lib/x86_64-linux-gnu/libkwin.so.5
#14 0x00007fa0ada3e65e in ?? () from /lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#15 0x00007fa0af2da324 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) () from /lib/x86_64-linux-gnu/libkwin.so.5
#16 0x00007fa0af2da324 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) () from /lib/x86_64-linux-gnu/libkwin.so.5
#17 0x00007fa0af2da324 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) () from /lib/x86_64-linux-gnu/libkwin.so.5
#18 0x00007fa0af2da1f0 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) () from /lib/x86_64-linux-gnu/libkwin.so.5
#19 0x00007fa0af2da197 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) () from /lib/x86_64-linux-gnu/libkwin.so.5
#20 0x00007fa0af2da197 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) () from /lib/x86_64-linux-gnu/libkwin.so.5
#21 0x00007fa0af2da197 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) () from /lib/x86_64-linux-gnu/libkwin.so.5
#22 0x00007fa0ad1d32fa in KWin::AnimationEffect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /lib/x86_64-linux-gnu/libkwineffects.so.12
#23 0x00007fa0af2da197 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) () from /lib/x86_64-linux-gnu/libkwin.so.5
#24 0x00007fa0ad1d32fa in KWin::AnimationEffect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /lib/x86_64-linux-gnu/libkwineffects.so.12
#25 0x00007fa0af2da197 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) () from /lib/x86_64-linux-gnu/libkwin.so.5
#26 0x00007fa0af35d8bb in KWin::Scene::paintWindow(KWin::Scene::Window*, int, QRegion, KWin::WindowQuadList) () from /lib/x86_64-linux-gnu/libkwin.so.5
#27 0x00007fa0af35b271 in KWin::Scene::paintSimpleScreen(int, QRegion) () from /lib/x86_64-linux-gnu/libkwin.so.5
#28 0x00007fa0a42ade67 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#29 0x00007fa0af35cec0 in KWin::Scene::finalPaintScreen(int, QRegion, KWin::ScreenPaintData&) () from /lib/x86_64-linux-gnu/libkwin.so.5
#30 0x00007fa0af2d9fae in KWin::EffectsHandlerImpl::paintScreen(int, QRegion const&, KWin::ScreenPaintData&) () from /lib/x86_64-linux-gnu/libkwin.so.5
#31 0x00007fa0af2d9f5f in KWin::EffectsHandlerImpl::paintScreen(int, QRegion const&, KWin::ScreenPaintData&) () from /lib/x86_64-linux-gnu/libkwin.so.5
#32 0x00007fa0af2d9f5f in KWin::EffectsHandlerImpl::paintScreen(int, QRegion const&, KWin::ScreenPaintData&) () from /lib/x86_64-linux-gnu/libkwin.so.5
#33 0x00007fa0af2d9f5f in KWin::EffectsHandlerImpl::paintScreen(int, QRegion const&, KWin::ScreenPaintData&) () from /lib/x86_64-linux-gnu/libkwin.so.5
#34 0x00007fa0af2d9f5f in KWin::EffectsHandlerImpl::paintScreen(int, QRegion const&, KWin::ScreenPaintData&) () from /lib/x86_64-linux-gnu/libkwin.so.5
#35 0x00007fa0af2d9f5f in KWin::EffectsHandlerImpl::paintScreen(int, QRegion const&, KWin::ScreenPaintData&) () from /lib/x86_64-linux-gnu/libkwin.so.5
#36 0x00007fa0af35cb6e in KWin::Scene::paintScreen(int*, QRegion const&, QRegion const&, QRegion*, QRegion*, QMatrix4x4 const&, QRect const&) () from /lib/x86_64-linux-gnu/libkwin.so.5
#37 0x00007fa0a42b5b2e in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) () from /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#38 0x00007fa0af29f221 in KWin::Compositor::performCompositing() () from /lib/x86_64-linux-gnu/libkwin.so.5
#39 0x00007fa0adfe0cf5 in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#40 0x00007fa0ae9cea66 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#41 0x00007fa0ae9d80f0 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#42 0x00007fa0adfb493a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#43 0x00007fa0ae00b8b0 in QTimerInfoList::activateTimers() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#44 0x00007fa0ae009b6f in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#45 0x00007fa0a81a86e2 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#46 0x00007fa0adfb34db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#47 0x00007fa0adfbb246 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#48 0x00007fa0af6f19ef in kdemain () from /lib/x86_64-linux-gnu/libkdeinit5_kwin_x11.so
#49 0x00007fa0af51d0b3 in __libc_start_main (main=0x5562bae65060, argc=1, argv=0x7ffc48397528, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc48397518) at ../csu/libc-start.c:308
#50 0x00005562bae6509e in _start ()
[Inferior 1 (process 1547) detached]

Possible duplicates by query: bug 421059, bug 420372, bug 419946, bug 419721, bug 419655.

Reported using DrKonqi
Comment 1 Vlad Zahorodnii 2020-05-18 08:38:09 UTC

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