DankMaterialShell icon indicating copy to clipboard operation
DankMaterialShell copied to clipboard

Lockscreen + Turning off Monitor = lockscreen crash

Open cameronaw13 opened this issue 10 months ago • 23 comments

Compositor

  • [x] Niri
  • [ ] Hyprland
  • [ ] MangoWC (dwl)
  • [ ] Sway

Distribution

  • [ ] Arch Linux
  • [ ] CachyOS
  • [ ] Fedora
  • [x] NixOS
  • [ ] Debian
  • [ ] Ubuntu
  • [ ] Gentoo
  • [ ] OpenSUSE
  • [ ] Other (specify below)

If Other, please specify

No response

dms doctor -v

                                  
██████╗  █████╗ ███╗   ██╗██╗  ██╗
██╔══██╗██╔══██╗████╗  ██║██║ ██╔╝
██║  ██║███████║██╔██╗ ██║█████╔╝ 
██║  ██║██╔══██║██║╚██╗██║██╔═██╗ 
██████╔╝██║  ██║██║ ╚████║██║  ██╗
╚═════╝ ╚═╝  ╚═╝╚═╝  ╚═══╝╚═╝  ╚═╝

 System Health Check
                    
──────────────────────────────────────

  System
    ● Operating System ····· NixOS 25.11 (Xantusia)
      └─ Supported for runtime (install via NixOS module or Flake)
    ● Architecture ········· amd64
    ● Display Server ······· Wayland
      └─ WAYLAND_DISPLAY=wayland-1

  Versions
    ● DMS CLI ·············· dms 1.2.3+date=2026-01-16_a7cdb39
      └─ /nix/store/qw5igqd6j3ilczcdpnmxcm91w1kxxq7n-dms-shell-1.2.3+date=2026-01-16_a7cdb39/bin/.dms-wrapped
    ● Quickshell ··········· quickshell 0.2.1, revision 41828c4180fb921df7992a5405f5ff05d2ac2fff, distributed by: Official-Nix-Flake
      └─ /run/current-system/sw/bin/qs
    ● DMS Shell ············ 1.2.3+date=2026-01-16_a7cdb39
      └─ /nix/store/qw5igqd6j3ilczcdpnmxcm91w1kxxq7n-dms-shell-1.2.3+date=2026-01-16_a7cdb39/share/quickshell/dms

  Installation
    ● DMS Configuration ···· Found
      └─ /nix/store/qw5igqd6j3ilczcdpnmxcm91w1kxxq7n-dms-shell-1.2.3+date=2026-01-16_a7cdb39/share/quickshell/dms
    ● shell.qml ············ Present
      └─ /nix/store/qw5igqd6j3ilczcdpnmxcm91w1kxxq7n-dms-shell-1.2.3+date=2026-01-16_a7cdb39/share/quickshell/dms/shell.qml
    ○ Install Type ········· Nix store
      └─ /nix/store/qw5igqd6j3ilczcdpnmxcm91w1kxxq7n-dms-shell-1.2.3+date=2026-01-16_a7cdb39/share/quickshell/dms

  Compositor
    ● niri ················· 25.11
      └─ /run/current-system/sw/bin/niri
    ○ Active ··············· niri

  Quickshell Features
    ● Polkit ··············· Available
      └─ Authentication prompts
    ● IdleMonitor ·········· Available
      └─ Idle detection
    ● IdleInhibitor ········ Available
      └─ Prevent idle/sleep
    ● ShortcutInhibitor ···· Available
      └─ Allow shortcut management (niri)

  Optional Features
    ● accountsservice ······ Available
      └─ User accounts
    ● power-profiles-daemon  Available
      └─ Power profile management
    ● logind ··············· Available
      └─ Session management
    ● I2C/DDC ·············· 1 monitor(s) detected
      └─ External monitor brightness control
    ● Terminal ············· alacritty
    ● Network ·············· NetworkManager
      └─ NetworkManager present. Using NM API.
    ● matugen ·············· Installed
      └─ Dynamic theming
    ● dgop ················· Installed
      └─ System monitoring
    ● cava ················· Installed
      └─ Audio visualizer
    ● khal ················· Installed
      └─ Calendar events
    ● danksearch ··········· Installed
      └─ File search
    ○ fprintd ·············· Not installed
      └─ Fingerprint auth

  Config Files
    ● settings.json ········ Present
      └─ /home/cameron/.config/DankMaterialShell/settings.json
    ○ clsettings.json ······ Not yet created
      └─ /home/cameron/.config/DankMaterialShell/clsettings.json
    ● plugin_settings.json · Present
      └─ /home/cameron/.config/DankMaterialShell/plugin_settings.json
    ● session.json ········· Present
      └─ /home/cameron/.local/state/DankMaterialShell/session.json
    ● dms-colors.json ······ Present
      └─ /home/cameron/.cache/DankMaterialShell/dms-colors.json

  Services
    ● dms.service ·········· enabled, active
    ● greetd ··············· enabled

  Environment
    ○ QT_QPA_PLATFORMTHEME · Not set
    ○ QS_ICON_THEME ········ Not set

  ──────────────────────────────────────
  ✓ All checks passed!

Description

Locked the screen using dms ipc call lock lock through a niri keybind, then manually turned off my monitor and turned it back on after 5 seconds or so. In this instance. after seeing niri's red lockscreen of death for a second, the lockscreen actually recovered. Typically the red lockscreen stays until you call dms ipc call lock forceReset on a different tty.

Note: this does not happen when using the niri's power-off-monitors keybind action via Mod+P. This only occurs when the actual monitor turns off via its power button or through sleeping the machine. I'm also using DisplayPort to connect the monitor if that makes a difference.

Also posted to quickshell as the crash message encouraged me to post an issue there: https://github.com/quickshell-mirror/quickshell/issues/503 More error logs are found there.

Expected Behavior

I expected the lockscreen to appear again when turning on the monitor.

Steps to Reproduce & Installation Method

  1. Lock DMS via dms ipc call lock lock
  2. Turn off your monitor
  3. Wait a few seconds and turn your monitor back on
  4. Voilà! You now have a broken lockscreen.

Error Messages/Logs

(More error logs are found on the linked quickshell issue)

Journalctl -f logs
Jan 22 19:53:53 psychic-attack niri[11983]: 2026-01-23T03:53:53.212465Z DEBUG niri::backend::tty: device changed: 57857
Jan 22 19:53:53 psychic-attack niri[11983]: 2026-01-23T03:53:53.212537Z DEBUG niri::backend::tty: disconnecting connector: "DP-2"
Jan 22 19:53:53 psychic-attack lact[1716]: 2026-01-23T03:53:53.278965Z  INFO lact_daemon: got kernel drm subsystem event, reloading GPUs
Jan 22 19:53:53 psychic-attack lact[1716]: 2026-01-23T03:53:53.286254Z  INFO lact_daemon::server::handler: initialized amdgpu controller for GPU 1002:747E-1DA2:475D-0000:2d:00.0 at '/sys/class/drm/card1/device'
Jan 22 19:53:53 psychic-attack lact[1716]: 2026-01-23T03:53:53.286265Z  INFO lact_daemon::server::handler: GPU list reloaded with 1 devices, reapplying configuration
Jan 22 19:53:53 psychic-attack lact[1716]: 2026-01-23T03:53:53.286282Z  INFO lact_daemon::server::handler: configuration applied
Jan 22 19:53:53 psychic-attack dms[19986]:   INFO qt.qpa.wayland: There are no outputs - creating placeholder screen
Jan 22 19:53:53 psychic-attack dms[19986]:   WARN: Layershell screen does not corrospond to a real screen. Letting the compositor pick.
Jan 22 19:53:53 psychic-attack niri[11983]: 2026-01-23T03:53:53.352922Z  WARN niri::handlers::layer_shell: no output for new layer surface, closing
Jan 22 19:53:53 psychic-attack dms[19986]:   WARN: Layershell screen does not corrospond to a real screen. Letting the compositor pick.
Jan 22 19:53:53 psychic-attack niri[11983]: 2026-01-23T03:53:53.365981Z  WARN niri::handlers::layer_shell: no output for new layer surface, closing
Jan 22 19:53:53 psychic-attack dms[19986]: Input #0, wav, from '/nix/store/qw5igqd6j3ilczcdpnmxcm91w1kxxq7n-dms-shell-1.2.3+date=2026-01-16_a7cdb39/share/quickshell/dms/assets/sounds/freedesktop/audio-volume-change.wav':
Jan 22 19:53:53 psychic-attack dms[19986]:   WARN: pw_stream_connect failed "No such device"
Jan 22 19:53:53 psychic-attack dms[19986]:   Metadata:
Jan 22 19:53:53 psychic-attack dms[19986]:     encoder         : Lavf62.3.100
Jan 22 19:53:53 psychic-attack dms[19986]:   Duration: 00:00:00.06, bitrate: 1420 kb/s
Jan 22 19:53:53 psychic-attack dms[19986]:   Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Jan 22 19:53:53 psychic-attack dms[19986]: Input #0, wav, from '/nix/store/qw5igqd6j3ilczcdpnmxcm91w1kxxq7n-dms-shell-1.2.3+date=2026-01-16_a7cdb39/share/quickshell/dms/assets/sounds/freedesktop/message.wav':
Jan 22 19:53:53 psychic-attack dms[19986]:   Metadata:
Jan 22 19:53:53 psychic-attack dms[19986]:     encoder         : Lavf62.3.100
Jan 22 19:53:53 psychic-attack dms[19986]:   Duration: 00:00:00.31, bitrate: 1413 kb/s
Jan 22 19:53:53 psychic-attack dms[19986]:   Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Jan 22 19:53:53 psychic-attack dms[19986]: Input #0, wav, from '/nix/store/qw5igqd6j3ilczcdpnmxcm91w1kxxq7n-dms-shell-1.2.3+date=2026-01-16_a7cdb39/share/quickshell/dms/assets/sounds/freedesktop/message-new-instant.wav':
Jan 22 19:53:53 psychic-attack dms[19986]:   Metadata:
Jan 22 19:53:53 psychic-attack dms[19986]:     encoder         : Lavf62.3.100
Jan 22 19:53:53 psychic-attack dms[19986]:   Duration: 00:00:01.03, bitrate: 1411 kb/s
Jan 22 19:53:53 psychic-attack dms[19986]:   Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Jan 22 19:53:53 psychic-attack dms[19986]: Input #0, wav, from '/nix/store/qw5igqd6j3ilczcdpnmxcm91w1kxxq7n-dms-shell-1.2.3+date=2026-01-16_a7cdb39/share/quickshell/dms/assets/sounds/plasma/power-unplug.wav':
Jan 22 19:53:53 psychic-attack dms[19986]:   Metadata:
Jan 22 19:53:53 psychic-attack dms[19986]:     encoder         : Lavf62.3.100
Jan 22 19:53:53 psychic-attack dms[19986]:   Duration: 00:00:03.00, bitrate: 1411 kb/s
Jan 22 19:53:53 psychic-attack dms[19986]:   Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Jan 22 19:53:53 psychic-attack dms[19986]: Input #0, wav, from '/nix/store/qw5igqd6j3ilczcdpnmxcm91w1kxxq7n-dms-shell-1.2.3+date=2026-01-16_a7cdb39/share/quickshell/dms/assets/sounds/plasma/power-plug.wav':
Jan 22 19:53:53 psychic-attack dms[19986]:   Metadata:
Jan 22 19:53:53 psychic-attack dms[19986]:     encoder         : Lavf62.3.100
Jan 22 19:53:53 psychic-attack dms[19986]:   Duration: 00:00:03.00, bitrate: 1411 kb/s
Jan 22 19:53:53 psychic-attack dms[19986]:   Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Jan 22 19:53:53 psychic-attack dms[19986]:   WARN qml: WlrOutputService: Received empty outputs list
Jan 22 19:53:53 psychic-attack dms[19986]: Input #0, wav, from '/nix/store/qw5igqd6j3ilczcdpnmxcm91w1kxxq7n-dms-shell-1.2.3+date=2026-01-16_a7cdb39/share/quickshell/dms/assets/sounds/freedesktop/audio-volume-change.wav':
Jan 22 19:53:53 psychic-attack dms[19986]:   Metadata:
Jan 22 19:53:53 psychic-attack dms[19986]:     encoder         : Lavf62.3.100
Jan 22 19:53:53 psychic-attack dms[19986]:   Duration: 00:00:00.06, bitrate: 1420 kb/s
Jan 22 19:53:53 psychic-attack dms[19986]:   Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Jan 22 19:53:53 psychic-attack dms[19986]: Input #0, wav, from '/nix/store/qw5igqd6j3ilczcdpnmxcm91w1kxxq7n-dms-shell-1.2.3+date=2026-01-16_a7cdb39/share/quickshell/dms/assets/sounds/freedesktop/message.wav':
Jan 22 19:53:53 psychic-attack dms[19986]:   Metadata:
Jan 22 19:53:53 psychic-attack dms[19986]:     encoder         : Lavf62.3.100
Jan 22 19:53:53 psychic-attack dms[19986]:   Duration: 00:00:00.31, bitrate: 1413 kb/s
Jan 22 19:53:53 psychic-attack dms[19986]:   Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Jan 22 19:53:53 psychic-attack dms[19986]: Input #0, wav, from '/nix/store/qw5igqd6j3ilczcdpnmxcm91w1kxxq7n-dms-shell-1.2.3+date=2026-01-16_a7cdb39/share/quickshell/dms/assets/sounds/freedesktop/message-new-instant.wav':
Jan 22 19:53:53 psychic-attack dms[19986]:   Metadata:
Jan 22 19:53:53 psychic-attack dms[19986]:     encoder         : Lavf62.3.100
Jan 22 19:53:53 psychic-attack dms[19986]:   Duration: 00:00:01.03, bitrate: 1411 kb/s
Jan 22 19:53:53 psychic-attack dms[19986]:   Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Jan 22 19:53:53 psychic-attack dms[19986]: Input #0, wav, from '/nix/store/qw5igqd6j3ilczcdpnmxcm91w1kxxq7n-dms-shell-1.2.3+date=2026-01-16_a7cdb39/share/quickshell/dms/assets/sounds/plasma/power-unplug.wav':
Jan 22 19:53:53 psychic-attack dms[19986]:   Metadata:
Jan 22 19:53:53 psychic-attack dms[19986]:     encoder         : Lavf62.3.100
Jan 22 19:53:53 psychic-attack dms[19986]:   Duration: 00:00:03.00, bitrate: 1411 kb/s
Jan 22 19:53:53 psychic-attack dms[19986]:   Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Jan 22 19:53:53 psychic-attack dms[19986]: Input #0, wav, from '/nix/store/qw5igqd6j3ilczcdpnmxcm91w1kxxq7n-dms-shell-1.2.3+date=2026-01-16_a7cdb39/share/quickshell/dms/assets/sounds/plasma/power-plug.wav':
Jan 22 19:53:53 psychic-attack dms[19986]:   Metadata:
Jan 22 19:53:53 psychic-attack dms[19986]:     encoder         : Lavf62.3.100
Jan 22 19:53:53 psychic-attack dms[19986]:   Duration: 00:00:03.00, bitrate: 1411 kb/s
Jan 22 19:53:53 psychic-attack dms[19986]:   Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Jan 22 19:53:56 psychic-attack niri[11983]: 2026-01-23T03:53:56.683200Z DEBUG niri::backend::tty: device changed: 57857
Jan 22 19:53:56 psychic-attack niri[11983]: 2026-01-23T03:53:56.684985Z DEBUG niri::backend::tty: new connector: DP-2 "LG Electronics LG ULTRAGEAR 109NTCZ13227"
Jan 22 19:53:56 psychic-attack niri[11983]: 2026-01-23T03:53:56.684998Z DEBUG niri::backend::tty: connecting connector: DP-2
Jan 22 19:53:56 psychic-attack niri[11983]: 2026-01-23T03:53:56.685019Z  WARN niri::backend::tty: configured mode 2560x1440@144 could not be found, falling back to preferred
Jan 22 19:53:56 psychic-attack niri[11983]: 2026-01-23T03:53:56.685021Z DEBUG niri::backend::tty: picking mode: Mode { name: "2560x1440", clock: 604250, size: (2560, 1440), hsync: (2608, 2640, 2720), vsync: (1443, 1453, 1543), hskew: 0, vscan: 0, vrefresh: 144, mode_type: ModeTypeFlags(PREFERRED | DRIVER) }
Jan 22 19:53:56 psychic-attack niri[11983]: 2026-01-23T03:53:56.686465Z DEBUG niri::niri: putting output DP-2 at x=0 y=0
Jan 22 19:53:56 psychic-attack dms[19979]:   INFO  go: DWL: Bound wl_output id=20 registry_name=45
Jan 22 19:53:56 psychic-attack lact[1716]: 2026-01-23T03:53:56.749985Z  INFO lact_daemon: got kernel drm subsystem event, reloading GPUs
Jan 22 19:53:56 psychic-attack lact[1716]: 2026-01-23T03:53:56.757873Z  INFO lact_daemon::server::handler: initialized amdgpu controller for GPU 1002:747E-1DA2:475D-0000:2d:00.0 at '/sys/class/drm/card1/device'
Jan 22 19:53:56 psychic-attack lact[1716]: 2026-01-23T03:53:56.757885Z  INFO lact_daemon::server::handler: GPU list reloaded with 1 devices, reapplying configuration
Jan 22 19:53:56 psychic-attack lact[1716]: 2026-01-23T03:53:56.757901Z  INFO lact_daemon::server::handler: configuration applied
Jan 22 19:53:56 psychic-attack swww-daemon[12038]:    4935900ms [INFO]  BumpPool with: 1 buffers. Size: 14400Kb
Jan 22 19:53:56 psychic-attack swww-daemon[12039]:    4935975ms [INFO]  BumpPool with: 1 buffers. Size: 14400Kb
Jan 22 19:53:56 psychic-attack kernel: .quickshell-wra[42003]: segfault at 0 ip 0000000000000000 sp 00007ffd264836e8 error 14 likely on CPU 14 (core 6, socket 0)
Jan 22 19:53:56 psychic-attack kernel: Code: Unable to access opcode bytes at 0xffffffffffffffd6.
Jan 22 19:53:56 psychic-attack systemd-coredump[42004]: Process 42003 (.quickshell-wra) of user 1000 terminated abnormally with signal 11/SEGV, processing...
Jan 22 19:53:56 psychic-attack systemd[1]: Started Process Core Dump (PID 42004/UID 0).
Jan 22 19:53:56 psychic-attack dms[42005]:   WARN: QEventLoop: Cannot be used without QCoreApplication
Jan 22 19:53:56 psychic-attack dms[19986]:  ERROR: Quickshell has crashed under pid 42003 (Coredumps will be available under that pid.)
Jan 22 19:53:56 psychic-attack dms[19986]:  ERROR: Further crash information is stored under "/home/cameron/.cache/quickshell/crashes/6ffejqa9t"
Jan 22 19:53:56 psychic-attack dms[19986]:  ERROR: Quickshell has been restarted.
Jan 22 19:53:56 psychic-attack dms[19986]:   INFO: Launching config: "/nix/store/qw5igqd6j3ilczcdpnmxcm91w1kxxq7n-dms-shell-1.2.3+date=2026-01-16_a7cdb39/share/quickshell/dms/shell.qml"
Jan 22 19:53:56 psychic-attack dms[19986]:   INFO: Shell ID: "83ee072fb61342f5511efaac137d35a6" Path ID "83ee072fb61342f5511efaac137d35a6"
Jan 22 19:53:56 psychic-attack dms[19986]:   INFO: Saving logs to "/run/user/1000/quickshell/by-id/6ffwhta9t/log.qslog"
Jan 22 19:53:57 psychic-attack dms[42005]:   WARN qt.qpa.services: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: Connection already associated with an application ID")
Jan 22 19:53:57 psychic-attack systemd-timesyncd[1094]: Contacted time server 172.238.164.57:123 (2.nixos.pool.ntp.org).
Jan 22 19:53:58 psychic-attack dms[19986]:   INFO qml: AudioService: Sound effects enabled
Jan 22 19:53:58 psychic-attack dms[19986]:   INFO qml: NetworkService: Initializing...
Jan 22 19:53:58 psychic-attack dms[19986]:   INFO qml: PolkitService: Initialized successfully
Jan 22 19:53:58 psychic-attack dms[19986]:   INFO qml: IdleService: Initialized with idle monitoring support
Jan 22 19:53:58 psychic-attack dms[19986]:   WARN: Tried to register singleton PowerProfileWatcher_QMLTYPE_51(0x7fe7e575f240) which is not the root component of its file QUrl("qs:@/qs/Services/PowerProfileWatcher.qml")
Jan 22 19:53:58 psychic-attack dms[19986]:   WARN quickshell.I3.ipc: $I3SOCK is unset. Trying $SWAYSOCK.
Jan 22 19:53:58 psychic-attack dms[19986]:   WARN quickshell.I3.ipc: $SWAYSOCK and I3SOCK are unset. Cannot connect to socket.
Jan 22 19:53:58 psychic-attack dms[19986]:   WARN: $HYPRLAND_INSTANCE_SIGNATURE is unset. Cannot connect to hyprland.
Jan 22 19:53:58 psychic-attack dms[19986]:   WARN quickshell.service.notifications: Could not register notification server at org.freedesktop.Notifications, presumably because one is already registered.
Jan 22 19:53:58 psychic-attack dms[19986]:   WARN quickshell.service.notifications: Registration will be attempted again if the active service is unregistered.
Jan 22 19:53:58 psychic-attack dms[19986]:   INFO: Configuration Loaded
Jan 22 19:53:58 psychic-attack dms[19986]:   WARN qml: I18n: Falling back to built-in English strings
Jan 22 19:53:58 psychic-attack dms[19986]:   INFO qt.multimedia.ffmpeg: Using Qt multimedia with FFmpeg version 8.0 GPL version 3 or later
Jan 22 19:53:58 psychic-attack dms[19986]: Input #0, wav, from '/nix/store/qw5igqd6j3ilczcdpnmxcm91w1kxxq7n-dms-shell-1.2.3+date=2026-01-16_a7cdb39/share/quickshell/dms/assets/sounds/freedesktop/audio-volume-change.wav':
Jan 22 19:53:58 psychic-attack dms[19986]:   Metadata:
Jan 22 19:53:58 psychic-attack dms[19986]:     encoder         : Lavf62.3.100
Jan 22 19:53:58 psychic-attack dms[19986]:   Duration: 00:00:00.06, bitrate: 1420 kb/s
Jan 22 19:53:58 psychic-attack dms[19986]:   Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Jan 22 19:53:58 psychic-attack dms[19986]:   WARN quickshell.dbus.properties: Error updating properties of org.mpris.MediaPlayer2.playerctld/org/mpris/MediaPlayer2/org.mpris.MediaPlayer2 via GetAll
Jan 22 19:53:58 psychic-attack dms[19986]:   WARN quickshell.dbus.properties: QDBusError("com.github.altdesktop.playerctld.NoActivePlayer", "No player is being controlled by playerctld")
Jan 22 19:53:58 psychic-attack dms[19986]:   WARN quickshell.dbus.properties: Error updating properties of org.mpris.MediaPlayer2.playerctld/org/mpris/MediaPlayer2/org.mpris.MediaPlayer2.Player via GetAll
Jan 22 19:53:58 psychic-attack dms[19986]:   WARN quickshell.dbus.properties: QDBusError("com.github.altdesktop.playerctld.NoActivePlayer", "No player is being controlled by playerctld")
Jan 22 19:53:58 psychic-attack dms[19986]: Input #0, wav, from '/nix/store/qw5igqd6j3ilczcdpnmxcm91w1kxxq7n-dms-shell-1.2.3+date=2026-01-16_a7cdb39/share/quickshell/dms/assets/sounds/freedesktop/message.wav':
Jan 22 19:53:58 psychic-attack dms[19986]:   Metadata:
Jan 22 19:53:58 psychic-attack dms[19986]:     encoder         : Lavf62.3.100
Jan 22 19:53:58 psychic-attack dms[19986]:   Duration: 00:00:00.31, bitrate: 1413 kb/s
Jan 22 19:53:58 psychic-attack dms[19986]:   Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Jan 22 19:53:58 psychic-attack dms[19986]: Input #0, wav, from '/nix/store/qw5igqd6j3ilczcdpnmxcm91w1kxxq7n-dms-shell-1.2.3+date=2026-01-16_a7cdb39/share/quickshell/dms/assets/sounds/freedesktop/message-new-instant.wav':
Jan 22 19:53:58 psychic-attack dms[19986]:   Metadata:
Jan 22 19:53:58 psychic-attack dms[19986]:     encoder         : Lavf62.3.100
Jan 22 19:53:58 psychic-attack dms[19986]:   Duration: 00:00:01.03, bitrate: 1411 kb/s
Jan 22 19:53:58 psychic-attack dms[19986]:   Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Jan 22 19:53:58 psychic-attack dms[19986]:   WARN quickshell.service.polkit.listener: failed to register listener: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: An authentication agent already exists for the given subject
Jan 22 19:53:58 psychic-attack dms[19986]:   WARN quickshell.service.polkit: failed to register listener on path "/org/quickshell/PolkitAgent"
Jan 22 19:53:58 psychic-attack dms[19986]: Input #0, wav, from '/nix/store/qw5igqd6j3ilczcdpnmxcm91w1kxxq7n-dms-shell-1.2.3+date=2026-01-16_a7cdb39/share/quickshell/dms/assets/sounds/plasma/power-unplug.wav':
Jan 22 19:53:58 psychic-attack dms[19986]:   Metadata:
Jan 22 19:53:58 psychic-attack dms[19986]:     encoder         : Lavf62.3.100
Jan 22 19:53:58 psychic-attack dms[19986]:   Duration: 00:00:03.00, bitrate: 1411 kb/s
Jan 22 19:53:58 psychic-attack dms[19986]:   Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Jan 22 19:53:58 psychic-attack dms[19986]: Input #0, wav, from '/nix/store/qw5igqd6j3ilczcdpnmxcm91w1kxxq7n-dms-shell-1.2.3+date=2026-01-16_a7cdb39/share/quickshell/dms/assets/sounds/plasma/power-plug.wav':
Jan 22 19:53:58 psychic-attack dms[19986]:   Metadata:
Jan 22 19:53:58 psychic-attack dms[19986]:     encoder         : Lavf62.3.100
Jan 22 19:53:58 psychic-attack dms[19986]:   Duration: 00:00:03.00, bitrate: 1411 kb/s
Jan 22 19:53:58 psychic-attack dms[19986]:   Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Jan 22 19:53:58 psychic-attack dms[19986]:   WARN qt.qpa.services: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: Connection already associated with an application ID")
Jan 22 19:53:58 psychic-attack dms[19986]:   WARN qt.core.qfuture.continuations: Parent future has 2 result(s), but only the first result will be handled in the continuation.
Jan 22 19:53:58 psychic-attack dms[19986]:   INFO qml: Detected distribution: NixOS 25.11 (Xantusia)
Jan 22 19:53:58 psychic-attack dms[19986]:   INFO qml: CompositorService: Detected Niri with socket: /run/user/1000/niri.wayland-1.11983.sock
Jan 22 19:53:58 psychic-attack dms[19986]: Input #0, wav, from '/nix/store/qw5igqd6j3ilczcdpnmxcm91w1kxxq7n-dms-shell-1.2.3+date=2026-01-16_a7cdb39/share/quickshell/dms/assets/sounds/freedesktop/audio-volume-change.wav':
Jan 22 19:53:58 psychic-attack dms[19986]:   Metadata:
Jan 22 19:53:58 psychic-attack dms[19986]:     encoder         : Lavf62.3.100
Jan 22 19:53:58 psychic-attack dms[19986]:   Duration: 00:00:00.06, bitrate: 1420 kb/s
Jan 22 19:53:58 psychic-attack dms[19986]:   Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Jan 22 19:53:58 psychic-attack dms[19986]: Input #0, wav, from '/nix/store/qw5igqd6j3ilczcdpnmxcm91w1kxxq7n-dms-shell-1.2.3+date=2026-01-16_a7cdb39/share/quickshell/dms/assets/sounds/freedesktop/message.wav':
Jan 22 19:53:58 psychic-attack dms[19986]:   Metadata:
Jan 22 19:53:58 psychic-attack dms[19986]:     encoder         : Lavf62.3.100
Jan 22 19:53:58 psychic-attack dms[19986]:   Duration: 00:00:00.31, bitrate: 1413 kb/s
Jan 22 19:53:58 psychic-attack dms[19986]:   Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Jan 22 19:53:58 psychic-attack dms[19986]:   INFO qml: NiriService: Generated wpblur config at /home/cameron/.config/niri/dms/wpblur.kdl
Jan 22 19:53:58 psychic-attack dms[19986]:   INFO qml: NetworkService: Network capability detected, using DMSNetworkService
Jan 22 19:53:58 psychic-attack dms[19986]:   INFO qml: NetworkService: Switched to DMSNetworkService, networkAvailable: true
Jan 22 19:53:58 psychic-attack dms[19986]:   INFO qml: DMSService: Connected (API v24, CLI 1.2.3+date=2026-01-16_a7cdb39) - ["plugins","network","loginctl","freedesktop","gamma","bluetooth","browser","extworkspace","brightness","wlroutput","evdev","clipboard"]
Jan 22 19:53:58 psychic-attack dms[19986]:   INFO qml: WlrOutputService: wlr-output-management capability detected
Jan 22 19:53:58 psychic-attack dms[19986]:   INFO qml: ExtWorkspaceService: ext-workspace available but compositor has native support
Jan 22 19:53:58 psychic-attack dms[19986]: Input #0, wav, from '/nix/store/qw5igqd6j3ilczcdpnmxcm91w1kxxq7n-dms-shell-1.2.3+date=2026-01-16_a7cdb39/share/quickshell/dms/assets/sounds/freedesktop/message-new-instant.wav':
Jan 22 19:53:58 psychic-attack dms[19986]:   Metadata:
Jan 22 19:53:58 psychic-attack dms[19986]:     encoder         : Lavf62.3.100
Jan 22 19:53:58 psychic-attack dms[19986]:   Duration: 00:00:01.03, bitrate: 1411 kb/s
Jan 22 19:53:58 psychic-attack dms[19986]:   Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Jan 22 19:53:58 psychic-attack dms[19986]: Input #0, wav, from '/nix/store/qw5igqd6j3ilczcdpnmxcm91w1kxxq7n-dms-shell-1.2.3+date=2026-01-16_a7cdb39/share/quickshell/dms/assets/sounds/plasma/power-plug.wav':
Jan 22 19:53:58 psychic-attack dms[19986]:   Metadata:
Jan 22 19:53:58 psychic-attack dms[19986]:     encoder         : Lavf62.3.100
Jan 22 19:53:58 psychic-attack dms[19986]:   Duration: 00:00:03.00, bitrate: 1411 kb/s
Jan 22 19:53:58 psychic-attack dms[19986]:   Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Jan 22 19:53:58 psychic-attack dms[19986]: Input #0, wav, from '/nix/store/qw5igqd6j3ilczcdpnmxcm91w1kxxq7n-dms-shell-1.2.3+date=2026-01-16_a7cdb39/share/quickshell/dms/assets/sounds/plasma/power-unplug.wav':
Jan 22 19:53:58 psychic-attack dms[19986]:   Metadata:
Jan 22 19:53:58 psychic-attack dms[19986]:     encoder         : Lavf62.3.100
Jan 22 19:53:58 psychic-attack dms[19986]:   Duration: 00:00:03.00, bitrate: 1411 kb/s
Jan 22 19:53:58 psychic-attack dms[19986]:   Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Jan 22 19:53:58 psychic-attack systemd-coredump[42006]: [🡕] Process 42003 (.quickshell-wra) of user 1000 dumped core.

                                                        Module libatomic.so.1 without build-id.
                                                        Module libnuma.so.1 without build-id.
                                                        Module libvmaf.so.3 without build-id.
                                                        Module libsharpyuv.so.0 without build-id.
                                                        Module libcjson.so.1 without build-id.
                                                        Module libmbedcrypto.so.16 without build-id.
                                                        Module libnettle.so.8 without build-id.
                                                        Module libhogweed.so.6 without build-id.
                                                        Module libtasn1.so.6 without build-id.
                                                        Module libp11-kit.so.0 without build-id.
                                                        Module libvorbisfile.so.3 without build-id.
                                                        Module libOpenCL.so.1 without build-id.
                                                        Module libvdpau.so.1 without build-id.
                                                        Module libva-drm.so.2 without build-id.
                                                        Module libsoxr.so.0 without build-id.
                                                        Module libva.so.2 without build-id.
                                                        Module libxvidcore.so.4 without build-id.
                                                        Module libx265.so.215 without build-id.
                                                        Module libx264.so.164 without build-id.
                                                        Module libwebp.so.7 without build-id.
                                                        Module libtheoradec.so.2 without build-id.
                                                        Module libtheoraenc.so.2 without build-id.
                                                        Module libSvtAv1Enc.so.3 without build-id.
                                                        Module libspeex.so.1 without build-id.
                                                        Module libopenjp2.so.7 without build-id.
                                                        Module liboapv.so.2 without build-id.
                                                        Module libaom.so.3 without build-id.
                                                        Module libzvbi.so.0 without build-id.
                                                        Module libdav1d.so.7 without build-id.
                                                        Module libwebpmux.so.3 without build-id.
                                                        Module libvpx.so.11 without build-id.
                                                        Module libssh.so.4 without build-id.
                                                        Module libsrt.so.1.5 without build-id.
                                                        Module librist.so.4 without build-id.
                                                        Module libgnutls.so.30 without build-id.
                                                        Module libgmp.so.10 without build-id.
                                                        Module libbluray.so.2 without build-id.
                                                        Module libopenmpt.so.0 without build-id.
                                                        Module libavutil.so.60 without build-id.
                                                        Module libswscale.so.9 without build-id.
                                                        Module libswresample.so.6 without build-id.
                                                        Module libavcodec.so.62 without build-id.
                                                        Module libavformat.so.62 without build-id.
                                                        Module libpciaccess.so.0 without build-id.
                                                        Module liblzma.so.5 without build-id.
                                                        Module libdrm_intel.so.1 without build-id.
                                                        Module libdrm_amdgpu.so.1 without build-id.
                                                        Module libxshmfence.so.1 without build-id.
                                                        Module libxcb-sync.so.1 without build-id.
                                                        Module libsensors.so.5 without build-id.
                                                        Module libxcb-present.so.0 without build-id.
                                                        Module libxcb-dri3.so.0 without build-id.
                                                        Module libxcb-xfixes.so.0 without build-id.
                                                        Module libxcb-randr.so.0 without build-id.
                                                        Module libX11-xcb.so.1 without build-id.
                                                        Module libmp3lame.so.0 without build-id.
                                                        Module libmpg123.so.0 without build-id.
                                                        Module libogg.so.0 without build-id.
                                                        Module libopus.so.0 without build-id.
                                                        Module libvorbisenc.so.2 without build-id.
                                                        Module libvorbis.so.0 without build-id.
                                                        Module libFLAC.so.14 without build-id.
                                                        Module libsndfile.so.1 without build-id.
                                                        Module libpulsecommon-17.0.so without build-id.
                                                        Module libpulse.so.0 without build-id.
                                                        Module libpipewire-module-session-manager.so without build-id.
                                                        Module libpipewire-module-metadata.so without build-id.
                                                        Module libpipewire-module-adapter.so without build-id.
                                                        Module libpipewire-module-client-device.so without build-id.
                                                        Module libpipewire-module-client-node.so without build-id.
                                                        Module libpipewire-module-protocol-native.so without build-id.
                                                        Module libpipewire-module-rt.so without build-id.
                                                        Module libspa-dbus.so without build-id.
                                                        Module libspa-journal.so without build-id.
                                                        Module libspa-support.so without build-id.
                                                        Module libdatrie.so.1 without build-id.
                                                        Module libxml2.so.16 without build-id.
                                                        Module libjson-glib-1.0.so.0 without build-id.
                                                        Module libjpeg.so.62 without build-id.
                                                        Module libxcb-shm.so.0 without build-id.
                                                        Module libxcb-render.so.0 without build-id.
                                                        Module libXrender.so.1 without build-id.
                                                        Module libthai.so.0 without build-id.
                                                        Module libXinerama.so.1 without build-id.
                                                        Module libXrandr.so.2 without build-id.
                                                        Module libXcomposite.so.1 without build-id.
                                                        Module libXdamage.so.1 without build-id.
                                                        Module libXcursor.so.1 without build-id.
                                                        Module libXfixes.so.3 without build-id.
                                                        Module libtinysparql-3.0.so.0 without build-id.
                                                        Module libXi.so.6 without build-id.
                                                        Module libepoxy.so.0 without build-id.
                                                        Module libfribidi.so.0 without build-id.
                                                        Module libpangoft2-1.0.so.0 without build-id.
                                                        Module libpango-1.0.so.0 without build-id.
                                                        Module libpangocairo-1.0.so.0 without build-id.
                                                        Module libunistring.so.5 without build-id.
                                                        Module libpsl.so.5 without build-id.
                                                        Module libssh2.so.1 without build-id.
                                                        Module libidn2.so.0 without build-id.
                                                        Module libnghttp2.so.14 without build-id.
                                                        Module libngtcp2.so.16 without build-id.
                                                        Module libngtcp2_crypto_ossl.so.0 without build-id.
                                                        Module libnghttp3.so.9 without build-id.
                                                        Module libduktape.so.207 without build-id.
                                                        Module libgomp.so.1 without build-id.
                                                        Module libpxbackend-1.0.so without build-id.
                                                        Module libbrotlicommon.so.1 without build-id.
                                                        Module libkeyutils.so.1 without build-id.
                                                        Module libkrb5support.so.0 without build-id.
                                                        Module libcom_err.so.3 without build-id.
                                                        Module libk5crypto.so.3 without build-id.
                                                        Module libkrb5.so.3 without build-id.
                                                        Module libgraphite2.so.3 without build-id.
                                                        Module libexpat.so.1 without build-id.
                                                        Module libbz2.so.1 without build-id.
                                                        Module libcap.so.2 without build-id.
                                                        Module libcap-ng.so.0 without build-id.
                                                        Module libpcre2-16.so.0 without build-id.
                                                        Module libb2.so.1 without build-id.
                                                        Module libdouble-conversion.so.3 without build-id.
                                                        Module libicudata.so.76 without build-id.
                                                        Module libicuuc.so.76 without build-id.
                                                        Module libicui18n.so.76 without build-id.
                                                        Module libproxy.so.1 without build-id.
                                                        Module libzstd.so.1 without build-id.
                                                        Module libbrotlidec.so.1 without build-id.
                                                        Module libgssapi_krb5.so.2 without build-id.
                                                        Module libXext.so.6 without build-id.
                                                        Module libfreetype.so.6 without build-id.
                                                        Module libmd4c.so.0 without build-id.
                                                        Module libharfbuzz.so.0 without build-id.
                                                        Module libpng16.so.16 without build-id.
                                                        Module libX11.so.6 without build-id.
                                                        Module libfontconfig.so.1 without build-id.
                                                        Module libvulkan.so without build-id.
                                                        Module libpcre2-8.so.0 without build-id.
                                                        Module libselinux.so.1 without build-id.
                                                        Module libz.so.1 without build-id.
                                                        Module libaudit.so.1 without build-id.
                                                        Module libXdmcp.so.6 without build-id.
                                                        Module libXau.so.6 without build-id.
                                                        Module libffi.so.8 without build-id.
                                                        Module libGLdispatch.so.0 without build-id.
                                                        Module libgcc_s.so.1 without build-id.
                                                        Module libstdc++.so.6 without build-id.
                                                        Module libOpenGL.so.0 without build-id.
                                                        Module libGLX.so.0 without build-id.
                                                        Module libpolkit-gobject-1.so.0 without build-id.
                                                        Module libpolkit-agent-1.so.0 without build-id.
                                                        Module libpam.so.0 without build-id.
                                                        Module libpipewire-0.3.so.0 without build-id.
                                                        Module libxcb.so.1 without build-id.
                                                        Module libxkbcommon.so.0 without build-id.
                                                        Module libEGL.so.1 without build-id.
                                                        Module libgbm.so.1 without build-id.
                                                        Module libdrm.so.2 without build-id.
                                                        Module libjemalloc.so.2 without build-id.
                                                        Stack trace of thread 42003:
                                                        #0  0x0000000000000000 n/a (n/a + 0x0)
                                                        #1  0x00007f39928900b7 _ZN3QV414QObjectWrapper13wrap_slowPathEPNS_15ExecutionEngineEP7QObject (libQt6Qml.so.6 + 0x2900b7)
                                                        #2  0x00007f399281402d _ZN3QV414QObjectWrapper4wrapEPNS_15ExecutionEngineEP7QObject (libQt6Qml.so.6 + 0x21402d)
                                                        #3  0x00007f399280e8d3 _ZN3QV415ExecutionEngine8fromDataE9QMetaTypePKvPNS_4Heap6ObjectEij (libQt6Qml.so.6 + 0x20e8d3)
                                                        #4  0x00007f39928c9b6c _ZN3QV44Heap8Sequence21createElementWrappersEPKv (libQt6Qml.so.6 + 0x2c9b6c)
                                                        #5  0x00007f39928cb448 _ZN3QV417SequencePrototype8fromDataEPNS_15ExecutionEngineE9QMetaType13QMetaSequencePKv (libQt6Qml.so.6 + 0x2cb448)
                                                        #6  0x00007f39927f5a3b _ZZN3QV415ExecutionEngine8fromDataE9QMetaTypePKvPNS_4Heap6ObjectEijENKUl13QMetaSequenceE_clES7_.isra.0 (libQt6Qml.so.6 + 0x1f5a3b)
                                                        #7  0x00007f399280eb3d _ZN3QV415ExecutionEngine8fromDataE9QMetaTypePKvPNS_4Heap6ObjectEij (libQt6Qml.so.6 + 0x20eb3d)
                                                        #8  0x00007f39928ff629 _ZN3QV44Heap24VariantAssociationObject4initERK4QMapI7QString8QVariantEPNS0_6ObjectEi6QFlagsINS0_15ReferenceObject4FlagEE (libQt6Qml.so.6 + 0x2ff629)
                                                        #9  0x00007f39928ff7ce _ZN3QV427VariantAssociationPrototype15fromQVariantMapEPNS_15ExecutionEngineERK4QMapI7QString8QVariantEPNS_4Heap6ObjectEi6QFlagsINS9_15ReferenceObject4FlagEE (libQt6Qml.so.6 + 0x2ff7ce)
                                                        #10 0x00007f399280e72b _ZN3QV415ExecutionEngine8fromDataE9QMetaTypePKvPNS_4Heap6ObjectEij (libQt6Qml.so.6 + 0x20e72b)
                                                        #11 0x00007f39928ff479 _ZN3QV44Heap14createDetachedI4QMapI7QString8QVariantEEEPNS0_24VariantAssociationObjectEPNS_15ExecutionEngineERKT_.isra.0 (libQt6Qml.so.6 + 0x2ff479)
                                                        #12 0x00007f3992adf6d3 _ZN17QQmlVMEMetaObject16writeVarPropertyEiRKN3QV45ValueE (libQt6Qml.so.6 + 0x4df6d3)
                                                        #13 0x00007f399294d07a _ZN11QQmlBinding9slowWriteERK16QQmlPropertyDataS2_RKN3QV45ValueEb6QFlagsINS0_9WriteFlagEE (libQt6Qml.so.6 + 0x34d07a)
                                                        #14 0x00007f3992950f85 _ZN14GenericBindingILi0EE5writeERKN3QV45ValueEb6QFlagsIN16QQmlPropertyData9WriteFlagEE (libQt6Qml.so.6 + 0x350f85)
                                                        #15 0x00007f399294a629 _ZN11QQmlBinding8doUpdateERKN24QQmlJavaScriptExpression13DeleteWatcherE6QFlagsIN16QQmlPropertyData9WriteFlagEERN3QV45ScopeE (libQt6Qml.so.6 + 0x34a629)
                                                        #16 0x00007f399294e510 _ZN11QQmlBinding6updateE6QFlagsIN16QQmlPropertyData9WriteFlagEE (libQt6Qml.so.6 + 0x34e510)
                                                        #17 0x00007f3992891c22 _ZN3QV414QObjectWrapper11getPropertyEPNS_15ExecutionEngineEPNS_4Heap6ObjectEP7QObjectPK16QQmlPropertyData6QFlagsINS0_4FlagEE (libQt6Qml.so.6 + 0x291c22)
                                                        #18 0x00007f39928824ea _ZN3QV418QQmlContextWrapper27lookupContextObjectPropertyEPNS_6LookupEPNS_15ExecutionEngineEPNS_5ValueE (libQt6Qml.so.6 + 0x2824ea)
                                                        #19 0x00007f39744fee31 n/a (n/a + 0x0)
                                                        #20 0x00007f399290f57e _ZN3QV44Moth3VME4execEPNS_17JSTypesStackFrameEPNS_15ExecutionEngineE (libQt6Qml.so.6 + 0x30f57e)
                                                        #21 0x00007f3992830e64 _ZN3QV4L6doCallEPNS_8FunctionEPKNS_5ValueES4_iPNS_16ExecutionContextE (libQt6Qml.so.6 + 0x230e64)
                                                        #22 0x00007f39929c61f6 _ZN24QQmlJavaScriptExpression8evaluateEPN3QV48CallDataEPb (libQt6Qml.so.6 + 0x3c61f6)
                                                        #23 0x00007f399294a3b2 _ZN11QQmlBinding8evaluateEPb (libQt6Qml.so.6 + 0x34a3b2)
                                                        #24 0x00007f399294a4ea _ZN11QQmlBinding8doUpdateERKN24QQmlJavaScriptExpression13DeleteWatcherE6QFlagsIN16QQmlPropertyData9WriteFlagEERN3QV45ScopeE (libQt6Qml.so.6 + 0x34a4ea)
                                                        #25 0x00007f399294e510 _ZN11QQmlBinding6updateE6QFlagsIN16QQmlPropertyData9WriteFlagEE (libQt6Qml.so.6 + 0x34e510)
                                                        #26 0x00007f39929fbd5b _ZN17QQmlObjectCreator8finalizeER26QQmlInstantiationInterrupt (libQt6Qml.so.6 + 0x3fbd5b)
                                                        #27 0x00007f39929c0f1c _ZN20QQmlIncubatorPrivate8incubateER26QQmlInstantiationInterrupt (libQt6Qml.so.6 + 0x3c0f1c)
                                                        #28 0x00007f39929c1d2f _ZN17QQmlEnginePrivate8incubateER13QQmlIncubatorRK14QQmlRefPointerI15QQmlContextDataE (libQt6Qml.so.6 + 0x3c1d2f)
                                                        #29 0x00007f3992d7289a _ZN24QQmlDelegateModelPrivate6objectEN18QQmlListCompositor5GroupEiN13QQmlIncubator14IncubationModeE (libQt6QmlModels.so.6 + 0xab89a)
                                                        #30 0x00007f399400827e _ZN14QQuickRepeater12modelUpdatedERK13QQmlChangeSetb (libQt6Quick.so.6 + 0x60827e)
                                                        #31 0x00007f3991c2af51 _Z10doActivateILb0EEvP7QObjectiPPv (libQt6Core.so.6 + 0x22af51)
                                                        #32 0x00007f3992d22557 _ZN17QQmlInstanceModel12modelUpdatedERK13QQmlChangeSetb (libQt6QmlModels.so.6 + 0x5b557)
                                                        #33 0x00007f3992d65c3d _ZThn120_N24QQmlDelegateModelPrivate16emitModelUpdatedERK13QQmlChangeSetb (libQt6QmlModels.so.6 + 0x9ec3d)
                                                        #34 0x00007f3992d6a67d _ZN29QQmlDelegateModelGroupPrivate16emitModelUpdatedEb (libQt6QmlModels.so.6 + 0xa367d)
                                                        #35 0x00007f3992d6eacb _ZN24QQmlDelegateModelPrivate11emitChangesEv (libQt6QmlModels.so.6 + 0xa7acb)
                                                        #36 0x00007f3992d760e4 _ZN17QQmlDelegateModel16_q_itemsInsertedEii (libQt6QmlModels.so.6 + 0xaf0e4)
                                                        #37 0x00007f3991c2af51 _Z10doActivateILb0EEvP7QObjectiPPv (libQt6Core.so.6 + 0x22af51)
                                                        #38 0x00007f3991e6301a _ZN18QAbstractItemModel12rowsInsertedERK11QModelIndexiiNS_14QPrivateSignalE (libQt6Core.so.6 + 0x46301a)
                                                        #39 0x00007f3991e723d7 _ZN18QAbstractItemModel13endInsertRowsEv (libQt6Core.so.6 + 0x4723d7)
                                                        #40 0x000055759fe81411 _ZN11ScriptModel18updateValuesUniqueERK5QListI8QVariantE (/nix/store/453ml3r9gwlc49k21r1sn7jk71dcn8l8-quickshell-wrapped-0.2.1/bin/.quickshell-wrapped + 0x1c0411)
                                                        #41 0x000055759fe81fdb _ZN11ScriptModel9setValuesERK5QListI8QVariantE (/nix/store/453ml3r9gwlc49k21r1sn7jk71dcn8l8-quickshell-wrapped-0.2.1/bin/.quickshell-wrapped + 0x1c0fdb)
                                                        #42 0x00007f3992a21811 _ZNK16QQmlPropertyData13writePropertyEP7QObjectPv6QFlagsINS_9WriteFlagEE.isra.0 (libQt6Qml.so.6 + 0x421811)
                                                        #43 0x00007f3992a286f5 _ZN19QQmlPropertyPrivate5writeEP7QObjectRK16QQmlPropertyDataRK8QVariantRK14QQmlRefPointerI15QQmlContextDataE6QFlagsINS2_9WriteFlagEE (libQt6Qml.so.6 + 0x4286f5)
                                                        #44 0x00007f399294cec7 _ZN11QQmlBinding9slowWriteERK16QQmlPropertyDataS2_RKN3QV45ValueEb6QFlagsINS0_9WriteFlagEE (libQt6Qml.so.6 + 0x34cec7)
                                                        #45 0x00007f3992950f85 _ZN14GenericBindingILi0EE5writeERKN3QV45ValueEb6QFlagsIN16QQmlPropertyData9WriteFlagEE (libQt6Qml.so.6 + 0x350f85)
                                                        #46 0x00007f399294a629 _ZN11QQmlBinding8doUpdateERKN24QQmlJavaScriptExpression13DeleteWatcherE6QFlagsIN16QQmlPropertyData9WriteFlagEERN3QV45ScopeE (libQt6Qml.so.6 + 0x34a629)
                                                        #47 0x00007f399294e510 _ZN11QQmlBinding6updateE6QFlagsIN16QQmlPropertyData9WriteFlagEE (libQt6Qml.so.6 + 0x34e510)
                                                        #48 0x00007f39929f9056 _ZN12QQmlNotifier10emitNotifyEP20QQmlNotifierEndpointPPv (libQt6Qml.so.6 + 0x3f9056)
                                                        #49 0x00007f3991c2a890 _Z10doActivateILb0EEvP7QObjectiPPv (libQt6Core.so.6 + 0x22a890)
                                                        #50 0x00007f399288d7fc _ZN3QV414QObjectWrapper11setPropertyEPNS_15ExecutionEngineEP7QObjectPK16QQmlPropertyDataRKNS_5ValueE (libQt6Qml.so.6 + 0x28d7fc)
                                                        #51 0x00007f399288ee1e _ZN3QV414QObjectWrapper14setQmlPropertyEPNS_15ExecutionEngineERK14QQmlRefPointerI15QQmlContextDataEP7QObjectPNS_6StringE6QFlagsINS0_4FlagEERKNS_5ValueE (libQt6Qml.so.6 + 0x28ee1e)
                                                        #52 0x00007f399287ef80 _ZN3QV418QQmlContextWrapper10virtualPutEPNS_7ManagedENS_11PropertyKeyERKNS_5ValueEPS4_ (libQt6Qml.so.6 + 0x27ef80)
                                                        #53 0x00007f39927dbfc9 _ZN3QV416ExecutionContext11setPropertyEPNS_6StringERKNS_5ValueE (libQt6Qml.so.6 + 0x1dbfc9)
                                                        #54 0x00007f39928b7cef _ZN3QV47Runtime15StoreNameSloppy4callEPNS_15ExecutionEngineEiRKNS_5ValueE (libQt6Qml.so.6 + 0x2b7cef)
                                                        #55 0x00007f397103639c n/a (n/a + 0x0)
                                                        #56 0x00007f399290f57e _ZN3QV44Moth3VME4execEPNS_17JSTypesStackFrameEPNS_15ExecutionEngineE (libQt6Qml.so.6 + 0x30f57e)
                                                        #57 0x00007f399283756f _ZL9qfoDoCallPKN3QV424JavaScriptFunctionObjectEPKNS_5ValueES5_i (libQt6Qml.so.6 + 0x23756f)
                                                        #58 0x00007f39928bd825 _ZN3QV47Runtime28CallQmlContextPropertyLookup4callEPNS_15ExecutionEngineEjPNS_5ValueEi (libQt6Qml.so.6 + 0x2bd825)
                                                        #59 0x00007f3992909a7e _ZN3QV44Moth3VME9interpretEPNS_17JSTypesStackFrameEPNS_15ExecutionEngineEPKc (libQt6Qml.so.6 + 0x309a7e)
                                                        #60 0x00007f399290f65f _ZN3QV44Moth3VME4execEPNS_17JSTypesStackFrameEPNS_15ExecutionEngineE (libQt6Qml.so.6 + 0x30f65f)
                                                        #61 0x00007f3992830e64 _ZN3QV4L6doCallEPNS_8FunctionEPKNS_5ValueES4_iPNS_16ExecutionContextE (libQt6Qml.so.6 + 0x230e64)
                                                        #62 0x00007f399283134f _ZN3QV48Function4callEP7QObjectPPvPK9QMetaTypeiPNS_16ExecutionContextE (libQt6Qml.so.6 + 0x23134f)
                                                        #63 0x00007f39929c679c _ZN24QQmlJavaScriptExpression8evaluateEPPvPK9QMetaTypei (libQt6Qml.so.6 + 0x3c679c)
                                                        ELF object binary architecture: AMD x86-64
Jan 22 19:53:58 psychic-attack niri[11983]: 2026-01-23T03:53:58.618135Z  INFO niri::niri: refusing lock as already locked with an active client
Jan 22 19:53:58 psychic-attack niri[11983]: 2026-01-23T03:53:58.618174Z DEBUG niri::niri: ignoring lock surface from an unrelated client
Jan 22 19:53:58 psychic-attack dms[19986]:   WARN qt.svg: /run/current-system/sw/share/icons/hicolor/scalable/apps/Alacritty.svg:444:273: Could not resolve property: #linearGradient10962
Jan 22 19:53:58 psychic-attack dms[19986]:   WARN qt.svg: /run/current-system/sw/share/icons/hicolor/scalable/apps/Alacritty.svg:444:273: Could not resolve property: #linearGradient10962
Jan 22 19:53:58 psychic-attack dms[19986]:   WARN qt.svg: /run/current-system/sw/share/icons/hicolor/scalable/apps/Alacritty.svg:444:273: Could not resolve property: #linearGradient10962
Jan 22 19:53:58 psychic-attack systemd[1]: systemd-coredump@5-20481-42004_42005-0.service: Deactivated successfully.
Jan 22 19:53:58 psychic-attack systemd[1]: systemd-coredump@5-20481-42004_42005-0.service: Consumed 1.678s CPU time, 902.3M memory peak, 26.8M written to disk.
Jan 22 19:53:58 psychic-attack dms[19986]:   INFO qml: NiriService: Loaded 1 outputs
Jan 22 19:53:58 psychic-attack polkitd[10139]: Unregistered Authentication Agent for unix-session:8 (system bus name :1.529, object path /org/quickshell/PolkitAgent, locale en_US.UTF-8) (disconnected from bus)
Jan 22 19:53:58 psychic-attack dms[19986]:   WARN quickshell.service.sni.host: Error reading "RegisteredStatusNotifierItems" property of watcher org.kde.StatusNotifierWatcher
Jan 22 19:53:58 psychic-attack dms[19986]:   WARN quickshell.service.sni.host: QDBusError("org.freedesktop.DBus.Error.NoReply", "Message recipient disconnected from message bus without replying")
Jan 22 19:53:58 psychic-attack dms[19986]:   INFO qml: CompositorService: Detected Niri with socket: /run/user/1000/niri.wayland-1.11983.sock
Jan 22 19:53:58 psychic-attack dms[19986]:   INFO qml: NiriService: Generated wpblur config at /home/cameron/.config/niri/dms/wpblur.kdl
Jan 22 19:53:58 psychic-attack dms[19986]:   WARN scene: QML EmojiLauncher at file:///home/cameron/.config/DankMaterialShell/plugins/emojiLauncher/EmojiLauncher.qml[6:1]: Created graphical object was not placed in the graphics scene.
Jan 22 19:53:58 psychic-attack dms[19986]:   WARN: file:///home/cameron/.config/DankMaterialShell/plugins/emojiLauncher/EmojiLauncher.qml: Setting initial properties failed: EmojiLauncher does not have a property called pluginId
Jan 22 19:53:58 psychic-attack dms[19986]:   INFO qml: DankBar: Plugin loaded: emojiLauncher
Jan 22 19:53:58 psychic-attack dms[19986]:   INFO qml: SessionService: Native inhibitor available: true
Jan 22 19:53:58 psychic-attack dms[19986]:   INFO qml: NiriService: Generated layout config at /home/cameron/.config/niri/dms/layout.kdl
Jan 22 19:53:58 psychic-attack dms[19986]:   INFO qml: NiriService: Generated alttab config at /home/cameron/.config/niri/dms/alttab.kdl
Jan 22 19:53:59 psychic-attack dms[19986]:   WARN qt.svg: /run/current-system/sw/share/icons/hicolor/scalable/apps/Alacritty.svg:444:273: Could not resolve property: #linearGradient10962
Jan 22 19:53:59 psychic-attack systemd-logind[1499]: Watching system buttons on /dev/input/event2 (XIUDI XD60 Rev 3 System Control)
Jan 22 19:53:59 psychic-attack lact[1716]: 2026-01-23T03:53:59.558910Z  INFO lact_daemon: got kernel drm subsystem event, reloading GPUs
Jan 22 19:53:59 psychic-attack lact[1716]: 2026-01-23T03:53:59.566209Z  INFO lact_daemon::server::handler: initialized amdgpu controller for GPU 1002:747E-1DA2:475D-0000:2d:00.0 at '/sys/class/drm/card1/device'
Jan 22 19:53:59 psychic-attack lact[1716]: 2026-01-23T03:53:59.566219Z  INFO lact_daemon::server::handler: GPU list reloaded with 1 devices, reapplying configuration
Jan 22 19:53:59 psychic-attack lact[1716]: 2026-01-23T03:53:59.566235Z  INFO lact_daemon::server::handler: configuration applied
Jan 22 19:53:59 psychic-attack niri[11983]: 2026-01-23T03:53:59.619041Z DEBUG niri::backend::tty: device changed: 57857
Jan 22 19:53:59 psychic-attack niri[11983]: 2026-01-23T03:53:59.619282Z DEBUG niri::backend::tty: pausing session
Jan 22 19:54:10 psychic-attack niri[11983]: 2026-01-23T03:54:10.666696Z DEBUG niri::backend::tty: skipping UdevEvent::Changed as session is inactive
Jan 22 19:54:10 psychic-attack systemd-logind[1499]: Watching system buttons on /dev/input/event2 (XIUDI XD60 Rev 3 System Control)
Jan 22 19:54:10 psychic-attack niri[11983]: 2026-01-23T03:54:10.688429Z DEBUG niri::backend::tty: resuming session
Jan 22 19:54:10 psychic-attack lact[1716]: 2026-01-23T03:54:10.724359Z  INFO lact_daemon: got kernel drm subsystem event, reloading GPUs
Jan 22 19:54:10 psychic-attack lact[1716]: 2026-01-23T03:54:10.731475Z  INFO lact_daemon::server::handler: initialized amdgpu controller for GPU 1002:747E-1DA2:475D-0000:2d:00.0 at '/sys/class/drm/card1/device'
Jan 22 19:54:10 psychic-attack lact[1716]: 2026-01-23T03:54:10.731486Z  INFO lact_daemon::server::handler: GPU list reloaded with 1 devices, reapplying configuration
Jan 22 19:54:10 psychic-attack lact[1716]: 2026-01-23T03:54:10.731501Z  INFO lact_daemon::server::handler: configuration applied
Jan 22 19:54:10 psychic-attack dms[19986]:   WARN scene: QML QQuickImage at @Widgets/DankCircularImage.qml[33:5]: Cannot open: file:///home/cameron/.face
Jan 22 19:54:10 psychic-attack niri[11983]: 2026-01-23T03:54:10.854518Z DEBUG niri::backend::tty: device changed: 57857
Jan 22 19:54:10 psychic-attack niri[11983]: libinput error: event0  - XIUDI XD60 Rev 3: client bug: event processing lagging behind by 66ms, your system is too slow
Jan 22 19:54:10 psychic-attack niri[11983]: 2026-01-23T03:54:10.857513Z  INFO niri::niri: locking session (replacing existing dead lock)
Jan 22 19:54:10 psychic-attack niri[11983]: error in client communication (pid 19986)
Jan 22 19:54:10 psychic-attack dms[19986]:   WARN: The Wayland connection experienced a fatal error: Protocol error
Jan 22 19:54:10 psychic-attack dms[19979]:  ERROR  go: quickshell exited: exit status 255
Jan 22 19:54:10 psychic-attack systemd[2215]: dms.service: Main process exited, code=exited, status=255/EXCEPTION
Jan 22 19:54:10 psychic-attack systemd[2215]: dms.service: Failed with result 'exit-code'.
Jan 22 19:54:10 psychic-attack systemd[2215]: dms.service: Consumed 47.609s CPU time, 426.4M memory peak.
Jan 22 19:54:11 psychic-attack systemd[2215]: dms.service: Scheduled restart job, restart counter is at 3.
Jan 22 19:54:11 psychic-attack systemd[2215]: Started DankMaterialShell.
...

Screenshots/Recordings

No response

cameronaw13 avatar Jan 23 '26 03:01 cameronaw13

Same issue happens (Niri, NixOS) when hot plugging or unplugging an external monitor when locked. This leads to a broken lock screen or a crash loop that eventually hangs the system unless dms is manually restarted

artemd93 avatar Feb 14 '26 11:02 artemd93

This is probably the fix https://github.com/quickshell-mirror/quickshell/commit/158db16b931d04b43ec84748ee49390ea9f7c3f8

bbedward avatar Feb 23 '26 14:02 bbedward

This is probably the fix quickshell-mirror/quickshell@158db16

Yup, using quickshell's newest commit prior to the breakpad removal seems to allow the shell to restart when turning on the monitor again. Until quickshell releases a new version you can use this on nixos:

programs.dank-material-shell = {
  ...
  quickshell.package = pkgs.quickshell.overrideAttrs (oldAttrs: {
    src = pkgs.fetchFromGitea {
      domain = "git.outfoxxed.me";
      owner = "quickshell";
      repo = "quickshell";
      rev = "cddb4f061bab495f4473ca5f2c571b6c710efef7";
      hash = "sha256-QbXuSLhiSxOq6ydBL3+KGe1aiYWBW+e3J6qjJZaRMq0=";
    };
    buildInputs = oldAttrs.buildInputs ++ [
      pkgs.polkit
      pkgs.glib
      pkgs.vulkan-headers
    ];
  });
};

cameronaw13 avatar Mar 04 '26 03:03 cameronaw13

After using this for a bit, I still suffered an occurrence where quickshell couldn't restart properly after leaving the monitor off overnight, perhaps it still occurs but less often? Will need to test this more over time. Also it still displays the quickshell crash message when logging back in making me wonder if the commit is more of a mitigation rather than a full fix.

cameronaw13 avatar Mar 04 '26 15:03 cameronaw13

Didn't fix it in my case.

artemd93 avatar Mar 04 '26 20:03 artemd93

This is probably the fix quickshell-mirror/quickshell@158db16

Yup, using quickshell's newest commit prior to the breakpad removal seems to allow the shell to restart when turning on the monitor again. Until quickshell releases a new version you can use this on nixos:

programs.dank-material-shell = { ... quickshell.package = pkgs.quickshell.overrideAttrs (oldAttrs: { src = pkgs.fetchFromGitea { domain = "git.outfoxxed.me"; owner = "quickshell"; repo = "quickshell"; rev = "cddb4f061bab495f4473ca5f2c571b6c710efef7"; hash = "sha256-QbXuSLhiSxOq6ydBL3+KGe1aiYWBW+e3J6qjJZaRMq0="; }; buildInputs = oldAttrs.buildInputs ++ [ pkgs.polkit pkgs.glib pkgs.vulkan-headers ]; }); };

Yeah, after using the updated commit of quickshell for a few weeks, I don't think https://github.com/quickshell-mirror/quickshell/commit/158db16b931d04b43ec84748ee49390ea9f7c3f8 fixes the issue.

Although the session can recover, quickshell still crashes every time which can cause issues later down the road such as the volume/brightness modals not appearing, night light not working, etc. These can be fixed by restarting dms again but it shouldn't crash in the first place. And its really a 50/50 chance that it can recover after crashing where every now and again i'll need to dms ipc lock forceReset in another terminal to get the lockscreen back.

cameronaw13 avatar Mar 22 '26 00:03 cameronaw13

~~Just updated to dms-shell 1.4.4 and the issue may be resolved, will perform more testing over time.~~

The issue persists on dms-shell 1.4.4 (testing without the quickshell commit)

cameronaw13 avatar Mar 22 '26 00:03 cameronaw13

I see the same issue for DMS + Hyprland.

apedersen00 avatar Mar 23 '26 13:03 apedersen00

Has anyone figure out how to launch quickshell + DMS from TTY again after a crash? I have to reboot everytime.

apedersen00 avatar Mar 24 '26 08:03 apedersen00

I'm having the same issue when using external monitors.

MSD-3 avatar Mar 24 '26 15:03 MSD-3

Has anyone figure out how to launch quickshell + DMS from TTY again after a crash? I have to reboot everytime.

Restarting DMS works for me - I run DMS as a systemd unit. I've actually created an automated coredump check that restarts DMS. It's not pretty, but it's better than doing it manually.

  # QS core dump workaround
  systemd.user.paths.qs-coredump-watcher = {
    Unit = {
      Description = "Trigger DMS recovery on new coredumps";
    };
    Path = {
      PathChanged = "/var/lib/systemd/coredump";
      Unit = "qs-recovery.service";
    };
    Install = {
      WantedBy = [ "graphical-session.target" ];
    };
  };

  systemd.user.services.qs-recovery = {
    Unit = {
      Description = "Check last coredump for SEGV and restart DMS";
    };
    Service = {
      Type = "oneshot";
      ExecStart = toString (pkgs.writeShellScript "dms-recovery-logic" ''
        # Small delay to ensure the journal/coredump record is fully written
        sleep 1

        # Get the last crash data in JSON format
        CRASH_DATA=$(${pkgs.systemd}/bin/coredumpctl list --json=short | ${pkgs.jq}/bin/jq -r '.[-1] // empty')

        if [ -z "$CRASH_DATA" ]; then
          echo "No coredump data found."
          exit 0
        fi

        EXE=$(echo "$CRASH_DATA" | ${pkgs.jq}/bin/jq -r '.exe')
        SIGNAL=$(echo "$CRASH_DATA" | ${pkgs.jq}/bin/jq -r '.sig')

        # Check if it's our process AND signal 11 (SIGSEGV)
        if [[ "$EXE" == *"quickshell"* ]] && [ "$SIGNAL" -eq 11 ]; then
          echo "Detected SIGSEGV in $EXE. Restarting dms.service..."
          ${pkgs.systemd}/bin/systemctl --user restart dms.service
        else
          echo "Coredump detected but ignored. Process: $EXE, Signal: $SIGNAL"
        fi
      '');
    };
  };

artemd93 avatar Mar 24 '26 16:03 artemd93

Same issue with single monitor. Quickshell and dms-shell are from git. . Here's backtrace I noticed that when turning on a monitor, the onScreenChanged event fires multiple times. There might be a race condition here, where the event triggers a monitor list update, while another module is working with the old screen, which is being deleted. I suspect the issue might be with fadeDpmsWindowLoader.

kermeat avatar Apr 13 '26 20:04 kermeat

https://github.com/quickshell-mirror/quickshell/issues/540

kermeat avatar Apr 14 '26 18:04 kermeat

Having the same issue on CachyOS laptop with Qt 6.10 connected to external monitor on HDMI

reyhanquayum avatar Apr 20 '26 16:04 reyhanquayum

Hit this on Ubuntu 26.04 + niri today. Adding two data points that don't appear in the existing reports:

1. Reproduces on Quickshell 0.3.0

All previous reports in this thread are on quickshell 0.2.1. This bug survives the 0.2 → 0.3 jump.

  • Distribution: Ubuntu 26.04 LTS via the avengemedia/danklinux PPA
  • Compositor: niri
  • DMS: 1.4.6ppa6 (dms version reports v1.4.0-3740)
  • Quickshell: 0.3.0ppa2 (Qt 6.10.2)
  • GPU: amdgpu (1002:67df)

2. The crash has two distinct triggers on the same code path

Trigger A — dangling screen via libgdk-3 (when QT_QPA_PLATFORMTHEME=gtk3)

WARN: attempted to use dangling screen object       ← from quickshell, right before SEGV
#0 libc                                              ← crash
#1 libjemalloc
#2 libgdk-3
#3-#5 libffi / ffi_call
#6-#8 libwayland-client (wl_display_dispatch_queue_pending)

The dms binary hardcodes QT_QPA_PLATFORMTHEME=gtk3 and exports it before spawning qs. That pulls libgdk-3 into the quickshell process, which opens its own Wayland client connection alongside Qt's. When screens churn, the two clients race on output teardown and libgdk-3 dereferences a freed screen.

Confirmed by stripping the env var via a /usr/local/bin/qs wrapper:

#!/usr/bin/env bash
unset QT_QPA_PLATFORMTHEME QT_QPA_PLATFORMTHEME_QT6
exec /usr/bin/quickshell "$@"

After installing this, trigger A no longer fires — the libgdk-3 frame disappears from subsequent crash dumps. I'd suggest DMS either stop forcing QT_QPA_PLATFORMTHEME=gtk3 unconditionally, or make it opt-out via an env var. Forcing it everywhere is what creates the second Wayland-client race.

Trigger B — reentrant QML inside Qt's screenAdded dispatch

With the GTK theme stripped, the same scenario (lock → second monitor appears → unlock) still crashes, but now the stack is purely QML/Qt:

#48 QGuiApplication::screenAdded(QScreen*)
#49 QtWaylandClient::QWaylandDisplay::handleScreenInitialized(QWaylandScreen*)
#50 QtWaylandClient::QWaylandScreen::maybeInitialize()
...
#31 QQmlObjectCreator::finalize()
#34 QQmlComponentPrivate::createWithProperties()
...several QV4 CallQmlContextPropertyLookup frames...
#2  QV4::ExecutionEngine::fromData(QMetaType, void const*, ...)   ← crash

This points directly at DMSShell.qml:351-402. onScreensChanged (line 353) synchronously calls triggerSurfaceRecovery("screen-reconnect") (line 360), which starts an 800ms timer that calls recreateBarSurfaces(), reloads frame/wallpaper surfaces, and toggles dockEnabled off/on — all kicked off from inside Qt's screenAdded dispatch. The surface rebuild fires QML signal handlers that instantiate components against the not-yet-fully-initialized screen, and a property lookup during finalize dereferences invalid memory.

In other words: @kermeat's analysis on #2131 ("Quickshell.screens list updates when you turn on display, but app can still hold the old screen object") is correct, and the QML code that holds that stale reference is reachable from DMSShell.qml's screen-change handler.

Suggested mitigation worth trying

Wrap triggerSurfaceRecovery("screen-reconnect") in Qt.callLater(...) so the recovery work runs after Qt finishes dispatching screenAdded, instead of reentrantly during it:

function onScreensChanged() {
    const hasReal = root._hasRealScreen();
    log.info("Screens changed:", ...);
    if (!root.hadRealScreen && hasReal) {
        log.info("Real screen reappeared after placeholder state, triggering surface recovery");
        Qt.callLater(() => root.triggerSurfaceRecovery("screen-reconnect"));
    }
    root.hadRealScreen = hasReal;
}

I'll test this locally and report back.

bzbetty avatar May 24 '26 04:05 bzbetty

Update: the Qt.callLater wrap I proposed above did not fix it. Posting the negative result so others don't go down the same path.

After applying the patch, an initial lock/sleep/unlock cycle with Screens changed: 1 → 2 → 1 events did not crash, which looked encouraging. But ~1 hour later the shell crashed twice within a second on the same trigger:

17:17:47  crash 1 (6q2dj3xift)  — same stack as before patch:
          screenAdded → QML signal handlers → QV4::fromData SEGV
17:17:47  crash 2 (tgifj10jft)  — restart caught Wayland still mid-flight:
          Qt::endPropertyUpdateGroup → wl_display_dispatch_queue_pending SEGV

Why the patch was insufficient

I assumed the synchronous offender was the triggerSurfaceRecovery("screen-reconnect") call inside onScreensChanged. But that call is gated by if (!root.hadRealScreen && hasReal) — it only runs on placeholder → real-screen transitions, not on the much more common N → N±1 monitor transitions that actually trip the crash. The stack trace shows QQmlBoundSignalExpression::evaluate → QQmlObjectCreator::finalize → createWithProperties, which is a binding update firing, not a function call from the handler. So the synchronous component instantiation is happening elsewhere in DMS — anything reactive to Quickshell.screens is a candidate.

Quick grep of /usr/share/quickshell/dms shows ~30 QML files referencing Quickshell.screens or Variants { model: Quickshell.screens }, including:

  • Modules/DankBar/DankBar.qml
  • Modules/Frame/Frame.qml
  • Modules/Dock/Dock.qml
  • Modules/WallpaperBackground.qml, BlurredWallpaperBackground.qml
  • Modules/DesktopWidgetLayer.qml
  • Modules/Lock/Lock.qml

Any of these can produce the reentrant component creation during screenAdded dispatch. So the right fix probably needs to live at a different layer — either:

  1. In quickshell itself: defer QGuiApplication::screenAdded emission to a queued slot so all QML reactions run on a clean stack, or
  2. In DMS: route every screen-driven Variants/Loader through a small adapter that mirrors Quickshell.screens into a property that is only updated via Qt.callLater.

I'll leave the Qt.callLater patch in place (it's harmless even if not sufficient) and stop trying to hand-fix per-site. Hopefully this saves someone else the experiment.

bzbetty avatar May 24 '26 05:05 bzbetty

Hi @bzbetty ,

I may have fixed this, https://github.com/quickshell-mirror/quickshell/pull/829

Do you want to build my fork and give it a whirl? https://github.com/Luke458/quickshell/tree/fix-session-lock-crash

Thanks

Luke458 avatar May 28 '26 13:05 Luke458

@Luke458 thanks — built your fix-session-lock-crash branch (revision c272c97) and tested on niri + multi-monitor. To isolate the session-lock path I also removed the Trigger-A confound from my earlier reports (set QT_QPA_PLATFORMTHEME=qt6ct so dms doesn't force gtk3 → no libgdk-3 in the process). So this is a clean test of just your changes.

Result: it no longer SIGSEGVs, but it now qFatal()-aborts instead on the same lock→screen-change→unlock path. Qt's own diagnostic points right at the change:

FATAL: Object 0x... destroyed while one of its QML signal handlers is in progress.
Most likely the object was deleted synchronously (use QObject::deleteLater() instead),
or the application is running a nested event loop.
qs:@/qs/Modules/Lock/LockScreenContent.qml:1678: function() { [native code] }

Stack (your build, symbols intact):

#5  abort
#7  QMessageLogger::fatal()
#9  QObject::~QObject()
#19 QQmlPrivate::QQmlElement<WlSessionLockSurface>::~QQmlElement()
#21 WlSessionLock::unlock()            src/wayland/session_lock.cpp:153   ← delete surface;
#24 QQmlBinding::doUpdate()            ← unlock() invoked from inside a QML binding/signal handler

Root cause: WlSessionLockSurface is a QML-owned element, and DMS drives unlock() from within a QML signal handler (LockScreenContent.qml:1678). Your commit "destroy lock surfaces synchronously before unlocking" swapped deleteLater() → delete in WlSessionLock::unlock():

for (auto* surface: this->surfaces) {
    if (surface->ext != nullptr) surface->ext->destroySurface();  // (1) good — synchronous server-side destroy
}
for (auto* surface: this->surfaces) {
    delete surface;                                                // (2) aborts: sync QObject delete mid-signal-handler
}

The synchronous server-side surface destroy in loop (1) is correct and necessary for the Wayland protocol ordering. But the synchronous QObject delete in loop (2) is what Qt is rejecting — deleting a QML object while one of its signal handlers is on the stack.

Suggested fix: keep (1) synchronous, revert (2) to deferred:

for (auto* surface: this->surfaces) {
    surface->deleteLater();
}

Since the Wayland surface is already torn down synchronously in loop (1), the later QObject deletion no longer races the unlock_and_destroy invalidation — you get protocol correctness and QML-safety. That separation (sync wl-surface destroy, deferred QObject delete) seems to be the crux the original deleteLater()-only code and this delete-only version each got half-right.

Happy to test a revised push, and I have the full report.txt + coredump if useful. For reference this is niri 26.04, Quickshell built from your branch, Qt 6.10.2, AMD GPU; trigger is a DisplayPort monitor that drops/re-adds its link (~every 11s) while blanked, churning Screens changed during the lock.


Update — tested the fix. Reverting just the two delete surface; back to surface->deleteLater(); (in updateSurfaces() and unlock()), while keeping the rest of your PR (placeholder/null-output filtering, the QPointer lock, and the synchronous server-side ext->destroySurface() before unlock), resolves the abort. The server-side surface is already torn down synchronously in the loop above, so deferring the QObject deletion no longer races unlock_and_destroy — you get the protocol-ordering fix and QML-safety together:

@@ void WlSessionLock::updateSurfaces(bool show, WlSessionLock* old) {
 		if (!screens.contains(screen)) {
 			this->surfaces.remove(screen);
-			delete surface;
+			surface->deleteLater();
 		}
@@ void WlSessionLock::unlock() {
 		for (auto* surface: this->surfaces) {
-			delete surface;
+			surface->deleteLater();
 		}
 		this->surfaces.clear();

With your branch + this two-line change I ran two lock→screen-change→unlock cycles on the same repro (DP monitor flapping its link while blanked, ~12 Screens changed events per cycle): no crash, no qFatal, dms NRestarts stayed 0, memory flat. The PR-only build aborted immediately on the unlock path of the same cycle. Happy to PR this on top of yours if useful.

bzbetty avatar May 30 '26 09:05 bzbetty

Thanks so much @bzbetty, you're absolutely correct. That was from my original commit and was no longer necessary to keep by the final commit. Totally overlooked reversing this. I'll just amend my PR and hopefully it gets merged soon.

Luke458 avatar May 30 '26 10:05 Luke458

This should have been resolved long ago, closing out.

purian23 avatar Jul 02 '26 20:07 purian23