SourceKit crashes abnormally often in a Swift project
| Originator: | radexpl | ||
| Number: | rdar://18905924 | Date Originated: | |
| Status: | Closed | Resolved: | |
| Product: | Product Version: | ||
| Classification: | Reproducible: |
Summary: I have a Swift project (attached) that causes the SourceKitService crash window to flash so often, it's almost unbearable to write code. While SourceKit crashes are fairly common in all Swift projects, here they happen an order of magnitude more often. Steps to Reproduce: 1. Open and look at some files (especially token_reader and main) 2. Start editing or typing new code 3. etc… Expected Results: Things work perfectly fine or at least, the SourceKit crash happens occasionally Actual Results: SourceKit crashes _very_ often and makes the crash alert flash 20 times in a row. Version: OS X 10.10 / Xcode 6.1 Notes: I've had a hard time reducing the test case — the crashes are not as deterministic as compile-time crashes, and I suspect there's more than one source of the problem — so I'm attaching the whole project. Configuration: - Attachments: https://github.com/radex/HackPlatform/tree/ea650174f37b271d66781de707622b36989458c7/JackParser
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!