Bug 395275 - crash when unplug screen
Summary: crash when unplug screen
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.13.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2018-06-12 13:05 UTC by squalou.jenkins
Modified: 2018-10-29 02:16 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 squalou.jenkins 2018-06-12 13:05:51 UTC
I'm running Arch Linux on a laptop which is equipped with usb-c connectors.
On this connector I plug a dock, on which screens are connected.

X is clearly unable to decently manage the situation, so I switched to wayland.

On gnome-wayland : things works fine enough regarding plug/unplug and display detection. But ... gnome feels sluggish, mouse or windows are stuttering, etc etc.

On the other hand plasma compositor works incredibly smoothly BUT : whenever I unplug the cable, session crash entirely.

To reproduce :
- boot to console, without anything plugged in
- run startplasmacompositor -> starts fine
- plug the screens : detected and works fine
- unplug : crash, have to restart session

I also tried with sddm for login (you never knopw) : same result.

I will post here the error message I had in a moment. (have to switch back to console first..)

It's really annoying, so far plasma offers the best wayland I ever had... but theses crashes make it unusable.

I'm available for any additional info.
Comment 1 Martin Flöser 2018-06-12 15:32:03 UTC
Please provide a backtrace of the crash.
Comment 2 squalou.jenkins 2018-06-12 17:01:57 UTC
Apparently no -dbg package are available on Arch :/

On top of that, after more tests, look slike I have several 'behaviors'.

First one : 
- fresh boot, start console, plug : ll screen ok.
- startplasma : ok
- unplug : still ok !
- replug : screens not seen :(

unplug replug, pc freeze.

Something I noticed on the console after I plug /unplug again on consile : 

UdevQt: unhandled device action "unbind"    (repeated lots of time)

same thing with "bind"

I understand this bug can't go anywhere if I don't provide more input ... and I can't. 

Feel free to close it, I'll try again in a few releases.


For the records if anyone steps by :
laptop is dell xps13 9350
usb-c device is a kensigton SD4600P
Comment 3 squalou.jenkins 2018-06-15 13:52:34 UTC
crash all the same on 5.13 :-(
Comment 4 Andrew Crouthamel 2018-09-28 03:33:35 UTC
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!
Comment 5 Andrew Crouthamel 2018-10-29 02:16:03 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now 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

Thank you for helping us make KDE software even better for everyone!