bytecodealliance/wasm-micro-runtime

iwasm fails on try catch

Opened this issue · 2 comments

Test case

A bit modified version of kotlin-wasm-examples/wasi-example

Steps to reproduce

  1. Download and unzip kotlin-wasm-wasi-example-wasm-wasi.wasm.zip
  2. Build iwasm with GC and EH support.
  3. Run ./iwasm kotlin-wasm-wasi-example-wasm-wasi.wasm.

Expected output

Hello from Kotlin via WASI
OK Hi
Current 'realtime' timestamp is: 1720191249448619000
Current 'monotonic' timestamp is: 4473162847494166

Actual output

Hello from Kotlin via WASI
WASM module instantiate failed: Exception: unsupported opcode

JFTR: it seems to be working when the fast interpreter is disabled

yamt commented

JFTR: it seems to be working when the fast interpreter is disabled

EH is implemented only for classic interpreter.