Summary: | kscreenlocker_greet crashes and respawns consuming 100% cpu | ||
---|---|---|---|
Product: | [Unmaintained] ksmserver | Reporter: | Michael Harnden <mike> |
Component: | lockscreen | Assignee: | David Edmundson <kde> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | davispuh |
Priority: | NOR | ||
Version: | 5.2.90 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/plasma-workspace/5e2f4016dced0af61f5d2817d8eac0cfef3ad52b | Version Fixed In: | |
Sentry Crash Report: |
Description
Michael Harnden
2015-08-24 13:46:39 UTC
*** Bug 350329 has been marked as a duplicate of this bug. *** Possible fix: https://git.reviewboard.kde.org/r/124915/ Git commit 5e2f4016dced0af61f5d2817d8eac0cfef3ad52b by Martin Gräßlin. Committed on 25/08/2015 at 10:36. Pushed by graesslin into branch 'master'. [screenlocker] Add emergency mode for greeter crashing If the greeter crashes on startup ksld is caught in a restart loop which causes 100 % CPU usage and makes it impossible to unlock the session. With this change the greeter is only allowed to crash four times and ksld goes into an emergency mode. This mode ensures that our black background window gets shown with a message indicating how to unlock using loginctl. This is rather technical but better than leaving the system in a state which makes it impossible to unlock. Directly unlocking in the error case is not an option as that could be used to attack the screen locker infrastructure. REVIEW: 124915 M +1 -0 ksmserver/screenlocker/autotests/CMakeLists.txt M +13 -3 ksmserver/screenlocker/ksldapp.cpp M +1 -0 ksmserver/screenlocker/ksldapp.h M +32 -0 ksmserver/screenlocker/lockwindow.cpp M +5 -0 ksmserver/screenlocker/lockwindow.h M +1 -1 ksmserver/screenlocker/tests/CMakeLists.txt http://commits.kde.org/plasma-workspace/5e2f4016dced0af61f5d2817d8eac0cfef3ad52b |