Lock screen crashes when my Debian recovering from sleep

It’s an old problem. Check this. But still happens on my Debian 12. If I follow the request, type loginctl unlock-session n in tty mode, it works. But I still wonder how to permanently deal with this problem. Here’s the output of ./kscreenlocker_greet --testing:

oct0pu5@debian:/usr/lib/x86_64-linux-gnu/libexec$ ./kscreenlocker_greet --testing
qml: JSON.parse: Parse error
qml: load backend: backend/Scene.qml
INFO main looper started
INFO render looper started
INFO source: /home/oct0pu5/.local/share/Steam/steamapps/workshop/content/431960/2898127928/scene.json
file:///home/oct0pu5/.local/share/plasma/wallpapers/com.github.casout.wallpaperEngineKde/contents/ui/backend/Scene.qml:38:9: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///home/oct0pu5/.local/share/plasma/wallpapers/com.github.casout.wallpaperEngineKde/contents/ui/WindowModel.qml:119:9: Unable to assign [undefined] to QRect
file:///home/oct0pu5/.local/share/plasma/wallpapers/com.github.casout.wallpaperEngineKde/contents/ui/main.qml:161: TypeError: Cannot read property 'activity' of undefined
file:///home/oct0pu5/.local/share/plasma/wallpapers/com.github.casout.wallpaperEngineKde/contents/ui/main.qml:160: TypeError: Cannot read property 'screenGeometry' of undefined
kf.kirigami: Failed to find a Kirigami platform plugin
file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/VirtualKeyboard.qml:12:1: Type InputPanel unavailable
qrc:/QtQuick/VirtualKeyboard/content/InputPanel.qml:138:5: Type Keyboard unavailable
qrc:/QtQuick/VirtualKeyboard/content/components/Keyboard.qml:38:1: module "QtQuick.VirtualKeyboard.Plugins" is not installed
Locked at 1739420426
file:///home/oct0pu5/.local/share/plasma/wallpapers/com.github.casout.wallpaperEngineKde/contents/ui/WindowModel.qml:119:9: Unable to assign [undefined] to QRect
qml: JSON.parse: Parse error
file:///home/oct0pu5/.local/share/plasma/wallpapers/com.github.casout.wallpaperEngineKde/contents/ui/main.qml:161: TypeError: Cannot read property 'activity' of undefined
file:///home/oct0pu5/.local/share/plasma/wallpapers/com.github.casout.wallpaperEngineKde/contents/ui/main.qml:160: TypeError: Cannot read property 'screenGeometry' of undefined
QProcess: Destroyed while process ("/bin/sh") is still running.
INFO gl: OpenGL version 4.6 loaded
INFO gl: OpenGL vendor string: Intel
INFO gl: external tex using optimal tiling
INFO set swapchain image size: 1862x1047
INFO vulkan device: Intel(R) Graphics (RPL-S)
qml: ----python helper connected----
INFO new buffer block(0x7fbed4381710), size: 2097152, index: 0 / 1
INFO new buffer block(0x7fbed4381800), size: 2097152, index: 0 / 1
INFO loading scene: /home/oct0pu5/.local/share/Steam/steamapps/workshop/content/431960/2898127928/scene.json
INFO muted, not init sound device
INFO pkg version: PKGV0018
INFO cache folder: /home/oct0pu5/.cache/wescene-renderer
INFO read json "type" not a key at FromJson(WPParticleObject.cpp:11)
kf.kio.core: Malformed JSON protocol file for protocol: "trash" , number of the ExtraNames fields should match the number of ExtraTypes fields
INFO read json "type" not a key at FromJson(WPParticleObject.cpp:11)
file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/MediaControls.qml:82:9: QML Image: Blocked request.
INFO new buffer block(0x7fbed4381800), size: 3200000, index: 1 / 2
INFO increase buffer size: 3200000
INFO new buffer block(0x7fbed4381800), size: 3200000, index: 2 / 3
INFO increase buffer size: 3200000
INFO new buffer block(0x7fbed4381800), size: 2097152, index: 3 / 4
INFO increase buffer size: 2097152
wekde.scene: receive external texture(1862x1047) from fd: 72
qml: backend scene first frame
wekde.scene: receive external texture(1862x1047) from fd: 69
wekde.scene: receive external texture(1862x1047) from fd: 68
file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/MediaControls.qml:82:9: QML Image: Blocked request.
file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/MediaControls.qml:82:9: QML Image: Blocked request.
file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/MediaControls.qml:82:9: QML Image: Blocked request.
file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/MediaControls.qml:82:9: QML Image: Blocked request.
file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/MediaControls.qml:82:9: QML Image: Blocked request.
file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/MediaControls.qml:82:9: QML Image: Blocked request.
file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/MediaControls.qml:82:9: QML Image: Blocked request.
file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/MediaControls.qml:82:9: QML Image: Blocked request.
file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/MediaControls.qml:82:9: QML Image: Blocked request.
file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/MediaControls.qml:82:9: QML Image: Blocked request.
file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/MediaControls.qml:82:9: QML Image: Blocked request.
file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/MediaControls.qml:82:9: QML Image: Blocked request.
file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/MediaControls.qml:82:9: QML Image: Blocked request.
file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/MediaControls.qml:82:9: QML Image: Blocked request.
file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/MediaControls.qml:82:9: QML Image: Blocked request.
file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/MediaControls.qml:82:9: QML Image: Blocked request.
file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/MediaControls.qml:82:9: QML Image: Blocked request.
file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/MediaControls.qml:82:9: QML Image: Blocked request.
file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/MediaControls.qml:82:9: QML Image: Blocked request.
file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/MediaControls.qml:82:9: QML Image: Blocked request.
file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/MediaControls.qml:82:9: QML Image: Blocked request.
file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/MediaControls.qml:82:9: QML Image: Blocked request.

I have installed qml-module-qtquick-virtualkeyboard, libwayland-client0 and libwayland-cursor0 so now I am very confused about what the situation is.

Hi!

I’m not sure about this specific problem, but just as a general note - Debian Stable generally uses software versions that are frozen on release, and for KDE packages, does not adopt new upstream versions (even bug-fixes). As a result, it’s common for bugs to exist in Debian - especially ones that are not critical security vulnerabilities - longer than in other Linux distributions.

It may be helpful to make sure that the bug you’re experiencing has been submitted through the Debian bug tracking process (Debian -- Debian BTS - reporting bugs), as the only way that Plasma in Debian 12 will get a bug fix is through a patch being applied by its downstream maintainers.

This prob has nothing to do with debian perse. It happened(s) in every known distro that runs kde. Kubuntu, Open suse, Arch, Fedora…All of them.