desktop: crash when switching between two projects/communities (Linux AppImage)
Summary
Buzz Desktop hard-crashes when switching between two projects/communities in the left sidebar. Reproduces every time.
Environment
| App | Buzz Desktop |
| Version | 0.5.3 |
| Install | AppImage (Buzz_0.5.3_amd64.AppImage / from desktop-v0.5.3 release) |
| OS | Linux, Ubuntu/Kubuntu 24.04 family, x86_64 |
| Hosted vs self-host | (hosted buzz.xyz unless noted otherwise) |
Steps to reproduce
- Launch Buzz Desktop (AppImage) with two projects/communities in the left project rail (e.g. avatars “H” and “BL”).
- Stay in project A (channels visible:
#general, Welcome, etc.). - Click the other project in the left rail to switch to project B.
- App crashes.
Expected
Workspace switches cleanly to the other project; channels/inbox load.
Actual
Process exits/crashes on every project switch. Must restart the AppImage.
Frequency
Always (100%).
Screenshot
Attached: left sidebar with two project switchers; crash path = clicking the other project.
Workaround
None (avoid switching projects, or restart after each crash).
Notes
Happy to retest on newer desktop builds or with debug logging if documented.
Same issue, I have one hosted community, 1 self-hosted community. Any switch crashes the desktop app. It then launches (thankfully) on the other community. But is pretty disruptive.
I had something similar on Pop!OS. The desktop would just lock up. Everything was still working in the background, the refresh had just borked.
I opened this issue [ https://github.com/block/buzz/issues/4305 ] and a corresponding pull request [ https://github.com/block/buzz/pull/4308 ]
In short, I set an environment variable before launching WEBKIT_DISABLE_DMABUF_RENDERER=1
You are explicitly telling the WebKitGTK engine: "Do not use DMABUF hardware sharing.". This forces the application to fall back to a slightly older, far more stable rendering path (typically standard Shared Memory, or SHM). It will copy the frame buffer using a method that the Wayland compositor is guaranteed to understand.
Hopefully this helps 🤞
I had something similar on Pop!OS. The desktop would just lock up. Everything was still working in the background, the refresh had just borked. I opened this issue [ https://github.com//issues/4305 ] and a corresponding pull request [ https://github.com//pull/4308 ] In short, I set an environment variable before launching
WEBKIT_DISABLE_DMABUF_RENDERER=1You are explicitly telling the WebKitGTK engine: "Do not use DMABUF hardware sharing.". This forces the application to fall back to a slightly older, far more stable rendering path (typically standard Shared Memory, or SHM). It will copy the frame buffer using a method that the Wayland compositor is guaranteed to understand.
Hopefully this helps 🤞
not sure if i did it right, however didn't really work here:
Tried:
WEBKIT_DISABLE_DMABUF_RENDERER=1 ./Buzz_0.5.3_amd64.AppImage
Result: still crashes when switching communities/projects (left rail). App starts fine; crash only on community switch. 100% repro before and after.
- OS: Kubuntu 24.04
- Session: Wayland (or X11 — run
echo $XDG_SESSION_TYPEand fill in) - Install: AppImage 0.5.3
- Repro: switch between two communities (e.g. H ↔ BL) → exit/freeze every time
Confirming this on a completely different distro, and with a fault signature that
might save someone some time. Also: WEBKIT_DISABLE_DMABUF_RENDERER=1 does not
fix it — details below, since that's the leading theory in this thread.
Environment
| Version | 0.5.4 (Buzz_0.5.4_amd64.AppImage, from desktop-v0.5.4) |
| OS | Arch Linux (Omarchy 4.0.0), kernel 7.1.4 |
| Session | Hyprland 0.56.1 / Wayland, app runs with GDK_BACKEND=x11 (XWayland) |
| GPU | Intel UHD 630 + AMD Baffin (RX 560) — no NVIDIA |
| Install | AppImage via AppImageLauncher |
| Frequency | 100%, every community switch |
Two communities in the rail (one hosted, one self-hosted); clicking from either to the other kills the process instantly.
Fault signature
Five crashes captured. The faulting address is identical in every one once you subtract the ASLR base:
| when | ip | vma base | file offset |
|---|---|---|---|
| Aug 03 22:45:11 | 7f8ffedd69b2 |
7f8ffe4f3000 |
0x8e39b2 |
| Aug 04 13:32:09 | 7f52dc1d69b2 |
7f52db8f3000 |
0x8e39b2 |
| Aug 04 13:32:33 | 7ff5bf3d69b2 |
7ff5beaf3000 |
0x8e39b2 |
| Aug 04 13:35:42 | 7ff658bd69b2 |
7ff6582f3000 |
0x8e39b2 |
| Aug 04 14:35:49 | 7fcd1e5d69b2 |
7fcd1dcf3000 |
0x8e39b2 |
Raw kernel line:
kernel: buzz-desktop.bi[2527370]: segfault at 48 ip 00007fcd1e5d69b2 sp 00007fff48a54590 \
error 4 in libwebkit2gtk-4.1.so.0[fd69b2,7fcd1dcf3000+3b88000]
segfault at 48 with error 4 (user-mode read of a non-present page) is a null
pointer dereference reading a field at offset 0x48 — not memory corruption or a
race, which the byte-identical offset across five runs also argues against. This
looks like a deterministic use-after-free/null-deref on the teardown path when the
old community's view is disposed.
The crash is in the WebKit bundled inside the AppImage, not the system one:
/tmp/.mount_Buzz.XXXXXXX/usr/lib/libwebkit2gtk-4.1.so.0 (94 MB, bundled)
The host's webkit2gtk-4.1 2.52.5 is never loaded, so this is reproducible
independent of what the distro ships. That library is stripped, so I can't
resolve a symbol — but the BuildID should let you symbolize against your own build:
BuildID[sha1] = 2594e661ffa45aa2a47f83c2f2f10caaec9e273f
WEBKIT_DISABLE_DMABUF_RENDERER=1 does not help
Tested explicitly, since it's suggested above. Relaunched with the variable set and
verified it reached the process (/proc/<pid>/environ) — the app even acknowledges
it on stderr:
buzz-desktop: WebKit rendering left as-is — WEBKIT_DISABLE_DMABUF_RENDERER=1 set in the environment
Switched communities → crashed anyway, same 0x8e39b2 offset (the Aug 04
14:35:49 row above). Exit code confirms the signal:
[appimagelauncher-binfmt-bypass/lib] ERROR: child exited with code 11 # SIGSEGV
So whatever #4305 fixes, it's a different bug from this one. Worth decoupling them so this doesn't get closed by that PR.
Note for anyone else trying to capture this
On distros where core dumps are disabled (/proc/sys/kernel/core_pattern set to
|/bin/false, which is common), coredumpctl shows nothing and it's easy to
conclude no crash occurred. The kernel still logs the segfault:
journalctl -k | grep buzz-desktop
Happy to test patches or a debug build with symbols — this reproduces on demand here, so I can get you a proper backtrace if you ship an unstripped AppImage.
Unrelated noise in the same stderr, in case it's useful
The bundled libs also shadow some system ones — probably its own issue (looks related to #3494), not this crash:
/tmp/.mount_Buzz.XXXXXXX/usr/lib/libssl.so.3: version `OPENSSL_3.2.0' not found (required by /usr/lib/libcurl.so.4)
Failed to load module: /usr/lib/gio/modules/libgiolibproxy.so
I had something similar on Pop!OS. The desktop would just lock up. Everything was still working in the background, the refresh had just borked. I opened this issue [ https://github.com//issues/4305 ] and a corresponding pull request [ https://github.com//pull/4308 ] In short, I set an environment variable before launching
WEBKIT_DISABLE_DMABUF_RENDERER=1You are explicitly telling the WebKitGTK engine: "Do not use DMABUF hardware sharing.". This forces the application to fall back to a slightly older, far more stable rendering path (typically standard Shared Memory, or SHM). It will copy the frame buffer using a method that the Wayland compositor is guaranteed to understand. Hopefully this helps 🤞not sure if i did it right, however didn't really work here:
Tried:
WEBKIT_DISABLE_DMABUF_RENDERER=1 ./Buzz_0.5.3_amd64.AppImage
Result: still crashes when switching communities/projects (left rail). App starts fine; crash only on community switch. 100% repro before and after.
- OS: Kubuntu 24.04
- Session: Wayland (or X11 — run
echo $XDG_SESSION_TYPEand fill in)- Install: AppImage 0.5.3
- Repro: switch between two communities (e.g. H ↔ BL) → exit/freeze every time
Well, it was a bit of a long shot. I thought "maybe if he's switching frames by clicking back 'n forth ..."
Root cause identified and reproduced outside Buzz: it's a WebKitGTK 2.52 null-pointer bug, hit when Buzz's community-switch view transition is the first thing to demand accelerated compositing. Fix-side discussion is consolidated in #3488 — evidence and the full env-var matrix are in https://github.com/block/buzz/issues/3488#issuecomment-5283002616.
App-side fix: #5768. An upstream WebKitGTK report is prepared and will be linked from #3488 once filed.
Until either lands: no environment variable fixes this (we tested the matrix — including the WEBKIT_DMABUF_RENDERER_FORCE_SHM=1 that Buzz already sets). Avoiding the community-switch animation is the only working mitigation.