jrouaix / wasm_pbm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wasm_pbm

Following the issue described by @t0muxx in here :

Also reported here :

Trying to have a minimalist reproducible example of the issue.

if you see this

Run examples :

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.

Results :

  • ❌ : 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 ✔️ ✔️ ?

Multiple error messages the crash can produce :

  • [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)')

Install Dependencies

cargo install trunk

About


Languages

Language:Rust 58.0%Language:HTML 42.0%