You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
WASM WebGPU: GPU process crash in RichEditBox tests leaves later screenshots at 0x0 #25210
On the master WebAssembly WebGPU Runtime Tests 9 lane, Chrome's swiftshader GPU process crashes (GPU process exited unexpectedly: exit_code=512) while Given_RichEditBox.When_Unfocused_Selection_Highlight_Is_Transparent_Text_Remains_Visible runs. It comes right after the heavy bounded-layout RichEditBox tests, where When_Bounded_Rich_Layout_Inherits_Visual_State_Foreground (8200 runs) takes about 65 s with frames of about 10 s each.
The WebGPU device is then lost and never recreated, so every later RenderTargetBitmap in the shard fails (mapAsync ... A valid external Instance reference no longer exists) and returns a 0x0 bitmap. Shape, RichTextBlock_Highlighters/Render and ShapesClearData screenshot tests fail on the first attempt ("Width=0, Height=0", IndexOutOfRange in RawBitmap.GetPixel) and pass on the retry. Seen in builds 238781, 238799 and 238800.
Expected behavior 🎯
The heavy RichEditBox tests should not take down the GPU process, and screenshot tests later in the shard should keep working.
How to reproduce it (as minimally and precisely as possible) 🔬
Run the WASM WebGPU runtime tests group 9 of 12 (UNO_WEBGPU=1, Chrome --use-webgpu-adapter=swiftshader) on the CI Linux agents.
Locally with UNO_WEBGPU_STATS=1, each visual-state change in When_Bounded_Rich_Layout_Inherits_Visual_State_Foreground costs 4.8-7.3 s of opsBuild/rebuild on the main thread (about 1,800 ops, about 10k glyph lookups per re-record).
The product gaps behind this are tracked separately: WebGPU device loss is never recovered, and re-recording large rich text costs seconds per frame on WebGPU WASM. This issue covers the CI test-order cascade.
Activity