Build break: swiftc crash (Abort trap: 6) building SwiftAbiStress native test component on osx-arm64
- Dominant language
- C#
- Stars
- 18.3k
- Forks
- 5.6k
- PR merge metrics
- PR metrics pending
Description
## Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1576205
Build error leg or test failing: osx-arm64 Debug Libraries_CheckedCoreCLR - Build native test components
Pull request: https://github.com/dotnet/runtime/pull/132979
## Error Details
```
[356/396] Generating SwiftAbiStress library
FAILED: [code=134] Interop/Swift/SwiftAbiStress/CMakeFiles/SwiftAbiStress /Users/runner/work/1/s/artifacts/tests/coreclr/obj/osx.arm64.Checked/Native/Interop/Swift/SwiftAbiStress/CMakeFiles/SwiftAbiStress
cd /Users/runner/work/1/s/artifacts/tests/coreclr/obj/osx.arm64.Checked/Native/Interop/Swift/SwiftAbiStress && xcrun swiftc -target arm64-apple-macosx14.0 -emit-library /Users/runner/work/1/s/src/tests/Interop/Swift/SwiftAbiStress/SwiftAbiStress.swift -o /Users/runner/work/1/s/artifacts/tests/coreclr/obj/osx.arm64.Checked/Native/Interop/Swift/SwiftAbiStress/libSwiftAbiStress.dylib
/bin/sh: line 1: 91274 Abort trap: 6 xcrun swiftc -target arm64-apple-macosx14.0 -emit-library .../SwiftAbiStress.swift -o .../libSwiftAbiStress.dylib
ninja: build stopped: subcommand failed.
```
The Swift compiler (`xcrun swiftc`) crashed with `Abort trap: 6` (SIGABRT, subprocess exit code 134) while generating the `SwiftAbiStress` native test-component library on the osx-arm64 runner. This is a compiler/toolchain crash, not a source-level compile error, so it is a transient infrastructure failure that a build retry should clear.
## Error Message
```json
{
"ErrorMessage": "FAILED: [code=134] Interop/Swift/SwiftAbiStress/CMakeFiles/SwiftAbiStress",
"ErrorPattern": "",
"BuildRetry": true,
"ExcludeConsoleLog": false
}
```
> [!NOTE]
> This issue was created with the assistance of GitHub Copilot.
### Known issue validation
**Build: :mag_right:** https://dev.azure.com/dnceng-public/public/_build/results?buildId=1576205
**Error message validated:** `[FAILED: [code=134] Interop/Swift/SwiftAbiStress/CMakeFiles/SwiftAbiStress`]
**Result validation:** :white_check_mark: Known issue matched with the provided build.
**Validation performed at:** 9/1/2026 11:07:26 AM UTC
### Report
|Build|Repository|Step Name|Console log|Pull Request|
|---|---|---|---|---|
|[1576205](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1576205)|dotnet/runtime|Build native test components|[Log](https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_apis/build/builds/1576205/logs/685)|dotnet/runtime#132979|
#### Summary
|24-Hour Hit Count|7-Day Hit Count|1-Month Count|
|---|---|---|
|0|0|1|
Contributor guide
Research direction
Start with the osx-arm64 native test build and the xcrun swiftc command for src/tests/Interop/Swift/SwiftAbiStress/SwiftAbiStress.swift. Check whether rerunning the build clears the compiler abort; done means the SwiftAbiStress library generates successfully without the code-134 failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, swift
- Domain
- build-system, testing
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100