Skip to content

Conversation

@cymulateagentteam
Copy link

Fixed by mitigating the circularity formed in a singly linked list, which is iterated by the EE for suspension when GC is triggered

The issue causes the application to deadlock indefinitely, this PR releases the deadlock

Fix #115794

@github-actions github-actions bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label May 22, 2025
@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label May 22, 2025
@filipnavara filipnavara added area-GC-coreclr and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels May 22, 2025
@dotnet-policy-service
Copy link
Contributor

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

// To mitigate this issue, when the next link points to itself, de-reference the next link
// TODO : find which code is responsible for allowing the situation to happen
if ( psb->m_Link.m_pNext == pLink->m_pNext)
pLink->m_pNext = NULL;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's try to investigate the root cause instead of taking this fix as-is since there could be other issues/AVs related to the mangling of the list.

@dotnet-policy-service
Copy link
Contributor

Draft Pull Request was automatically closed for 30 days of inactivity. Please let us know if you'd like to reopen it.

@github-actions github-actions bot locked and limited conversation to collaborators Jul 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-GC-coreclr community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GC hangs indefinitely on LongRunning

3 participants