Skip to content

Assert failure: Consistency check failed: FAILED: pThread->PreemptiveGCDisabled() #114638

Open
@BruceForstall

Description

@BruceForstall

pipeline: runtime-coreclr libraries-jitstress2-jitstressregs
job: net10.0-windows-Release-arm64-jitstress2_jitstressregs0x10-Windows.11.Arm64.Open
test: System.Runtime.Tests Work Item

https://dev.azure.com/dnceng-public/public/_build/results?buildId=1014411&view=ms.vss-test-web.build-test-results-tab&runId=27132632&resultId=209019&paneView=debug

C:\h\w\CD600AF1\w\9F3508C7\e>set DOTNET 
DOTNET_JitStress=2
DOTNET_JitStressRegs=0x10
DOTNET_TieredCompilation=0

C:\h\w\CD600AF1\w\9F3508C7\e>call RunTests.cmd --runtime-path C:\h\w\CD600AF1\p 
========================= Begin custom configuration settings ==============================
set __IsXUnitLogCheckerSupported=1
set XUNIT_HIDE_PASSING_OUTPUT_DIAGNOSTICS=1
========================== End custom configuration settings ===============================
----- start Sat 04/12/2025 10:11:09.14 ===============  To repro directly: =====================================================
pushd C:\h\w\CD600AF1\w\9F3508C7\e\
"C:\h\w\CD600AF1\p\dotnet.exe" exec --runtimeconfig System.Runtime.Tests.runtimeconfig.json --depsfile System.Runtime.Tests.deps.json xunit.console.dll System.Runtime.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=AdditionalTimezoneChecks -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing 
popd
===========================================================================================================

C:\h\w\CD600AF1\w\9F3508C7\e>"C:\h\w\CD600AF1\p\dotnet.exe" exec --runtimeconfig System.Runtime.Tests.runtimeconfig.json --depsfile System.Runtime.Tests.deps.json xunit.console.dll System.Runtime.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=AdditionalTimezoneChecks -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing  
  Discovering: System.Runtime.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.Runtime.Tests (found 9396 of 9442 test cases)
  Starting:    System.Runtime.Tests (parallel test collections = on [2 threads], stop on fail = off)
    System.Tests.DateTimeOffsetTests.ToLocalTime_MaxValue [SKIP]
      Condition(s) not met: "IsMaxValuePositiveLocalOffset"
    System.Text.Tests.RuneTests.Casing_Invariant [SKIP]
      Condition(s) not met: "IsNlsGlobalization"
    System.Text.Tests.RuneTests.Casing_CultureAware [SKIP]
      Condition(s) not met: "IsNlsGlobalization"
    System.Tests.DateTimeOffsetTests.ToLocalTime_MinValue [SKIP]
      Condition(s) not met: "IsMinValueNegativeLocalOffset"
    System.Tests.DateTimeOffsetTests.ToLocalTime_Ambiguous [SKIP]
      Condition(s) not met: "IsPacificTime"
    System.Runtime.Tests.JitInfoTests.JitInfoIsNotPopulated [SKIP]
      Condition(s) not met: "IsMonoAOT"
    System.Tests.ArgIteratorTests.ArgIterator_Throws_PlatformNotSupportedException [SKIP]
      Condition(s) not met: "IsArgIteratorNotSupported"

Assert failure(PID 18240 [0x00004740], Thread: 728 [0x02d8]): Consistency check failed: 
FAILED: pThread->PreemptiveGCDisabled()

CORECLR! CHECK::Trigger + 0x1C4 (0x00007ffc`3fab0fec)
CORECLR! HijackHandler + 0x2EC (0x00007ffc`3f9ccbbc)
NTDLL! chkstk + 0x84 (0x00007ffc`724fee24)
NTDLL! RtlPcToFileHeader + 0xF60 (0x00007ffc`723e3900)
<no module>! <no symbol> + 0x0 (0x8d42fffc`723e2714)
    File: D:\a\_work\1\s\src\coreclr\vm\exceptionhandling.cpp:1886
    Image: C:\h\w\CD600AF1\p\dotnet.exe

----- end Sat 04/12/2025 10:11:57.57 ----- exit code -1073740286 ----------------------------------------------------------

Also fails in:
pipeline: runtime-coreclr libraries-jitstressregs
job: net10.0-windows-Release-arm64-jitstressregs4-Windows.11.Arm64.Open
test: System.Runtime.Tests Work Item

https://dev.azure.com/dnceng-public/public/_build/results?buildId=1014770&view=ms.vss-test-web.build-test-results-tab&runId=27147930&paneView=debug&resultId=209018

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions