Stream: git-wasmtime

Topic: wasmtime / issue #14584 Panic when a shared memory has an...


view this post on Zulip Wasmtime GitHub notifications bot (Oct 06 2026 at 19:50):

alexcrichton opened issue #14584:

Shared memories are disabled by default in Wasmtime, but if enabled then the following test doesn't pass. Note that the wast subcommand unconditionally enables shared memory for spec tests.

(module $a
  (memory (export "m") 1 1 shared)
  (func (export "ld") (param i32) (result i32) (i32.load (local.get 0))))
(register "a" $a)
(module $b (import "a" "m" (memory 1 1 shared)))
(assert_trap (invoke $a "ld" (i32.const 0x10000)) "out of bounds")

$ wasmtime wast shared_fault.wast

thread 'main' (1152921) panicked at crates/wasmtime/src/runtime/store.rs:2031:17:
assertion failed: fault.is_none()
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
zsh: IOT instruction (core dumped)  wasmtime wast shared_fault.wast

view this post on Zulip Wasmtime GitHub notifications bot (Oct 06 2026 at 19:50):

alexcrichton added the wasm-proposal:threads label to Issue #14584.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 08 2026 at 16:49):

fitzgen added the bug label to Issue #14584.


Last updated: Oct 11 2026 at 04:10 UTC