You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
JIT/Methodical/tailcall_v4/hijacking/hijacking test hang #119149
Looked at the dump. Same symptoms as in #106134. TS_GCSuspendRedirected is set, but there is no active suspend redirect in progress.
I think the problem is that we may miss clearing of TS_GCSuspendRedirected. TS_GCSuspendRedirected is normally cleared in the slow path of switching to cooperative mode (RareDisablePreemptiveGC). The problem is that we may not even get to that slow path if the thread gets rescheduled right after we switch to preemptive mode and gets scheduled back only after the GC completes and resumes execution.
Activity
jkotas commentedon Aug 27, 2025
The fix implemented by #118166 did not address the problem.
MihuBot commentedon Aug 27, 2025
I'm a bot. Here is a possible related and/or duplicate issue (I may be wrong):
dotnet-policy-service commentedon Aug 27, 2025
Tagging subscribers to this area: @mangod9
See info in area-owners.md if you want to be subscribed.
jkotas commentedon Aug 28, 2025
Looked at the dump. Same symptoms as in #106134.
TS_GCSuspendRedirectedis set, but there is no active suspend redirect in progress.I think the problem is that we may miss clearing of
TS_GCSuspendRedirected.TS_GCSuspendRedirectedis normally cleared in the slow path of switching to cooperative mode (RareDisablePreemptiveGC). The problem is that we may not even get to that slow path if the thread gets rescheduled right after we switch to preemptive mode and gets scheduled back only after the GC completes and resumes execution.Clear TS_GCSuspendRedirected at the end of thread redirection
Clear TS_GCSuspendRedirected at the end of thread redirection (#119164)
Clear TS_GCSuspendRedirected at the end of thread redirection
Clear TS_GCSuspendRedirected at the end of thread redirection (#119168)