Skip to content

TinyWasm traps with unreachable for execute/compression in wasmi-benchmark #47

Description

@Robbepop

In the wasmi-benchmarks where TinyWasm is one of the supported Wasm runtimes, I just noticed that it fails to execute the compression benchmark with the following error:

thread 'main' (9830209) panicked at utils/src/typed_call.rs:31:60:
called `Result::unwrap()` on an `Err` value: trap: unreachable

Reproduction:

  1. Clone wasmi-benchmarks
  2. Checkout the rf-tinywasm-hangs-repro branch
  3. Run cargo bench --profile release --no-default-features -F tinywasm execute/compression

Expected behavior: a proper Criterion benchmark run similar to the other supported Wasm runtimes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions