Skip to content

baseservices/threading/DeadThreads fails with stack overflow #136204

Open

Description

@jkotas
20:13:45.684 Running test: baseservices/threading/DeadThreads/DeadThreads/DeadThreads.cmd
Stack overflow.
Repeated 15276 times:
--------------------------------
   at System.SR.GetResourceString(System.String)
   at System.ArgumentNullException..ctor(System.String)
   at System.ArgumentNullException.Throw(System.String)
   at System.Threading.Monitor.Enter(System.Object)
   at System.SR.InternalGetResourceString(System.String)
--------------------------------
   at System.SR.GetResourceString(System.String)
   at System.Diagnostics.StackTrace.ToString(TraceFormat, System.Text.StringBuilder)
   at System.Diagnostics.StackTrace.ToString(TraceFormat)
   at System.Exception.get_StackTrace()
   at System.Exception.InternalPreserveStackTrace()
   at System.Exception.InternalPreserveStackTrace(System.Exception*, System.Exception*)
   at System.Diagnostics.StackTrace.ToString(TraceFormat, System.Text.StringBuilder)
   at System.Diagnostics.StackTrace.ToString(TraceFormat)
   at System.Exception.get_StackTrace()
   at System.Exception.InternalPreserveStackTrace()
   at System.Exception.InternalPreserveStackTrace(System.Exception*, System.Exception*)
   at System.Diagnostics.StackFrameHelper.InitializeSourceInfo(Boolean, System.Exception)
   at System.Diagnostics.StackTrace.CaptureStackTrace(Int32, Boolean, System.Exception)
   at System.Exception.get_StackTrace()
   at System.Exception.InternalPreserveStackTrace()
   at System.Exception.InternalPreserveStackTrace(System.Exception*, System.Exception*)
   at System.Runtime.EH.DispatchEx(System.Runtime.StackFrameIterator ByRef, ExInfo ByRef)
   at System.Runtime.EH.RhThrowEx(System.Object*, ExInfo*)
   at System.Runtime.EH.ShouldTypedClauseCatchThisException(System.Object, System.Runtime.CompilerServices.MethodTable*, Boolean)
   at System.Runtime.EH.FindFirstPassHandler(System.Object, UInt32, System.Runtime.StackFrameIterator ByRef, UInt32 ByRef, Byte* ByRef)
   at System.Runtime.EH.DispatchEx(System.Runtime.StackFrameIterator ByRef, ExInfo ByRef)
   at System.Runtime.EH.RhThrowEx(System.Object*, ExInfo*)
   at System.AppContext.OnUnhandledException(System.Object)
   at System.AppContext.OnUnhandledException(System.Object*, System.Exception*)
   at System.Runtime.EH.DispatchEx(System.Runtime.StackFrameIterator ByRef, ExInfo ByRef)
   at System.Runtime.EH.RhThrowEx(System.Object*, ExInfo*)
   at System.Runtime.EH.FindFirstPassHandler(System.Object, UInt32, System.Runtime.StackFrameIterator ByRef, UInt32 ByRef, Byte* ByRef)
   at System.Runtime.EH.DispatchEx(System.Runtime.StackFrameIterator ByRef, ExInfo ByRef)
   at System.Runtime.EH.RhThrowEx(System.Object*, ExInfo*)
   at System.Runtime.EH.DispatchEx(System.Runtime.StackFrameIterator ByRef, ExInfo ByRef)
   at System.Runtime.EH.RhThrowEx(System.Object*, ExInfo*)
   at System.Runtime.CompilerServices.QCallExceptionStatusMarshaller.HandleException(IntPtr)
   at System.Threading.Thread.StartCore()
   at DeadThreads.StartNoOpThread()
   at DeadThreads.GCTriggerSanityTest()
   at __GeneratedMainWrapper.Main()
[createdump] Problem suspending thread: ptrace(ATTACH, 44) FAILED No such process (3)
[createdump] Problem suspending thread: ptrace(ATTACH, 46) FAILED No such process (3)
[createdump] Problem suspending thread: ptrace(ATTACH, 47) FAILED No such process (3)
[createdump] Problem suspending thread: ptrace(ATTACH, 48) FAILED No such process (3)

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1642567
Build error leg or test failing: baseservices/threading/DeadThreads/DeadThreads/DeadThreads.cmd
Pull request: #136133

Error Message

DO NOT USE JSON BELOW IF THIS IS A BUILD BREAK otherwise build analysis will allow pull requests to merge that break the build worse. For a build break, do not use this issue form. Make a regular new issue.

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": ["DeadThreads","Stack overflow"],
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1642567
Error message validated: [DeadThreads Stack overflow]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 10/21/2026 6:42:20 AM UTC

Report

Build Repository Test Pull Request
1642567 dotnet/runtime baseservices/threading/DeadThreads/DeadThreads/DeadThreads.cmd #136133

Summary

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

Activity

  1. added
    blocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
    Known Build ErrorUse this to report build issues in the .NET Helix tab
    on Oct 21, 2026
  2. dotnet-policy-service commented on Oct 21, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @dotnet/area-system-runtime
    See info in area-owners.md if you want to be subscribed.

  3. dotnet-policy-service commented on Oct 21, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @JulieLeeMSFT, @VSadov
    See info in area-owners.md if you want to be subscribed.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build ErrorUse this to report build issues in the .NET Helix tabarea-System.Threadingblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'untriagedNew issue has not been triaged by the area owner

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions