Closed
Description
From a conversation with @clguiman
I started debugging the original ttd trace and at position 6307D:551 (DacDbiInterfaceImpl::EnumerateThreads) pThread is the first thread (
dx pThread->m_OSThreadId
)
and pThread->m_State ==TS_LegalToJoin | TS_Background| TS_ReportDead | TS_FullyInitialized | TS_Finalized
The thread is considered dead and shouldn't be a managed thread so I suspect dotnet-dump shouldn't show it
Thread::GetSnapshotState() marks all threads with TS_ReportDead with TS_Dead
We may need to look through how these flags affect DAC/DBI/SOS.
I am not sure how much of a concern this is.
/cc @clguiman @mikem8361