Bus error
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 19.7k
- Forks
- 2.3k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 11
Description
New Issue Checklist
- Updated SwiftLint to the latest version
- I searched for existing GitHub issues
Describe the bug
swiftlint lint exits with a bus error when run on my machine, similar to #2391. It happens to me reliably.
See some investigation in the comments below.
Complete output when running SwiftLint, including the stack trace and command used
$ git clone https://github.com/signalapp/Signal-iOS.git
# ...
$ cd Signal-iOS
$ swiftlint lint
# ...lints some files...
# zsh: bus error swiftlint lint
This also happens with swiftlint lint --quiet and swiftlint lint --no-cache.
The example output is lengthy, but nondeterministic (as far as I can tell).
There isn't an obvious stack trace. (EDIT: See below for a stack trace.)
Environment
- SwiftLint version: 0.47.1
- Installation method used: Homebrew
- Paste your configuration file: public here
- Are you using nested configurations? No
- Which Xcode version are you using (check
xcodebuild -version)? Xcode 13.4, Build version 13F17a
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
Start by reproducing swiftlint lint, swiftlint lint --quiet, and swiftlint lint --no-cache on the linked Signal-iOS setup with SwiftLint 0.47.1 and Xcode 13.4. Read the investigation and stack trace in the issue comments to identify the failure point. Done means linting completes without a bus error for this case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100