Summary: | kwin_x11 crash randomly in KWin::SceneOpenGL::createScene() | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Alexander <oberkut> |
Component: | scene-opengl | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED WORKSFORME | ||
Severity: | crash | CC: | andysem, bluescreenavenger, bs.blackscout.bs, freenico2020, gregory.duhamel, grosser.meister.morti, joshua.rich, migroslinx, nate, oberkut, pub, vladmak04 |
Priority: | HI | Keywords: | drkonqi |
Version: | 5.20.5 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=426435 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
attachment-32390-0.html
attachment-9948-0.html New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi |
Description
Alexander
2021-02-06 12:47:54 UTC
*** Bug 432496 has been marked as a duplicate of this bug. *** *** Bug 432574 has been marked as a duplicate of this bug. *** *** Bug 363499 has been marked as a duplicate of this bug. *** *** Bug 418260 has been marked as a duplicate of this bug. *** *** Bug 431529 has been marked as a duplicate of this bug. *** *** Bug 431863 has been marked as a duplicate of this bug. *** *** Bug 427636 has been marked as a duplicate of this bug. *** Raising priority due to number of duplicates. This bug is unactionable because of lack of a reliable way to reproduce the crash. I don't really see why kwin would crash at delete backend; (In reply to Vlad Zahorodnii from comment #9) > This bug is unactionable because of lack of a reliable way to reproduce the > crash. I don't really see why kwin would crash at delete backend; There are various repro cases in the duplicate bugs. My bug is very easy to reproduce (using latest NVidia driver, 4K screen): Open Settings -> Display and Monitor -> Compositor, then set Rendering backend to OpenGL 3.1 or OpenGL 2.0. Immediate crash. My bug is very easy to reproduce: 1. Open Settings -> Display and Monitor -> Compositor, then set Rendering backend to OpenGL 3.1 or OpenGL 2.0. 2. Enable checkbox "Enable compositor on startup" 2. Apply 3.Reboot system 4.Login in kde. 5.Wait 1-10 minutes 6.BUG I get a near instant crash in the DRM backend on QEMU's QXL card. This is my 32 bit build though... Looks like I solved this problem: 1. End kde session (if running). 2. You need to remove ~/.config/kwinrc 3. Log in to kde. 4. Everything kwin no longer crashes (This is works for me) Created attachment 135728 [details] attachment-32390-0.html I believe that removing ~/.config/kwinrc only deletes the KDE configuration. The file gets recreated as soon as i create any desktop effects or add a virtual desktop, etc... But i will see if it makes any difference. Worth a try. ________________________________ From: Alexander <bugzilla_noreply@kde.org> Sent: Tuesday, February 16, 2021 5:15 PM To: freenico2020@hotmail.com <freenico2020@hotmail.com> Subject: [kwin] [Bug 432570] kwin_x11 crash randomly in KWin::SceneOpenGL::createScene() https://bugs.kde.org/show_bug.cgi?id=432570 --- Comment #14 from Alexander <oberkut@gmail.com> --- Looks like I solved this problem: 1. End kde session (if running). 2. You need to remove ~/.config/kwinrc 3. Log in to kde. 4. Everything kwin no longer crashes (This is works for me) -- You are receiving this mail because: You are on the CC list for the bug. Confirmed! Alexander, you're a genius! Created attachment 135736 [details] attachment-9948-0.html No dice! After deleting ~/.config/kwinrc i noticed that it was recreated as soon as i added another virtual desktop and, about 1hr after (not even editing videos or watching movies) system crashed. System crashes are not seen both with OpenGL and Xrender (whereas, Xrender was avoiding these up to kernel 5.10.11). Still dancing the Slack prayer dance for a kernel fix ________________________________ From: RalphB <bugzilla_noreply@kde.org> Sent: Tuesday, February 16, 2021 6:37 PM To: freenico2020@hotmail.com <freenico2020@hotmail.com> Subject: [kwin] [Bug 432570] kwin_x11 crash randomly in KWin::SceneOpenGL::createScene() https://bugs.kde.org/show_bug.cgi?id=432570 --- Comment #16 from RalphB <pub@endlos.net> --- Confirmed! Alexander, you're a genius! -- You are receiving this mail because: You are on the CC list for the bug. Nico, you need to stop your graphical session before deleting the file, or at least reboot after deleting and before re-creating it. is 432574 really a duplicate of this? 432574 happens on startup on virtual hardware, unless I pass LIBGL_ALWAYS_SOFTWARE the crash is not random *** Bug 432574 has been marked as a duplicate of this bug. *** *** Bug 436495 has been marked as a duplicate of this bug. *** Created attachment 141768 [details]
New crash information added by DrKonqi
kwin_x11 (5.20.5) using Qt 5.15.2
- What I was doing when the application crashed:
I removed an USB DAC and the crash happened suddenly.
-- Backtrace (Reduced):
#5 0x00007f2614134eae in KWin::SceneOpenGL::createScene (parent=parent@entry=0x7f2610005710) at ./plugins/scenes/opengl/scene_opengl.cpp:454
#6 0x00007f2614135789 in KWin::OpenGLFactory::create (this=<optimized out>, parent=0x7f2610005710) at ./plugins/scenes/opengl/scene_opengl.cpp:2757
#7 0x00007f261f98cbb1 in KWin::Compositor::setupStart (this=0x7f2610005710) at ./composite.cpp:246
#8 0x00007f261f98d963 in KWin::X11Compositor::start (this=0x7f2610005710) at ./composite.cpp:961
#9 0x00007f261f98b7f5 in KWin::Compositor::reinitialize (this=0x7f2610005710) at ./composite.cpp:525
There was a bug in createScene() with regards to the ownership of the render backend, which was fixed a release or so ago. Please reopen this bug report if the crash is still present. Created attachment 147176 [details]
New crash information added by DrKonqi
kwin_x11 (5.20.5) using Qt 5.15.2
- What I was doing when the application crashed:
I watched a YouTube video in Firefox.
- Unusual behavior I noticed:
Image froze, no keyboard inputs registered anymore, but audio continued. I switched to a text terminal and back (Ctrl+Alt+F2 then Ctrl+Alt+F1) at which point kwin crashed, restarted and the UI was useable again, though compositing was deactivated.
-- Backtrace (Reduced):
#5 0x00007f559ed1b564 in KWin::SceneOpenGL::createScene(QObject*) () at /usr/lib64/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#6 0x00007f559ed2a41d in KWin::OpenGLFactory::create(QObject*) const () at /usr/lib64/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#8 0x00007f55bd11903e in KWin::X11Compositor::start() () at /lib64/libkwin.so.5
#9 0x00007f55bd116e57 in KWin::Compositor::reinitialize() () at /lib64/libkwin.so.5
#10 0x00007f55bbde3386 in void doActivate<false>(QObject*, int, void**) () at /lib64/libQt5Core.so.5
Created attachment 147588 [details]
New crash information added by DrKonqi
kwin_x11 (5.20.5) using Qt 5.15.2
- What I was doing when the application crashed:
I was watching a video on Amazon Prime in Firefox in fullscreen (screen is 1920x1080, video is lower resolution because Amazon doesn't give us full HD under Linux). Was watching for about 47 minutes already when the issue occured. First the screen froze, then it went out of fullscreen and the video resumed, but kwin restarted without composite.
-- Backtrace (Reduced):
#5 0x00007fca20275564 in KWin::SceneOpenGL::createScene(QObject*) () at /usr/lib64/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#6 0x00007fca2028441d in KWin::OpenGLFactory::create(QObject*) const () at /usr/lib64/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#8 0x00007fca37db703e in KWin::X11Compositor::start() () at /lib64/libkwin.so.5
#9 0x00007fca37db4e57 in KWin::Compositor::reinitialize() () at /lib64/libkwin.so.5
#10 0x00007fca36a81386 in void doActivate<false>(QObject*, int, void**) () at /lib64/libQt5Core.so.5
|