Bug 401549

Summary: Crash when switching desktop
Product: [Plasma] kwin Reporter: Tomasz Meresiński <other+kde>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.14.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Tomasz Meresiński 2018-11-29 21:00:38 UTC
Application: kwin_x11 (5.14.3)

Qt Version: 5.11.2
Frameworks Version: 5.52.0
Operating System: Linux 4.15.0-39-generic x86_64
Distribution: KDE neon User Edition 5.14

-- Information about the crash:
- What I was doing when the application crashed:
This crash happens when I switch desktop during the time of "Fall apart" desktop effect.
I wasn't able to reproduce it with standard close window effect but maybe I wasn't fast enough.
It reproduces every time.

- Custom settings of the application:
Fall apart desktop effect is on.

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 0x7f0bd0e68840 (LWP 31650))]

Thread 6 (Thread 0x7f0b95deb700 (LWP 31686)):
#0  0x00007f0bd07c3cf6 in __GI_ppoll (fds=0x7f0b900012f8, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f0bcddc5d51 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f0bcddc745e in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f0bcdd6e30a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f0bcdb99bba in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f0bc82884f5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007f0bcdba4adb in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f0bc97fc6db in start_thread (arg=0x7f0b95deb700) at pthread_create.c:463
#8  0x00007f0bd07d088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f0b955ea700 (LWP 31661)):
#0  0x00007f0bc98029f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f0bccda9fb8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f0bc98029f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x7f0bccda9f68, cond=0x7f0bccda9f90) at pthread_cond_wait.c:502
#2  0x00007f0bc98029f3 in __pthread_cond_wait (cond=0x7f0bccda9f90, mutex=0x7f0bccda9f68) at pthread_cond_wait.c:655
#3  0x00007f0bccab4954 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#4  0x00007f0bccab4999 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#5  0x00007f0bc97fc6db in start_thread (arg=0x7f0b955ea700) at pthread_create.c:463
#6  0x00007f0bd07d088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f0bae5e2700 (LWP 31658)):
#0  0x00007f0bd07c3cf6 in __GI_ppoll (fds=0x7f0b9c000d28, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f0bcddc5d51 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f0bcddc745e in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f0bcdd6e30a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f0bcdb99bba in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f0bc82884f5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007f0bcdba4adb in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f0bc97fc6db in start_thread (arg=0x7f0bae5e2700) at pthread_create.c:463
#8  0x00007f0bd07d088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f0bb5482700 (LWP 31654)):
#0  0x00007f0bd07c3cf6 in __GI_ppoll (fds=0x7f0ba800efc8, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f0bcddc5d51 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f0bcddc745e in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f0bcdd6e30a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f0bcdb99bba in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f0bc716fe45 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#6  0x00007f0bcdba4adb in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f0bc97fc6db in start_thread (arg=0x7f0bb5482700) at pthread_create.c:463
#8  0x00007f0bd07d088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f0bb7f22700 (LWP 31653)):
#0  0x00007f0bd07c3bf9 in __GI___poll (fds=0x7f0bb7f21c68, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f0bcd8d8747 in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f0bcd8da36a in xcb_wait_for_event () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f0bb9014ed9 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f0bcdba4adb in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f0bc97fc6db in start_thread (arg=0x7f0bb7f22700) at pthread_create.c:463
#6  0x00007f0bd07d088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f0bd0e68840 (LWP 31650)):
[KCrash Handler]
#6  0x00007f0bd06ede97 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#7  0x00007f0bd06ef801 in __GI_abort () at abort.c:79
#8  0x00007f0bcdb755db in qErrnoWarning(char const*, ...) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f0bcd3228dc in KWin::WindowQuad::makeSubQuad(double, double, double, double) const () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#10 0x00007f0ba0d3e455 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#11 0x00007f0ba0d3e6f6 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#12 0x00007f0ba0d47f13 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#13 0x00007f0ba0d48047 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#14 0x00007f0bd032e176 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#15 0x00007f0bcd0bfa76 in  () at /usr/lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#16 0x00007f0bd032e10e in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#17 0x00007f0bcd02dc85 in  () at /usr/lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#18 0x00007f0bd032e10e in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#19 0x00007f0bcd31eff0 in KWin::Effect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#20 0x00007f0bd032e10e in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#21 0x00007f0bcd31eff0 in KWin::Effect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#22 0x00007f0bd032e10e in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#23 0x00007f0bd031b0b0 in KWin::Scene::finalPaintWindow(KWin::EffectWindowImpl*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#24 0x00007f0bd032df9d in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#25 0x00007f0bcd31ee80 in KWin::Effect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#26 0x00007f0bd032df3e in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#27 0x00007f0bcd31ee80 in KWin::Effect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#28 0x00007f0bd032df3e in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#29 0x00007f0bcd0ae33c in  () at /usr/lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#30 0x00007f0bd032df3e in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#31 0x00007f0bcd081a04 in  () at /usr/lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#32 0x00007f0bd032df3e in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#33 0x00007f0bd0321182 in KWin::Scene::paintWindow(KWin::Scene::Window*, int, QRegion, KWin::WindowQuadList) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#34 0x00007f0bd031dde7 in KWin::Scene::paintGenericScreen(int, KWin::ScreenPaintData) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#35 0x00007f0ba0d47d22 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#36 0x00007f0bd0320760 in KWin::Scene::finalPaintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#37 0x00007f0bd032dcf5 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#38 0x00007f0bcd31edd1 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#39 0x00007f0bd032dc9d in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#40 0x00007f0bcd31edd1 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#41 0x00007f0bd032dc9d in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#42 0x00007f0bcd31edd1 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#43 0x00007f0bd032dc9d in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#44 0x00007f0bcd08297e in  () at /usr/lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#45 0x00007f0bd032dc9d in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#46 0x00007f0bd032040e 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
#47 0x00007f0ba0d41df1 in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#48 0x00007f0bd0312b02 in KWin::Compositor::performCompositing() () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#49 0x00007f0bcdd9fb9b in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#50 0x00007f0bceafce1c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#51 0x00007f0bceb043ef in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#52 0x00007f0bcdd6ffe8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#53 0x00007f0bcddc94be in QTimerInfoList::activateTimers() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#54 0x00007f0bcddc76c2 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#55 0x00007f0bb90a09fd in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#56 0x00007f0bcdd6e30a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#57 0x00007f0bcdd774d0 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#58 0x00007f0bd0aa8dab in kdemain () at /usr/lib/x86_64-linux-gnu/libkdeinit5_kwin_x11.so
#59 0x00007f0bd06d0b97 in __libc_start_main (main=0x563814980720, argc=3, argv=0x7fffeb40e008, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffeb40dff8) at ../csu/libc-start.c:310
#60 0x000056381498075a in _start ()

Reported using DrKonqi
Comment 1 Vlad Zahorodnii 2018-11-29 21:04:55 UTC

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