From e129666533b96eb0f8450ae1217d3c2bc5873f64 Mon Sep 17 00:00:00 2001 From: Max Charlamb <44248479+max-charlamb@users.noreply.github.com> Date: Wed, 3 Sep 2025 09:52:55 -0400 Subject: [PATCH] fix counting additional threads --- src/coreclr/debug/daccess/request.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coreclr/debug/daccess/request.cpp b/src/coreclr/debug/daccess/request.cpp index c6900689384220..730bdcddaffb80 100644 --- a/src/coreclr/debug/daccess/request.cpp +++ b/src/coreclr/debug/daccess/request.cpp @@ -3815,7 +3815,7 @@ ClrDataAccess::GetSyncBlockData(unsigned int SBNumber, struct DacpSyncBlockData do { pSyncBlockData->AdditionalThreadCount++; - pLink = pBlock->m_Link.m_pNext; + pLink = pLink->m_pNext; } while ((pLink != NULL) && (pSyncBlockData->AdditionalThreadCount < 1000));