ITADN

SIGSEGV: Invalid memory reference with certain rust flags on ARM machines.

#717Opennhtyy 创建于 2025-06-06
N
nhtyycommented
Unfortunately, I was unable to create a minimal repro, so this issue may not be very valuable. I noticed that when compiling on an ARM machine with the following flags: `RUSTFLAGS='-Cdebug-assertions -Ctarget-cpu=native'` I would always get a SIGSEGV after a deterministic amount of `Backtrace::new_unresolved`, removing either or both flags would allow the program to work fine. If you wanted to try to reproduce this issue, you could clone the [SP1 repo](https://github.com/succinctlabs/sp1) and run the following commands on an ARM machine: ``` RUST_LOG=trace RUSTFLAGS="-Ctarget-cpu=native -Cdebug-assertions" cargo test --release --features native-gnark -p sp1-prover --lib -- - --exact tests::test_e2e --nocapture ``` Note: this may require `go` to be installed. Machine specs: - AWS machine - OS: Ubuntu 22.04.5 LTS aarch64 - host: c7g.16xlarge - Kernel: 6.8.0-1024-aws
0 条评论