Bug 417641 - KWin crashes when switching desktops during an in-progress desktop effect
Summary: KWin crashes when switching desktops during an in-progress desktop effect
Status: RESOLVED DUPLICATE of bug 368847
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.12.9
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-02-14 13:56 UTC by Martin Vlk
Modified: 2020-02-17 08:48 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 Martin Vlk 2020-02-14 13:56:34 UTC
Application: kwin_x11 (5.12.9)

Qt Version: 5.9.5
Frameworks Version: 5.44.0
Operating System: Linux 4.15.0-76-generic x86_64
Distribution: Ubuntu 18.04.4 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Switched to another desktop while the window-close animation (Explosion) was still in progress.

- Custom settings of the application:
Enabled desktop effects for switching desktops (glide) and closing windows (explosion)

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 0x7f666a92e040 (LWP 2759))]

Thread 6 (Thread 0x7f6635c12700 (LWP 2976)):
#0  0x00007f6669b5f9f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f6666269fb8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x7f6666269f68, cond=0x7f6666269f90) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x7f6666269f90, mutex=0x7f6666269f68) at pthread_cond_wait.c:655
#3  0x00007f6665f735f4 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#4  0x00007f6665f73639 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#5  0x00007f6669b596db in start_thread (arg=0x7f6635c12700) at pthread_create.c:463
#6  0x00007f666a09688f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f6636c14700 (LWP 2973)):
#0  0x00007f6669b5f9f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55f4b7632718) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55f4b76326c8, cond=0x55f4b76326f0) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55f4b76326f0, mutex=0x55f4b76326c8) at pthread_cond_wait.c:655
#3  0x00007f6637640ebb in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f6637640ab7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f6669b596db in start_thread (arg=0x7f6636c14700) at pthread_create.c:463
#6  0x00007f666a09688f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f663ffff700 (LWP 2960)):
#0  0x00007f666a089cf6 in __GI_ppoll (fds=0x7f6638000d28, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f6667068561 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f6667069c7e in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f666701190a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f6666e3023a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f66619d76f5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007f6666e3517d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f6669b596db in start_thread (arg=0x7f663ffff700) at pthread_create.c:463
#8  0x00007f666a09688f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f664e3ac700 (LWP 2834)):
#0  0x00007f666a089cf6 in __GI_ppoll (fds=0x7f6640011f58, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f6667068561 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f6667069c7e in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f666701190a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f6666e3023a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f66608b0d45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#6  0x00007f6666e3517d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f6669b596db in start_thread (arg=0x7f664e3ac700) at pthread_create.c:463
#8  0x00007f666a09688f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f6650580700 (LWP 2812)):
#0  0x00007f666a089bf9 in __GI___poll (fds=0x7f665057fc68, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f6668b70747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f6668b7236a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f665145f5e9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f6666e3517d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f6669b596db in start_thread (arg=0x7f6650580700) at pthread_create.c:463
#6  0x00007f666a09688f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f666a92e040 (LWP 2759)):
[KCrash Handler]
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#7  0x00007f6669fb5801 in __GI_abort () at abort.c:79
#8  0x00007f6666e1ffb7 in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f66667dfe0c in KWin::WindowQuad::makeSubQuad(double, double, double, double) const () from /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#10 0x00007f663dfdb475 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#11 0x00007f663dfdb716 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#12 0x00007f663dfe4653 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#13 0x00007f663dfe4787 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#14 0x00007f66697d5986 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /usr/lib/x86_64-linux-gnu/libkwin.so.5
#15 0x00007f666657db36 in ?? () from /usr/lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#16 0x00007f66697d591e in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /usr/lib/x86_64-linux-gnu/libkwin.so.5
#17 0x00007f66664ed3cd in ?? () from /usr/lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#18 0x00007f66697d591e in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /usr/lib/x86_64-linux-gnu/libkwin.so.5
#19 0x00007f66667dc620 in KWin::Effect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#20 0x00007f66697d591e in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /usr/lib/x86_64-linux-gnu/libkwin.so.5
#21 0x00007f66667dc620 in KWin::Effect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#22 0x00007f66697d591e in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /usr/lib/x86_64-linux-gnu/libkwin.so.5
#23 0x00007f66697c1890 in KWin::Scene::finalPaintWindow(KWin::EffectWindowImpl*, int, QRegion, KWin::WindowPaintData&) () from /usr/lib/x86_64-linux-gnu/libkwin.so.5
#24 0x00007f66697d57ad in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /usr/lib/x86_64-linux-gnu/libkwin.so.5
#25 0x00007f66667dc4b0 in KWin::Effect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#26 0x00007f66697d574e in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /usr/lib/x86_64-linux-gnu/libkwin.so.5
#27 0x00007f66667dc4b0 in KWin::Effect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#28 0x00007f66697d574e in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /usr/lib/x86_64-linux-gnu/libkwin.so.5
#29 0x00007f666656932a in ?? () from /usr/lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#30 0x00007f66697d574e in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /usr/lib/x86_64-linux-gnu/libkwin.so.5
#31 0x00007f666653e984 in ?? () from /usr/lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#32 0x00007f66697d574e in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /usr/lib/x86_64-linux-gnu/libkwin.so.5
#33 0x00007f66697c7c02 in KWin::Scene::paintWindow(KWin::Scene::Window*, int, QRegion, KWin::WindowQuadList) () from /usr/lib/x86_64-linux-gnu/libkwin.so.5
#34 0x00007f66697c4607 in KWin::Scene::paintGenericScreen(int, KWin::ScreenPaintData) () from /usr/lib/x86_64-linux-gnu/libkwin.so.5
#35 0x00007f663dfe4462 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#36 0x00007f66697c71e0 in KWin::Scene::finalPaintScreen(int, QRegion, KWin::ScreenPaintData&) () from /usr/lib/x86_64-linux-gnu/libkwin.so.5
#37 0x00007f66697d5505 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () from /usr/lib/x86_64-linux-gnu/libkwin.so.5
#38 0x00007f66667dc401 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () from /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#39 0x00007f66697d54ad in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () from /usr/lib/x86_64-linux-gnu/libkwin.so.5
#40 0x00007f66667dc401 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () from /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#41 0x00007f66697d54ad in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () from /usr/lib/x86_64-linux-gnu/libkwin.so.5
#42 0x00007f66667dc401 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () from /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#43 0x00007f66697d54ad in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () from /usr/lib/x86_64-linux-gnu/libkwin.so.5
#44 0x00007f666653f697 in ?? () from /usr/lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#45 0x00007f66697d54ad in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () from /usr/lib/x86_64-linux-gnu/libkwin.so.5
#46 0x00007f66697c6e8e in KWin::Scene::paintScreen(int*, QRegion const&, QRegion const&, QRegion*, QRegion*, QMatrix4x4 const&, QRect const&) () from /usr/lib/x86_64-linux-gnu/libkwin.so.5
#47 0x00007f663dfde541 in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) () from /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#48 0x00007f66697b9412 in KWin::Compositor::performCompositing() () from /usr/lib/x86_64-linux-gnu/libkwin.so.5
#49 0x00007f666704307b in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#50 0x00007f6667d9183c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#51 0x00007f6667d99104 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#52 0x00007f66670138d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#53 0x00007f666706bd2e in QTimerInfoList::activateTimers() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#54 0x00007f6667069ee2 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#55 0x00007f66514c466d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#56 0x00007f666701190a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#57 0x00007f666701a9b4 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#58 0x00007f666a36edbb in kdemain () from /usr/lib/x86_64-linux-gnu/libkdeinit5_kwin_x11.so
#59 0x00007f6669f96b97 in __libc_start_main (main=0x55f4b63c2730, argc=3, argv=0x7fff1e4870d8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff1e4870c8) at ../csu/libc-start.c:310
#60 0x000055f4b63c276a in _start ()

Possible duplicates by query: bug 415078, bug 413943, bug 411117, bug 411017, bug 407373.

Reported using DrKonqi
Comment 1 Vlad Zahorodnii 2020-02-17 08:48:14 UTC

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