-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
segmentation fault while running swiftlint in Xcode build phase #1361
Comments
I updated from
|
Interestingly, I think this is resolved on |
|
I've faced with this issue on 0.16.1. Removing derived data helped me |
I'm closing this since we fixed a threading issue on 0.17.0. Feel free to reopen if this happens again. |
Randomly but many times a day we got this segmentation fault while running swiftlint. We use the Xcode build phase example from swiftlint website. Retrying the build always succeeds. This happens on the local machine as well as on our ci server.
I don#t know how to gather further information.
PhaseScriptExecution Run\ Swiftlint /Users/XXX/Library/Developer/Xcode/DerivedData/YYYY-aolnrbfklebwpkalxqydfbqcfhkn/Build/Intermediates/YYYY.build/Release-iphoneos/YYYY.build/Script-E2C189DC1E64AA330067ABBD.sh
cd /Users/XXX/Projects/YYYY
/bin/sh -c /Users/XXX/Library/Developer/Xcode/DerivedData/YYYY-aolnrbfklebwpkalxqydfbqcfhkn/Build/Intermediates/YYYY.build/Release-iphoneos/YYYY.build/Script-E2C189DC1E64AA330067ABBD.sh
Loading configuration from '.swiftlint.yml'
Linting Swift files in current working directory
Linting 'AppDelegate.swift' (1/25)
Linting 'ApplicationController.swift' (2/25)
Linting 'CurvedArrowOverlay.swift' (3/25)
Linting 'CurvedArrowOverlayRenderer.swift' (4/25)
Linting 'DebugMapViewController.swift' (5/25)
Linting 'DebugUUIDViewController.swift' (6/25)
Linting 'PromiseKit+Race.swift' (7/25)
Linting 'LocationService.swift' (8/25)
/Users/XXX/Library/Developer/Xcode/DerivedData/YYYY-aolnrbfklebwpkalxqydfbqcfhkn/Build/Intermediates/YYYY.build/Release-iphoneos/YYYY.build/Script-E2C189DC1E64AA330067ABBD.sh: line 6: 1560 Segmentation fault: 11 swiftlint lint --no-cache
Command /bin/sh failed with exit code 139
The text was updated successfully, but these errors were encountered: