Stream: git-wasmtime

Topic: wasmtime / issue #14377 winch: Miscompilation with `unrea...


view this post on Zulip Wasmtime GitHub notifications bot (Sep 22 2026 at 14:02):

saulecabrera opened issue #14377:

The following program:

  (module (func $f (return) (try_table (catch_all 0))))

When compiled with:

  ./target/debug/wasmtime compile -C compiler=winch -W exceptions \
      try_table_unreachable.wat -o /dev/null

Returns: Invalid local offset

And when compiled with:

  ./target/debug/wasmtime compile -C compiler=winch -W exceptions,fuel=1000 \
      try_table_unreachable.wat -o /dev/null

Returns: Invalid fuel state

Note that the second error only happens with fuel and not with epoch.

cc/ @macovedj

view this post on Zulip Wasmtime GitHub notifications bot (Sep 22 2026 at 14:02):

saulecabrera added the bug label to Issue #14377.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 22 2026 at 14:02):

saulecabrera added the winch label to Issue #14377.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 23 2026 at 17:15):

saulecabrera closed issue #14377:

The following program:

  (module (func $f (return) (try_table (catch_all 0))))

When compiled with:

  ./target/debug/wasmtime compile -C compiler=winch -W exceptions \
      try_table_unreachable.wat -o /dev/null

Returns: Invalid local offset

And when compiled with:

  ./target/debug/wasmtime compile -C compiler=winch -W exceptions,fuel=1000 \
      try_table_unreachable.wat -o /dev/null

Returns: Invalid fuel state

Note that the second error only happens with fuel and not with epoch.

cc/ @macovedj


Last updated: Oct 11 2026 at 04:10 UTC