-
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
Infinite compilation time in _intern_type_list #69790
Comments
Can you provide a more self-contained reproduction? I looks like this requires running |
Yeah, that's the problem — I can't. Even another compilation of the same project doesn't hang. Sometimes it's just slow or very slow. I suspect it's hitting some O(n^2) case somewhere, but perhaps depending on order of things in hash tables or something non-deterministic. |
I've just noticed that this compilation actually was from stable, not from nightly. |
there are only 2 threads, one is asleep. The other:
Unfortunately lldb doesn't see any variables. |
Does it happen on |
Ah, no, that seems to take a pathological time in item-types checking (which is unusual), but finished after ~1 minute in that phase. |
Oh, neat, that one is almost completely gone on nightly :) |
|
Yeah, sorry. I thought it (also) happened on nightly this time, but seems that my deploy didn't pick the right toolchain. It is tolerable on nightly. The compilation is painfully slow. I think it got worse after I added |
Thanks for having a look. I'll try to make a more specific report later. |
I've been compiling my project with rustc 1.41.1 (f3e1a95 2020-02-24, Linux), and it has got stuck. It usually takes a few minutes, but not this time:
Perf sample shows this:
I've kept the process running, so let me know what I can do to provide you more info.
The text was updated successfully, but these errors were encountered: