-
Notifications
You must be signed in to change notification settings - Fork 137
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 panic in asan test #269
Comments
Getting the same error occasionally. I think the reason is that nightly is updated recently. |
I also had the same errors often. In my case, it worked again after running cargo clean. |
Oh really? Thanks for comments, then I'll try again few hours later..... |
cargo clean fails of removing homework/target/rls/debug/deps/.nfs~~ file. |
That also happened to me, but it seems like you can ignore it. |
The reason was that I didn't properly exit the test execution and build files could not be removed. |
The error happens continuously even if I correctly terminate the test. |
Wow that's interesting. For now, lets use older nightly
diff --git a/scripts/grade-utils.sh b/scripts/grade-utils.sh
index 5c6b6b7..aea163a 100755
--- a/scripts/grade-utils.sh
+++ b/scripts/grade-utils.sh
@@ -7,7 +7,7 @@
# * RUNNERS: array of "cargo[_asan | _tsan] [--release]"
# * TIMEOUT: default 10s
-rustup toolchain update stable nightly
+# rustup toolchain update stable nightly
echo_err() {
echo -e "\033[0;31m\033[1m$@\033[0m" 1>&2
@@ -31,7 +31,7 @@ cargo_asan() {
local SUBCOMMAND=$1; shift
RUSTFLAGS="-Z sanitizer=address" \
RUSTDOCFLAGS="-Z sanitizer=address" \
- cargo +nightly $SUBCOMMAND --target x86_64-unknown-linux-gnu $@
+ cargo +nightly-2020-09-23 $SUBCOMMAND --target x86_64-unknown-linux-gnu $@
}
export -f cargo_asan
@@ -41,7 +41,7 @@ cargo_tsan() {
TSAN_OPTIONS="suppressions=suppress_tsan.txt" \
RUSTDOCFLAGS="-Z sanitizer=thread" \
RUST_TEST_THREADS=1 \
- cargo +nightly $SUBCOMMAND --target x86_64-unknown-linux-gnu $@
+ cargo +nightly-2020-09-23 $SUBCOMMAND --target x86_64-unknown-linux-gnu $@
}
export -f cargo_tsan |
|
|
Thank you for the report. Did anyone report it via https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md ? |
No, I didn't.. |
Me neither. |
I'm having the same problem, even after fetching upstream and after running the line Is there anything more I must do to solve this problem? |
@bryanswkim99 have you applied this diff #269 (comment) ? |
It seems to be working now. Thank you! |
|
Seems like the Issue is already reported and it was related to incremental compilation. Hence the The fix has been merged yesterday. So it'll be fine after nightly 2020-12-09 I guess? |
Is there anyone why those errors occurs?
I have not revised any code except for project
.rs
file.But only in asan sanitizer test, those error occurs. Do I have to reinstall rustc or programs related to asan?
I have no idea, please help me....
The text was updated successfully, but these errors were encountered: