Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI build failure in Linux Arm64: Generating native code, crossgen2.ilc.rsp exited with code 139 (segmentation fault) #76905

Closed
carlossanlop opened this issue Oct 11, 2022 · 3 comments
Labels
arch-arm64 area-NativeAOT-coreclr Known Build Error Use this to report build issues in the .NET Helix tab os-linux-musl Linux distributions using musl library.

Comments

@carlossanlop
Copy link
Member

carlossanlop commented Oct 11, 2022

{
  "ErrorMessage": "crossgen2.ilc.rsp"" exited with code 139",
  "BuildRetry": false
}

Found in an unrelated main PR: #76846

Here are the last few output lines:

  ILCompiler.Diagnostics -> /__w/1/s/artifacts/bin/ILCompiler.Diagnostics/arm64/Debug/ILCompiler.Diagnostics.dll
  ILCompiler.ReadyToRun -> /__w/1/s/artifacts/bin/ILCompiler.ReadyToRun/arm64/Debug/ILCompiler.ReadyToRun.dll
  crossgen2 -> /__w/1/s/artifacts/bin/coreclr/Linux.arm64.Debug/crossgen2/linux-musl-arm64/crossgen2.dll
Generating native code
  Segmentation fault (core dumped)
/__w/1/s/artifacts/transport/coreclr/build/Microsoft.NETCore.Native.targets(278,5): error MSB3073: The command ""/__w/1/s/artifacts/transport/coreclr/x64/ilc/ilc" @"/__w/1/s/artifacts/obj/coreclr/crossgen2/arm64/Debug/linux-musl-arm64/native/crossgen2.ilc.rsp"" exited with code 139. [/__w/1/s/src/coreclr/tools/aot/crossgen2/crossgen2.csproj]
##[error]artifacts/transport/coreclr/build/Microsoft.NETCore.Native.targets(278,5): error MSB3073: (NETCORE_ENGINEERING_TELEMETRY=Build) The command ""/__w/1/s/artifacts/transport/coreclr/x64/ilc/ilc" @"/__w/1/s/artifacts/obj/coreclr/crossgen2/arm64/Debug/linux-musl-arm64/native/crossgen2.ilc.rsp"" exited with code 139.

Build FAILED.

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0
@carlossanlop carlossanlop added arch-arm64 area-crossgen2-coreclr os-linux-musl Linux distributions using musl library. labels Oct 11, 2022
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Oct 11, 2022
@jkotas jkotas added the Known Build Error Use this to report build issues in the .NET Helix tab label Feb 7, 2023
@jkotas jkotas changed the title CI build failure in Linux Musl Arm64: Generating native code, crossgen2.ilc.rsp exited with code 139 (segmentation fault) CI build failure in Linux Arm64: Generating native code, crossgen2.ilc.rsp exited with code 139 (segmentation fault) Feb 7, 2023
@ghost
Copy link

ghost commented Mar 22, 2023

Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas
See info in area-owners.md if you want to be subscribed.

Issue Details
{
  "ErrorMessage": "crossgen2.ilc.rsp"" exited with code 139",
  "BuildRetry": false
}

Found in an unrelated main PR: #76846

Here are the last few output lines:

  ILCompiler.Diagnostics -> /__w/1/s/artifacts/bin/ILCompiler.Diagnostics/arm64/Debug/ILCompiler.Diagnostics.dll
  ILCompiler.ReadyToRun -> /__w/1/s/artifacts/bin/ILCompiler.ReadyToRun/arm64/Debug/ILCompiler.ReadyToRun.dll
  crossgen2 -> /__w/1/s/artifacts/bin/coreclr/Linux.arm64.Debug/crossgen2/linux-musl-arm64/crossgen2.dll
Generating native code
  Segmentation fault (core dumped)
/__w/1/s/artifacts/transport/coreclr/build/Microsoft.NETCore.Native.targets(278,5): error MSB3073: The command ""/__w/1/s/artifacts/transport/coreclr/x64/ilc/ilc" @"/__w/1/s/artifacts/obj/coreclr/crossgen2/arm64/Debug/linux-musl-arm64/native/crossgen2.ilc.rsp"" exited with code 139. [/__w/1/s/src/coreclr/tools/aot/crossgen2/crossgen2.csproj]
##[error]artifacts/transport/coreclr/build/Microsoft.NETCore.Native.targets(278,5): error MSB3073: (NETCORE_ENGINEERING_TELEMETRY=Build) The command ""/__w/1/s/artifacts/transport/coreclr/x64/ilc/ilc" @"/__w/1/s/artifacts/obj/coreclr/crossgen2/arm64/Debug/linux-musl-arm64/native/crossgen2.ilc.rsp"" exited with code 139.

Build FAILED.

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0
Author: carlossanlop
Assignees: -
Labels:

arch-arm64, untriaged, os-linux-musl, area-NativeAOT-coreclr, Known Build Error

Milestone: -

@mangod9
Copy link
Member

mangod9 commented Mar 22, 2023

This looks to be an issue with ilc compiling crossgen2. Moving it to NativeAOT path.

@jkotas
Copy link
Member

jkotas commented Mar 22, 2023

We have fixed multiple intermittent crashes on arm64 since October. It was likely one of those since there are no hits in last month.

@jkotas jkotas closed this as completed Mar 22, 2023
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Mar 22, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Apr 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-arm64 area-NativeAOT-coreclr Known Build Error Use this to report build issues in the .NET Helix tab os-linux-musl Linux distributions using musl library.
Projects
None yet
Development

No branches or pull requests

3 participants