-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
rustc exits with SIGSEV (signal 11) #34194
Labels
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
Comments
I played around with the code to make it actually more minimal, as well as pointing to the line which introduces the error during compilation #![allow(dead_code)]
#![allow(non_upper_case_globals)]
pub struct UID {
uid: &'static str,
}
pub static ImplicitVRLittleEndian: &'static UID = &UID { uid: "1.2.840.10008.1.2" };
pub struct TransferSyntax {
uid: &'static UID,
}
/**** The addition of the following line is what causes the error */
pub static ImplicitVRLittleEndian_TS: &'static TransferSyntax = &TransferSyntax { uid: &ImplicitVRLittleEndian };
fn main() {
println!("Hello, world!");
} |
This seems to have been fixed on nightly (playpen). |
dsprenkels
added a commit
to dsprenkels/rust
that referenced
this issue
Jun 18, 2016
According to a quick git-bisect, #33523 contained the commit that fixed this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
I have a small project that I've been learning rust with. Just now I've added some code and the next time I run
cargo build
rustc exits with SIGSEV signal 11. I've previously not run into this issue while working on this project.Minimal Reproducible Code: main.rs.txt
Meta
I'm working on Mac (OSX 10.11.5), with rust installed through Homebrew
Cargo & Rust Version:
Details on homebrew install:
The text was updated successfully, but these errors were encountered: