Open
Description
Subject of the issue
iwasm
with an aot fails with unhandled SIGSEGV
. The original wasm
works fine.
Test case
WAT file: test.txt
A Moonbit version of n-body simulation
Your environment
- Host OS: Mac M1 Sonoma 14.4.1
- WAMR version, platform, cpu architecture, running mode: 7949df9, iwasm built with GC support
Steps to reproduce
wasm-tools parse test.wat -o test.wasm
wamrc --size-level=0 -o test.aot --enable-gc test.wasm # size-level=0 due to Mac M1
iwasm test.aot
Expected behavior
Print result (which I assume is 0x0:i32
)
Actual behavior
unhandled SIGSEGV, si_addr: 0x67ffff79