Application: kwin_x11 (5.13.4) Qt Version: 5.11.1 Frameworks Version: 5.49.0 Operating System: Linux 4.18.5-arch1-1-ARCH x86_64 Distribution: "Arch Linux" -- Information about the crash: - What I was doing when the application crashed: Toggling compositing with Alt+Shift+F12, on a relatively long session (couple of days). Usually, it works on recent sessions, but can crash kwin on longer lived ones. 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 0x7f2313ccf6c0 (LWP 2329))] Thread 6 (Thread 0x7f22dccd4700 (LWP 2353)): #0 0x00007f231dce2afc in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0 #1 0x00007f23203beaac in () at /usr/lib/libQt5Script.so.5 #2 0x00007f23203beac9 in () at /usr/lib/libQt5Script.so.5 #3 0x00007f231dcdca9d in start_thread () at /usr/lib/libpthread.so.0 #4 0x00007f2322cc8a43 in clone () at /usr/lib/libc.so.6 Thread 5 (Thread 0x7f22efd13700 (LWP 2350)): #0 0x00007f2322cbdca6 in ppoll () at /usr/lib/libc.so.6 #1 0x00007f23212a337b in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5 #2 0x00007f23212a486b in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #3 0x00007f2321252dac in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #4 0x00007f232109bf59 in QThread::exec() () at /usr/lib/libQt5Core.so.5 #5 0x00007f231cf170d9 in () at /usr/lib/libQt5Qml.so.5 #6 0x00007f23210a6005 in () at /usr/lib/libQt5Core.so.5 #7 0x00007f231dcdca9d in start_thread () at /usr/lib/libpthread.so.0 #8 0x00007f2322cc8a43 in clone () at /usr/lib/libc.so.6 Thread 4 (Thread 0x7f2308946700 (LWP 2349)): #0 0x00007f2322cbdca6 in ppoll () at /usr/lib/libc.so.6 #1 0x00007f23212a337b in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5 #2 0x00007f23212a486b in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #3 0x00007f2321252dac in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #4 0x00007f232109bf59 in QThread::exec() () at /usr/lib/libQt5Core.so.5 #5 0x00007f231cf170d9 in () at /usr/lib/libQt5Qml.so.5 #6 0x00007f23210a6005 in () at /usr/lib/libQt5Core.so.5 #7 0x00007f231dcdca9d in start_thread () at /usr/lib/libpthread.so.0 #8 0x00007f2322cc8a43 in clone () at /usr/lib/libc.so.6 Thread 3 (Thread 0x7f22f8336700 (LWP 2346)): #0 0x00007f231dce2afc in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0 #1 0x00007f22f8f00264 in () at /usr/lib/dri/i965_dri.so #2 0x00007f22f8efff58 in () at /usr/lib/dri/i965_dri.so #3 0x00007f231dcdca9d in start_thread () at /usr/lib/libpthread.so.0 #4 0x00007f2322cc8a43 in clone () at /usr/lib/libc.so.6 Thread 2 (Thread 0x7f230b0a5700 (LWP 2337)): #0 0x00007f2322cbdca6 in ppoll () at /usr/lib/libc.so.6 #1 0x00007f23212a337b in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5 #2 0x00007f23212a486b in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #3 0x00007f2321252dac in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #4 0x00007f232109bf59 in QThread::exec() () at /usr/lib/libQt5Core.so.5 #5 0x00007f231c9f3ba6 in () at /usr/lib/libQt5DBus.so.5 #6 0x00007f23210a6005 in () at /usr/lib/libQt5Core.so.5 #7 0x00007f231dcdca9d in start_thread () at /usr/lib/libpthread.so.0 #8 0x00007f2322cc8a43 in clone () at /usr/lib/libc.so.6 Thread 1 (Thread 0x7f2313ccf6c0 (LWP 2329)): [KCrash Handler] #6 0x00007f2322c04d7f in raise () at /usr/lib/libc.so.6 #7 0x00007f2322bef672 in abort () at /usr/lib/libc.so.6 #8 0x00007f2322bef548 in _nl_load_domain.cold.0 () at /usr/lib/libc.so.6 #9 0x00007f2322bfd396 in () at /usr/lib/libc.so.6 #10 0x00007f231d5e1f50 in () at /usr/lib/libepoxy.so.0 #11 0x00007f231d5821c0 in () at /usr/lib/libepoxy.so.0 #12 0x00007f231d5891aa in () at /usr/lib/libepoxy.so.0 #13 0x00007f231d86292c in KWin::GLRenderTarget::~GLRenderTarget() () at /usr/lib/libkwinglutils.so.11 #14 0x00007f232093669e in () at /usr/lib/libkwin4_effect_builtins.so.1 #15 0x00007f2320938e17 in () at /usr/lib/libkwin4_effect_builtins.so.1 #16 0x00007f2320939019 in () at /usr/lib/libkwin4_effect_builtins.so.1 #17 0x00007f232285223a in KWin::EffectsHandlerImpl::unloadAllEffects() () at /usr/lib/libkwin.so.5 #18 0x00007f23228522d8 in KWin::EffectsHandlerImpl::~EffectsHandlerImpl() () at /usr/lib/libkwin.so.5 #19 0x00007f230b2d5ff9 in () at /usr/lib/qt/plugins/org.kde.kwin.platforms/KWinX11Platform.so #20 0x00007f230b2d60c9 in () at /usr/lib/qt/plugins/org.kde.kwin.platforms/KWinX11Platform.so #21 0x00007f2322832d2f in () at /usr/lib/libkwin.so.5 #22 0x00007f23228332ed in KWin::Compositor::suspend(KWin::Compositor::SuspendReason) () at /usr/lib/libkwin.so.5 #23 0x00007f232127e0b0 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5 #24 0x00007f2321bc8613 in QAction::triggered(bool) () at /usr/lib/libQt5Widgets.so.5 #25 0x00007f2321bcad0a in QAction::activate(QAction::ActionEvent) () at /usr/lib/libQt5Widgets.so.5 #26 0x00007f231cbf474c in () at /usr/lib/libKF5GlobalAccel.so.5 #27 0x00007f232127df5c in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5 #28 0x00007f231cc03805 in () at /usr/lib/libKF5GlobalAccel.so.5 #29 0x00007f231cc03ea3 in () at /usr/lib/libKF5GlobalAccel.so.5 #30 0x00007f231c9ff9ef in () at /usr/lib/libQt5DBus.so.5 #31 0x00007f232127e832 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5 #32 0x00007f2321bcee14 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5 #33 0x00007f2321bd66e1 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5 #34 0x00007f2321254119 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5 #35 0x00007f23212571ac in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5 #36 0x00007f23212a46dd in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #37 0x00007f231389c5ce in () at /usr/lib/libQt5XcbQpa.so.5 #38 0x00007f2321252dac in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #39 0x00007f232125b0a6 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5 #40 0x00007f2322d99b56 in kdemain () at /usr/lib/libkdeinit5_kwin_x11.so #41 0x00007f2322bf1223 in __libc_start_main () at /usr/lib/libc.so.6 #42 0x000055ba4fea575a in _start () Reported using DrKonqi
Unfortunately the backtrace is lacking debug symbols. In case you are able to reproduce please install debug packages and attach a new backtrace.
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
Created attachment 115824 [details] traceback with kwin-debug Ok, managed to reproduce the crash with kwin-debug symbols installed. Please, tell me if the qt debug symbols are also needed.
As I said, it happens when toggling off compositing (with Alt+Shift+F12) on older sessions, iow: as soon as it crashes, or the DE is initialized (new kwin session), I can toggle on and off without triggering the issue, but as after some time with compositing on, trying to toggle it off to start a game crashes kwin.
Setting bug status as REPORTED
*** Bug 398114 has been marked as a duplicate of this bug. ***
Can you include your libepoxy version?
libepoxy 1.5.3-1 from arch linux extra repo
I yet have to find a way to reproduce the crash and will provide a debug trace. I get frequent (once a day) kwin crash (lost decoration, have to restart manually) when using mpv or some games that disable compositing. On several Neon 18.04 PCs (also occurred under Neon 16.04 and Manjaro) with both Intel HD 620/630 and Radeon RX 550/560. Also with the MESA backports PPA.
BTW, I don't get DrKonqi when those crashes happen. (actually I never get DrKonqi at all although it's installed under Neon)
Looks like that's dup of 396830. *** This bug has been marked as a duplicate of bug 396830 ***
Hi ! I have a problem getting a proper debug trace... I frequently get the crash when gdb is not attached to kwin (I usually kill & start kwin from gdb). However when I try to attach gdb from the pre-existing kwin process, the system hangs. Any idea ?
[Oops, wrong thread, sorry for the noise.]