swiftlang / swiftlang/swift-subprocess
swift-testing frequently crashes with signal 13 on FreeBSD
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 734
- Forks
- 68
- Avg merge
- 9d 2h
- Merged PRs (30d)
- 6
Description
Describe the bug
I'm seeing this very frequently on FreeBSD when running swift test in swift subprocess:
error: Process '/root/swift-subprocess/.build/x86_64-unknown-freebsd/debug/swift-subprocessPackageTests.xctest --testing-library swift-testing' exited with unexpected signal code 13
Interestingly, --no-parallel seems to avoid it.
To Reproduce
Clone swiftlang/swift-subprocess and run swift test
Expected behavior
No crash.
Environment (please complete the following information):
- OS: FreeBSD 14.3 x86_64
- Swift version: 6.3-dev (LLVM 972b62858355d07, Swift 3f8c798cfe25bbb)
Additional context
N/A
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Clone swiftlang/swift-subprocess and reproduce the failure with swift test on FreeBSD 14.3 x86_64 using the reported Swift 6.3-dev toolchain. Compare the parallel run with --no-parallel and investigate the test execution path; done means parallel tests complete without signal 13.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- operating-systems, testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100