Description
On OS X 10.10, when I compile a crate I wrote for work and run the crate binary using cargo run --release
, the generated binary will segfault when I try certain actions. Oddly enough, debug builds do not seem to exhibit the segfaulting behavior at all.
This bug is tricky to describe, as I have no clue what causes the generated binary to segfault.
Just to rule out the factor: the crate I'm building has no unsafe
code.
However, I do know that compiling using up to and including rustc 1.26.0-nightly (392645394 2018-03-15)
, the generated crate binary runs fine.
Starting with rustc 1.26.0-nightly (55c984ee5 2018-03-16)
something has changed in behavior to cause this segfault on OS X.
For context and some additional information, please see the discussion on users.rust-lang.org.