Bug 347506 - KWin crashes every ~10 minutes
Summary: KWin crashes every ~10 minutes
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: glx (show other bugs)
Version: 5.3.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-10 10:31 UTC by Christian Muehlhaeuser
Modified: 2017-09-27 15:29 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Muehlhaeuser 2015-05-10 10:31:53 UTC
With either OpenGL 2 or 3, KWin crashes roughly every 10 minutes.

Reproducible: Always
Comment 1 Thomas Lübking 2015-05-10 10:33:37 UTC
Backtrace or it didn't happen ;-)

(DrKonqui should show up and allow you to select "developer information")
Comment 2 Christian Muehlhaeuser 2015-05-10 10:42:07 UTC
No DrKonqui showing up.
Comment 3 Thomas Lübking 2015-05-10 10:53:19 UTC
How do you determine the crash? Flicker and changing PID?

Let's assume KWin really crashes and something deep down is really broken (so that DrKonqui doesn't show up or crashes as well): Do you think you could gdb into kwin from VT1 and on the crash move to VT1 and dump a backtrace there?

$ echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope # this is to allow gdb to attach
$ gdb --pid `pidof kwin_x11` 2>&1 | tee kwin.gdb # copy all gdb output to kwin.gdb
> continue
[wait for the crash]
> bt
[hit enter until the end is reached]
> detach
> quit
Comment 4 Christian Muehlhaeuser 2015-05-10 10:55:09 UTC
All window decorations disappear. Remotely logging in via ssh shows no more kwin_x11 running.
Comment 5 Christian Muehlhaeuser 2015-05-10 11:01:59 UTC
Uhm, I can't seem to switch to any VT with Plasma5.
Comment 6 Christian Muehlhaeuser 2015-05-10 11:04:05 UTC
I'm sorry, I was mistaken. It does seem to switch, but that makes kwin_x11 crash instantly and somehow switch back to X.
Comment 7 Thomas Lübking 2015-05-10 11:26:13 UTC
Rather sounds as if X11 crashes (are you presented w/ a login dialog?) - otherwise there should be no autoswitching of VTs.

The better approach then is to do this via ssh (same process)
Comment 8 Christian Muehlhaeuser 2015-05-10 15:20:26 UTC
Nah, I just lose all my window decorations at that point and kwin_x11 isn't running anymore. Will do via SSH tonight.
Comment 9 Christian Muehlhaeuser 2015-05-10 23:06:44 UTC
Now, "of course" running kwin in GDB doesn't result in a single crash within the last 8 hours or so ;-(
Comment 10 Christian Muehlhaeuser 2017-09-08 22:52:22 UTC
I'm not sure if this issue still exists, but it disappeared when switching to the internal graphics card and getting rid of my nvidia card. Feel free to close it, as I'm unlikely to be able to provide more info at this point.