Skip to content
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

Unexpect exception (allocate memory failed) on fast interpreter mode #2953

Closed
erxiaozhou opened this issue Dec 31, 2023 · 2 comments
Closed

Comments

@erxiaozhou
Copy link

erxiaozhou commented Dec 31, 2023

Build commands

I compile the code with commit id 92bf854.
Platform: Ubuntu 20.04
CPU: amd64
compile:

export CC=/usr/lib/llvm-16/bin/clang
export CXX=/usr/lib/llvm-16/bin/clang++
cd product-mini/platforms/linux/;rm -rf build
cmake  -DWAMR_BUILD_INTERP=1 -DWAMR_BUILD_REF_TYPES=1 -DWAMR_BUILD_SIMD=1 -DWASM_ENABLE_BULK_MEMORY=1 -DWAMR_BUILD_AOT=0 -DCMAKE_BUILD_TYPE=Release -DWAMR_BUILD_FAST_INTERP=1 -DWAMR_BUILD_LIBC_WASI=0 -DWAMR_BUILD_LIBC_BUILTIN=1 -Bbuild

execute:

iwasm --heap-size=0  <tc_name>

Cases

iwasm_fast_interp_unexpected_exception2.zip

Actual behavior:

Exception: allocate memory failed

Expected behavior:

No exception

0x16006d52ce3ebd1a:i64
@wenyongh wenyongh changed the title Unexpect excrption (allocate memory failed) on fast interpreter mode Unexpect exception (allocate memory failed) on fast interpreter mode Jan 3, 2024
wenyongh pushed a commit that referenced this issue Jan 4, 2024
@xujuntwt95329
Copy link
Collaborator

Thanks for reporting this, we've fixed in #2974

@wenyongh
Copy link
Contributor

wenyongh commented Jan 5, 2024

Close this issue since it was fixed.

@wenyongh wenyongh closed this as completed Jan 5, 2024
victoryang00 pushed a commit to victoryang00/wamr-aot-gc-checkpoint-restore that referenced this issue May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants