Skip to content

Unexpected failed execution: ref.func 0 #2093

Closed
@erxiaozhou

Description

@erxiaozhou

Build commands

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

export CC=/usr/bin/clang-14
export CXX=/usr/bin/clang++-14
cd product-mini/platforms/linux/;rm -rf build
cmake  -DWAMR_BUILD_INTERP=1 -DWAMR_BUILD_REF_TYPES=1 -DWAMR_BUILD_AOT=0 -DCMAKE_BUILD_TYPE=Debug -DWAMR_BUILD_FAST_INTERP=1 -Bbuild
cd build
make -j40

execute:

iwasm --heap-size=0 -f to_test <tc_name>

test case:

iwasm_2.zip

Actual behavior:

An exception:

WASM module load failed: undeclared function reference

Expected behavior:

The test case is executable

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions