Skip to content

tracing/runtimeeventsource/nativeruntimeeventsource/nativeruntimeeventsource crashes in CI on Linux #122404

Description

@janvorli

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 could not be done without an Azure DevOps build URL on the issue. Please add it to the "Build: 🔎" line.
Validation performed at: 12/21/2025 3:20:21 PM UTC

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions