Skip to content

[ci-scan] Known Build Error: Crossgen2 crashes with exitcode 139 (SIGSEGV) amd The file is not a ReadyToRun image error on osx-arm64 in r2r-extra #127858

@github-actions

Description

@github-actions

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1406815
Build error leg or test failing: coreclr Pri1 Runtime Tests Run R2R osx arm64 checked-Directed_3

Error Message

{
  "ErrorMessage": ["The file is not a ReadyToRun image","Crossgen2 failed with exitcode: 139"],
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Crossgen2 crashes with SIGSEGV (exitcode 139) when compiling test assemblies for ReadyToRun on osx-arm64. Tests subsequently fail with BadImageFormatException: The file is not a ReadyToRun image or Fatal error. Invalid Program: attempted to call a UnmanagedCallersOnly method from managed code. Recurring in all 3 scanned builds of pipeline runtime-coreclr r2r-extra (def 114): builds 1406815, 1406374, 1397395.

Affected pipelines:

  • runtime-coreclr r2r-extra (def 114): osx-arm64 checked — Directed_3 workitem — exit 1 — Helix job 5e636b9b-20d0-4ff9-9542-cf529f59d983

Error excerpt:

Fatal error. Invalid Program: attempted to call a UnmanagedCallersOnly method from managed code.
Error: System.BadImageFormatException: The file is not a ReadyToRun image
Crossgen2 failed with exitcode: 139

Console log: https://helixr1107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-heads-main-5e636b9b20d04ff995/Directed_3/1/console.65f25b36.log?helixlogtype=result

First seen in scanned window: build 1397395 (April 27, 2026). All 3 scanned builds are affected. This is computed within the scanned window and may not be the true origin.

Note

🔒 Integrity filter blocked 6 items

The following items were blocked because they don't meet the GitHub integrity level.

  • #92420 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #123982 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #111752 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #125600 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #124206 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #126448 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".

To allow these resources, lower min-integrity in your GitHub frontmatter:

tools:
  github:
    min-integrity: approved  # merged | approved | unapproved | none

Generated by CI Outer-Loop Failure Scanner · ● 16.2M ·

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1406815
Error message validated: [Crossgen2 failed with exitcode: 139]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 5/6/2026 11:37:05 AM UTC

Report

Build Definition Test Pull Request
1406815 dotnet/runtime Directed_3.WorkItemExecution

Summary

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

Known Issue Error Message

DO NOT USE JSON BELOW IF THIS IS A BUILD BREAK otherwise build analysis will allow pull requests to merge that break the build worse. For a build break, do not use this issue form. Make a regular new issue.

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

{
  "ErrorMessage": "",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Report

Build Definition Test Pull Request
1406815 dotnet/runtime Directed_3.WorkItemExecution

Summary

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

Known Issue Error Message

DO NOT USE JSON BELOW IF THIS IS A BUILD BREAK otherwise build analysis will allow pull requests to merge that break the build worse. For a build break, do not use this issue form. Make a regular new issue.

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

{
  "ErrorMessage": "",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions