Skip to content

FailFast in System.Threading.Tasks.Tests.ExecutionContextFlowTest #57331

Closed

Description

@danmoseley

There is a dump uploaded, and the usual markdown instruction file to get the payload and symbols
https://dev.azure.com/dnceng/public/_build/results?buildId=1291092&view=ms.vss-test-web.build-test-results-tab&runId=38106242&paneView=dotnet-dnceng.dnceng-build-release-tasks.helix-test-information-tab&resultId=198734

Console log: 'System.Threading.Tasks.Tests' from job df4bd733-ac6f-43b9-aa20-4db008f69725 workitem 02303039-2752-4888-a303-ac1e36d56fa7 (windows.81.amd64.open.rt) executed on machine a001BRJ

FailFast is here https://github.com/dotnet/runtime/blob/main/src/libraries/System.Threading.Tasks/tests/Task/ExecutionContextFlowTest.cs#L65

Process terminated. Look at the created dump
   at System.Environment.FailFast(System.String)
   at System.Threading.Tasks.Tests.ExecutionContextFlowTest+<TaskDropsExecutionContextUponCompletion>d__1.MoveNext()
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Threading.Tasks.VoidTaskResult, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].ExecutionContextCallback(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Threading.Tasks.VoidTaskResult, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext(System.Threading.Thread)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Threading.Tasks.VoidTaskResult, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
   at System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation+<>c.<.cctor>b__8_0(System.Object)
   at Xunit.Sdk.AsyncTestSyncContext+<>c__DisplayClass7_0.<Post>b__0()
   at Xunit.Sdk.XunitWorkerThread+<>c.<QueueUserWorkItem>b__5_0(System.Object)
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task+<>c.<.cctor>b__271_0(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef, System.Threading.Thread)
   at System.Threading.Tasks.Task.ExecuteEntryUnsafe(System.Threading.Thread)
   at System.Threading.Tasks.ThreadPoolTaskScheduler+<>c.<.cctor>b__10_0(System.Object)
   at System.Threading.Thread+StartHelper.RunWorker()
   at System.Threading.Thread+StartHelper.Run()
   at System.Threading.Thread.StartCallback()
----- end Thu 08/12/2021 22:54:39.72 ----- exit code -2146232797 ----------------------------------------------------------

@tarekgh @stephentoub seems you have worked on this test. I verified I can open the dump and resolve symbols, but I'm not familiar with this area.

was in https://github.com/dotnet/runtime/pull/57313/checks

Activity

  1. ghost added
    untriaged
    on Aug 13, 2021
  2. karelz commented on Aug 20, 2021

    @karelz
    Member

    Hit again in PR #57747 - see logs

  3. added
    disabled-test
    and removed
    untriaged
    on Aug 20, 2021
  4. added this to the Future milestone on Aug 24, 2021
  5. dotnet-policy-service commented on Feb 23, 2026

    @dotnet-policy-service
    Contributor

    Due to lack of recent activity, this issue has been marked as a candidate for backlog cleanup. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will undo this process.

    This process is part of our issue cleanup automation.

  6. added
    backlog-cleanup-candidate
    on Feb 23, 2026
  7. dotnet-policy-service commented on Mar 9, 2026

    @dotnet-policy-service
    Contributor

    This issue will now be closed since it had been marked no-recent-activity but received no further activity in the past 14 days. It is still possible to reopen or comment on the issue, but please note that the issue will be locked if it remains inactive for another 30 days.

  8. removed this from the Future milestone on Mar 9, 2026
  9. locked and limited conversation to collaborators on Apr 9, 2026
  10. removed
    backlog-cleanup-candidate
    on Apr 9, 2026
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

    area-System.Threading.Tasksdisabled-test

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions