Bug 403747

Summary: KWin crash on fullscren video playback
Product: [Plasma] kwin Reporter: kamilolot.pro
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version First Reported In: 5.14.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description kamilolot.pro 2019-01-29 20:58:49 UTC
Application: kwin_x11 (5.14.5)

Qt Version: 5.12.0
Frameworks Version: 5.54.0
Operating System: Linux 4.20.2-1-clear x86_64
Distribution: "Arch Linux"

-- Information about the crash:
- What I was doing when the application crashed:
Launched video file from disk with MPV and after trying to fullscreen it froze and KWin crashed

Intel HD Graphics 4000
glxinfo | grep "OpenGL version"
OpenGL version string: 3.0 Mesa 18.3.2

The crash can be reproduced sometimes.

-- Backtrace:
Application: KWin (kwin_x11), signal: Aborted
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f64eeaef840 (LWP 1365))]

Thread 7 (Thread 0x7f64e75ef700 (LWP 4854)):
#0  0x00007f64f64d4eb0 in QMutex::unlock() () at /usr/lib/libQt5Core.so.5
#1  0x00007f64f6693921 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#2  0x00007f64f66e37bd in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007f64f668f58c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f64f64d35c9 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007f64f4a77b89 in  () at /usr/lib/libQt5Qml.so.5
#6  0x00007f64f64d49cc in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f64f52b7a9d in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f64f7b42b23 in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7f64d1901700 (LWP 1520)):
#0  0x00007f64f52bdafc in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f64f5fbe28c in  () at /usr/lib/libQt5Script.so.5
#2  0x00007f64f5fbe2a9 in  () at /usr/lib/libQt5Script.so.5
#3  0x00007f64f52b7a9d in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f64f7b42b23 in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f64d3cb4700 (LWP 1476)):
#0  0x00007f64f52bdafc in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f64e4318be4 in  () at /usr/lib/dri/i965_dri.so
#2  0x00007f64e4318908 in  () at /usr/lib/dri/i965_dri.so
#3  0x00007f64f52b7a9d in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f64f7b42b23 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f64e6cb2700 (LWP 1459)):
#0  0x00007f64f7b37d16 in ppoll () at /usr/lib/libc.so.6
#1  0x00007f64f66e246b in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007f64f66e394b in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007f64f668f58c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f64f64d35c9 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007f64f4a77b89 in  () at /usr/lib/libQt5Qml.so.5
#6  0x00007f64f64d49cc in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f64f52b7a9d in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f64f7b42b23 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f64eca02700 (LWP 1383)):
#0  0x00007f64f7b37d16 in ppoll () at /usr/lib/libc.so.6
#1  0x00007f64f66e246b in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007f64f66e394b in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007f64f668f58c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f64f64d35c9 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007f64f44dfba6 in  () at /usr/lib/libQt5DBus.so.5
#6  0x00007f64f64d49cc in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f64f52b7a9d in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f64f7b42b23 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f64edf1c700 (LWP 1369)):
#0  0x00007f64f7b37c21 in poll () at /usr/lib/libc.so.6
#1  0x00007f64f63f8630 in  () at /usr/lib/libxcb.so.1
#2  0x00007f64f63fa2db in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007f64ee42996b in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f64f64d49cc in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f64f52b7a9d in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f64f7b42b23 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f64eeaef840 (LWP 1365)):
[KCrash Handler]
#6  0x00007f64f7a7ed7f in raise () at /usr/lib/libc.so.6
#7  0x00007f64f7a69672 in abort () at /usr/lib/libc.so.6
#8  0x00007f64f7a69548 in _nl_load_domain.cold.0 () at /usr/lib/libc.so.6
#9  0x00007f64f7a77396 in  () at /usr/lib/libc.so.6
#10 0x00007f64f5151c30 in  () at /usr/lib/libepoxy.so.0
#11 0x00007f64f51aa520 in  () at /usr/lib/libepoxy.so.0
#12 0x00007f64f519841a in  () at /usr/lib/libepoxy.so.0
#13 0x00007f64f6141149 in  () at /usr/lib/libkwin4_effect_builtins.so.1
#14 0x00007f64f61411d9 in  () at /usr/lib/libkwin4_effect_builtins.so.1
#15 0x00007f64f66b91cb in QObjectPrivate::deleteChildren() () at /usr/lib/libQt5Core.so.5
#16 0x00007f64f66c2185 in QObject::~QObject() () at /usr/lib/libQt5Core.so.5
#17 0x00007f64f613df09 in  () at /usr/lib/libkwin4_effect_builtins.so.1
#18 0x00007f64f78c8caa in KWin::EffectsHandlerImpl::unloadAllEffects() () at /usr/lib/libkwin.so.5
#19 0x00007f64f78c8d48 in KWin::EffectsHandlerImpl::~EffectsHandlerImpl() () at /usr/lib/libkwin.so.5
#20 0x00007f64ece59239 in  () at /usr/lib/qt/plugins/org.kde.kwin.platforms/KWinX11Platform.so
#21 0x00007f64ece59309 in  () at /usr/lib/qt/plugins/org.kde.kwin.platforms/KWinX11Platform.so
#22 0x00007f64f78a95af in  () at /usr/lib/libkwin.so.5
#23 0x00007f64f78a9b6d in KWin::Compositor::suspend(KWin::Compositor::SuspendReason) () at /usr/lib/libkwin.so.5
#24 0x00007f64f66bbb62 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#25 0x00007f64f7058e34 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#26 0x00007f64f7060671 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#27 0x00007f64f66908f9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#28 0x00007f64f6693998 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#29 0x00007f64f66e37bd in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#30 0x00007f64ee42ad4f in  () at /usr/lib/libQt5XcbQpa.so.5
#31 0x00007f64f668f58c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#32 0x00007f64f6697896 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#33 0x00007f64f7c14b26 in kdemain () at /usr/lib/libkdeinit5_kwin_x11.so
#34 0x00007f64f7a6b223 in __libc_start_main () at /usr/lib/libc.so.6
#35 0x0000555a28ac705e in _start ()
[Inferior 1 (process 1365) detached]

Reported using DrKonqi
Comment 1 kamilolot.pro 2019-01-29 21:03:18 UTC
Default MPV config
mpv 0.29.1 Copyright © 2000-2018 mpv/MPlayer/mplayer2 projects
 built on Sun Dec  9 16:21:27 CET 2018
ffmpeg library versions:
   libavutil       56.22.100
   libavcodec      58.35.100
   libavformat     58.20.100
   libswscale      5.3.100
   libavfilter     7.40.101
   libswresample   3.3.100
ffmpeg version: n4.1
Comment 2 Vlad Zahorodnii 2019-01-29 21:04:44 UTC
Should be fixed in 5.15.