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
WAMR behaves differently compared to other runtimes for a particular test case.
Test case
Uploaded files.zip contains the wat code, the wasm binary, and the aot file. files.zip
Your environment
WAMR version (2.2.0), platform (Darwin), cpu architecture (X86_64), running mode (AOT).
Steps to reproduce
Run wat2wasm 14.wat to produce 14.wasm
Run wamrc --bounds-checks=1 -o 14.aot 14.wasm to generate 14.aot
Run iwasm -f main 14.aot to manifest the crash
Expected behavior
Outputs from the other runtimes are as follows:
wasmtime output:
NaN
0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009303770844854126
340282366920899777837155946497432354815
wasmer output:
NaN 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009303770844854126 340282366920899777837155946497432354815
Subject of the issue
WAMR behaves differently compared to other runtimes for a particular test case.
Test case
Uploaded files.zip contains the wat code, the wasm binary, and the aot file. files.zip
Your environment
Steps to reproduce
Run
wat2wasm 14.wat
to produce14.wasm
Run
wamrc --bounds-checks=1 -o 14.aot 14.wasm
to generate14.aot
Run
iwasm -f main 14.aot
to manifest the crashExpected behavior
Outputs from the other runtimes are as follows:
wasmtime output:
wasmer output:
wasmedge output:
Actual behavior
Outputs from
wamrc
andiwasm
are as follows:wamrc output:
iwasm output:
Can you confirm if this is a bug? Thanks in advance.
The text was updated successfully, but these errors were encountered: