Skip to content

resources.wast test failing in sync mode with cooperative multithreading #11954

@alexcrichton

Description

@alexcrichton

Fuzzing overnight plus some bisection locally shows that after #11751 and with #11953 applied the following fails locally

$ cargo run wast tests/misc_testsuite/component-model/resources.wast --async=false
   Compiling wasmtime-cli v39.0.0 (/Users/alex/code/wasmtime)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.18s
     Running `target/debug/wasmtime wast tests/misc_testsuite/component-model/resources.wast --async=false`
Error: failed to run script file 'tests/misc_testsuite/component-model/resources.wast'

Caused by:
    0: failed directive on tests/misc_testsuite/component-model/resources.wast:28
    1: error while executing at wasm backtrace:
           0:     0x5d - m!<wasm function 1>
       note: using the `WASMTIME_BACKTRACE_DETAILS=1` environment variable may show more debugging information
    2: wasm trap: wasm `unreachable` instruction executed

cc @TartanLlama would you be up for investigating this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    fuzz-bugBugs found by a fuzzerwasm-proposal:component-threadingIssues related to cooperative threading in the component model

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions