Bug 379472 - Kwin crashes when attempting to start session.
Summary: Kwin crashes when attempting to start session.
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: 5.9.5
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-03 09:44 UTC by Kishore Gopalakrishnan
Modified: 2017-05-04 04:50 UTC (History)
0 users

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


Attachments
Backtrace of one such crash. (1.28 KB, text/plain)
2017-05-03 09:44 UTC, Kishore Gopalakrishnan
Details
Backtrace with debug symbols for Qt (1.81 KB, text/plain)
2017-05-04 04:16 UTC, Kishore Gopalakrishnan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kishore Gopalakrishnan 2017-05-03 09:44:44 UTC
Created attachment 105323 [details]
Backtrace of one such crash.

when I select the plasma wayland session, I get a black screen for a second or two, but then get returned to the DM (SDDM). The logs mention that kwin_wayland has crashed (with messages like the following)
May 03 15:07:23 arch-testing systemd-coredump[738]: Process 736 (kwin_wayland) of user 1001 dumped core.

I have attached a backtrace.
Comment 1 Martin Flöser 2017-05-03 15:11:58 UTC
Unfortuntely the debug symbols for Qt are missing and it crashes directly when creating the QApplication. Given the information we have from it: do you have the KWin QPA plugin installed to the correct location so that Qt finds it?
Comment 2 Kishore Gopalakrishnan 2017-05-03 15:53:57 UTC
(In reply to Martin Gräßlin from comment #1)
> Given the information we have from it: do
> you have the KWin QPA plugin installed to the correct location so that Qt
> finds it?

How can I check if I have it? I'm not sure if this is related, but when I type 'kwin_wayland --version', I get the following output:

kwin_wayland --version
This application failed to start because it could not find or load the Qt platform plugin "wayland-org.kde.kwin.qpa"
in "".

Available platform plugins are: wayland-org.kde.kwin.qpa, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

Reinstalling the application may fix this problem.
fish: “kwin_wayland --version” terminated by signal SIGABRT (Abort)

However, typing 'kwin_x11 --version' gives just the application name and version number as expected.
Comment 3 Kishore Gopalakrishnan 2017-05-03 16:20:25 UTC
On further digging, I found that this happens when I'm using qt 5.9 beta 3. Using qt 5.8, the wayland session launches normally.
Comment 4 Kishore Gopalakrishnan 2017-05-04 04:16:03 UTC
Created attachment 105334 [details]
Backtrace with debug symbols for Qt

I have attached a backtrace generated after installing qt with debug symbols.
Comment 5 Martin Flöser 2017-05-04 04:50:37 UTC
Changing to invalid as KWin must be run against the Qt version it was compiled with.