Stream: git-wasmtime

Topic: wasmtime / issue #6639 Crash when using `simd` with `carg...


view this post on Zulip Wasmtime GitHub notifications bot (Jun 24 2023 at 07:19):

ozgrakkurt opened issue #6639:

Hello!

I am trying to test a library with

RUSTFLAGS="-C target-feature=+simd128" cargo +nightly wasi test --release -- --nocapture

But it crashes on runtime without any diagnostic info:
https://github.com/ozgrakkurt/sbbf-rs/actions/runs/5363148176/jobs/9730524096?pr=4

It works without simd so I am thinking it is because of simd. I installed wasmtime and cargo-wasi via the recommended commands:

and the file that uses simd intrinsics is here:
https://github.com/ozgrakkurt/sbbf-rs/blob/4648a9c72ccf51c68ed8ee3dd610a0fa7f2b69de/src/arch/wasm.rs

Not sure if I am misusing something related to simd or if this is a bug

view this post on Zulip Wasmtime GitHub notifications bot (Jun 24 2023 at 12:02):

ozgrakkurt commented on issue #6639:

seems like the crash only happens when I run it locally on my aarch64 pc, works on a PC with avx2 (github actions)

view this post on Zulip Wasmtime GitHub notifications bot (Jun 24 2023 at 12:03):

ozgrakkurt closed issue #6639:

Hello!

I am trying to test a library with

RUSTFLAGS="-C target-feature=+simd128" cargo +nightly wasi test --release -- --nocapture

But it crashes on runtime without any diagnostic info:
https://github.com/ozgrakkurt/sbbf-rs/actions/runs/5363148176/jobs/9730524096?pr=4

It works without simd so I am thinking it is because of simd. I installed wasmtime and cargo-wasi via the recommended commands:

and the file that uses simd intrinsics is here:
https://github.com/ozgrakkurt/sbbf-rs/blob/4648a9c72ccf51c68ed8ee3dd610a0fa7f2b69de/src/arch/wasm.rs

Not sure if I am misusing something related to simd or if this is a bug


Last updated: Nov 22 2024 at 17:03 UTC