-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
segfault on 'index out of bounds' OS X Yosemite #51794
Copy link
Copy link
Closed
Labels
O-macosOperating system: macOSOperating system: macOSP-highHigh priorityHigh priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-stablePerformance or correctness regression from one stable version to another.Performance or correctness regression from one stable version to another.
Metadata
Metadata
Assignees
Labels
O-macosOperating system: macOSOperating system: macOSP-highHigh priorityHigh priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-stablePerformance or correctness regression from one stable version to another.Performance or correctness regression from one stable version to another.
Type
Fields
Give feedbackNo fields configured for issues without a type.
I get Segmentation Fault on this code when running the debug binary.
Only happens on OS X Yosemite 10.10.5 .
$ cargo run Finished dev [unoptimized + debuginfo] target(s) in 0.02s Running `target/debug/segfault` Segmentation fault: 11 $ cargo run --release Finished release [optimized] target(s) in 0.02s Running `target/release/segfault` thread 'main' panicked at 'index out of bounds: the len is 1 but the index is 1', src/main.rs:3:20 note: Run with `RUST_BACKTRACE=1` for a backtrace.Meta
rustc 1.27.0 (3eda71b 2018-06-19)
binary: rustc
commit-hash: 3eda71b
commit-date: 2018-06-19
host: x86_64-apple-darwin
release: 1.27.0
LLVM version: 6.0