Environment
- OS: Fedora / Asahi Linux (Apple Silicon)
- Kernel:
6.18.15-400.asahi.fc43.aarch64+16k (16K page size)
- Display: GNOME 49, Wayland
- Installation: Flatpak (Flathub)
ink.whis.Whis v0.7.2
- Architecture: aarch64
Symptom
The app launches and the UI renders correctly (all buttons and layout visible), but is completely unresponsive — clicks and keyboard input have no effect. The app also cannot be quit via the window close button or tray menu (since the quit mechanism delegates to the frozen WebView via window-close-requested).
Steps to Reproduce
- Install Whis via Flatpak on Asahi Linux (Apple Silicon Mac running Asahi/Fedora)
- Launch the app
- Observe: UI appears fully rendered but no interaction is possible
Root Cause
The WebKitWebProcess crashes with SIGSEGV immediately after rendering the initial UI, confirmed via coredumpctl:
$ coredumpctl list WebKitWebProces
SIGSEGV /usr/libexec/webkit2gtk-4.1/WebKitWebProcess
Backtrace shows the crash occurs inside JIT-compiled code in anonymous mmap regions, within libjavascriptcoregtk-4.1.so:
#0 libjavascriptcoregtk-4.1.so.0 + 0xb52efc
#1 libjavascriptcoregtk-4.1.so.0 + 0xb52ebc
#2 n/a + 0x0 ← JIT-compiled anonymous memory
#3 n/a + 0x0
#4 n/a + 0x0
The GNOME Platform 49 Flatpak runtime bundles a libjavascriptcoregtk that was compiled for systems with a 4K page size. Asahi Linux uses a 16K page kernel (getconf PAGESIZE → 16384). JavaScriptCore's JIT compiler uses mmap for executable code regions with alignment and size assumptions tied to 4K pages — on 16K systems these are invalid, causing SIGSEGV on first JIT code execution.
The sequence is:
- App starts, WebKit renders the initial Vue/HTML (no JIT needed yet)
- JS event system initialises → JIT kicks in →
WebKitWebProcess crashes
- UI is visible (last rendered frame) but all event handlers are dead
Workaround
See follow-up comment.
Related
Note that the investigation of this issue and the workaround were done with Claude Code.
Environment
6.18.15-400.asahi.fc43.aarch64+16k(16K page size)ink.whis.Whisv0.7.2Symptom
The app launches and the UI renders correctly (all buttons and layout visible), but is completely unresponsive — clicks and keyboard input have no effect. The app also cannot be quit via the window close button or tray menu (since the quit mechanism delegates to the frozen WebView via
window-close-requested).Steps to Reproduce
Root Cause
The
WebKitWebProcesscrashes with SIGSEGV immediately after rendering the initial UI, confirmed viacoredumpctl:Backtrace shows the crash occurs inside JIT-compiled code in anonymous
mmapregions, withinlibjavascriptcoregtk-4.1.so:The GNOME Platform 49 Flatpak runtime bundles a
libjavascriptcoregtkthat was compiled for systems with a 4K page size. Asahi Linux uses a 16K page kernel (getconf PAGESIZE→16384). JavaScriptCore's JIT compiler usesmmapfor executable code regions with alignment and size assumptions tied to 4K pages — on 16K systems these are invalid, causing SIGSEGV on first JIT code execution.The sequence is:
WebKitWebProcesscrashesWorkaround
See follow-up comment.
Related
Note that the investigation of this issue and the workaround were done with Claude Code.