Skip to content

crossgen2 crashes with SIGTRAP (exit 133) during composite R2R for iossimulator/tvos arm64 #126656

@steveisok

Description

@steveisok

Description

crossgen2 crashes with exit code 133 (SIGTRAP) during composite R2R compilation targeting iossimulator/arm64 and tvos/arm64 with Mach-O output. The crash is a native signal (no managed exception stack trace), preventing tests from building and running on Helix.

Affected Legs

  • iossimulator-arm64 Debug AllSubsets_CoreCLR_Smoke — DI.ExternalContainers.Tests (exit 4), ComponentModel.Primitives.Tests (exit 4)
  • tvos-arm64 Debug AllSubsets_CoreCLR_Smoke — ComponentModel.Primitives.Tests (exit 21)

crossgen2 Command

crossgen2 --targetos:iossimulator --targetarch:arm64 -O --obj-format:macho --composite \
  --out:".../Microsoft.Extensions.DependencyInjection.ExternalContainers.Tests.r2r.o" \
  [170+ DLLs - composite R2R of full framework + test assemblies]

Error

Microsoft.NET.CrossGen.targets(489,5): error MSB6006: "crossgen2" exited with code 133.
clang: error: no such file or directory: .../Tests.r2r.o
Microsoft.NET.CrossGen.targets(667,5): error MSB3073: clang exited with code 1.

Exit code 133 = 128 + 5 = SIGTRAP (native assertion/debugger trap). No managed stack trace captured.

Build Reference

Build 1369438 — runtime-extra-platforms rolling, main branch, 2026-04-08.

Helix job: 9602d89d-288a-460e-94c5-c04a6bd29c2b (iossimulator-arm64 Debug)
Helix job: 5e34fca3-b431-47e4-9e44-3651acda8be0 (tvos-arm64 Debug)

AOTBuild.binlog available from work items.

Related

Metadata

Metadata

Assignees

Labels

JIT-Morpharea-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIos-iosApple iOSos-tvosApple tvOS

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions