Skip to content
This repository was archived by the owner on Mar 17, 2022. It is now read-only.

About

Repro for deadlock in the .NET 6 ConfigurationManager class

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

ConfigurationManager Deadlock Repro

Repro for dotnet/runtime#61747

Steps to reproduce

First, run the application.

dotnet run --configuration Release

Then in one terminal, run the following command:

while ($true) { iwr http://localhost:5000/value | Out-Null }

Then in another terminal, run the following command:

while ($true) { iwr http://localhost:5000/reload -Method POST | Out-Null }

Now continue to add additional terminals/threads running the GET /value request until the application deadlocks.

The application will eventually deadlock similar to the manner shown in the below Parallel Stacks screenshot.

Deadlocked Parallel Stacks

About

Repro for deadlock in the .NET 6 ConfigurationManager class

Resources

Stars

0 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages