-
Notifications
You must be signed in to change notification settings - Fork 140
Description
Title
GoldenDict‑ng Flatpak crashes on startup after system reboot (Pop!_OS 22.04, KDE runtime 6.10, version mismatch)
Description
On Pop!_OS 22.04, the Flatpak version of GoldenDict‑ng consistently crashes immediately on startup after a system reboot. The app works on first launch after deleting the config directory and adding dictionaries, but after rebooting the OS, GoldenDict‑ng opens briefly and then closes with no UI.
This behaviour is fully reproducible.
Steps to reproduce
- Remove config directory:
rm -r ~/.var/app/io.github.xiaoyifang.goldendict_ng - Launch GoldenDict‑ng → works normally
- Add dictionaries (StarDict format in my case)
- Quit GoldenDict‑ng → still works if launched again
- Reboot the system
- Launch GoldenDict‑ng → window appears briefly, then closes with no UI
Observed behaviour
- GoldenDict‑ng works until the first system reboot
- After reboot, the app immediately crashes on startup
- No error is printed to stdout
- Granting full filesystem access via Flatseal does not change the behaviour
- The crash still occurs when running with
--filesystem=host - The index directory under
~/.var/app/io.github.xiaoyifang.goldendict_ng/data/goldendict-ng/
is missing or incomplete after reboot - Removing the entire config directory allows the app to start again until the next reboot
Version mismatch
Flatpak metadata reports:
Version: 26.1.0
Runtime: org.kde.Platform/x86_64/6.10
But the app’s About dialog reports:
Version: 26.2.0.c43b0ea at 2011-11-11T11:11:11Z
Qt 6.10.2 GCC 15.2.0
org.kde.Platform linux 6.17.9-76061709-generic x86_64-little_endian-lp64
Flags: ZIM EPWING OPENCC FFMPEG
The build timestamp appears to be a placeholder, and the internal version does not match the Flatpak manifest. This may indicate a packaging or runtime mismatch.
Environment
OS: Pop!_OS 22.04 LTS
Installation: Flatpak (user installation)
GoldenDict‑ng Flatpak metadata:
ID: io.github.xiaoyifang.goldendict_ng
Ref: app/io.github.xiaoyifang.goldendict_ng/x86_64/stable
Version: 26.1.0
Origin: flathub
Runtime: org.kde.Platform/x86_64/6.10
Sdk: org.kde.Sdk/x86_64/6.10
Commit: 27e9a763c88a4d28ae2f3a61388d5e8b3601ebd3f3aade8a52145b0766c2d9e0
Notes
This appears to be a Flatpak packaging issue related to:
- dictionary index handling
- runtime initialisation after system reboot
- version mismatch between manifest and internal build
- Qt 6.10.2 / KDE 6.10 runtime behaviour
This seems related to issue #2707, but that report is Windows‑specific and lacks reproduction steps, so I am filing this as a separate Linux/Flatpak‑specific issue.