-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
bugIncorrect behavior in the current implementation that needs fixingIncorrect behavior in the current implementation that needs fixingwasmtime:platform-supportRelated to supporting a new platform in WasmtimeRelated to supporting a new platform in Wasmtime
Description
Test Case
Use the original bytecodealliance/sample-wasi-http-rust's /echo API is enough to reproduce.
Environment
Android arm64 device or emulator.
Latest release of wasmtime-v42.0.1-aarch64-android.tar.xz and bytecodealliance/sample-wasi-http-rust.
Steps to Reproduce
adb shell mkdir -p /data/local/tmp
adb push wasmtime sample-wasi-http-rust.wasm /data/local/tmp
adb forward tcp:8080 tcp:8080
adb shell HOME=/data/local/tmp \
/data/local/tmp/wasmtime serve \
-Scli -Shttp \
/data/local/tmp/sample-wasi-http-rust.wasmOpen a new terminal:
curl -d "$(printf 'data%.0s' {1..5000})" http://127.0.0.1:8080/echo > /dev/nulloutput:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 28038 0 8038 100 20000 197k 491k --:--:-- --:--:-- --:--:-- 702k
curl: (18) transfer closed with outstanding read data remaining
And the wasmtime process crashed and showed:
Serving HTTP on http://0.0.0.0:8080/
Illegal instruction
android-wasi-sigill.mov
Also tried on Termux, same results.
Expected Results
wasmtime process should not exit
Actual Results
Illegal instruction
Versions and Environment
Wasmtime version or commit: wasmtime-v42.0.1-aarch64-android
Operating system: Android 16
Architecture: arm64
Extra Info
Maybe related to #11295
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIncorrect behavior in the current implementation that needs fixingIncorrect behavior in the current implementation that needs fixingwasmtime:platform-supportRelated to supporting a new platform in WasmtimeRelated to supporting a new platform in Wasmtime