Bug 398199

Summary: /usr/lib/ksmserver-logout-greeter crashed
Product: [Unmaintained] ksmserver Reporter: kts <jeckferson>
Component: generalAssignee: phd <phd>
Status: RESOLVED FIXED    
Severity: normal CC: kde-org, nate, phd
Priority: NOR    
Version: 5.13.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: ksm
Crash report of ksmserver-logout-greeter

Description kts 2018-09-03 12:28:28 UTC
Created attachment 114756 [details]
ksm

see the attachment.
Comment 1 kde-org 2019-04-21 06:33:54 UTC
I recently upgraded my machine to 19.04 (Disco). When I want to shutdown the machine and hit "Shutdown" button. `ksmserver-logout-greeter` crashed. It is very frustrating. I upload a crash report, hope it helps.
Comment 2 kde-org 2019-04-21 06:36:41 UTC
Created attachment 119540 [details]
Crash report of ksmserver-logout-greeter
Comment 3 Christoph Feck 2019-04-21 08:36:35 UTC
Backtrace from comment #2 is unrelated. It is caused by mismatching NVIDIA driver kernel module and NVIDIA library. A reboot is needed to resolve the issue.
Comment 4 Bug Janitor Service 2020-11-23 16:38:56 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kdeclarative/-/merge_requests/37
Comment 5 Nate Graham 2020-12-16 21:35:55 UTC
Git commit 090610124d4650150af49a8e30f6b77ad9803dfe by Nate Graham, on behalf of Piotr Henryk Dabrowski.
Committed on 16/12/2020 at 21:35.
Pushed by ngraham into branch 'master'.

[KQuickAddons] QtQuickSettings::checkBackend() for fallback to software backend

Fixes very annoying crashes of QtQuick KDE applications:
ksmserver-logout-greeter, krunner (if not running before), and others
occuring when the OpenGL driver stops being available (e.g. on upgrade).

This issue often occurs after upgrading graphic drivers, preventing reboot,
which in turn is needed for the drivers to work and not cause this crash.

No changes are required in the above applications, as they all already use
KQuickAddons::QtQuickSettings::init().
Related: bug 422995, bug 421493, bug 375913, bug 366156, bug 346519

M  +36   -3    src/quickaddons/qtquicksettings.cpp
M  +2    -1    src/quickaddons/qtquicksettings.h

https://invent.kde.org/frameworks/kdeclarative/commit/090610124d4650150af49a8e30f6b77ad9803dfe