dotnet / dotnet/runtime

Debugger hangs due to runtime deadlock.

Open
#126,096 12 comments 0 reactions 1 assignee Claimed by @hoyosjs View on GitHub
area-Diagnostics-coreclr
Dominant language
C#
Stars
18.3k
Forks
5.6k
PR merge metrics
PR metrics pending

Description

### Description

https://github.com/dotnet/runtime/issues/123650 was closed and fixed by https://github.com/dotnet/runtime/pull/123651.
However, the issue can still reproduce even with the fix applied, see original issue for stacks.

### Reproduction Steps

Debug a dotnet 10 application with VS.

### Expected behavior

Debuggee run as expected.

### Actual behavior

Runtime can deadlock internally.

### Regression?

_No response_

### Known Workarounds

None known.

### Configuration

.NET 10 windows x64 is where the issue was spotted but code analysis suggests the race condition could probably be hit on other .NET versions, OSes, and architectures if timed properly.

### Other information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.