Quickshell Crash after waking from suspend
General crash information
General information
===== Build Information =====
Git Revision: c5c438f1cd1a76660a8658ef929a3d19e968e2ce
Buildtime Qt Version: 6.9.2
Build Type: RelWithDebInfo
Compiler: GNU (15.2.1)
Complie Flags: -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/home/ac17/.cache/paru/clone/quickshell-git/src=/usr/src/debug/quickshell-git -flto=auto
Build configuration:
Distributor: AUR (package: quickshell-git)
Distributor provided debuginfo: NO
Disable precompild headers (dev): OFF
Build tests (dev): OFF
ASAN (dev): OFF
Keep Frame Pointers (dev): OFF
Crash Handling: ON
Use jemalloc: ON
Unix Sockets: ON
Wayland: ON
Wlroots Layer-Shell: ON
Session Lock: ON
Foreign Toplevel Management: ON
Hyprland: ON
Hyprland IPC: ON
Hyprland Global Shortcuts: ON
Hyprland Focus Grabbing: ON
Hyprland Surface Extensions: ON
Screencopy: ON
Image Copy Capture: ON
Wlroots Screencopy: ON
Hyprland Toplevel Export: ON
X11: ON
I3/Sway: ON
I3/Sway IPC: ON
System Tray: ON
PipeWire: ON
Mpris: ON
Pam: ON
Greetd: ON
UPower: ON
Notifications: ON
Bluetooth: ON
===== Runtime Information =====
Runtime Qt Version: 6.9.2
Crashed process ID: 17729
Run ID: x18zkku3t
Shell ID: 8d5a47ead22af78707b30ad620bae58f
Config Path: /etc/xdg/quickshell/dms/shell.qml
===== Report Integrity =====
Minidump save status: 0
Log save status: 0
Binary copy status: 0
===== System Information =====
/etc/os-release:
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo
/etc/lsb-release:FAILED TO OPEN
What caused the crash
After waking up from locking / suspend.
Minidump
{redacted#44241214}
Log file
{redacted#37585844}
Configuration
Backtrace
Backtrace
``` [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". Core was generated by `/usr/bin/qs -c dms'. Program terminated with signal SIGABRT, Aborted. #0 0x00007f379b29894c in ?? () from /usr/bin/../lib/libc.so.6 (gdb) bt -full #0 0x00007f379b29894c in ?? () from /usr/bin/../lib/libc.so.6 No symbol table info available. #1 0x00007f379b23e410 in raise () from /usr/bin/../lib/libc.so.6 No symbol table info available. #2 0x00007f379b22557a in abort () from /usr/bin/../lib/libc.so.6 No symbol table info available. #3 0x00007f379ba93ca2 in ?? () from /usr/bin/../lib/libQt6Core.so.6 No symbol table info available. #4 0x00007f379bb01908 in QDebug::~QDebug() () from /usr/bin/../lib/libQt6Core.so.6 No symbol table info available. #5 0x000055958aee7c12 in WlSessionLock::updateSurfaces (this=0x7f377be11540, show= static _empty = 0 '\000'}
shellId = {d = {d = 0x7f3797409b00,
ptr = 0x7f3797409b10 u"8d5a47ead22af78707b30ad620bae58f", size = 32},
static _empty = 0 u'\000'}
file = <incomplete type>
pragmas = {useQApplication = true, nativeTextRendering = false,
desktopSettingsAware = true, useSystemStyle = false, iconTheme = {d = {d = 0x0,
ptr = 0x0, size = 0}, static _empty = 0 u'\000'}, envOverrides = {
d = 0x7f3797425460}, dataDir = {d = {d = 0x0, ptr = 0x0, size = 0},
static _empty = 0 u'\000'}, stateDir = {d = {d = 0x0, ptr = 0x0, size = 0},
static _empty = 0 u'\000'}}
stream = <incomplete type>
launchTime = <optimized out>
crashHandler = {d = 0x7f3797418990}
app = 0x7f3797418820
qArgC = 0
root = {<QObject> = {<No data fields>}, static staticMetaObject = {d = {
superdata = {direct = 0x7f379c015500 <QObject::staticMetaObject>},
stringdata = 0x55958b1abb4c <_ZN11RootWrapper32qt_staticMetaObjectStaticContentIN12_GLOBAL__N_130qt_meta_tag_ZN11RootWrapperE_tEEE.lto_priv.0+172>,
data = 0x55958b1abaa0 <_ZN11RootWrapper32qt_staticMetaObjectStaticContentIN12_GLOBAL__N_130qt_meta_tag_ZN11RootWrapperE_tEEE.lto_priv.0>,
static_metacall = 0x55958af74c40 <RootWrapper::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0,
metaTypes = 0x55958b28c380 <_ZN11RootWrapper36qt_staticMetaObjectRelocatingContentIN12_GLOBAL__N_130qt_meta_tag_ZN11RootWrapperE_tEEE.lto_priv.0>, extradata = 0x0}},
rootPath = {d = {d = 0x7f3797409aa0,
ptr = 0x7f3797409ab0 u"/etc/xdg/quickshell/dms/shell.qml", size = 33}},
shellId = {d = {d = 0x7f3797409b00,
ptr = 0x7f3797409b10 u"8d5a47ead22af78707b30ad620bae58f", size = 32}},
generation = 0x7f37974ad1c0, originalWorkingDirectory = {d = {
d = 0x7f37974db6a0, ptr = 0x7f37974db6b0 u"/home/ac17", size = 10}},
configDirWatcher = <incomplete type>}
code = <optimized out>
#19 0x000055958af1bf00 in qs::launch::(anonymous namespace)::launchFromCommand (cmd=...,
coreApplication=0x7f3797418820)
at /usr/src/debug/quickshell-git/quickshell/src/launch/command.cpp:434
configPath = {d = {d = 0x7f3797409aa0,
ptr = 0x7f3797409ab0 u"/etc/xdg/quickshell/dms/shell.qml", size = 33},
static _empty = 0 u'\000'}
r =
</details>
### Executable
_No response_
I'm experiencing a similar crash with niri (not Hyprland) - adding this data point since it suggests the issue isn't compositor-specific.
Scenario:
- Session locks via DMS idle timeout
- ~1 hour later, monitor wakes from DPMS standby
- niri disconnects/reconnects the DP-1 connector (this is how niri handles DPMS wake)
- quickshell crashes
Environment:
- Arch Linux, kernel 6.17.9
- niri 25.11
- quickshell 0.2.0.r48.g26531fc
- Qt 6.10.1
- DMS (DankMaterialShell)
- Single monitor: Dell AW3420DW via DisplayPort
Logs showing the sequence:
Dec 09 08:59:42 niri::niri: locking session Dec 09 10:00:44 niri::backend::tty: device changed: 57857 Dec 09 10:00:44 niri::backend::tty: disconnecting connector: "DP-1" Dec 09 10:00:44 niri::handlers::layer_shell: no output for new layer surface, closing Dec 09 10:00:44 niri::handlers::layer_shell: no output for new layer surface, closing Dec 09 10:00:45 niri::backend::tty: new connector: DP-1 "Dell Inc. Dell AW3420DW #ASOJZx6kN4Hd" Dec 09 10:00:45 niri::backend::tty: connecting connector: DP-1 Dec 09 10:00:46 niri::niri: refusing lock as already locked with an active client Dec 09 10:00:46 niri::niri: ignoring lock surface from an unrelated client Dec 09 10:00:47 systemd-coredump: Process 41111 (qs) of user 1000 dumped core.
Stack trace (partial - crashed in Qt6Qml, not the same frame as yours but same trigger): #0 0x00007f5a522c6804 n/a (libQt6Qml.so.6 + 0xc6804) #1 0x00007f5a52378034 QV4::ExecutionEngine::fromData (libQt6Qml.so.6 + 0x178034) ... #33 0x0000555bf6b86499 ScriptModel::updateValuesUnique (/usr/bin/quickshell + 0x167499)
The crash appears to happen when quickshell tries to recreate lock surfaces after the output reappears, but niri (correctly) refuses because it already considers the session locked. The "no output for new layer surface" warnings suggest quickshell tried to create surfaces during the brief window when DP-1 was disconnected.
Workaround: Disabled DMS's acMonitorTimeout (set to 0) so DPMS never triggers while locked. This avoids the output disconnect/reconnect cycle entirely.
This seems related to the (closed) #61 - the fix there may not cover all the edge cases around output hotplug during an active lock session.