Hi all,
I’m developing applications running on WAMR for x86_x64 PC/Linux platform, with the goal of executing the same binaries on an embedded platform (STM32) just by changing the WAMR platform port.
I experienced different behavior with AOT exception handling depending on the platform:
wasm_application_execute_main() returns and I can retrieve it with wasm_runtime_get_exception().wasm_application_execute_main() never returns.If I use interpreted WASM instead of AOT on Linux, exceptions are handled correctly.
Does WAMR fully support exception handling for AOT binaries on PC/Linux? Could this behaviour be due to configuration or platform-specific differences?
Any help would be greatly appreciated!
Thanks in advance,
Fernando
This topic was moved to #wamr > AOT Exception handling for x86_64 linux platform by fitzgen (he/him).
Last updated: Jun 01 2026 at 09:49 UTC