-
Notifications
You must be signed in to change notification settings - Fork 574
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iwasm with aot file fail with SIGSEGV #3442
Comments
Hi, I run it on my x86 ubuntu and didn't reproduce the error, I think it's platform specific bug. Can you try run iwasm with -v=5 to print log so that it may help locate the bug? |
Sure, here's the log:
|
So if you run wasm file, will it raise the same error? |
No, only the aot file fails |
Subject of the issue
iwasm
with an aot fails withunhandled SIGSEGV
. The originalwasm
works fine.Test case
WAT file: test.txt
A Moonbit version of n-body simulation
Your environment
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
The text was updated successfully, but these errors were encountered: