MarkText crashes
Description
The app crashes without any specific inputs or actions. Just launching and waiting will consistently crash it. I just installed it (tried uninstalling, checking updates etc.) and it has never run without crashing. I can do some editing before it eventually crashes but every time it's about a minute or two and it terminates.
- [x] Can you reproduce the issue?
I want to do more troubleshooting (suggestions?):
I tried to open it via the terminal and gather some outputs of when it terminates but trying different names, paths etc. resulted in it not launching, so I'm likely doing something wrong. If anyone know how I can get terminal logs or debug info I can do some troubleshooting.
Updated:
I ran flatpak run com.github.marktext.marktext and get this output immediately after launch:
strict mode: missing type "string" for keyword "pattern" at "#/properties/spellcheckerLanguage" (strictTypes)
[2:0326/223814.690674:ERROR:bus.cc(392)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[46:0326/223814.713886:ERROR:gpu_init.cc(453)] Passthrough is not supported, GL is swiftshader, ANGLE is
22:38:15.540 › Failed to decrypt secure keys: Error: user interaction failed
Then the app stays open for a while and crashes like it does every time.
Steps to reproduce
No specific actions or inputs required. It eventually crashes no matter what I try or just by launching and waiting.
- Launch MarkText
- Wait a minute or two
- It crashes with no errors or messages
Expected behavior: Does not crash.
Actual behavior: It crashes.
Versions
- MarkText version: 0.17.1
- Installed via: Flatpak
- Operating system: Fedora Linux 37
- Desktop Environment: KDE Plasma 5.27.3
- Qt Version: 5.15.8
- Kernel Version: 6.2.7-200.fc37
- Graphics Platform: Wayland
- Hardware: ThinkPad T495
- Ryzen 3 3300U (24 GB memory)
I have similar error with version 0.17.1 via flatpak
strict mode: missing type "string" for keyword "pattern" at "#/properties/spellcheckerLanguage" (strictTypes) atom-keymap.js: empty keymap detected, fallback to en-US. [2:0723/155047.046859:ERROR:browser_main_loop.cc(1400)] Unable to open X display. The futex facility returned an unexpected error code. Failed to generate minidump.
Software Information:
- OS Name: Bluefin (Version: gts-41.20250713 / FROM Fedora Silverblue 41)
- OS Build: a98054c
- OS Type: 64-bit
- GNOME Version: 47
- Windowing System: Wayland
- Kernel Version: Linux 6.14.11-200.fc41.x86_64
I run for most x-wanting apps the following, or add that with flatseal.
flatpak run com.github.marktext.marktext --enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone->platform=wayland &
if that doesnt work, I use the xwayland-sattelite as a fallback. It's not a pretty sight, but it works (in x11 sandbox in wayland).
#run with after setting up xwayland-sattelite env DISPLAY=:12 flatpak run com.github.marktext.marktext #output strict mode: missing type "string" for keyword "pattern" at "#/properties/spellcheckerLanguage" (strictTypes) [49:0812/220821.119436:ERROR:gpu_init.cc(453)] Passthrough is not supported, GL is swiftshader, ANGLE is 2025-08-12T20:08:21.162Z WARN xwayland_satellite::xstate > unrecognized message: Atom { res_id: 252 } 2025-08-12T20:08:21.162Z WARN xwayland_satellite::server::event > unhandled xdgtoplevel event: ConfigureBounds { >width: 1888, height: 1024 } 2025-08-12T20:08:21.162Z WARN xwayland_satellite::server::event > unhandled xdgtoplevel event: WmCapabilities { >capabilities: [3, 0, 0, 0] } 2025-08-12T20:08:21.177Z WARN xwayland_satellite::xstate > unrecognized message: Atom { res_id: 252 } 2025-08-12T20:08:21.705Z WARN xwayland_satellite::xstate > unrecognized message: Atom { res_id: 252 }
not sure where wayland is on the roadmap, but seems there are some hurdles to overcome.