Brief Summary
develop built with X11 support segfaults at startup under QT_QPA_PLATFORM=offscreen. NixUtils::NixUtils() gets a null display from the X11 native interface and passes it to DefaultRootWindow(). 2.7.12 does not crash this way.
Steps to Reproduce
- Build
develop on Linux with X11 support.
- Run
QT_QPA_PLATFORM=offscreen keepassxc with no DISPLAY set.
Expected Versus Actual Behavior
Expected: KeePassXC starts.
Actual: SIGSEGV at startup (exit 139), 3/3 on develop 9e0f57a.
KeePassXC Debug Information
develop 9e0f57a, Arch Linux, Qt 6.
Found and written up with Claude (Claude Code) assisting; the steps and results were checked before posting.
Brief Summary
developbuilt with X11 support segfaults at startup underQT_QPA_PLATFORM=offscreen.NixUtils::NixUtils()gets a null display from the X11 native interface and passes it toDefaultRootWindow(). 2.7.12 does not crash this way.Steps to Reproduce
developon Linux with X11 support.QT_QPA_PLATFORM=offscreen keepassxcwith noDISPLAYset.Expected Versus Actual Behavior
Expected: KeePassXC starts.
Actual: SIGSEGV at startup (exit 139), 3/3 on
develop9e0f57a.KeePassXC Debug Information
develop9e0f57a, Arch Linux, Qt 6.Found and written up with Claude (Claude Code) assisting; the steps and results were checked before posting.