Bug 404176 - kwin crash on game launch
Summary: kwin crash on game launch
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.14.4
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL: https://phabricator.kde.org/D18914
Keywords: drkonqi
: 404634 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-02-10 13:56 UTC by Mariusz Libera
Modified: 2019-02-28 21:14 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.15.2
vlad.zahorodnii: ReviewRequest+


Attachments
kwin backtrace (6.61 KB, text/plain)
2019-02-10 20:24 UTC, Mariusz Libera
Details
kwin supportInformation (5.53 KB, text/plain)
2019-02-10 20:26 UTC, Mariusz Libera
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mariusz Libera 2019-02-10 13:56:40 UTC
Application: kwin_x11 (5.14.4)

Qt Version: 5.12.1
Frameworks Version: 5.54.0
Operating System: Linux 4.20.7-arch1-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

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

I launched a game (Braid). I set a kwin rule for it to block compositing.

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

Thread 5 (Thread 0x7fda6a05e700 (LWP 23089)):
#0  0x00007fda88443afc in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fda88f4728c in  () at /usr/lib/libQt5Script.so.5
#2  0x00007fda88f472a9 in  () at /usr/lib/libQt5Script.so.5
#3  0x00007fda8843da9d in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007fda8ab00b23 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7fda6b060700 (LWP 23086)):
#0  0x00007fda88443afc in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fda6b5fcc84 in  () at /usr/lib/dri/i965_dri.so
#2  0x00007fda6b5fc9a8 in  () at /usr/lib/dri/i965_dri.so
#3  0x00007fda8843da9d in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007fda8ab00b23 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7fda7a0d9700 (LWP 23083)):
#0  0x00007fda8aaf5d16 in ppoll () at /usr/lib/libc.so.6
#1  0x00007fda89683bab in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007fda8968508b in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007fda89630b2c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fda89474569 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007fda87bfb969 in  () at /usr/lib/libQt5Qml.so.5
#6  0x00007fda8947596c in  () at /usr/lib/libQt5Core.so.5
#7  0x00007fda8843da9d in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007fda8ab00b23 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7fda7bbd5700 (LWP 23037)):
#0  0x00007fda8aaf5d16 in ppoll () at /usr/lib/libc.so.6
#1  0x00007fda89683bab in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007fda8968508b in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007fda89630b2c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fda89474569 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007fda87660ba6 in  () at /usr/lib/libQt5DBus.so.5
#6  0x00007fda8947596c in  () at /usr/lib/libQt5Core.so.5
#7  0x00007fda8843da9d in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007fda8ab00b23 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7fda81c73840 (LWP 22973)):
[KCrash Handler]
#6  0x00007fda8aa3cd7f in raise () at /usr/lib/libc.so.6
#7  0x00007fda8aa27672 in abort () at /usr/lib/libc.so.6
#8  0x00007fda8aa27548 in _nl_load_domain.cold.0 () at /usr/lib/libc.so.6
#9  0x00007fda8aa35396 in  () at /usr/lib/libc.so.6
#10 0x00007fda882d7c30 in  () at /usr/lib/libepoxy.so.0
#11 0x00007fda883305a0 in  () at /usr/lib/libepoxy.so.0
#12 0x00007fda8831e4da in  () at /usr/lib/libepoxy.so.0
#13 0x00007fda883b75ad in KWin::GLTexturePrivate::~GLTexturePrivate() () at /usr/lib/libkwinglutils.so.11
#14 0x00007fda883b9444 in  () at /usr/lib/libkwinglutils.so.11
#15 0x00007fda883b8aaa in KWin::GLTexture::~GLTexture() () at /usr/lib/libkwinglutils.so.11
#16 0x00007fda78e80431 in  () at /usr/lib/qt/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#17 0x00007fda8965a7ab in QObjectPrivate::deleteChildren() () at /usr/lib/libQt5Core.so.5
#18 0x00007fda89663825 in QObject::~QObject() () at /usr/lib/libQt5Core.so.5
#19 0x00007fda8a859b0f in KWin::Toplevel::~Toplevel() () at /usr/lib/libkwin.so.5
#20 0x00007fda8a87283b in KWin::Deleted::~Deleted() () at /usr/lib/libkwin.so.5
#21 0x00007fda8a872aa7 in KWin::Deleted::discard() () at /usr/lib/libkwin.so.5
#22 0x00007fda8a858b4b in  () at /usr/lib/libkwin.so.5
#23 0x00007fda8a85907d in KWin::Compositor::suspend(KWin::Compositor::SuspendReason) () at /usr/lib/libkwin.so.5
#24 0x00007fda8965d152 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#25 0x00007fda89ffbe24 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#26 0x00007fda8a0036e1 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#27 0x00007fda89631e99 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#28 0x00007fda89634f38 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#29 0x00007fda89684efd in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#30 0x00007fda815b1cbf in  () at /usr/lib/libQt5XcbQpa.so.5
#31 0x00007fda89630b2c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#32 0x00007fda89638e36 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#33 0x00007fda8abd28c9 in kdemain () at /usr/lib/libkdeinit5_kwin_x11.so
#34 0x00007fda8aa29223 in __libc_start_main () at /usr/lib/libc.so.6
#35 0x0000563c9945b05e in _start ()
[Inferior 1 (process 22973) detached]

Reported using DrKonqi
Comment 1 Vlad Zahorodnii 2019-02-10 14:16:00 UTC
I guess that's yet another "Missing OpenGL context assertion".

Unfortunately, the backtrace lacks debug symbols. Could you please repackage kwin and submit a new backtrace?

Also, how exactly you launched Braid? From steam or from kickoff?
Comment 2 Vlad Zahorodnii 2019-02-10 14:19:58 UTC
Could you please post output of `qdbus org.kde.KWin /KWin supportInformation` as well?
Comment 3 Mariusz Libera 2019-02-10 20:24:17 UTC
Created attachment 117971 [details]
kwin backtrace

Will that do?
Comment 4 Mariusz Libera 2019-02-10 20:26:04 UTC
Created attachment 117972 [details]
kwin supportInformation
Comment 5 Mariusz Libera 2019-02-10 20:26:42 UTC
I start Braid from a desktop icon (it's a GOG install), it then displays a launcher window and after I click the 'Launch!' button it starts and kwin crashes - sometimes, not every time - and Braid continues to run.

>I set a kwin rule for it to block compositing.
Actually scratch that, I was thinking of another game.
Comment 6 Vlad Zahorodnii 2019-02-10 20:28:48 UTC
(In reply to Mariusz Libera from comment #3)
> Will that do?
Yeah.
Comment 7 Vlad Zahorodnii 2019-02-21 10:59:34 UTC
*** Bug 404634 has been marked as a duplicate of this bug. ***
Comment 8 Vlad Zahorodnii 2019-02-28 21:14:06 UTC
It looks like this bug was fixed by https://phabricator.kde.org/R108:9a68cbd9b110b529021c128ea6650ce6774f462a