You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pipeline: runtime-coreclr crossgen2 outerloop (definition 134), branch main. When Crossgen2 lays out the exception-info lookup table for assembly b27077, it throws a TypeLoadException: the type Gen is a generic type declared with explicit layout, which is invalid. Crossgen2 exits -1073740791 and the R2R_CG2 work item fails. This is a compile-time crossgen2 break, distinct from the runtime failures tracked elsewhere. Reproduces across source build 1582971 and follow-up build 1584221.
Error Details
Unhandled exception. Internal.TypeSystem.TypeSystemException+TypeLoadException: Failed to load type 'Gen' from assembly 'b27077' because generic types cannot have explicit layout
at ILCompiler.DependencyAnalysis.ReadyToRun.ExceptionInfoLookupTableNode.LayoutMethodsWithEHInfo() in /_/src/coreclr/tools/aot/ILCompiler.ReadyToRun/Compiler/DependencyAnalysis/ReadyToRun/ExceptionInfoLookupTableNode.cs:line 95
at ILCompiler.DependencyAnalysis.ReadyToRun.ExceptionInfoLookupTableNode.ShouldSkipEmittingObjectNode(NodeFactory) in /_/src/coreclr/tools/aot/ILCompiler.ReadyToRun/Compiler/DependencyAnalysis/ReadyToRun/ExceptionInfoLookupTableNode.cs:line 154
Crossgen2 failed with exitcode - -1073740791
Error Message
{
"ErrorMessage": "Failed to load type 'Gen' from assembly 'b27077' because generic types cannot have explicit layout",
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}
Agentic workflow metadata (ci-failure-scan)
Workflow artifact: ci-failure-scan
Artifact kind: kbe-verification
Verified match count: 1 hits in failure.log
First build it occurred: 1582971
Related: #133216 (distinct Crossgen2 TypeLoadException on 'Negative002' / 'format is invalid')
Duplicate search
Searched open/closed Known Build Error issues and merged PRs for the Gen/b27077/explicit layout signature. Open #133216 tracks a distinct Crossgen2 TypeLoadException (Negative002, format is invalid); Build Analysis matches on the verbatim substring, so this explicit layout signature is filed separately. No fix PR has merged after the source build.
Filed by ci-failure-scan (detection only). ci-failure-fix walks open [ci-scan] KBEs and either opens a small fix PR or comments to loop in owners — it never disables the test.
Note
Generated by the CI Outer-Loop Failure Scanner agentic workflow (AI-generated content).
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1582971
Build error leg or test failing:
runtime-coreclr crossgen2 outerloop(definition 134) — R2R_CG2 Regression_4 leg. Crossgen2 aborts compiling test assemblyb27077.Pipeline:
runtime-coreclr crossgen2 outerloop(definition 134), branchmain. When Crossgen2 lays out the exception-info lookup table for assemblyb27077, it throws aTypeLoadException: the typeGenis a generic type declared with explicit layout, which is invalid. Crossgen2 exits-1073740791and the R2R_CG2 work item fails. This is a compile-time crossgen2 break, distinct from the runtime failures tracked elsewhere. Reproduces across source build 1582971 and follow-up build 1584221.Error Details
Error Message
{ "ErrorMessage": "Failed to load type 'Gen' from assembly 'b27077' because generic types cannot have explicit layout", "ErrorPattern": "", "BuildRetry": false, "ExcludeConsoleLog": false }Agentic workflow metadata (ci-failure-scan)
Workflow artifact: ci-failure-scan
Artifact kind: kbe-verification
Verified match count: 1 hits in failure.log
First build it occurred: 1582971
Related: #133216 (distinct Crossgen2 TypeLoadException on 'Negative002' / 'format is invalid')
Duplicate search
Searched open/closed
Known Build Errorissues and merged PRs for theGen/b27077/explicit layoutsignature. Open #133216 tracks a distinct Crossgen2 TypeLoadException (Negative002,format is invalid); Build Analysis matches on the verbatim substring, so thisexplicit layoutsignature is filed separately. No fix PR has merged after the source build.Filed by
ci-failure-scan(detection only).ci-failure-fixwalks open[ci-scan]KBEs and either opens a small fix PR or comments to loop in owners — it never disables the test.Note
Generated by the CI Outer-Loop Failure Scanner agentic workflow (AI-generated content).
Report
Summary