Repository navigation
Closed as duplicate
Closed as duplicate
Copy link
Labels
Known Build ErrorUse this to report build issues in the .NET Helix tabagentic-workflowsarea-ReadyToRunblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
Description
Build Information
- Build URL: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1582420
- Pipeline: runtime-coreclr crossgen2 outerloop (definition 134),
main - Failing leg: R2R composite compile of the
Regression_4Helix work item (Send to Helix→ crossgen2) - Failure shape: crossgen2 aborts while computing instance layout for a generic type with explicit layout, exiting 134 and failing the whole
Regression_4work item. - Reproduces: source build 1582420 (2026-09-04) and follow-up build 1584221 (2026-09-05), 4 failing legs each.
Error Details
Unhandled exception. Internal.TypeSystem.TypeSystemException+TypeLoadException: Failed to load type 'Gen' from assembly 'b27077' because generic types cannot have explicit layout
at Internal.TypeSystem.ThrowHelper.ThrowTypeLoadException(ExceptionStringID, String, String) in /_/src/coreclr/tools/Common/TypeSystem/Common/ThrowHelper.cs:line 17
at Internal.TypeSystem.MetadataFieldLayoutAlgorithm.ComputeInstanceLayout(DefType, InstanceLayoutKind) in /_/src/coreclr/tools/Common/TypeSystem/Common/MetadataFieldLayoutAlgorithm.cs:line 27
at Internal.TypeSystem.DefType.ComputeInstanceLayout(InstanceLayoutKind) in /_/src/coreclr/tools/Common/TypeSystem/Common/DefType.FieldLayout.cs:line 505
at ILCompiler.CompilerTypeSystemContext.EnsureLoadableTypeUncached(TypeDesc) in /_/src/coreclr/tools/Common/Compiler/CompilerTypeSystemContext.Validation.cs:line 366
at ILCompiler.CompilerTypeSystemContext.EnsureLoadableMethod(MethodDesc) in /_/src/coreclr/tools/Common/Compiler/CompilerTypeSystemContext.Validation.cs:line 230
Crossgen2 failed with exitcode: 134
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)
- Verified match count: 8 (4 legs in source build 1582420 + 4 legs in follow-up build 1584221)
- First build it occurred: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1580273 (2026-09-03; build 1578071 immediately prior did not show this signature)
- Related: none
Duplicate search
Searched open dotnet/runtime issues for the crossgen2 generic types cannot have explicit layout TypeLoadException in MetadataFieldLayoutAlgorithm.ComputeInstanceLayout and for the Regression_4 / b27077 R2R signature; no existing Known Build Error or tracker matched. This is distinct from the Negative002 (Gen1(System.__Canon)` ... format is invalid) crossgen2 crash filed separately this run.
Filed by the ci-failure-scan workflow (detection only). Mitigation is owned by ci-failure-fix.
Note
This issue was generated by an AI agent (GitHub Copilot / ci-failure-scan workflow)._
Generated by CI Outer-Loop Failure Scanner · opus48 · 990.8 AIC · ⌖ 13.1 AIC · ⊞ 20.7K · ◷
Report
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 0 | 0 | 0 |
Metadata
Metadata
Assignees
Labels
Known Build ErrorUse this to report build issues in the .NET Helix tabagentic-workflowsarea-ReadyToRunblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
Type
Projects
- StatusShow more project fieldsNo status
Activity
dotnet-policy-service commentedon Sep 8, 2026
Tagging subscribers to this area: @dotnet/crossgen-contrib
See info in area-owners.md if you want to be subscribed.