-
Notifications
You must be signed in to change notification settings - Fork 13.3k
ThreadSanitizer broke between nightly build 07-06 and 07-07 #44002
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
Comments
Stack Overflow suggests that you need to increase your
From 3610a70...696412d, I guess either #42899 (Switch to rust-lang-nursery/compiler-builtins) or #42816 (rustc: Implement stack probes for x86) is responsible. No repro when running on macOS with a more recent nightly.
|
|
@est31 still an issue for me on the 8/20 nightly
|
Repro on Debian. Looks like it only affects Linux, but not macOS (which uses a dylib TSan instead of staticlib). Given these I strongly suspect #42816 is the cause (cc @alexcrichton): rust/src/librustc_trans/attributes.rs Lines 80 to 86 in 757b7ac
Is it possible to turn off stack-probes with a |
This was fixed on nightly-2017-08-28-x86_64-unknown-linux-gnu (I binary searched, 2017-08-27 was broken still). Thanks! |
While working on my lock-free persistent b+ tree I updated my rustc and all of the sudden started having problems when running tsan.
λ uname -a
λ cat src/main.rs
λ RUSTFLAGS="-Z sanitizer=thread" rustup run nightly-2017-07-06-x86_64-unknown-linux-gnu cargo run --target x86_64-unknown-linux-gnu
λ RUSTFLAGS="-Z sanitizer=thread" rustup run nightly-2017-07-07-x86_64-unknown-linux-gnu cargo run --target x86_64-unknown-linux-gnu
The text was updated successfully, but these errors were encountered: