-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
rust --version may trip a pthreads assertion #8870
Comments
To reproduce, I just kept running |
newrt's |
It's unfortunate though because 17 seems like a lot... I could just be worrying about nothing though |
I am seeing this about 50-70% of the time I run |
I'm guessing this is an 8 core machine, so there is the main thread, 8 scheduler threads, and 8 mystery threads. on OS X libuv was creating an extra thread per event loop, but I thought that was fixed in #8407. |
@brson, looking in gdb now on the same machine, there are only 9 threads. This may have been in the interim period where I just had a bad rustc. Regardless, 9 seems more appropriate (1 per core). |
Yup, I can confirm that this is now fixed on Linux. |
Strip `clippy::` prefix from search strings changelog: none closes: rust-lang#8865 r? `@xFrednet`
There's a few interesting things going on here. First, why does rust spawn 17 threads for a simple program which will immediately return? Second, it seems odd that we're tripping the assertion in the first place...
cc @brson
The text was updated successfully, but these errors were encountered: