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: Unexpected result

erxiaozhou opened this issue · comments

Summary

Wasmedge executes an invalid test case without exception.

Current State

Output:
-3.30479

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"
    f64.sqrt_10_449_17104579592525392.zip

Screenshots

DESCRIPTION

Any logs you want to share for showing the specific issue

No response

Components

CLI

WasmEdge Version or Commit you used

303d5e8

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 ..