- https://bugs.webkit.org/show_bug.cgi?id=259441
- https://bytecodealliance.zulipchat.com/#narrow/stream/206238-general/topic/WASM.20.2B.20Webkit2GTK.20.2B.20Linux.20.20.3D.3E.20random.20crashes
cd leptos_example
trunk serve --open
open http://locahost:8080
on you browser and wait for it to crash, then open the console to see the error.
- ❌ : crash
- ✔️ : no crash
OS | Chrome/Chromium/Edge | Firefox | Webkit/Epiphany/Safari | Epiphany/Webkit version |
---|---|---|---|---|
Ubuntu / PopOs | ✔️ | ✔️ | ❌ | 42.2 / ? |
Ubuntu / PopOs | ✔️ | ✔️ | ❌ | 44.4 / 2.40.4 |
Fedora 37 | ✔️ | ✔️ | ❌ | 43.1 / 2.40.3 |
Mac M1 | ✔️ | ✔️ | ✔️ | ? |
archlinux | ✔️ | ✔️ | ❌ | ? |
- [Error] Unhandled Promise Rejection: RuntimeError: Unreachable code should not be executed (evaluating 'wasm.__wbindgen_start()')
- [Error] Unhandled Promise Rejection: RuntimeError: Out of bounds memory access (evaluating 'wasm.__wbindgen_start()')
- [Error] Unhandled Promise Rejection: Error: ret out of bounds
- frozen browser with CPU usage 100% (
webkit2gtk-4.1/WebKitWebProcess
) - [Error] Unhandled Promise Rejection: RuntimeError: Out of bounds memory access (evaluating 'wasm.__wbindgen_start()')
- no error in the console, still the UI crashed
- Error running javascript: Unsupported result type (Web process crashed)
- [Error] Unhandled Promise Rejection: RuntimeError: call_indirect to a null table entry (evaluating 'wasm.closure238_externref_shim(arg0, arg1, arg2)')
- [Error] Unhandled Promise Rejection: RuntimeError: Out of bounds memory access (evaluating 'wasm.run_app(retptr)')
- [Error] RuntimeError: Out of bounds memory access (evaluating 'wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hdb214c0ad6a16231(arg0, arg1)')
- [Error] Unhandled Promise Rejection: RuntimeError: Unreachable code should not be executed (evaluating 'wasm.run_app(retptr)')
cargo install trunk