-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
area-GC-coreclrneeds-author-actionAn issue or pull request that requires more info or actions from the author.An issue or pull request that requires more info or actions from the author.partner-impactThis issue impacts a partner who needs to be kept updatedThis issue impacts a partner who needs to be kept updated
Description
Description
We're hitting random hangs in the Microsoft Store in debug builds on CoreCLR.
Context from @hoyosjs:
"This is a loader lock deadlock
[...]
- Thread 3 tries to do a GC from the added pressure, which tries to start the background GC thread.
- BG thread (and a ton of others) fail to start - they are stuck in LdrpInitializeThread on LdrpAcquireLoaderLock
- They can't start bc thread 16 has the lock (LdrShutdownThread) and it's doing TLS destruction. Part of it must happen in COOP GC. Transitioning to coop means it waits for the original GC...
Crash dump (MSFT only): loader_hang_dmp.zip
Reproduction Steps
It just happens when using the app for a while.
Configuration
- .NET 9.0.202
Metadata
Metadata
Assignees
Labels
area-GC-coreclrneeds-author-actionAn issue or pull request that requires more info or actions from the author.An issue or pull request that requires more info or actions from the author.partner-impactThis issue impacts a partner who needs to be kept updatedThis issue impacts a partner who needs to be kept updated