Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Process killed with illegal hardware instruction on Apple M1 #3392

Open
Shnatsel opened this issue Jul 24, 2024 · 2 comments
Open

Process killed with illegal hardware instruction on Apple M1 #3392

Shnatsel opened this issue Jul 24, 2024 · 2 comments
Labels

Comments

@Shnatsel
Copy link

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: image-rs/image#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 Shnatsel added the bug label Jul 24, 2024
@lu-zero
Copy link
Collaborator

lu-zero commented Jul 24, 2024

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

@Shnatsel
Copy link
Author

Thank you for investigating!

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants