Bug 465113

Summary: Unresponsive/black Login screen with screenlocker_greet using 100% CPU
Product: [Plasma] kscreenlocker Reporter: Kallinger <jkallinger97>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: critical CC: nate
Priority: VHI    
Version: 5.26.5   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Photo of htop with the process i kill selected.

Description Kallinger 2023-02-01 10:09:18 UTC
Created attachment 155844 [details]
Photo of htop with the process i kill selected.

SUMMARY
After start from suspend I only see the mouse and a black background instead of the login screen. Just typing the password does not resolve it. 

STEPS TO REPRODUCE
Happens regularly when i start from suspend but have not found a way to reliably reproduce it yet.
Found a way to resolve it, open htop in the virtual terminal, "/usr/lib/screenlocker_greet" hugs 100% cpu (see attachment), once i killed this and switched back everything works as intended again. 

OBSERVED RESULT
Black screen, mouse can be move

EXPECTED RESULT
Normal Login screen

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Kernel Version: 5.15.89-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 24 × AMD Ryzen 9 3900X 12-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1070/PCIe/SSE2
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7C37
System Version: 1.0
Comment 1 Nate Graham 2023-02-06 19:32:42 UTC
Do you have multiple screens?

Since you seem quite technically competent, the next time it happens, can you get a backtrace of kscreenlocker_greet using gdb in a virtual terminal?
Comment 2 Kallinger 2023-02-06 22:51:17 UTC
Yeah using two screens. 

Sadly I'm not a programmer and google makes me think that's connected to C, so I'm a bit over my head here.  But if you can link me some kind of tutorial or something the like i could try my luck the next time this happens.
Comment 3 Nate Graham 2023-02-06 23:12:08 UTC
It's not too bad, thankfully. You'd go to a VT, log in, and then enter the following:

gdb attach $(pidof screenlocker_greet)
bt

Regardless, this is a duplicate of Bug 374890. If you do end up able to produce a backtrace with debug symbols, that would be lovely, and you can paste it into a comment at Bug 374890.

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