Recreating a WebGPU canvas inside a live document crashes the browser process on macOS —
EXC_BAD_ACCESS (SIGSEGV) at 0x10 on CrBrowserMain, reached through
tauri_runtime_cef::external_message_pump::PumpState::do_work, at a constant PC, moments
after the new canvas first paints. The first WebGPU canvas of a document is always fine;
only re-creation within the same document lifecycle crashes.
Repro (Tauri app on tauri-cef-v3.0.0-alpha.23, SvelteKit frontend, macOS arm64):
- Page A holds a
<canvas> with a configured webgpu context.
- Client-side navigate to page B — page A unmounts, canvas is garbage.
- Navigate back — new
getContext("webgpu") + configure() on a fresh canvas.
- Browser process segfaults right after the first frame renders. 100% reproducible.
It is not the CN build: identical crash on the fork binaries (151.1.0+151.1.0-HEAD.3585,
first .ips) and on the stock crates.io/Spotify build (151.1.0+151.3.12, second .ips),
crash-reports.zip
Likely upstream Chromium in the embedded compositor path
Crash reports attached: fork build (…-195501.ips) and stock 151.3.12 (…-202511.ips).
Recreating a WebGPU canvas inside a live document crashes the browser process on macOS —
EXC_BAD_ACCESS (SIGSEGV)at0x10onCrBrowserMain, reached throughtauri_runtime_cef::external_message_pump::PumpState::do_work, at a constant PC, momentsafter the new canvas first paints. The first WebGPU canvas of a document is always fine;
only re-creation within the same document lifecycle crashes.
Repro (Tauri app on
tauri-cef-v3.0.0-alpha.23, SvelteKit frontend, macOS arm64):<canvas>with a configuredwebgpucontext.getContext("webgpu")+configure()on a fresh canvas.It is not the CN build: identical crash on the fork binaries (
151.1.0+151.1.0-HEAD.3585,first
.ips) and on the stock crates.io/Spotify build (151.1.0+151.3.12, second.ips),crash-reports.zip
Likely upstream Chromium in the embedded compositor path
Crash reports attached: fork build (
…-195501.ips) and stock 151.3.12 (…-202511.ips).