You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Hang calling Environment.FailFast on multiple threads at the same time #72565
The repro that I have created was manually tweaked to repro the problem in .NET 6. It does not repro the problem in .NET 7 due to the timing and runtime implementation details changing in .NET 7.
And we have two issues opened on the intermittent failures (including timeouts/hangs) hit by the existing tests: #56950#57621 . I think that it is pretty good chance that some of the intermittent failures tracked by these two issues are dups of this one.
Activity
Fix hang caused by calling Environment.FailFast on multiple threads
Fix hang caused by calling Environment.FailFast on multiple threads
Fix hang caused by calling Environment.FailFast on multiple threads (#…
danmoseley commentedon Jul 21, 2022
Is any test feasible here? ie., can the above just turn into a test that should no longer hang?
jkotas commentedon Jul 21, 2022
The repro that I have created was manually tweaked to repro the problem in .NET 6. It does not repro the problem in .NET 7 due to the timing and runtime implementation details changing in .NET 7.
We have two tests exercising the paralel crash already: https://github.com/dotnet/runtime/tree/main/src/tests/baseservices/exceptions/simple
And we have two issues opened on the intermittent failures (including timeouts/hangs) hit by the existing tests: #56950 #57621 . I think that it is pretty good chance that some of the intermittent failures tracked by these two issues are dups of this one.
Fix hang caused by calling Environment.FailFast on multiple threads (#…