Bug 413068 - Lock screen crashes when media controls are enabled
Summary: Lock screen crashes when media controls are enabled
Status: RESOLVED FIXED
Alias: None
Product: kscreenlocker
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-17 02:28 UTC by techxgames
Modified: 2020-11-01 16:58 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
kscreenlocker output (9.84 KB, text/x-log)
2019-10-21 04:03 UTC, techxgames
Details

Note You need to log in before you can comment on or make changes to this bug.
Description techxgames 2019-10-17 02:28:57 UTC
SUMMARY
Using slideshows for wallpaper causes the lockscreen to crash and had to run `loginctl unlock-session 3`

STEPS TO REPRODUCE
1. Setup a folder filled with pictures you want for the slideshow
2. Apply that folder as the slideshow wallpaper in screen locking settings utility

OBSERVED RESULT
Crash

EXPECTED RESULT
Wallpapers should perform slideshows like normal.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 19.10
KDE Plasma Version: 5.17.0
KDE Frameworks Version: 5.62.0
Qt Version: 5.12.4
Kernel Version: 5.3.0-18-generic
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-6500 CPU @ 3.20GHz
Memory: 15.6 GiB of RAM

ADDITIONAL INFORMATION
Comment 1 techxgames 2019-10-17 02:36:51 UTC
Just ran a reboot, and the problem popped up again.  Seems to be if the interval is at least 1:30
Comment 2 techxgames 2019-10-17 02:37:17 UTC
(In reply to techxgames from comment #1)
> Just ran a reboot, and the problem popped up again.  Seems to be if the
> interval is at least 1:30

I meant "seems to be fine"
Comment 3 techxgames 2019-10-17 03:06:45 UTC
Never mind.  Seems that slideshow is totally broken
Comment 4 Kai Uwe Broulik 2019-10-17 10:38:30 UTC

*** This bug has been marked as a duplicate of bug 413018 ***
Comment 5 techxgames 2019-10-17 21:37:23 UTC
Doesn't seem to be related to slideshow anymore because mine just crashed, and I'm not using a slideshow now.

Output with `journalctl -r | grep kscreenlocker`:

`Oct 17 17:03:27 Y4M1-MS-7978 kernel: kscreenlocker_g[14627]: segfault at 7ffe6e854ff8 ip 00007f2e210bc13c sp 00007ffe6e855000 error 6 in libc-2.30.so[7f2e2104c000+178000]`

After it crashed, I tried to lock again, and this time, lockscreen was just going off and on.
Comment 6 techxgames 2019-10-18 18:29:15 UTC
This is a hunch right now, but what if what's causing the crash is my media controls?

I just tested it right now with media controls disabled, and it seems to be fine at the moment.  Will report back if I'm wrong.
Comment 7 David Edmundson 2019-10-20 14:14:28 UTC
We have a known issue in slideshow, if it for definite is something else please do let us know.

Please run

/opt/kde5/lib64/libexec/kscreenlocker_greet --testing     

which should run the screenlocker in a way suitable for getting a useful backtrace
Comment 8 techxgames 2019-10-21 04:03:51 UTC
Created attachment 123370 [details]
kscreenlocker output

(In reply to David Edmundson from comment #7)
> Please run
> 
> /opt/kde5/lib64/libexec/kscreenlocker_greet --testing     

I decided to truncate it because the original file is 14MB, but the rest is pretty much that line getting spammed.
Comment 9 techxgames 2019-10-23 16:15:35 UTC
FYI, it still experiencing problems at this point in time with 5.17.1
Comment 10 David Edmundson 2019-10-23 17:13:26 UTC
Oh! You're using Qt5.14.1 beta? Then that's known and fixed
Comment 11 David Edmundson 2019-10-23 17:13:53 UTC
Dupe of that kdeclarative teardown crash.
Comment 12 techxgames 2019-10-23 18:29:27 UTC
(In reply to David Edmundson from comment #10)
> Oh! You're using Qt5.14.1 beta? Then that's known and fixed

Nope. I'm using 5.12.4 (Kubuntu 19.10)
Comment 13 David Edmundson 2019-10-23 22:41:36 UTC
In any case, I still haven't got a backtrace.

You sent me 112 lines of stderr. 
You said it crashed, I should be able to get a backtrace:

https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
Comment 14 techxgames 2020-11-01 16:58:07 UTC
Guess we can close this now that it's fixed