rav1e icon indicating copy to clipboard operation
rav1e copied to clipboard

Process killed with `illegal hardware instruction` on Apple M1

Open Shnatsel opened this issue 1 year ago • 2 comments

Describe the bug

Running a trivial program that uses rav1e results in zsh: illegal hardware instruction.

This issue was originally reported against the image crate, but was later isolated to rav1e: https://github.com/image-rs/image/issues/2108

To Reproduce cargo run in this repository: https://github.com/astral4/avif-ub

Expected behavior The process should not crash.

Required Information Originally observed on Mac OS, on rustc 1.75.0 (82e1608df 2023-12-21), with rav1e v0.7.1. You can find the full Cargo.lock in the repository.

Shnatsel avatar Jul 24 '24 17:07 Shnatsel

I cannot reproduce the problem with rustc 1.79.0 (129f3b996 2024-06-10) on an Apple M2.

lu-zero avatar Jul 24 '24 18:07 lu-zero

Thank you for investigating!

@astral4 can you confirm whether you are still experiencing this issue?

Shnatsel avatar Jul 24 '24 19:07 Shnatsel