Repository navigation
Description
Environment
Where are you using Unsloth?
- Unsloth desktop application (AppImage, Linux)
Operating system and version:
Kubuntu 26.04 (KDE Plasma X11)
GPU model(s) and accelerator backend:
NVIDIA GeForce RTX 5060 Ti — NVIDIA CUDA (driver 580.178.04)
(Note: crash also happens with the GPU essentially idle / VRAM free, so this is not a GPU/VRAM issue.)
Versions:
- Desktop AppImage:
Unsloth-Desktop-Linux.appimage - Backend: Python 3.13.16, PyTorch cu130 (2.13.0-cu130), FastAPI/uvicorn on 127.0.0.1:8888 — backend stays healthy the whole time
- Bundled WebKit:
webkit2gtk-4.1(libwebkit2gtk-4.1.so.0, AppImage squashfs)
What happened?
On a KDE Plasma desktop with accessibility enabled (AT-SPI active), the web view process
deterministically crashes shortly after the window becomes interactive, e.g. when typing in
the token field. The backend keeps running; only the WebKitWebProcess dies.
The crash is signal 6 / SIGABRT, and the aborting frame is inside the AppImage's own
WebKit library — i.e. WebKit calls abort() on itself (an internal assertion), not an OOM:
#4 __GI_abort () at ./stdlib/abort.c:77
#5 ... in libwebkit2gtk-4.1.so.0 <- assertion fires inside WebKit's accessibility code
Immediately before every crash, the web process logs this warning on stderr, followed by a
burst of AT-SPI traffic from plasmashell:
** (unsloth-studio): WARNING **: atk-bridge: get_device_events_reply: unknown signature
qt.accessibility.atspi: Could not find accessible on path "/org/a11y/atspi/accessible/..." (repeated)
journalctl shows, for every launch:
systemd-coredump: Process NNNNNN (WebKitWebProces) of user 1000 terminated abnormally with signal 6/ABRT, processing...
Steps to reproduce:
- Launch
Unsloth-Desktop-Linux.appimageon a KDE Plasma desktop with accessibility active. - Wait for the backend "running" banner and for the window to open.
- Type into any field (e.g. the token field).
- The web view goes blank / app exits; coredump + SIGABRT appear in
journalctl.
Expected behavior: typing works, no crash.
Actual behavior: deterministic WebKitWebProcess SIGABRT around window interactivity / first input.
Model and operation involved: none — pure UI/desktop startup (no model loaded). Reproduces with zero models.
Ruled out
- GPU/VRAM: reproduces with ~16 GB VRAM free (
ollama stop, only ~0.6 GB used, GPU 0%). - Fonts: reproduces with zero color fonts installed (
fc-list :color=trueis empty). - WebKit compositing env vars alone (
WEBKIT_DISABLE_COMPOSITING_MODE=1,WEBKIT_DISABLE_DMABUF_RENDERER=1) do not prevent the crash.
Working workaround (for users)
Launching through a wrapper that disables the atk bridge for the web process stops the SIGABRT:
export NO_AT_BRIDGE=1
export GNOME_ACCESSIBILITY=0
exec /path/to/Unsloth-Desktop-Linux.appimage "$@"Trade-off: with NO_AT_BRIDGE=1 the app window is no longer exposed to AT-SPI, so screen
readers / accessibility automation can no longer see it. Acceptable for most users, but a real
limitation on Linux — ideally the fix should not require sacrificing accessibility.
Suggested upstream fix
In the AppImage AppRun (or wherever the web process env is set), default to NO_AT_BRIDGE=1
so the bundled WebKit does not assert against host AT-SPI traffic on desktops with
accessibility enabled — or rebuild/upgrade the bundled webkit2gtk-4.1 to a version where this
atk-bridge assertion is fixed.
Diagnostics and logs
Backend (logs/server/server-*.log) stays healthy through the crash:
[INFO] [backend] Unsloth Studio running on http://127.0.0.1:8888
[INFO] torch warm finished in ~15s
# ... window opens, then WebKitWebProcess aborts (SIGABRT) — backend itself does not log the crash
Core dump available at /var/lib/systemd/coredump/core.WebKitWebProces.*.zst; backtrace taken
with gdb against the AppImage squashfs WebKitWebProcess binary, frame #5 inside
libwebkit2gtk-4.1.so.0 -> abort().
Additional context
This is specific to desktops with an active AT-SPI accessibility bus (KDE Plasma with
accessibility on). Gnome/minimal sessions without an a11y client do not show it as readily.
Activity
debojyoti-dev commentedon Oct 25, 2026
I'm working on this. Plan: have the AppImage launcher default NO_AT_BRIDGE=1 when the user hasn't set it (NO_AT_BRIDGE=0 keeps the bridge for screen reader users), and drop that default again for host browsers and file managers the app opens.
Desktop: keep the AppImage's bundled atk-bridge off unless the user c…