I constructed a wasm binary with an exported function called "main". I used the following command to compile it with aot compiler, while a segmentation fault was encountered.
file9.zip
wamrc -o file9.wasm.aot file9.wasm
And the outputs are:
Create AoT compiler with:
target: x86_64
target cpu: znver3
target triple: x86_64-unknown-linux-gnu
cpu features:
opt level: 3
size level: 3
output format: AoT file
Segmentation fault (core dumped)
I used other runtimes to execute this wasm binary and found that the program seemed to contain an endless loop.