You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
wasm32-wasip3 v34-rc1 reactor crashes at startup when a global constructor is present #643
error while executing at wasm backtrace:
0: my-world.wasm!Greeter::Greeter()
1: my-world.wasm!__cxx_global_var_init
2: my-world.wasm!_GLOBAL__sub_I_impl.cpp
3: my-world.wasm!__wasm_call_ctors
4: my-world.wasm!_initialize
memory fault at wasm address 0xfffffffc in linear memory of size 0x20000
wasm trap: out of bounds memory access
Building the same source for wasm32-wasip2 instead runs fine (ctor ran / run called).
Activity
alexcrichton commentedon Jul 20, 2026
Thanks! This should be fixed by bytecodealliance/wasm-tools#2574 (and it'll take a moment to percolate that everywhere)
alexcrichton commentedon Jul 22, 2026
Ok should be fixed in 34.0-rc.2
Call `__wasm_init_task` for `_initialize` hook (bytecodealliance#2574)