Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix jit attach hang at Shutdown #67166

Merged
merged 1 commit into from
Mar 26, 2022
Merged

Fix jit attach hang at Shutdown #67166

merged 1 commit into from
Mar 26, 2022

Conversation

noahfalk
Copy link
Member

Fixes #66715

We are seeing exceptions thrown at shutdown turn into hangs because the debugger
lock suspends threads at that point. We are mitigating that problem by disabling the
jit attach setup work and allowing WatsonLastChance to continue.

@dotnet/dotnet-diag

Fixes dotnet#66715

We are seeing exceptions thrown at shutdown turn into hangs because the debugger
lock suspends threads at that point. We are mitigating that problem by disabling the
jit attach setup work and allowing WatsonLastChance to continue.
@ghost
Copy link

ghost commented Mar 25, 2022

Tagging subscribers to this area: @tommcdon
See info in area-owners.md if you want to be subscribed.

Issue Details

Fixes #66715

We are seeing exceptions thrown at shutdown turn into hangs because the debugger
lock suspends threads at that point. We are mitigating that problem by disabling the
jit attach setup work and allowing WatsonLastChance to continue.

@dotnet/dotnet-diag

Author: noahfalk
Assignees: -
Labels:

area-Diagnostics-coreclr

Milestone: -

@danmoseley
Copy link
Member

Trying on my repro case..

@danmoseley
Copy link
Member

I can confirm that my repro case now exits (with an AV, but it exits!)

@danmoseley danmoseley merged commit a30a251 into dotnet:main Mar 26, 2022
radekdoulik pushed a commit to radekdoulik/runtime that referenced this pull request Mar 30, 2022
Fixes dotnet#66715

We are seeing exceptions thrown at shutdown turn into hangs because the debugger
lock suspends threads at that point. We are mitigating that problem by disabling the
jit attach setup work and allowing WatsonLastChance to continue.
@ghost ghost locked as resolved and limited conversation to collaborators Apr 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dotnet fails to exit with thread stuck in coreclr!WatsonLastChance
3 participants