Bug 353211 - KWin crash on start
Summary: KWin crash on start
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.3.2
Platform: Kubuntu Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-26 13:24 UTC by karaluh
Modified: 2016-01-23 11:03 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Xsession-Errors File (40.44 KB, text/plain)
2016-01-23 09:58 UTC, Hrtmt Brng
Details

Note You need to log in before you can comment on or make changes to this bug.
Description karaluh 2015-09-26 13:24:36 UTC
It's a race condition. After login on, the splash screen is shown and often KDE start freezes at random times. Sometimes it's at the beginning of the progress bar, sometimes its when it reaches 2/3, sometimes even after it finishes. In that case the screen is black with mouse cursor. It's movement is very choppy. To unfreeze the proces you have to switch to text tty. KDE immediately resumes loading. You even do not have to log in on the text console.

Reproducible: Sometimes
Comment 1 David Edmundson 2015-09-27 19:14:23 UTC
>It's a race condition.

Between what?
Comment 2 karaluh 2015-09-28 07:33:41 UTC
(In reply to David Edmundson from comment #1)
> >It's a race condition.
> Between what?

No idea, it's my guess, because not only it doesn't happen every time, but also when it happens it is in different parts of the loading process.
Comment 3 Hrtmt Brng 2016-01-19 19:54:09 UTC
I have the same problem. KDE always freezes with the splash screen. It can be reproduced. I am having Debian unstable with 4.4. I cannot use KDE any more.

I can go to terminal and give more information. Strg+Alt+F1 works.
Comment 4 Hrtmt Brng 2016-01-23 09:22:41 UTC
Can we switch this bug to confirmed. I can reproduce it and I can give more information about it.

Perhaps my bug is a different bug. But I think we can use this bug number. For me a freeze is a freeze.
Comment 5 Hrtmt Brng 2016-01-23 09:58:56 UTC
Created attachment 96792 [details]
Xsession-Errors File

Here is my .xsession-errors file. I think it gives some information. But I am not able to understand this.
Comment 6 Hrtmt Brng 2016-01-23 10:02:10 UTC
It is plasma 5.4. Not as I said before 4.4.
Comment 7 David Edmundson 2016-01-23 10:13:17 UTC
Log shows kwin (the window manager) is crashing. 

It also shows the debug dialog starting..but I guess that doesn't help as we don't have a window manager

From a TTY can you start another window manager with
DISPLAY=:0 openbox

(after installing openbox of course)

That should give you a desktop; and then we can try and get a backtrace from kwin.
Comment 8 Hrtmt Brng 2016-01-23 10:24:11 UTC
Tried this. Openbox does not come up. I have still the splasher background on my screen.
Comment 9 David Edmundson 2016-01-23 10:25:48 UTC
ksplash will disappear after 30 seconds, worst case you can kill it.

Though if openbox still isn't coming up, it sounds like the problem is lower down than plasma.
Comment 10 Hrtmt Brng 2016-01-23 10:27:12 UTC
I killed ksplashgml with -9. Now I have KDE running. But there is no window border, no panel and no way to move windows. Seems as you said, kwin is not running. I can start Konsole.
Comment 11 Hrtmt Brng 2016-01-23 10:27:53 UTC
Started kwin directly from konsole. Now it is running.
Comment 12 David Edmundson 2016-01-23 10:34:23 UTC
 - start 
run "DISPLAY=:0 gdb kwin_x11" from a TTY
type "run" to start it

when it crashes from the TTY type:

 - set logging on
 - bt

 - quit


then attach the file gdb.log from that directory.
Comment 13 Hrtmt Brng 2016-01-23 10:36:33 UTC
Restarted computer. The problem is gone. KDE starts directly without problems.
Comment 14 David Edmundson 2016-01-23 10:40:45 UTC
OK. 
Even though we clearly had a bug somewhere, I'm gonna have to close this as we'll never be able to do anything with the information we have.

If you can make kwin crash again and can get a trace, let me know.
Comment 15 Hrtmt Brng 2016-01-23 10:43:14 UTC
Problem is back...
Comment 16 Hrtmt Brng 2016-01-23 11:03:06 UTC
The problem comes and goes. Sometimes killing kplashgml helps, sometimes not. But kwin from TTY never crashes, so I can't get the gdb.log.
I wait for the next update and report again. Thanx a lot for your support. Now I know how to use gdb for providing more information.