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

os x / make check-fast bug that seems to effect invoke-external-native #1346

Closed
boggle opened this issue Dec 20, 2011 · 6 comments
Closed

os x / make check-fast bug that seems to effect invoke-external-native #1346

boggle opened this issue Dec 20, 2011 · 6 comments
Labels
A-runtime Area: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows I-crash Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.

Comments

@boggle
Copy link
Contributor

boggle commented Dec 20, 2011

https://gist.github.com/1500793

looks like this is concurrency related, cannot reproduce this safely on the machine where i see it and am logging this here

make check-fast CFG_DISABLE_VALGRIND=1

run-pass [stage2]: test/run-pass/invoke-external-native.rs
rust: fatal, 'false' failed, ../src/rt/rust_upcall.cpp:63 Native code threw an exception
make: *** [x86_64-apple-darwin/test/run_pass_stage2_driver-x86_64-apple-darwin.out] Abort trap: 6

make check-fast CFG_DISABLE_VALGRIND=1 DEBUG=1 # seems to trigger different bug

/opt/rust/src/rust/src/test/run-pass/while-with-break.rs:12 [1, 2, 3, 4, 5]; // we check that it is freed by break
rust: "smallintmap::get(): key not present"
rust: upcall fail 'explicit failure', ../src/libstd/smallintmap.rs:59
rust: domain main @0x7fa7ea01d600 root task failed
make: *** [x86_64-apple-darwin/stage2/lib/rustc/x86_64-apple-darwin/lib/librun_pass_stage2.dylib] Error 101

@boggle
Copy link
Contributor Author

boggle commented Dec 20, 2011

is anyone else seing this?

@brson
Copy link
Contributor

brson commented Dec 31, 2011

On Linux I don't see the 'native exception' error. I do see the DEBUG=1 error on Linux, which might be related to the new debug info - I noticed test failures after it was added.

@graydon
Copy link
Contributor

graydon commented Feb 15, 2012

Still reproducible?

@brson
Copy link
Contributor

brson commented Feb 15, 2012

The debug thing is a separate issue and I think is probably covered by other debuginfo bugs. I can't speak to the 'native code threw an exception' error.

@catamorphism
Copy link
Contributor

@boggle : Can you still reproduce this?

@boggle
Copy link
Contributor Author

boggle commented Apr 12, 2012

No, I can't - but I also updated this machine quite a bit since I last checked this. Still, if no one else is seeing this, it is probably best to close this issue for now.

@boggle boggle closed this as completed Apr 12, 2012
bjorn3 added a commit to bjorn3/rust that referenced this issue Feb 9, 2023
Improve -Ztime-passes and -Zself-profile output
coastalwhite pushed a commit to coastalwhite/rust that referenced this issue Aug 5, 2023
celinval pushed a commit to celinval/rust-dev that referenced this issue Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-runtime Area: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows I-crash Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.
Projects
None yet
Development

No branches or pull requests

4 participants