Skip to content

Assert failure: Crst Level violation crashes entire crossgen2-outerloop pipeline #135378

Closed

Description

@JulieLeeMSFT

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1625926
Build error leg or test failing: GC-scenarios1

Error Message

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

{
  "ErrorPattern": "Assert failure.+: Consistency check failed: Crst Level violation: Can't take level .+ lock CrstAppDomainCache because you already holding level .+ lock CrstNativeImageEagerFixups",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1625926
Error message validated: [Assert failure.+: Consistency check failed: Crst Level violation: Can't take level .+ lock CrstAppDomainCache because you already holding level .+ lock CrstNativeImageEagerFixups]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 10/7/2026 11:55:18 PM UTC

Report

Build Repository Test Pull Request
1629266 dotnet/runtime threading_group2.WorkItemExecution
1627591 dotnet/runtime jit64_3.WorkItemExecution
1625926 dotnet/runtime jit64_3.WorkItemExecution

Summary

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

Activity

  1. added
    Known Build Error
    on Oct 7, 2026
  2. added
    untriaged
    on Oct 7, 2026
  3. JulieLeeMSFT commented on Oct 7, 2026

    @JulieLeeMSFT
    MemberAuthor

    All 1152 tests failed in crossgen outerloop.

    Error message

    Assert failure(PID 5184 [0x00001440], Thread: 2016 [0x07e0]): Consistency check failed: Crst Level violation: Can't take level 9 lock CrstAppDomainCache because you already holding level 8 lock CrstNativeImageEagerFixups
    
    FAILED: false
    
    CORECLR! CHECK::Trigger + 0x21A (0x00007fff`6a1bca2a)
    CORECLR! CrstBase::IsSafeToTake + 0x38A (0x00007fff`6a47723a)
    CORECLR! CrstBase::Enter + 0x10D (0x00007fff`6a476acd)
    CORECLR! CrstBase::CrstAndForbidSuspendForDebuggerHolder::CrstAndForbidSuspendForDebuggerHolder + 0x1F0 (0x00007fff`6a476450)
    CORECLR! AppDomain::AddAssemblyToCache + 0x3D5 (0x00007fff`6a3c2535)
    CORECLR! AppDomain::LoadAssemblyInternal + 0x561 (0x00007fff`6a3cfbe1)
    CORECLR! AppDomain::LoadAssembly + 0x465 (0x00007fff`6a3cf355)
    CORECLR! AssemblySpec::LoadAssembly + 0x203 (0x00007fff`6a6bb7b3)
    CORECLR! NativeImage::LoadManifestAssembly + 0x144 (0x00007fff`6a5c8164)
    CORECLR! ZapSig::DecodeModuleFromIndex + 0x1A5 (0x00007fff`6a68fb15)
        File: D:\a\_work\1\s\src\coreclr\vm\crst.cpp:649
        Image: C:\h\w\B02909C2\p\corerun.exe
    
  4. added
    area-crossgen2-coreclr
    and removed on Oct 7, 2026
  5. JulieLeeMSFT commented on Oct 7, 2026

    @JulieLeeMSFT
    MemberAuthor
  6. added
    blocking-outerloop
    on Oct 7, 2026
  7. added and removed
    area-crossgen2-coreclr
    on Oct 8, 2026
  8. dotnet-policy-service commented on Oct 8, 2026

    @dotnet-policy-service
    Contributor

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

  9. added a commit that references this issue on Oct 9, 2026
    df64bc8
  10. removed
    untriaged
    on Oct 9, 2026
  11. locked and limited conversation to collaborators on Nov 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

    Known Build Errorarea-ReadyToRunblocking-outerloop

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions