WasmEdge / WasmEdge

WasmEdge is a lightweight, high-performance, and extensible WebAssembly runtime for cloud native, edge, and decentralized applications. It powers serverless apps, embedded functions, microservices, smart contracts, and IoT devices.

Home Page:https://WasmEdge.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bug: Fail to raise an exception on a invalid test case

erxiaozhou opened this issue · comments

Summary

Wasmedge fails to raise an exception on an invalid test case.

Current State

No exception

Expected State

An exception indicating "invalid value type"

Reproduction steps

  1. Build with command: cmake -DCMAKE_INSTALL_PREFIX="$install_dir" -DCMAKE_PREFIX_PATH="/usr/lib/llvm-12" -DCMAKE_BUILD_TYPE=Release -DWASMEDGE_BUILD_AOT_RUNTIME=OFF ..
  2. Execute with command: wasmedge run --reactor <test_case> "to_test"

ref.null_1B_372_17149291354201376.zip

Screenshots

DESCRIPTION

Any logs you want to share for showing the specific issue

No response

Components

CLI

WasmEdge Version or Commit you used

abc43dc

Operating system information

Ubuntu 20.04

Hardware Architecture

x86_64

Compiler flags and options

cmake -DCMAKE_INSTALL_PREFIX="$install_dir" -DCMAKE_PREFIX_PATH="/usr/lib/llvm-12" -DCMAKE_BUILD_TYPE=Release -DWASMEDGE_BUILD_AOT_RUNTIME=OFF ..