-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
UI Tests that check ICEing thread names break with parallel-compiler = true
#65047
Comments
triage: P-high, since fixing this is presumably high impact for WG-parallel-rustc. Removing nomination label. |
Would it be enough to normalize output of those two tests similarly to this?
|
(also, I'm tempted to remove the ICE label. Its a little weird that we have tests that are checking the output format of ICEs, but regardless of that, this bug is not about addressing any ICEs in the compiler itself.) |
Yes I suspect something like that might well suffice. |
(I'm willing to mentor fixes to this bug. I suspect there are very easy solutions available.) |
I will try to reproduce this error, if I can I want to try to take it down! |
Tested it on Ubuntu 18.04, and it did panic. Waiting on instructions, I have little clue as how to proceed. |
Yes, and I have a commit to add thread names in #64358, 4152abe. We could easily apply that separately without waiting for the new rustc-rayon to be published. |
Hmm, so I need to apply the same changes to this issue as well? @cuviper |
@hbina Yes, if you apply the same Either way, I don't think this issue deserves |
closing as fixed since #64358 landed. |
When I run
./x.py test
locally on a clean checkout of master withparallel-compiler = true
, I see a couple of failures that seem to be related to the name of the rustc thread which ICEd in the tests. I turned parallel-compiler off, reran the test command, and the tests passed.Here's the stderr diffs of the failing tests:
My assumption is that the parallel-compiler flag doesn't result in all of the threads being named
rustc
, and so when the ICE occurs it produces an error message from an unnamed thread. I also assume this is totally OK in most cases, because very few things rely on the names of compiler threads.If these completely unfounded assumptions are accurate, then would it be reasonable to set the name of threads in the compiler's pool?
The text was updated successfully, but these errors were encountered: