Bug 404747 - KWin Crashes when doing simultraneous actions
Summary: KWin Crashes when doing simultraneous actions
Status: RESOLVED DUPLICATE of bug 368847
Alias: None
Product: kwin
Classification: Plasma
Component: effects-various (show other bugs)
Version: 5.12.7
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-02-23 20:25 UTC by ccc
Modified: 2019-02-23 23:30 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ccc 2019-02-23 20:25:27 UTC
Application: kwin_x11 (5.12.7)

Qt Version: 5.9.5
Frameworks Version: 5.44.0
Operating System: Linux 4.15.0-45-lowlatency x86_64
Distribution: Ubuntu 18.04.2 LTS

-- Information about the crash:
Windows effects: falliing apart + glide
Desktop effects: Desktop change - Slide

Using them almost simultaneously without waiting for any other one to finish, may cause KWin to crash.

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 0x7f180b6b1cc0 (LWP 1634))]

Thread 6 (Thread 0x7f17d5b0b700 (LWP 1814)):
#0  0x00007f18040869f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f180761dfb8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f18040869f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x7f180761df68, cond=0x7f180761df90) at pthread_cond_wait.c:502
#2  0x00007f18040869f3 in __pthread_cond_wait (cond=0x7f180761df90, mutex=0x7f180761df68) at pthread_cond_wait.c:655
#3  0x00007f18073275f4 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#4  0x00007f1807327639 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#5  0x00007f18040806db in start_thread (arg=0x7f17d5b0b700) at pthread_create.c:463
#6  0x00007f180b02788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f17d7ebe700 (LWP 1805)):
#0  0x00007f18040869f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f17ec00781c) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f18040869f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x7f17ec0077c8, cond=0x7f17ec0077f0) at pthread_cond_wait.c:502
#2  0x00007f18040869f3 in __pthread_cond_wait (cond=0x7f17ec0077f0, mutex=0x7f17ec0077c8) at pthread_cond_wait.c:655
#3  0x00007f17e0c14b1b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f17e0c14847 in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f18040806db in start_thread (arg=0x7f17d7ebe700) at pthread_create.c:463
#6  0x00007f180b02788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f17e3fff700 (LWP 1795)):
#0  0x00007f180b01acf6 in __GI_ppoll (fds=0x7f17d8000d28, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f180841c5c1 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f180841dcde in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f18083c59ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f18081e422a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f1802b6c6f5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007f18081e916d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f18040806db in start_thread (arg=0x7f17e3fff700) at pthread_create.c:463
#8  0x00007f180b02788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f17eae4e700 (LWP 1732)):
#0  0x00007f180b01acf6 in __GI_ppoll (fds=0x7f17e400af28, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f180841c5c1 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f180841dcde in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f18083c59ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f18081e422a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f1801a45d45 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#6  0x00007f18081e916d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f18040806db in start_thread (arg=0x7f17eae4e700) at pthread_create.c:463
#8  0x00007f180b02788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f17f1648700 (LWP 1714)):
#0  0x00007f180b01abf9 in __GI___poll (fds=0x7f17f1647c68, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f1809f24747 in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f1809f2636a in xcb_wait_for_event () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f17f25272a9 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f18081e916d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f18040806db in start_thread (arg=0x7f17f1648700) at pthread_create.c:463
#6  0x00007f180b02788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f180b6b1cc0 (LWP 1634)):
[KCrash Handler]
#6  0x00007f180af44e97 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#7  0x00007f180af46801 in __GI_abort () at abort.c:79
#8  0x00007f18081d3fa7 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f1807b93e0c in KWin::WindowQuad::makeSubQuad(double, double, double, double) const () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#10 0x00007f17e80b4475 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#11 0x00007f17e80b4716 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#12 0x00007f17e80bd653 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#13 0x00007f17e80bd787 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#14 0x00007f180ab89956 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#15 0x00007f1807b90620 in KWin::Effect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#16 0x00007f180ab898ee in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#17 0x00007f1807931876 in  () at /usr/lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#18 0x00007f180ab898ee in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#19 0x00007f18078a123d in  () at /usr/lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#20 0x00007f180ab898ee in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#21 0x00007f1807b90620 in KWin::Effect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#22 0x00007f180ab898ee in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#23 0x00007f1807b90620 in KWin::Effect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#24 0x00007f180ab898ee in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#25 0x00007f180ab75860 in KWin::Scene::finalPaintWindow(KWin::EffectWindowImpl*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#26 0x00007f180ab8977d in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#27 0x00007f1807b904b0 in KWin::Effect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#28 0x00007f180ab8971e in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#29 0x00007f1807b904b0 in KWin::Effect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#30 0x00007f180ab8971e in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#31 0x00007f1807b904b0 in KWin::Effect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#32 0x00007f180ab8971e in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#33 0x00007f180791d06a in  () at /usr/lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#34 0x00007f180ab8971e in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#35 0x00007f18078f26c4 in  () at /usr/lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#36 0x00007f180ab8971e in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#37 0x00007f180ab7bbd2 in KWin::Scene::paintWindow(KWin::Scene::Window*, int, QRegion, KWin::WindowQuadList) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#38 0x00007f180ab785d7 in KWin::Scene::paintGenericScreen(int, KWin::ScreenPaintData) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#39 0x00007f17e80bd462 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#40 0x00007f180ab7b1b0 in KWin::Scene::finalPaintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#41 0x00007f180ab894d5 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#42 0x00007f1807923323 in  () at /usr/lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#43 0x00007f180ab8947d in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#44 0x00007f1807b90401 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#45 0x00007f180ab8947d in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#46 0x00007f1807b90401 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#47 0x00007f180ab8947d in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#48 0x00007f1807b90401 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#49 0x00007f180ab8947d in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#50 0x00007f18078f33d7 in  () at /usr/lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#51 0x00007f180ab8947d in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#52 0x00007f180ab7ae5e in KWin::Scene::paintScreen(int*, QRegion const&, QRegion const&, QRegion*, QRegion*, QMatrix4x4 const&, QRect const&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#53 0x00007f17e80b7541 in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#54 0x00007f180ab6d3e2 in KWin::Compositor::performCompositing() () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#55 0x00007f18083f70db in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#56 0x00007f180914582c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#57 0x00007f180914d0f4 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#58 0x00007f18083c79a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#59 0x00007f180841fd8e in QTimerInfoList::activateTimers() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#60 0x00007f180841df42 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#61 0x00007f17f258a5cd in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#62 0x00007f18083c59ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#63 0x00007f18083cea84 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#64 0x00007f180b2ffdbb in kdemain () at /usr/lib/x86_64-linux-gnu/libkdeinit5_kwin_x11.so
#65 0x00007f180af27b97 in __libc_start_main (main=0x55f55c3dc730, argc=3, argv=0x7ffd0def5ef8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd0def5ee8) at ../csu/libc-start.c:310
#66 0x000055f55c3dc76a in _start ()

Reported using DrKonqi
Comment 1 Matthieu Gras 2019-02-23 22:28:23 UTC
https://phabricator.kde.org/D19265
Comment 2 David Edmundson 2019-02-23 23:30:44 UTC

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