Problem with Workstation GC hanging
- Dominant language
- C#
- Stars
- 18.3k
- Forks
- 5.6k
- PR merge metrics
- PR metrics pending
Description
### Description
Hi support,
We have had a problem in the field with one of our EXEs hanging. We captured some DMP files 10 minutes apart and then used Claude to conduct an analysis. The result is that it looks like we hung due to a GC issue in Workstation mode. After the runtime has frozen all threads except the thread that initiated the GC, that thread in turn hangs trying to do a wait requiring the threadpool. (Which is now effectively frozen).
_We can make the DMP files and the Claude-generated report/analysis available, but to not want to do that publicly._
We do not have a reproducible scenario. However, we can say that this happened on multiple occasions on different customer machines.
The machines are all running Windows Server 2022 DataCenter. We are using .NET 10.
Please advise how we can provide these DMP files to you privately.
### Reproduction Steps
We cannot provide a repo, but we can supply the DMP files as detailed above.
### Expected behavior
The software should not hang.
### Actual behavior
The EXE hangs. We have to restart it, after which it is fine.
### Regression?
We do not think so, but we may be wrong.
### Known Workarounds
We are trying Server GC to see if that works around the problem.
### Configuration
.NET 10, Server 2022 DataCenter edition. x64
The report we got from Claude indicates that we are making a lot of use of the LOH, but otherwise could not narrow it down,
### Other information
Again, we can supply this information, but not publicly. Please contact me so I can provide you a download link.
Contributor guide
Assessment
This issue has not been assessed yet.