-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Description
I have seen several cases of crash in the tracing/runtimeeventsource/nativeruntimeeventsource/nativeruntimeeventsource on Linux in InterpThreadContext destructor in the CI. The destructor is called from Thread::OnThreadTerminate. In the case when I have looked into, it was called from the Thread::CleanupDetachedThreads. The thread object contained reasonable information (e.g. the m_OSThreadId was a value that made sense w.r.t. the other thread's values.
The state was as follows:
m_StateNC : 0x100 ( TSNC_ExistInThreadStore )
m_State : 0x31220 (TS_LegalToJoin | TS_Background | TS_WeOwn | TS_ReportDead | TS_FullyInitialized)
The InterpThreadContext struct content was garbage and the pointer itself didn't seem to be right (!maddress said it is pointing to a block marked as "Stack"). However, the pointer is null-ed in Thread constructor and only set at one place to a value obtained by new operator.
Known Issue Error Message
Fill the error message using step by step known issues guidance.
{
"ErrorMessage": "",
"ErrorPattern": "nativeruntimeeventsource.*Segmentation fault",
"BuildRetry": false,
"ExcludeConsoleLog": false
}Known issue validation
Build: 🔎
Result validation:
Validation performed at: 12/21/2025 3:20:21 PM UTC
Report
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 2 | 10 | 10 |