Bug 439261 - On wayland, screen locker crashes after disconnecting external display
Summary: On wayland, screen locker crashes after disconnecting external display
Status: RESOLVED DUPLICATE of bug 439096
Alias: None
Product: kscreenlocker
Classification: Plasma
Component: general (show other bugs)
Version: 5.10.3
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-28 13:51 UTC by Michael D
Modified: 2021-07-07 13:10 UTC (History)
3 users (show)

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 Michael D 2021-06-28 13:51:28 UTC
The screen locker crashes when I disconnect my external display on wayland and I'm greeted with instructions on how to unlock the session using loginctl. This does not happen on X11.

I'm not sure if this happens only when disconnecting while the computer is asleep and then resuming the laptop with a different display configuration. I'll keep an on eye on this in the future.
Comment 1 Tim D 2021-06-28 19:52:22 UTC
same issue on fedora34 KDE spin with testing repos enabled (Plasma 5.22.2).
Havent found much consistency yet but does appear to be an issue when the screen is disconnected too quickly.
I'm not sure what 'too quickly' means exactly, maybe when laptop is asleep or if the lock screen loads slowly but external screen is disconnected when laptop is running...
Comment 2 Michael D 2021-06-28 19:53:13 UTC
When I unlocked the session plasmashell had crashed as well. Same for you?
Comment 3 Tim D 2021-06-28 20:01:06 UTC
in this case, yes it did crash but recovered without generating a gui bug report window to look into.

tbh, its hard to be sure if it's the same or seperate bug as a consequence of the first crash. My laptop is 4k with an external 2560x1440 and plasma intermittently crashes when disconnecting/connecting even while at desktop (possibly this: https://bugs.kde.org/show_bug.cgi?id=438789).
Comment 4 Zamundaaa 2021-07-07 12:26:10 UTC
Do all apps crash that you have open?
If so then that means Kwin is crashing, and we need a backtrace for that. You can check for KWin crashes with
coredumpctl list kwin_wayland
and get the backtrace of the last crash with
coredumpctl debug kwin_wayland
and input "bt" when the gdb prompt appears.
Comment 5 Michael D 2021-07-07 12:27:38 UTC
No, they don't. For me only plasmashell has crashed. When I manually unlock the session all my apps are still open.
Comment 6 Zamundaaa 2021-07-07 12:50:02 UTC
If you follow the same instructions as for Kwin but with
kscreenlocker_greet
can you get a backtrace?
Comment 7 Michael D 2021-07-07 12:53:01 UTC
coredumpctl lists no coredumps found for kscreenlocker_greet, hence no matches for debug. Perhaps it's been too long since the greeter's crashed, as I've been using X11 again because of this bug.
Comment 8 Zamundaaa 2021-07-07 13:10:45 UTC
Well, if you manage to get a backtrace, do add it to the duplicate

*** This bug has been marked as a duplicate of bug 439096 ***