Bug 466674

Summary: Wayland: various apps crash in DpmsManager::addScreen() when display enters sleep
Product: [Plasma] KScreen Reporter: Naxdy <xnaxdy>
Component: commonAssignee: kscreen-bugs-null <kscreen-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: aleixpol, andretiagob, asturm, enricobe, graeme.w.murray, mavoga, me, nate, sam
Priority: VHI Keywords: regression, wayland
Version: 5.27.2   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In: 5.27.3
Sentry Crash Report:

Description Naxdy 2023-03-01 20:03:34 UTC
SUMMARY
Since 5.27.2, kscreenlocker crashes when the display is put to sleep. This was not the case in 5.27.1.


STEPS TO REPRODUCE
1. Lock screen using kscreenlocker
2. Put the display to sleep by pressing ESC
3. Wake display

OBSERVED RESULT
kscreenlocker has crashed and the session needs to be unlocked manually

EXPECTED RESULT
kscreenlocker has not crashed

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Gentoo
(available in About System)
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION

journalctl --user output at the time of crash:
Mar 01 20:45:33 nxgentoo kclockd[5892]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 01 20:45:33 nxgentoo polkit-kde-authentication-agent-1[5431]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 01 20:45:33 nxgentoo linphone[5887]: [20:45:33:325][0x555f3c969250][Info]Creating a fake screen in order for Qt not to crash
Mar 01 20:45:33 nxgentoo kactivitymanagerd[5332]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 01 20:45:33 nxgentoo keepassxc[5897]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 01 20:45:33 nxgentoo kdeconnectd[5893]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 01 20:45:33 nxgentoo xdg-desktop-portal-kde[6181]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 01 20:45:33 nxgentoo kalendarac[5915]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 01 20:45:33 nxgentoo DiscoverNotifier[5913]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 01 20:45:33 nxgentoo yakuake[5895]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 01 20:45:33 nxgentoo dolphin[5889]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 01 20:45:33 nxgentoo akonadi_control[6172]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 01 20:45:33 nxgentoo akonadi_ical_resource[6684]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 01 20:45:33 nxgentoo akonadi_migration_agent[6732]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 01 20:45:33 nxgentoo akonadi_akonotes_resource[6657]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 01 20:45:33 nxgentoo akonadi_maildir_resource[6722]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 01 20:45:33 nxgentoo kiod5[28218]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 01 20:45:33 nxgentoo kwalletd5[7058]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 01 20:45:33 nxgentoo akonadi_indexing_agent[6689]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 01 20:45:33 nxgentoo telegram-desktop[5898]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 01 20:45:33 nxgentoo baloorunner[28208]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 01 20:45:33 nxgentoo akonadi_davgroupware_resource[6674]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 01 20:45:33 nxgentoo akonadi_google_resource[6679]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 01 20:45:33 nxgentoo akonadi_birthdays_resource[6664]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 01 20:45:33 nxgentoo akonadi_newmailnotifier_agent[6738]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 01 20:45:33 nxgentoo krunner[28101]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 01 20:45:33 nxgentoo akonadi_maildispatcher_agent[6729]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 01 20:45:33 nxgentoo openrgb[5878]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 01 20:45:33 nxgentoo akonadi_contacts_resource[6670]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 01 20:45:33 nxgentoo kscreenlocker_greet[28575]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 01 20:45:33 nxgentoo org_kde_powerdevil[5432]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 01 20:45:33 nxgentoo kded5[5147]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 01 20:45:33 nxgentoo kcminit[64943]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 01 20:45:33 nxgentoo kcminit[64950]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 01 20:45:33 nxgentoo kcminit[64951]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 01 20:45:33 nxgentoo kcminit[64961]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 01 20:45:33 nxgentoo kcminit[64964]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 01 20:45:33 nxgentoo kcminit[64943]: Initializing  "/usr/lib64/qt5/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
Mar 01 20:45:33 nxgentoo kcminit[64951]: Initializing  "/usr/lib64/qt5/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
Mar 01 20:45:33 nxgentoo kcminit[64950]: Initializing  "/usr/lib64/qt5/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
Mar 01 20:45:33 nxgentoo kwin_wayland_wrapper[5086]: not a valid new object id (2), message get_registry(n)
Mar 01 20:45:33 nxgentoo kwin_wayland_wrapper[5086]: error in client communication (pid 5086)
Mar 01 20:45:33 nxgentoo kscreenlocker_greet[64952]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 01 20:45:33 nxgentoo kwin_wayland_wrapper[64952]: wl_display@1: error 1: invalid arguments for wl_display@1.get_registry
Mar 01 20:45:33 nxgentoo kscreenlocker_greet[64952]: The Wayland connection experienced a fatal error: Invalid argument
Mar 01 20:45:33 nxgentoo kcminit[64964]: Initializing  "/usr/lib64/qt5/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
Mar 01 20:45:33 nxgentoo kcminit[64961]: Initializing  "/usr/lib64/qt5/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
Mar 01 20:45:33 nxgentoo plasmashell[5167]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 01 20:45:33 nxgentoo kcminit[64978]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 01 20:45:33 nxgentoo kscreenlocker_greet[64973]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 01 20:45:33 nxgentoo kscreenlocker_greet[64973]: The Wayland connection broke. Did the Wayland compositor die?
Mar 01 20:45:33 nxgentoo plasmashell[5167]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Mar 01 20:45:33 nxgentoo plasmashell[5167]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Mar 01 20:45:33 nxgentoo kcminit[64978]: Initializing  "/usr/lib64/qt5/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
Mar 01 20:45:33 nxgentoo plasmashell[5167]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Mar 01 20:45:33 nxgentoo plasmashell[5167]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Mar 01 20:45:33 nxgentoo plasmashell[5167]: file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:20: TypeError: Cannot read property 'pluginName' of null
Mar 01 20:45:33 nxgentoo plasmashell[5167]: file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:75: TypeError: Cannot read property 'configuration' of null
Mar 01 20:45:33 nxgentoo plasmashell[5167]: file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:78: TypeError: Cannot read property 'pluginName' of null
Mar 01 20:45:33 nxgentoo plasmashell[5167]: file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:80: TypeError: Cannot read property 'configuration' of null
Mar 01 20:45:33 nxgentoo plasmashell[5167]: file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:81: TypeError: Cannot read property 'configuration' of null
Mar 01 20:45:33 nxgentoo plasmashell[5167]: file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:82: TypeError: Cannot read property 'configuration' of null
Mar 01 20:45:33 nxgentoo plasmashell[5167]: file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:83: TypeError: Cannot read property 'configuration' of null
Mar 01 20:45:33 nxgentoo plasmashell[5167]: file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:84: TypeError: Cannot read property 'configuration' of null
Mar 01 20:45:33 nxgentoo plasmashell[5167]: file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:16: TypeError: Cannot read property 'configuration' of null
Mar 01 20:45:33 nxgentoo plasmashell[5167]: file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:17: TypeError: Cannot read property 'configuration' of null
Mar 01 20:45:33 nxgentoo plasmashell[5167]: file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:18: TypeError: Cannot read property 'configuration' of null
Mar 01 20:45:33 nxgentoo kscreenlocker_greet[64983]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Mar 01 20:45:33 nxgentoo kscreenlocker_greet[64983]: The Wayland connection broke. Did the Wayland compositor die?
Mar 01 20:45:33 nxgentoo flatpak[6127]: Cannot upload crash dump: failed to open
Mar 01 20:45:33 nxgentoo systemd-coredump[64994]: elfutils disabled, parsing ELF objects not supported
Mar 01 20:45:33 nxgentoo systemd-coredump[64994]: Process 10742 (Discord) of user 1000 dumped core.
Mar 01 20:45:33 nxgentoo flatpak[6126]: [0] Downloading 'https://sentry.io/api/146342/minidump/?sentry_key=384ce4413de74fe0be270abe03b2b35a' ...
Mar 01 20:45:33 nxgentoo flatpak[6126]: HTTP ERROR response 400 Bad Request [https://sentry.io/api/146342/minidump/?sentry_key=384ce4413de74fe0be270abe03b2b35a]
Mar 01 20:45:33 nxgentoo flatpak[6127]: Unexpected crash report id length
Mar 01 20:45:33 nxgentoo flatpak[6127]: Failed to get crash dump id.
Mar 01 20:45:33 nxgentoo flatpak[6127]: Report Id:
Mar 01 20:45:33 nxgentoo flatpak[6127]: Cannot upload crash dump: failed to open
Mar 01 20:45:34 nxgentoo org_kde_powerdevil[5432]: KCrash: Attempting to start /usr/lib64/libexec/org_kde_powerdevil
Mar 01 20:45:34 nxgentoo org_kde_powerdevil[5432]: 42 -- exe=/usr/lib64/libexec/org_kde_powerdevil
Mar 01 20:45:34 nxgentoo org_kde_powerdevil[5432]: 17 -- platform=wayland
Mar 01 20:45:34 nxgentoo org_kde_powerdevil[5432]: 27 -- appname=org_kde_powerdevil
Mar 01 20:45:34 nxgentoo org_kde_powerdevil[5432]: 27 -- apppath=/usr/lib64/libexec
Mar 01 20:45:34 nxgentoo org_kde_powerdevil[5432]: 10 -- signal=11
Mar 01 20:45:34 nxgentoo org_kde_powerdevil[5432]: 9 -- pid=5432
Mar 01 20:45:34 nxgentoo org_kde_powerdevil[5432]: 18 -- appversion=5.27.2
Mar 01 20:45:34 nxgentoo org_kde_powerdevil[5432]: 40 -- programname=KDE Power Management System
Mar 01 20:45:34 nxgentoo org_kde_powerdevil[5432]: 31 -- bugaddress=submit@bugs.kde.org
Mar 01 20:45:34 nxgentoo org_kde_powerdevil[5432]: 23 -- productname=Powerdevil
Mar 01 20:45:34 nxgentoo org_kde_powerdevil[5432]: 15 -- restarted=true
Mar 01 20:45:34 nxgentoo org_kde_powerdevil[5432]: KCrash: crashing... crashRecursionCounter = 2
Mar 01 20:45:34 nxgentoo org_kde_powerdevil[5432]: KCrash: Application Name = org_kde_powerdevil path = /usr/lib64/libexec pid = 5432
Mar 01 20:45:34 nxgentoo org_kde_powerdevil[5432]: KCrash: Arguments: /usr/lib64/libexec/org_kde_powerdevil
Mar 01 20:45:34 nxgentoo org_kde_powerdevil[5432]: KCrash: Attempting to start /usr/lib64/libexec/drkonqi
Mar 01 20:45:34 nxgentoo flatpak[6126]: [0] Downloading 'https://sentry.io/api/146342/minidump/?sentry_key=384ce4413de74fe0be270abe03b2b35a' ...
Mar 01 20:45:34 nxgentoo flatpak[6126]: HTTP ERROR response 400 Bad Request [https://sentry.io/api/146342/minidump/?sentry_key=384ce4413de74fe0be270abe03b2b35a]
Mar 01 20:45:34 nxgentoo flatpak[6127]: Unexpected crash report id length
Mar 01 20:45:34 nxgentoo flatpak[6127]: Failed to get crash dump id.
Mar 01 20:45:34 nxgentoo flatpak[6127]: Report Id:
Mar 01 20:45:34 nxgentoo kclockd[5892]: Scheduled alarm wakeup at "Thu Mar 2 10:15:00 2023"
Mar 01 20:45:34 nxgentoo kclockd[5892]: start waiting, id: 1804289383  Wait Time:  18446744073709551615
Mar 01 20:45:34 nxgentoo kclockd[5892]: start waiting, id: 846930886  Wait Time:  1677748500
Mar 01 20:45:34 nxgentoo kded5[5147]: KCrash: Attempting to start /usr/bin/kded5
Mar 01 20:45:34 nxgentoo kded5[5147]: 19 -- exe=/usr/bin/kded5
Mar 01 20:45:34 nxgentoo kded5[5147]: 17 -- platform=wayland
Mar 01 20:45:34 nxgentoo kded5[5147]: 14 -- appname=kded5
Mar 01 20:45:34 nxgentoo kded5[5147]: 17 -- apppath=/usr/bin
Mar 01 20:45:34 nxgentoo kded5[5147]: 10 -- signal=11
Mar 01 20:45:34 nxgentoo kded5[5147]: 9 -- pid=5147
Mar 01 20:45:34 nxgentoo kded5[5147]: 15 -- restarted=true
Mar 01 20:45:34 nxgentoo kded5[5147]: KCrash: crashing... crashRecursionCounter = 2
Mar 01 20:45:34 nxgentoo kded5[5147]: KCrash: Application Name = kded5 path = /usr/bin pid = 5147
Mar 01 20:45:34 nxgentoo kded5[5147]: KCrash: Arguments: /usr/bin/kded5
Mar 01 20:45:34 nxgentoo kded5[5147]: KCrash: Attempting to start /usr/lib64/libexec/drkonqi
Mar 01 20:45:34 nxgentoo yakuake[5895]: kf.notifications: env says KDE is running but SNI unavailable -- check KDE_FULL_SESSION and XDG_CURRENT_DESKTOP
Mar 01 20:45:34 nxgentoo kclockd[5892]: kf.notifications: env says KDE is running but SNI unavailable -- check KDE_FULL_SESSION and XDG_CURRENT_DESKTOP
Mar 01 20:45:34 nxgentoo DiscoverNotifier[5913]: kf.notifications: env says KDE is running but SNI unavailable -- check KDE_FULL_SESSION and XDG_CURRENT_DESKTOP
Mar 01 20:45:34 nxgentoo linphone[5887]: [20:45:34:405][0x555f3c969250][Warning]env says KDE is running but SNI unavailable -- check KDE_FULL_SESSION and XDG_CURRENT_DESKTOP
Mar 01 20:45:34 nxgentoo openrgb[5878]: kf.notifications: env says KDE is running but SNI unavailable -- check KDE_FULL_SESSION and XDG_CURRENT_DESKTOP
Mar 01 20:45:34 nxgentoo telegram-desktop[5898]: Failed to unregister window menu, reason: org.freedesktop.DBus.Error.NoReply ("Message recipient disconnected from message bus without replying")
Mar 01 20:45:34 nxgentoo telegram-desktop[5898]: Failed to register window menu, reason: org.freedesktop.DBus.Error.ServiceUnknown ("The name com.canonical.AppMenu.Registrar was not provided by any .service files")
Mar 01 20:45:34 nxgentoo plasmashell[5167]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Mar 01 20:45:34 nxgentoo plasmashell[5167]: Checking screens: available: (QScreen(0x5558c8a4af10, name="DP-3")) redundant: QHash() fake: QSet(QScreen(0x5558ca064bc0, name="")) all: (QScreen(0x5558ca064bc0, name=""), QScreen(0x5558c8a4af10, name="DP-3"))
Mar 01 20:45:34 nxgentoo kcminit[65066]: Initializing  "/usr/lib64/qt5/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
Mar 01 20:45:34 nxgentoo xembedsniproxy[5435]: kde.xembedsniproxy: could not register SNI: "The name org.kde.StatusNotifierWatcher was not provided by any .service files"
Mar 01 20:45:34 nxgentoo xembedsniproxy[5435]: kde.xembedsniproxy: could not register SNI: "The name org.kde.StatusNotifierWatcher was not provided by any .service files"
Mar 01 20:45:34 nxgentoo xembedsniproxy[5435]: Container window visible, stack below
Mar 01 20:45:34 nxgentoo flatpak[6127]: (Discord:6): Gdk-WARNING **: 20:45:34.519: The program 'Discord' received an X Window System error.
Mar 01 20:45:34 nxgentoo flatpak[6127]: This probably reflects a bug in the program.
Mar 01 20:45:34 nxgentoo flatpak[6127]: The error was 'BadAccess (attempt to access private resource denied)'.
Mar 01 20:45:34 nxgentoo flatpak[6127]:   (Details: serial 408 error_code 10 request_code 130 (MIT-SHM) minor_code 1)
Mar 01 20:45:34 nxgentoo flatpak[6127]:   (Note to programmers: normally, X errors are reported asynchronously;
Mar 01 20:45:34 nxgentoo flatpak[6127]:    that is, you will receive the error a while after causing it.
Mar 01 20:45:34 nxgentoo flatpak[6127]:    To debug your program, run it with the GDK_SYNCHRONIZE environment
Mar 01 20:45:34 nxgentoo flatpak[6127]:    variable to change this behavior. You can then get a meaningful
Mar 01 20:45:34 nxgentoo flatpak[6127]:    backtrace from your debugger if you break on the gdk_x_error() function.)
Mar 01 20:45:34 nxgentoo plasmashell[5167]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:47: TypeError: Cannot read property 'location' of null
Mar 01 20:45:34 nxgentoo plasmashell[5167]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:48: TypeError: Cannot read property 'location' of null
Mar 01 20:45:34 nxgentoo plasmashell[5167]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:49: TypeError: Cannot read property 'location' of null
Mar 01 20:45:34 nxgentoo plasmashell[5167]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:46: TypeError: Cannot read property 'location' of null
Mar 01 20:45:34 nxgentoo plasmashell[5167]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Mar 01 20:45:34 nxgentoo plasmashell[5167]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Mar 01 20:45:34 nxgentoo plasmashell[5167]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Mar 01 20:45:34 nxgentoo plasmashell[5167]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Mar 01 20:45:34 nxgentoo plasmashell[5167]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Mar 01 20:45:34 nxgentoo plasmashell[5167]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Mar 01 20:45:34 nxgentoo plasmashell[5167]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Mar 01 20:45:34 nxgentoo plasmashell[5167]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Mar 01 20:45:35 nxgentoo org_kde_powerdevil[5432]: Unable to start Dr. Konqi
Mar 01 20:45:35 nxgentoo org_kde_powerdevil[5432]: Re-raising signal for core dump handling.
Mar 01 20:45:35 nxgentoo kded5[5147]: Unable to start Dr. Konqi
Mar 01 20:45:35 nxgentoo kded5[5147]: Re-raising signal for core dump handling.
Mar 01 20:45:35 nxgentoo systemd-coredump[65092]: elfutils disabled, parsing ELF objects not supported
Mar 01 20:45:35 nxgentoo systemd-coredump[65092]: Process 5432 (org_kde_powerde) of user 1000 dumped core.
Mar 01 20:45:35 nxgentoo systemd[5023]: plasma-powerdevil.service: Main process exited, code=dumped, status=11/SEGV
Mar 01 20:45:35 nxgentoo systemd[5023]: plasma-powerdevil.service: Failed with result 'core-dump'.
Mar 01 20:45:35 nxgentoo systemd[5023]: plasma-powerdevil.service: Scheduled restart job, restart counter is at 1.
Mar 01 20:45:35 nxgentoo systemd[5023]: Stopped plasma-powerdevil.service.
Mar 01 20:45:35 nxgentoo systemd-coredump[65096]: elfutils disabled, parsing ELF objects not supported
Mar 01 20:45:35 nxgentoo systemd-coredump[65096]: Process 5147 (kded5) of user 1000 dumped core.
Mar 01 20:45:35 nxgentoo systemd[5023]: Starting plasma-powerdevil.service...
Mar 01 20:45:35 nxgentoo systemd[5023]: plasma-kded.service: Main process exited, code=dumped, status=11/SEGV
Mar 01 20:45:35 nxgentoo systemd[5023]: plasma-kded.service: Failed with result 'core-dump'.
Mar 01 20:45:35 nxgentoo org_kde_powerdevil[65103]: org.kde.powerdevil: org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds are not supported by the kernel for this hardware"
Mar 01 20:45:35 nxgentoo org_kde_powerdevil[65103]: org.kde.powerdevil: org.kde.powerdevil.backlighthelper.brightness failed
Mar 01 20:45:35 nxgentoo kclockd[5892]: powerdevil found
Mar 01 20:45:35 nxgentoo systemd[5023]: Started plasma-powerdevil.service.
Mar 01 20:45:35 nxgentoo org_kde_powerdevil[65103]: org.kde.powerdevil: Handle button events action could not check for screen configuration
Mar 01 20:45:35 nxgentoo org_kde_powerdevil[65103]: org.kde.powerdevil: The profile  "AC" tried to activate "DimDisplay" a non-existent action. This is usually due to an installation problem, a configuration problem, or because the action is not supported
Mar 01 20:45:35 nxgentoo kclockd[5892]: Scheduled alarm wakeup at "Thu Mar 2 10:15:00 2023"
Mar 01 20:45:35 nxgentoo org_kde_powerdevil[65103]: org.kde.powerdevil: org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds are not supported by the kernel for this hardware"

I will recompile kscreenlocker with debug symbols and try to get a backtrace.
Comment 1 Naxdy 2023-03-01 20:13:12 UTC
Backtrace:

Thread 1 "kscreenlocker_g" received signal SIGSEGV, Segmentation fault.
0x00007fecd208d3db in serialize_closure () from /usr/lib64/libwayland-client.so.0
#0  0x00007fecd208d3db in serialize_closure () from /usr/lib64/libwayland-client.so.0
#1  0x00007fecd208f265 in wl_closure_send () from /usr/lib64/libwayland-client.so.0
#2  0x00007fecd208b2c0 in wl_proxy_marshal_array_flags () from /usr/lib64/libwayland-client.so.0
#3  0x00007fecd208b616 in wl_proxy_marshal_flags () from /usr/lib64/libwayland-client.so.0
#4  0x00007fecd206d075 in QtWayland::org_kde_kwin_dpms_manager::get(wl_output*) () from /usr/lib64/libKF5ScreenDpms.so.8
#5  0x00007fecd206be81 in DpmsManager::addScreen(QScreen*) () from /usr/lib64/libKF5ScreenDpms.so.8
#6  0x00007feccf8fea7b in ?? () from /usr/lib64/libQt5Core.so.5
#7  0x00007feccfd280e2 in QGuiApplication::screenAdded(QScreen*) () from /usr/lib64/libQt5Gui.so.5
#8  0x00007feccf10b6c8 in QtWaylandClient::QWaylandDisplay::registry_global_remove(unsigned int) () from /usr/lib64/libQt5WaylandClient.so.5
#9  0x00007fecd1b45b8a in ?? () from /usr/lib64/libffi.so.8
#10 0x00007fecd1b44bc1 in ?? () from /usr/lib64/libffi.so.8
#11 0x00007fecd1b4562e in ffi_call () from /usr/lib64/libffi.so.8
#12 0x00007fecd208f034 in wl_closure_invoke () from /usr/lib64/libwayland-client.so.0
#13 0x00007fecd208abba in dispatch_event.isra () from /usr/lib64/libwayland-client.so.0
#14 0x00007fecd208c7ec in wl_display_dispatch_queue_pending () from /usr/lib64/libwayland-client.so.0
#15 0x00007feccf108345 in QtWaylandClient::QWaylandDisplay::flushRequests() () from /usr/lib64/libQt5WaylandClient.so.5
#16 0x00007feccf8f4186 in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#17 0x00007feccf8c5618 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#18 0x00007feccf8c89f6 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQt5Core.so.5
#19 0x00007feccf922b83 in ?? () from /usr/lib64/libQt5Core.so.5
#20 0x00007feccdb0b3fb in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#21 0x00007feccdb0b6b8 in ?? () from /usr/lib64/libglib-2.0.so.0
#22 0x00007feccdb0b76f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#23 0x00007feccf9221a4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#24 0x00007feccf8c3f2b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#25 0x00007feccf8cc83d in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#26 0x0000561081352052 in main ()

Thread 47 (Thread 0x7fec87fff6c0 (LWP 84712) "Qt bearer threa"):
#0  0x00007feccf52268f in poll () from /usr/lib64/libc.so.6
#1  0x00007feccdb0b64e in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007feccdb0b76f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007feccf9221a4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007feccf8c3f2b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007feccf6cf0fe in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007feccf6d02cf in ?? () from /usr/lib64/libQt5Core.so.5
#7  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#8  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 46 (Thread 0x7fec057fa6c0 (LWP 84711) "Thread (pooled)"):
#0  0x00007feccf4abef6 in ?? () from /usr/lib64/libc.so.6
#1  0x00007feccf4aea34 in pthread_cond_timedwait () from /usr/lib64/libc.so.6
#2  0x00007feccf6d62ac in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib64/libQt5Core.so.5
#3  0x00007feccf6d3704 in ?? () from /usr/lib64/libQt5Core.so.5
#4  0x00007feccf6d02cf in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#6  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 45 (Thread 0x7fec05ffb6c0 (LWP 84710) "Thread (pooled)"):
#0  0x00007feccf4abef6 in ?? () from /usr/lib64/libc.so.6
#1  0x00007feccf4aea34 in pthread_cond_timedwait () from /usr/lib64/libc.so.6
#2  0x00007feccf6d62ac in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib64/libQt5Core.so.5
#3  0x00007feccf6d3704 in ?? () from /usr/lib64/libQt5Core.so.5
#4  0x00007feccf6d02cf in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#6  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 44 (Thread 0x7fec067fc6c0 (LWP 84709) "Thread (pooled)"):
#0  0x00007feccf4abef6 in ?? () from /usr/lib64/libc.so.6
#1  0x00007feccf4aea34 in pthread_cond_timedwait () from /usr/lib64/libc.so.6
#2  0x00007feccf6d62ac in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib64/libQt5Core.so.5
#3  0x00007feccf6d3704 in ?? () from /usr/lib64/libQt5Core.so.5
#4  0x00007feccf6d02cf in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#6  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 43 (Thread 0x7fec06ffd6c0 (LWP 84708) "Thread (pooled)"):
#0  0x00007feccf4abef6 in ?? () from /usr/lib64/libc.so.6
#1  0x00007feccf4aea34 in pthread_cond_timedwait () from /usr/lib64/libc.so.6
#2  0x00007feccf6d62ac in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib64/libQt5Core.so.5
#3  0x00007feccf6d3704 in ?? () from /usr/lib64/libQt5Core.so.5
#4  0x00007feccf6d02cf in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#6  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 42 (Thread 0x7fec077fe6c0 (LWP 84707) "Thread (pooled)"):
#0  0x00007feccf4abef6 in ?? () from /usr/lib64/libc.so.6
#1  0x00007feccf4aea34 in pthread_cond_timedwait () from /usr/lib64/libc.so.6
#2  0x00007feccf6d62ac in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib64/libQt5Core.so.5
#3  0x00007feccf6d3704 in ?? () from /usr/lib64/libQt5Core.so.5
#4  0x00007feccf6d02cf in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#6  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 41 (Thread 0x7fec07fff6c0 (LWP 84706) "Thread (pooled)"):
#0  0x00007feccf4abef6 in ?? () from /usr/lib64/libc.so.6
#1  0x00007feccf4aea34 in pthread_cond_timedwait () from /usr/lib64/libc.so.6
#2  0x00007feccf6d62ac in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib64/libQt5Core.so.5
#3  0x00007feccf6d3704 in ?? () from /usr/lib64/libQt5Core.so.5
#4  0x00007feccf6d02cf in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#6  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 40 (Thread 0x7fec3cff96c0 (LWP 84705) "Thread (pooled)"):
#0  0x00007feccf4abef6 in ?? () from /usr/lib64/libc.so.6
#1  0x00007feccf4aea34 in pthread_cond_timedwait () from /usr/lib64/libc.so.6
#2  0x00007feccf6d62ac in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib64/libQt5Core.so.5
#3  0x00007feccf6d3704 in ?? () from /usr/lib64/libQt5Core.so.5
#4  0x00007feccf6d02cf in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#6  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 39 (Thread 0x7fec3d7fa6c0 (LWP 84704) "Thread (pooled)"):
#0  0x00007feccf4abef6 in ?? () from /usr/lib64/libc.so.6
#1  0x00007feccf4aea34 in pthread_cond_timedwait () from /usr/lib64/libc.so.6
#2  0x00007feccf6d62ac in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib64/libQt5Core.so.5
#3  0x00007feccf6d3704 in ?? () from /usr/lib64/libQt5Core.so.5
#4  0x00007feccf6d02cf in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#6  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 38 (Thread 0x7fec3dffb6c0 (LWP 84703) "Thread (pooled)"):
#0  0x00007feccf4abef6 in ?? () from /usr/lib64/libc.so.6
#1  0x00007feccf4aea34 in pthread_cond_timedwait () from /usr/lib64/libc.so.6
#2  0x00007feccf6d62ac in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib64/libQt5Core.so.5
#3  0x00007feccf6d3704 in ?? () from /usr/lib64/libQt5Core.so.5
#4  0x00007feccf6d02cf in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#6  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 37 (Thread 0x7fec3e7fc6c0 (LWP 84702) "Thread (pooled)"):
#0  0x00007feccf4abef6 in ?? () from /usr/lib64/libc.so.6
#1  0x00007feccf4aea34 in pthread_cond_timedwait () from /usr/lib64/libc.so.6
#2  0x00007feccf6d62ac in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib64/libQt5Core.so.5
#3  0x00007feccf6d3704 in ?? () from /usr/lib64/libQt5Core.so.5
#4  0x00007feccf6d02cf in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#6  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 36 (Thread 0x7fec3effd6c0 (LWP 84701) "Thread (pooled)"):
#0  0x00007feccf4abef6 in ?? () from /usr/lib64/libc.so.6
#1  0x00007feccf4aea34 in pthread_cond_timedwait () from /usr/lib64/libc.so.6
#2  0x00007feccf6d62ac in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib64/libQt5Core.so.5
#3  0x00007feccf6d3704 in ?? () from /usr/lib64/libQt5Core.so.5
#4  0x00007feccf6d02cf in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#6  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 35 (Thread 0x7fec3ffff6c0 (LWP 84700) "Thread (pooled)"):
#0  0x00007feccf4abef6 in ?? () from /usr/lib64/libc.so.6
#1  0x00007feccf4aea34 in pthread_cond_timedwait () from /usr/lib64/libc.so.6
#2  0x00007feccf6d62ac in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib64/libQt5Core.so.5
#3  0x00007feccf6d3704 in ?? () from /usr/lib64/libQt5Core.so.5
#4  0x00007feccf6d02cf in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#6  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 34 (Thread 0x7fec44ff96c0 (LWP 84699) "Thread (pooled)"):
#0  0x00007feccf4abef6 in ?? () from /usr/lib64/libc.so.6
#1  0x00007feccf4aea34 in pthread_cond_timedwait () from /usr/lib64/libc.so.6
#2  0x00007feccf6d62ac in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib64/libQt5Core.so.5
#3  0x00007feccf6d3704 in ?? () from /usr/lib64/libQt5Core.so.5
#4  0x00007feccf6d02cf in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#6  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 33 (Thread 0x7fec457fa6c0 (LWP 84698) "Thread (pooled)"):
#0  0x00007feccf4abef6 in ?? () from /usr/lib64/libc.so.6
#1  0x00007feccf4aea34 in pthread_cond_timedwait () from /usr/lib64/libc.so.6
#2  0x00007feccf6d62ac in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib64/libQt5Core.so.5
#3  0x00007feccf6d3704 in ?? () from /usr/lib64/libQt5Core.so.5
#4  0x00007feccf6d02cf in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#6  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 32 (Thread 0x7fec45ffb6c0 (LWP 84697) "Thread (pooled)"):
#0  0x00007feccf4abef6 in ?? () from /usr/lib64/libc.so.6
#1  0x00007feccf4aea34 in pthread_cond_timedwait () from /usr/lib64/libc.so.6
#2  0x00007feccf6d62ac in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib64/libQt5Core.so.5
#3  0x00007feccf6d3704 in ?? () from /usr/lib64/libQt5Core.so.5
#4  0x00007feccf6d02cf in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#6  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 31 (Thread 0x7fec467fc6c0 (LWP 84696) "Thread (pooled)"):
#0  0x00007feccf4abef6 in ?? () from /usr/lib64/libc.so.6
#1  0x00007feccf4aea34 in pthread_cond_timedwait () from /usr/lib64/libc.so.6
#2  0x00007feccf6d62ac in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib64/libQt5Core.so.5
#3  0x00007feccf6d3704 in ?? () from /usr/lib64/libQt5Core.so.5
#4  0x00007feccf6d02cf in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#6  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 30 (Thread 0x7fec46ffd6c0 (LWP 84695) "Thread (pooled)"):
#0  0x00007feccf4abef6 in ?? () from /usr/lib64/libc.so.6
#1  0x00007feccf4aea34 in pthread_cond_timedwait () from /usr/lib64/libc.so.6
#2  0x00007feccf6d62ac in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib64/libQt5Core.so.5
#3  0x00007feccf6d3704 in ?? () from /usr/lib64/libQt5Core.so.5
#4  0x00007feccf6d02cf in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#6  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 29 (Thread 0x7fec477fe6c0 (LWP 84694) "Thread (pooled)"):
#0  0x00007feccf4abef6 in ?? () from /usr/lib64/libc.so.6
#1  0x00007feccf4aea34 in pthread_cond_timedwait () from /usr/lib64/libc.so.6
#2  0x00007feccf6d62ac in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib64/libQt5Core.so.5
#3  0x00007feccf6d3704 in ?? () from /usr/lib64/libQt5Core.so.5
#4  0x00007feccf6d02cf in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#6  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 28 (Thread 0x7fec3f7fe6c0 (LWP 84693) "Thread (pooled)"):
#0  0x00007feccf4abef6 in ?? () from /usr/lib64/libc.so.6
#1  0x00007feccf4aea34 in pthread_cond_timedwait () from /usr/lib64/libc.so.6
#2  0x00007feccf6d62ac in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib64/libQt5Core.so.5
#3  0x00007feccf6d3704 in ?? () from /usr/lib64/libQt5Core.so.5
#4  0x00007feccf6d02cf in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#6  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 27 (Thread 0x7fec47fff6c0 (LWP 84692) "Thread (pooled)"):
#0  0x00007feccf4abef6 in ?? () from /usr/lib64/libc.so.6
#1  0x00007feccf4aea34 in pthread_cond_timedwait () from /usr/lib64/libc.so.6
#2  0x00007feccf6d62ac in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib64/libQt5Core.so.5
#3  0x00007feccf6d3704 in ?? () from /usr/lib64/libQt5Core.so.5
#4  0x00007feccf6d02cf in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#6  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 26 (Thread 0x7fec68ff96c0 (LWP 84691) "Thread (pooled)"):
#0  0x00007feccf4abef6 in ?? () from /usr/lib64/libc.so.6
#1  0x00007feccf4aea34 in pthread_cond_timedwait () from /usr/lib64/libc.so.6
#2  0x00007feccf6d62ac in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib64/libQt5Core.so.5
#3  0x00007feccf6d3704 in ?? () from /usr/lib64/libQt5Core.so.5
#4  0x00007feccf6d02cf in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#6  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 25 (Thread 0x7fec697fa6c0 (LWP 84690) "Thread (pooled)"):
#0  0x00007feccf4abef6 in ?? () from /usr/lib64/libc.so.6
#1  0x00007feccf4aea34 in pthread_cond_timedwait () from /usr/lib64/libc.so.6
#2  0x00007feccf6d62ac in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib64/libQt5Core.so.5
#3  0x00007feccf6d3704 in ?? () from /usr/lib64/libQt5Core.so.5
#4  0x00007feccf6d02cf in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#6  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 24 (Thread 0x7fec69ffb6c0 (LWP 84689) "Thread (pooled)"):
#0  0x00007feccf4abef6 in ?? () from /usr/lib64/libc.so.6
#1  0x00007feccf4aea34 in pthread_cond_timedwait () from /usr/lib64/libc.so.6
#2  0x00007feccf6d62ac in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib64/libQt5Core.so.5
#3  0x00007feccf6d3704 in ?? () from /usr/lib64/libQt5Core.so.5
#4  0x00007feccf6d02cf in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#6  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 23 (Thread 0x7fec6a7fc6c0 (LWP 84688) "Thread (pooled)"):
#0  0x00007feccf4abef6 in ?? () from /usr/lib64/libc.so.6
#1  0x00007feccf4aea34 in pthread_cond_timedwait () from /usr/lib64/libc.so.6
#2  0x00007feccf6d62ac in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib64/libQt5Core.so.5
#3  0x00007feccf6d3704 in ?? () from /usr/lib64/libQt5Core.so.5
#4  0x00007feccf6d02cf in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#6  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 22 (Thread 0x7fec6affd6c0 (LWP 84687) "Thread (pooled)"):
#0  0x00007feccf4abef6 in ?? () from /usr/lib64/libc.so.6
#1  0x00007feccf4aea34 in pthread_cond_timedwait () from /usr/lib64/libc.so.6
#2  0x00007feccf6d62ac in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib64/libQt5Core.so.5
#3  0x00007feccf6d3704 in ?? () from /usr/lib64/libQt5Core.so.5
#4  0x00007feccf6d02cf in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#6  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 21 (Thread 0x7fec6b7fe6c0 (LWP 84686) "Thread (pooled)"):
#0  0x00007feccf4abef6 in ?? () from /usr/lib64/libc.so.6
#1  0x00007feccf4aea34 in pthread_cond_timedwait () from /usr/lib64/libc.so.6
#2  0x00007feccf6d62ac in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib64/libQt5Core.so.5
#3  0x00007feccf6d3704 in ?? () from /usr/lib64/libQt5Core.so.5
#4  0x00007feccf6d02cf in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#6  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 20 (Thread 0x7fec6bfff6c0 (LWP 84685) "Thread (pooled)"):
#0  0x00007feccf4abef6 in ?? () from /usr/lib64/libc.so.6
#1  0x00007feccf4aea34 in pthread_cond_timedwait () from /usr/lib64/libc.so.6
#2  0x00007feccf6d62ac in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib64/libQt5Core.so.5
#3  0x00007feccf6d3704 in ?? () from /usr/lib64/libQt5Core.so.5
#4  0x00007feccf6d02cf in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#6  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 19 (Thread 0x7fec78bdb6c0 (LWP 84684) "Thread (pooled)"):
#0  0x00007feccf4abef6 in ?? () from /usr/lib64/libc.so.6
#1  0x00007feccf4aea34 in pthread_cond_timedwait () from /usr/lib64/libc.so.6
#2  0x00007feccf6d62ac in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib64/libQt5Core.so.5
#3  0x00007feccf6d3704 in ?? () from /usr/lib64/libQt5Core.so.5
#4  0x00007feccf6d02cf in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#6  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 18 (Thread 0x7fec793dc6c0 (LWP 84683) "Thread (pooled)"):
#0  0x00007feccf4abef6 in ?? () from /usr/lib64/libc.so.6
#1  0x00007feccf4aea34 in pthread_cond_timedwait () from /usr/lib64/libc.so.6
#2  0x00007feccf6d62ac in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib64/libQt5Core.so.5
#3  0x00007feccf6d3704 in ?? () from /usr/lib64/libQt5Core.so.5
#4  0x00007feccf6d02cf in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#6  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 17 (Thread 0x7fec79bdd6c0 (LWP 84682) "Thread (pooled)"):
#0  0x00007feccf4abef6 in ?? () from /usr/lib64/libc.so.6
#1  0x00007feccf4aea34 in pthread_cond_timedwait () from /usr/lib64/libc.so.6
#2  0x00007feccf6d62ac in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib64/libQt5Core.so.5
#3  0x00007feccf6d3704 in ?? () from /usr/lib64/libQt5Core.so.5
#4  0x00007feccf6d02cf in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#6  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 16 (Thread 0x7fec7a3de6c0 (LWP 84681) "Thread (pooled)"):
#0  0x00007feccf4abef6 in ?? () from /usr/lib64/libc.so.6
#1  0x00007feccf4aea34 in pthread_cond_timedwait () from /usr/lib64/libc.so.6
#2  0x00007feccf6d62ac in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib64/libQt5Core.so.5
#3  0x00007feccf6d3704 in ?? () from /usr/lib64/libQt5Core.so.5
#4  0x00007feccf6d02cf in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#6  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 15 (Thread 0x7fec8702c6c0 (LWP 84680) "Thread (pooled)"):
#0  0x00007feccf4abef6 in ?? () from /usr/lib64/libc.so.6
#1  0x00007feccf4aea34 in pthread_cond_timedwait () from /usr/lib64/libc.so.6
#2  0x00007feccf6d62ac in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib64/libQt5Core.so.5
#3  0x00007feccf6d3704 in ?? () from /usr/lib64/libQt5Core.so.5
#4  0x00007feccf6d02cf in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#6  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 14 (Thread 0x7fec860586c0 (LWP 84679) "kscreenl:gdrv0"):
#0  0x00007feccf4abef6 in ?? () from /usr/lib64/libc.so.6
#1  0x00007feccf4ae73f in pthread_cond_wait () from /usr/lib64/libc.so.6
#2  0x00007fecbaa47639 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007fecba8a328b in ?? () from /usr/lib64/dri/radeonsi_dri.so
#4  0x00007fecbaa47577 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#5  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#6  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 13 (Thread 0x7fec915696c0 (LWP 84678) "kscreenl:gdrv0"):
#0  0x00007feccf4abef6 in ?? () from /usr/lib64/libc.so.6
#1  0x00007feccf4ae73f in pthread_cond_wait () from /usr/lib64/libc.so.6
#2  0x00007fecbaa47639 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007fecba8a328b in ?? () from /usr/lib64/dri/radeonsi_dri.so
#4  0x00007fecbaa47577 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#5  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#6  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 12 (Thread 0x7fec91d6a6c0 (LWP 84677) "QQuickPixmapRea"):
#0  0x00007feccf52268f in poll () from /usr/lib64/libc.so.6
#1  0x00007feccdb0b64e in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007feccdb0b76f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007feccf9221a4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007feccf8c3f2b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007feccf6cf0fe in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007fecd0d5ca46 in ?? () from /usr/lib64/libQt5Quick.so.5
#7  0x00007feccf6d02cf in ?? () from /usr/lib64/libQt5Core.so.5
#8  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#9  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 11 (Thread 0x7fecb09fb6c0 (LWP 84667) "QQmlThread"):
#0  0x00007feccf52268f in poll () from /usr/lib64/libc.so.6
#1  0x00007feccdb0b64e in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007feccdb0b76f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007feccf9221a4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007feccf8c3f2b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007feccf6cf0fe in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007fecd0973de5 in ?? () from /usr/lib64/libQt5Qml.so.5
#7  0x00007feccf6d02cf in ?? () from /usr/lib64/libQt5Core.so.5
#8  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#9  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 10 (Thread 0x7fecb11fc6c0 (LWP 84666) "QThread"):
#0  0x00007feccf52268f in poll () from /usr/lib64/libc.so.6
#1  0x00007feccdb0b64e in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007feccdb0b76f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007feccf9221a4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007feccf8c3f2b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007feccf6cf0fe in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007feccf6d02cf in ?? () from /usr/lib64/libQt5Core.so.5
#7  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#8  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 9 (Thread 0x7fecb19fd6c0 (LWP 84665) "QDBusConnection"):
#0  0x00007feccf52268f in poll () from /usr/lib64/libc.so.6
#1  0x00007feccdb0b64e in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007feccdb0b76f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007feccf9221a4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007feccf8c3f2b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007feccf6cf0fe in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007fecd1296287 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007feccf6d02cf in ?? () from /usr/lib64/libQt5Core.so.5
#8  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#9  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 8 (Thread 0x7fecb21fe6c0 (LWP 84664) "QThread"):
#0  0x00007feccf52268f in poll () from /usr/lib64/libc.so.6
#1  0x00007feccdb0b64e in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007feccdb0b76f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007feccf9221a4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007feccf8c3f2b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x000056108135469d in PamWorker::converse(int, pam_message const**, pam_response**, void*) [clone .part.0] ()
#6  0x00007fecd1f25a53 in pam_vprompt () from /usr/lib64/libpam.so.0
#7  0x00007fecd1f25d02 in pam_prompt () from /usr/lib64/libpam.so.0
#8  0x00007fecd1f219e9 in ?? () from /usr/lib64/libpam.so.0
#9  0x00007fecc98d3f3a in pam_sm_authenticate () from /lib64/security/pam_unix.so
#10 0x00007fecd1f1fe05 in ?? () from /usr/lib64/libpam.so.0
#11 0x00007fecd1f1f680 in pam_authenticate () from /usr/lib64/libpam.so.0
#12 0x0000561081353478 in PamWorker::authenticate() ()
#13 0x00007feccf8f4186 in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#14 0x00007feccf8c5618 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#15 0x00007feccf8c89f6 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQt5Core.so.5
#16 0x00007feccf922b83 in ?? () from /usr/lib64/libQt5Core.so.5
#17 0x00007feccdb0b3fb in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#18 0x00007feccdb0b6b8 in ?? () from /usr/lib64/libglib-2.0.so.0
#19 0x00007feccdb0b76f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#20 0x00007feccf9221a4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#21 0x00007feccf8c3f2b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#22 0x00007feccf6cf0fe in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#23 0x00007feccf6d02cf in ?? () from /usr/lib64/libQt5Core.so.5
#24 0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#25 0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 7 (Thread 0x7fecb29ff6c0 (LWP 84661) "kscreenl:shlo0"):
#0  0x00007feccf4abef6 in ?? () from /usr/lib64/libc.so.6
#1  0x00007feccf4ae73f in pthread_cond_wait () from /usr/lib64/libc.so.6
#2  0x00007fecbaa47639 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007fecba8a328b in ?? () from /usr/lib64/dri/radeonsi_dri.so
#4  0x00007fecbaa47577 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#5  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#6  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 6 (Thread 0x7fecc0dfe6c0 (LWP 84660) "kscreenloc:sh0"):
#0  0x00007feccf4abef6 in ?? () from /usr/lib64/libc.so.6
#1  0x00007feccf4ae73f in pthread_cond_wait () from /usr/lib64/libc.so.6
#2  0x00007fecbaa47639 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007fecba8a328b in ?? () from /usr/lib64/dri/radeonsi_dri.so
#4  0x00007fecbaa47577 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#5  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#6  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 5 (Thread 0x7fecc15ff6c0 (LWP 84659) "kscreen:disk$0"):
#0  0x00007feccf4abef6 in ?? () from /usr/lib64/libc.so.6
#1  0x00007feccf4ae73f in pthread_cond_wait () from /usr/lib64/libc.so.6
#2  0x00007fecbaa47639 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007fecba8a328b in ?? () from /usr/lib64/dri/radeonsi_dri.so
#4  0x00007fecbaa47577 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#5  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#6  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 4 (Thread 0x7fecc8e656c0 (LWP 84658) "kscreenloc:cs0"):
#0  0x00007feccf4abef6 in ?? () from /usr/lib64/libc.so.6
#1  0x00007feccf4ae73f in pthread_cond_wait () from /usr/lib64/libc.so.6
#2  0x00007fecbaa47639 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007fecba8a328b in ?? () from /usr/lib64/dri/radeonsi_dri.so
#4  0x00007fecbaa47577 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#5  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#6  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 3 (Thread 0x7fecca10b6c0 (LWP 84655) "WaylandEventThr"):
#0  0x00007feccf52268f in poll () from /usr/lib64/libc.so.6
#1  0x00007feccf10cb7f in ?? () from /usr/lib64/libQt5WaylandClient.so.5
#2  0x00007feccf6d02cf in ?? () from /usr/lib64/libQt5Core.so.5
#3  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#4  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 2 (Thread 0x7fecca90c6c0 (LWP 84654) "WaylandEventThr"):
#0  0x00007feccf4abef6 in ?? () from /usr/lib64/libc.so.6
#1  0x00007feccf4ae73f in pthread_cond_wait () from /usr/lib64/libc.so.6
#2  0x00007feccf6d632b in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib64/libQt5Core.so.5
#3  0x00007feccf10cb27 in ?? () from /usr/lib64/libQt5WaylandClient.so.5
#4  0x00007feccf6d02cf in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007feccf4af36a in ?? () from /usr/lib64/libc.so.6
#6  0x00007feccf5303bc in ?? () from /usr/lib64/libc.so.6

Thread 1 (Thread 0x7fecce3568c0 (LWP 84653) "kscreenlocker_g"):
#0  0x00007fecd208d3db in serialize_closure () from /usr/lib64/libwayland-client.so.0
#1  0x00007fecd208f265 in wl_closure_send () from /usr/lib64/libwayland-client.so.0
#2  0x00007fecd208b2c0 in wl_proxy_marshal_array_flags () from /usr/lib64/libwayland-client.so.0
#3  0x00007fecd208b616 in wl_proxy_marshal_flags () from /usr/lib64/libwayland-client.so.0
#4  0x00007fecd206d075 in QtWayland::org_kde_kwin_dpms_manager::get(wl_output*) () from /usr/lib64/libKF5ScreenDpms.so.8
#5  0x00007fecd206be81 in DpmsManager::addScreen(QScreen*) () from /usr/lib64/libKF5ScreenDpms.so.8
#6  0x00007feccf8fea7b in ?? () from /usr/lib64/libQt5Core.so.5
#7  0x00007feccfd280e2 in QGuiApplication::screenAdded(QScreen*) () from /usr/lib64/libQt5Gui.so.5
#8  0x00007feccf10b6c8 in QtWaylandClient::QWaylandDisplay::registry_global_remove(unsigned int) () from /usr/lib64/libQt5WaylandClient.so.5
#9  0x00007fecd1b45b8a in ?? () from /usr/lib64/libffi.so.8
#10 0x00007fecd1b44bc1 in ?? () from /usr/lib64/libffi.so.8
#11 0x00007fecd1b4562e in ffi_call () from /usr/lib64/libffi.so.8
#12 0x00007fecd208f034 in wl_closure_invoke () from /usr/lib64/libwayland-client.so.0
#13 0x00007fecd208abba in dispatch_event.isra () from /usr/lib64/libwayland-client.so.0
#14 0x00007fecd208c7ec in wl_display_dispatch_queue_pending () from /usr/lib64/libwayland-client.so.0
#15 0x00007feccf108345 in QtWaylandClient::QWaylandDisplay::flushRequests() () from /usr/lib64/libQt5WaylandClient.so.5
#16 0x00007feccf8f4186 in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#17 0x00007feccf8c5618 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#18 0x00007feccf8c89f6 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQt5Core.so.5
#19 0x00007feccf922b83 in ?? () from /usr/lib64/libQt5Core.so.5
#20 0x00007feccdb0b3fb in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#21 0x00007feccdb0b6b8 in ?? () from /usr/lib64/libglib-2.0.so.0
#22 0x00007feccdb0b76f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#23 0x00007feccf9221a4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#24 0x00007feccf8c3f2b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#25 0x00007feccf8cc83d in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#26 0x0000561081352052 in main ()

----

There's a couple libs that don't have debug info, pls let me know if they are needed and I will recompile them and regenerate the backtrace.
Comment 2 Nate Graham 2023-03-01 21:46:41 UTC
Looks very suspicious:

#4  0x00007fecd206d075 in QtWayland::org_kde_kwin_dpms_manager::get(wl_output*) () from /usr/lib64/libKF5ScreenDpms.so.8
#5  0x00007fecd206be81 in DpmsManager::addScreen(QScreen*) () from /usr/lib64/libKF5ScreenDpms.so.8
#6  0x00007feccf8fea7b in ?? () from /usr/lib64/libQt5Core.so.5
#7  0x00007feccfd280e2 in QGuiApplication::screenAdded(QScreen*) () from /usr/lib64/libQt5Gui.so.5
#8  0x00007feccf10b6c8 in QtWaylandClient::QWaylandDisplay::registry_global_remove(unsigned int) () from /usr/lib64
Comment 3 Naxdy 2023-03-01 22:06:08 UTC
Letting the display turn off naturally doesn't seem to produce this bug. Locked the screen, waited 10+ mins, woke up the display, and it was fine.

Manually turning it off using ESC always produces this problem though.
Comment 4 Naxdy 2023-03-04 20:09:50 UTC
Apparently, this affects more applications than just kscreenlocker. I've just had kded5 crash with a very similar backtrace. It seems to me that something in libkscreen is causing this problem. To my knowledge, this wasn't an issue in 5.27.1, so I'm marking this as a regression.

Here's the backtrace of kded5:

[Thread 0x7fc3c67fc6c0 (LWP 172357) exited]
[Thread 0x7fc3c7fff6c0 (LWP 172354) exited]
[Thread 0x7fc3e57fa6c0 (LWP 172352) exited]
[Thread 0x7fc434cc26c0 (LWP 172339) exited]
[Thread 0x7fc3c6ffd6c0 (LWP 172356) exited]
[Thread 0x7fc3e4ff96c0 (LWP 172353) exited]
[Thread 0x7fc3e5ffb6c0 (LWP 172351) exited]
[Thread 0x7fc3e77fe6c0 (LWP 172348) exited]
[Thread 0x7fc3e67fc6c0 (LWP 172350) exited]
[Thread 0x7fc435cc46c0 (LWP 172337) exited]
[Thread 0x7fc3a67fc6c0 (LWP 172365) exited]
[Thread 0x7fc3a5ffb6c0 (LWP 172366) exited]
[Thread 0x7fc4364c56c0 (LWP 172336) exited]
[Thread 0x7fc3a7fff6c0 (LWP 172361) exited]
[Thread 0x7fc3e6ffd6c0 (LWP 172349) exited]
[Thread 0x7fc3e7fff6c0 (LWP 172347) exited]
[Thread 0x7fc4077fe6c0 (LWP 172341) exited]
[Thread 0x7fc404ff96c0 (LWP 172346) exited]
[Thread 0x7fc4067fc6c0 (LWP 172343) exited]
[Thread 0x7fc3c77fe6c0 (LWP 172355) exited]
[Thread 0x7fc4057fa6c0 (LWP 172345) exited]
[Thread 0x7fc405ffb6c0 (LWP 172344) exited]
[Thread 0x7fc4354c36c0 (LWP 172338) exited]
[Thread 0x7fc39ffff6c0 (LWP 172362) exited]
[Thread 0x7fc436cc66c0 (LWP 172335) exited]
[Thread 0x7fc3c5ffb6c0 (LWP 172358) exited]
[Thread 0x7fc406ffd6c0 (LWP 172342) exited]
[Thread 0x7fc3a6ffd6c0 (LWP 172364) exited]
[Thread 0x7fc3c57fa6c0 (LWP 172359) exited]
[Thread 0x7fc3c4ff96c0 (LWP 172360) exited]
[Thread 0x7fc407fff6c0 (LWP 172340) exited]
[Thread 0x7fc3a77fe6c0 (LWP 172363) exited]
[New Thread 0x7fc3a77fe6c0 (LWP 175409)]
[New Thread 0x7fc407fff6c0 (LWP 175410)]
[Detaching after fork from child process 185983]
[Detaching after fork from child process 185993]

Thread 1 "kded5" received signal SIGSEGV, Segmentation fault.
0x00007fc4630f23db in serialize_closure () from /usr/lib64/libwayland-client.so.0
#0  0x00007fc4630f23db in serialize_closure () at /usr/lib64/libwayland-client.so.0
#1  0x00007fc4630f4265 in wl_closure_send () at /usr/lib64/libwayland-client.so.0
#2  0x00007fc4630f02c0 in wl_proxy_marshal_array_flags () at /usr/lib64/libwayland-client.so.0
#3  0x00007fc4630f0616 in wl_proxy_marshal_flags () at /usr/lib64/libwayland-client.so.0
#4  0x00007fc43e689075 in QtWayland::org_kde_kwin_dpms_manager::get(wl_output*) () at /usr/lib64/libKF5ScreenDpms.so.8
#5  0x00007fc43e687e81 in DpmsManager::addScreen(QScreen*) () at /usr/lib64/libKF5ScreenDpms.so.8
#6  0x00007fc461afea7b in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007fc461f280e2 in QGuiApplication::screenAdded(QScreen*) () at /usr/lib64/libQt5Gui.so.5
#8  0x00007fc45e2686c8 in QtWaylandClient::QWaylandDisplay::registry_global_remove(unsigned int) () at /usr/lib64/libQt5WaylandClient.so.5
#9  0x00007fc4630e3b8a in  () at /usr/lib64/libffi.so.8
#10 0x00007fc4630e2bc1 in  () at /usr/lib64/libffi.so.8
#11 0x00007fc4630e362e in ffi_call () at /usr/lib64/libffi.so.8
#12 0x00007fc4630f4034 in wl_closure_invoke () at /usr/lib64/libwayland-client.so.0
#13 0x00007fc4630efbba in dispatch_event.isra () at /usr/lib64/libwayland-client.so.0
#14 0x00007fc4630f17ec in wl_display_dispatch_queue_pending () at /usr/lib64/libwayland-client.so.0
#15 0x00007fc45e265345 in QtWaylandClient::QWaylandDisplay::flushRequests() () at /usr/lib64/libQt5WaylandClient.so.5
#16 0x00007fc461af4186 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#17 0x00007fc4629649df in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#18 0x00007fc461ac5618 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#19 0x00007fc461ac89f6 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#20 0x00007fc461b22b83 in  () at /usr/lib64/libQt5Core.so.5
#21 0x00007fc46090b3fb in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#22 0x00007fc46090b6b8 in  () at /usr/lib64/libglib-2.0.so.0
#23 0x00007fc46090b76f in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#24 0x00007fc461b221a4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#25 0x00007fc461ac3f2b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#26 0x00007fc461acc83d in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#27 0x0000561fe66141c1 in main ()

Thread 46 (Thread 0x7fc407fff6c0 (LWP 175410) "KIO::WorkerThre"):
#0  0x00007fc46172279d in ppoll () at /usr/lib64/libc.so.6
#1  0x00007fc461b1ca6d in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fc45c7e1503 in  () at /usr/lib64/libQt5Network.so.5
#3  0x00007fc45c7de751 in  () at /usr/lib64/libQt5Network.so.5
#4  0x00007fc45c7cde75 in QAbstractSocket::waitForReadyRead(int) () at /usr/lib64/libQt5Network.so.5
#5  0x00007fc45ce5c6d8 in  () at /usr/lib64/libKF5KIOCore.so.5
#6  0x00007fc45ceb6969 in KIO::SlaveBase::dispatchLoop() () at /usr/lib64/libKF5KIOCore.so.5
#7  0x00007fc45cf7e4d3 in  () at /usr/lib64/libKF5KIOCore.so.5
#8  0x00007fc4618d02cf in  () at /usr/lib64/libQt5Core.so.5
#9  0x00007fc4616af36a in  () at /usr/lib64/libc.so.6
#10 0x00007fc4617303bc in  () at /usr/lib64/libc.so.6

Thread 45 (Thread 0x7fc3a77fe6c0 (LWP 175409) "KIO::WorkerThre"):
#0  0x00007fc46172279d in ppoll () at /usr/lib64/libc.so.6
#1  0x00007fc461b1ca6d in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fc45c7e1503 in  () at /usr/lib64/libQt5Network.so.5
#3  0x00007fc45c7de751 in  () at /usr/lib64/libQt5Network.so.5
#4  0x00007fc45c7cde75 in QAbstractSocket::waitForReadyRead(int) () at /usr/lib64/libQt5Network.so.5
#5  0x00007fc45ce5c6d8 in  () at /usr/lib64/libKF5KIOCore.so.5
#6  0x00007fc45ceb6969 in KIO::SlaveBase::dispatchLoop() () at /usr/lib64/libKF5KIOCore.so.5
#7  0x00007fc45cf7e4d3 in  () at /usr/lib64/libKF5KIOCore.so.5
#8  0x00007fc4618d02cf in  () at /usr/lib64/libQt5Core.so.5
#9  0x00007fc4616af36a in  () at /usr/lib64/libc.so.6
#10 0x00007fc4617303bc in  () at /usr/lib64/libc.so.6

Thread 12 (Thread 0x7fc4377fe6c0 (LWP 172260) "gdbus"):
#0  0x00007fc46172268f in poll () at /usr/lib64/libc.so.6
#1  0x00007fc46090b64e in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fc46090b9a3 in g_main_loop_run () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fc43d20e776 in  () at /usr/lib64/libgio-2.0.so.0
#4  0x00007fc46093efbd in  () at /usr/lib64/libglib-2.0.so.0
#5  0x00007fc4616af36a in  () at /usr/lib64/libc.so.6
#6  0x00007fc4617303bc in  () at /usr/lib64/libc.so.6

Thread 11 (Thread 0x7fc43c8df6c0 (LWP 172259) "dconf worker"):
#0  0x00007fc46172268f in poll () at /usr/lib64/libc.so.6
#1  0x00007fc46090b64e in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fc46090b76f in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fc43daaf3cd in  () at /usr/lib64/gio/modules/libdconfsettings.so
#4  0x00007fc46093efbd in  () at /usr/lib64/libglib-2.0.so.0
#5  0x00007fc4616af36a in  () at /usr/lib64/libc.so.6
#6  0x00007fc4617303bc in  () at /usr/lib64/libc.so.6

Thread 10 (Thread 0x7fc43d0e06c0 (LWP 172258) "gmain"):
#0  0x00007fc46172268f in poll () at /usr/lib64/libc.so.6
#1  0x00007fc46090b64e in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fc46090b76f in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fc46090b7c1 in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007fc46093efbd in  () at /usr/lib64/libglib-2.0.so.0
#5  0x00007fc4616af36a in  () at /usr/lib64/libc.so.6
#6  0x00007fc4617303bc in  () at /usr/lib64/libc.so.6

Thread 9 (Thread 0x7fc43effd6c0 (LWP 172243) "Qt bearer threa"):
#0  0x00007fc46172268f in poll () at /usr/lib64/libc.so.6
#1  0x00007fc46090b64e in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fc46090b76f in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fc461b221a4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007fc461ac3f2b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007fc4618cf0fe in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007fc4618d02cf in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007fc4616af36a in  () at /usr/lib64/libc.so.6
#8  0x00007fc4617303bc in  () at /usr/lib64/libc.so.6

Thread 8 (Thread 0x7fc43f7fe6c0 (LWP 172238) "QDBusConnection"):
#0  0x00007fc46172268f in poll () at /usr/lib64/libc.so.6
#1  0x00007fc46090b64e in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fc46090b76f in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fc461b221a4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007fc461ac3f2b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007fc4618cf0fe in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007fc462696287 in  () at /usr/lib64/libQt5DBus.so.5
#7  0x00007fc4618d02cf in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007fc4616af36a in  () at /usr/lib64/libc.so.6
#9  0x00007fc4617303bc in  () at /usr/lib64/libc.so.6

Thread 7 (Thread 0x7fc43ffff6c0 (LWP 172233) "kded5:shlo0"):
#0  0x00007fc4616abef6 in  () at /usr/lib64/libc.so.6
#1  0x00007fc4616ae73f in pthread_cond_wait () at /usr/lib64/libc.so.6
#2  0x00007fc458847639 in  () at /usr/lib64/dri/radeonsi_dri.so
#3  0x00007fc4586a328b in  () at /usr/lib64/dri/radeonsi_dri.so
#4  0x00007fc458847577 in  () at /usr/lib64/dri/radeonsi_dri.so
#5  0x00007fc4616af36a in  () at /usr/lib64/libc.so.6
#6  0x00007fc4617303bc in  () at /usr/lib64/libc.so.6

Thread 6 (Thread 0x7fc437fff6c0 (LWP 172232) "kded5:sh0"):
#0  0x00007fc4616abef6 in  () at /usr/lib64/libc.so.6
#1  0x00007fc4616ae73f in pthread_cond_wait () at /usr/lib64/libc.so.6
#2  0x00007fc458847639 in  () at /usr/lib64/dri/radeonsi_dri.so
#3  0x00007fc4586a328b in  () at /usr/lib64/dri/radeonsi_dri.so
#4  0x00007fc458847577 in  () at /usr/lib64/dri/radeonsi_dri.so
#5  0x00007fc4616af36a in  () at /usr/lib64/libc.so.6
#6  0x00007fc4617303bc in  () at /usr/lib64/libc.so.6

Thread 5 (Thread 0x7fc450dfe6c0 (LWP 172231) "kded5:disk$0"):
#0  0x00007fc4616abef6 in  () at /usr/lib64/libc.so.6
#1  0x00007fc4616ae73f in pthread_cond_wait () at /usr/lib64/libc.so.6
#2  0x00007fc458847639 in  () at /usr/lib64/dri/radeonsi_dri.so
#3  0x00007fc4586a328b in  () at /usr/lib64/dri/radeonsi_dri.so
#4  0x00007fc458847577 in  () at /usr/lib64/dri/radeonsi_dri.so
#5  0x00007fc4616af36a in  () at /usr/lib64/libc.so.6
#6  0x00007fc4617303bc in  () at /usr/lib64/libc.so.6

Thread 4 (Thread 0x7fc4515ff6c0 (LWP 172228) "kded5:cs0"):
#0  0x00007fc4616abef6 in  () at /usr/lib64/libc.so.6
#1  0x00007fc4616ae73f in pthread_cond_wait () at /usr/lib64/libc.so.6
#2  0x00007fc458847639 in  () at /usr/lib64/dri/radeonsi_dri.so
#3  0x00007fc4586a328b in  () at /usr/lib64/dri/radeonsi_dri.so
#4  0x00007fc458847577 in  () at /usr/lib64/dri/radeonsi_dri.so
#5  0x00007fc4616af36a in  () at /usr/lib64/libc.so.6
#6  0x00007fc4617303bc in  () at /usr/lib64/libc.so.6

Thread 3 (Thread 0x7fc45af046c0 (LWP 172219) "WaylandEventThr"):
#0  0x00007fc46172268f in poll () at /usr/lib64/libc.so.6
#1  0x00007fc45e269b7f in  () at /usr/lib64/libQt5WaylandClient.so.5
#2  0x00007fc4618d02cf in  () at /usr/lib64/libQt5Core.so.5
#3  0x00007fc4616af36a in  () at /usr/lib64/libc.so.6
#4  0x00007fc4617303bc in  () at /usr/lib64/libc.so.6

Thread 2 (Thread 0x7fc45b7056c0 (LWP 172218) "WaylandEventThr"):
#0  0x00007fc4616abef6 in  () at /usr/lib64/libc.so.6
#1  0x00007fc4616ae73f in pthread_cond_wait () at /usr/lib64/libc.so.6
#2  0x00007fc4618d632b in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib64/libQt5Core.so.5
#3  0x00007fc45e269b27 in  () at /usr/lib64/libQt5WaylandClient.so.5
#4  0x00007fc4618d02cf in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007fc4616af36a in  () at /usr/lib64/libc.so.6
#6  0x00007fc4617303bc in  () at /usr/lib64/libc.so.6

Thread 1 (Thread 0x7fc461626d00 (LWP 172212) "kded5"):
#0  0x00007fc4630f23db in serialize_closure () at /usr/lib64/libwayland-client.so.0
#1  0x00007fc4630f4265 in wl_closure_send () at /usr/lib64/libwayland-client.so.0
#2  0x00007fc4630f02c0 in wl_proxy_marshal_array_flags () at /usr/lib64/libwayland-client.so.0
#3  0x00007fc4630f0616 in wl_proxy_marshal_flags () at /usr/lib64/libwayland-client.so.0
#4  0x00007fc43e689075 in QtWayland::org_kde_kwin_dpms_manager::get(wl_output*) () at /usr/lib64/libKF5ScreenDpms.so.8
#5  0x00007fc43e687e81 in DpmsManager::addScreen(QScreen*) () at /usr/lib64/libKF5ScreenDpms.so.8
#6  0x00007fc461afea7b in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007fc461f280e2 in QGuiApplication::screenAdded(QScreen*) () at /usr/lib64/libQt5Gui.so.5
#8  0x00007fc45e2686c8 in QtWaylandClient::QWaylandDisplay::registry_global_remove(unsigned int) () at /usr/lib64/libQt5WaylandClient.so.5
#9  0x00007fc4630e3b8a in  () at /usr/lib64/libffi.so.8
#10 0x00007fc4630e2bc1 in  () at /usr/lib64/libffi.so.8
#11 0x00007fc4630e362e in ffi_call () at /usr/lib64/libffi.so.8
#12 0x00007fc4630f4034 in wl_closure_invoke () at /usr/lib64/libwayland-client.so.0
#13 0x00007fc4630efbba in dispatch_event.isra () at /usr/lib64/libwayland-client.so.0
#14 0x00007fc4630f17ec in wl_display_dispatch_queue_pending () at /usr/lib64/libwayland-client.so.0
#15 0x00007fc45e265345 in QtWaylandClient::QWaylandDisplay::flushRequests() () at /usr/lib64/libQt5WaylandClient.so.5
#16 0x00007fc461af4186 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#17 0x00007fc4629649df in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#18 0x00007fc461ac5618 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#19 0x00007fc461ac89f6 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#20 0x00007fc461b22b83 in  () at /usr/lib64/libQt5Core.so.5
#21 0x00007fc46090b3fb in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#22 0x00007fc46090b6b8 in  () at /usr/lib64/libglib-2.0.so.0
#23 0x00007fc46090b76f in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#24 0x00007fc461b221a4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#25 0x00007fc461ac3f2b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#26 0x00007fc461acc83d in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#27 0x0000561fe66141c1 in main ()
A debugging session is active.

	Inferior 1 [process 172212] will be detached.

Quit anyway? (y or n) [answered Y; input not from terminal]
[Inferior 1 (process 172212) detached]
Comment 5 Aleix Pol 2023-03-05 00:16:55 UTC
I've been looking into this. Testing didn't bring any crashes.

While your assessment that it might be the placeholder screen kicking in, at the moment we are already testing for wl_output being null, which should be a symptom of the placeholder hitting us.

I've put together the following patch for libkscreen, would you be able to apply it on top of libkscreen?

To test you can use kscreenlocker like you said. Running "/usr/lib/libexec/kscreenlocker_greet --testing" will make it possible for you to reproduce it without being locked out of the session. Thank you!!!

---- 

diff --git a/src/libdpms/waylanddpmshelper.cpp b/src/libdpms/waylanddpmshelper.cpp
index 021dbf5..32259e1 100644
--- a/src/libdpms/waylanddpmshelper.cpp
+++ b/src/libdpms/waylanddpmshelper.cpp
@@ -114,8 +114,11 @@ private:
     {
         QPlatformNativeInterface *native = qGuiApp->platformNativeInterface();
         wl_output *output = reinterpret_cast<wl_output *>(native->nativeResourceForScreen(QByteArrayLiteral("output"), screen));
+        qDebug() << "about to crash?" << screen << output << native;
         if (output) {
-            m_dpmsPerScreen[screen] = new Dpms(get(output), m_dpms, screen);
+            auto x = get(output);
+            qDebug() << "boom" << x;
+            m_dpmsPerScreen[screen] = new Dpms(x, m_dpms, screen);
         }
     }
Comment 6 Naxdy 2023-03-05 16:15:51 UTC
Here you go, these are the full logs from start to crash when the display turned off:

kf.kirigami: Failed to find a Kirigami platform plugin
Locked at 1678032889
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/MediaControls.qml:82:9: QML Image: Blocked request.
about to crash? QScreen(0x5636c79a2500, name="DP-3") 0x5636c79a7540 QPlatformNativeInterface(0x5636c79869e0)
boom 0x5636c82fd060
qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
about to crash? QScreen(0x5636c81db250, name="") 0x21 QPlatformNativeInterface(0x5636c79869e0)
[1]    2192912 segmentation fault (core dumped)  /usr/lib64/libexec/kscreenlocker_greet --testing
Comment 7 Aleix Pol 2023-03-06 00:18:45 UTC
So here's a fix in Qt, I'll add a workaround until we can rely on this...
https://codereview.qt-project.org/c/qt/qtwayland/+/464669
Comment 8 Bug Janitor Service 2023-03-06 00:24:19 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/libkscreen/-/merge_requests/115
Comment 9 Iyán Méndez Veiga 2023-03-06 10:50:15 UTC
I confirm the workaround fixes the issue for me (I had applied https://invent.kde.org/plasma/libkscreen/-/commit/00d8e90f821123f04fcb7ea39724a1f221a76f37 before as well)
Comment 10 Aleix Pol 2023-03-06 14:38:12 UTC
Git commit e1f3cb774435d11e8f68192eee17decdc6e2b661 by Aleix Pol Gonzalez, on behalf of Aleix Pol.
Committed on 06/03/2023 at 13:51.
Pushed by apol into branch 'Plasma/5.27'.

libdpms/wayland: Do not create dpms interfaces for placeholder QScreens

M  +7    -0    src/libdpms/waylanddpmshelper.cpp

https://invent.kde.org/plasma/libkscreen/commit/e1f3cb774435d11e8f68192eee17decdc6e2b661
Comment 11 Nicolas Fella 2023-03-11 20:04:01 UTC
*** Bug 467200 has been marked as a duplicate of this bug. ***
Comment 12 Nicolas Fella 2023-03-13 15:29:15 UTC
*** Bug 467281 has been marked as a duplicate of this bug. ***
Comment 13 Nate Graham 2023-04-04 23:09:42 UTC
*** Bug 467647 has been marked as a duplicate of this bug. ***