[SR-217] Xcode crashes with swift-2.2-SNAPSHOT-2015-12-10-a.xctoolchain
| Previous ID | SR-217 |
| Radar | None |
| Original Reporter | Eugene Gubin (JIRA User) |
| Type | Bug |
| Status | Resolved |
| Resolution | Cannot Reproduce |
Attachment: Download
Additional Detail from JIRA
| Votes | 0 |
| Component/s | Source Tooling |
| Labels | Bug |
| Assignee | Eugene Gubin (JIRA) |
| Priority | Medium |
md5: d361973f04957431bdeb10edcd764021
Issue Description:
- 1. Open swift-corelib-foundation in XCode (I use 3a1e252ef9e2fae33c954a3833ad1ecaa60b05d7 commit)
2. Navigate to NSURL.swift
3. Move cursor to `return path._nsObject.stringByStandardizingPath`.
4. Usually SourceKit crashes.
5. CMD+Click on stringByStandardizingPath
6. Xcode hangs then crashes.
@akyrtzi, any ideas?
Could you mention the Xcode version, and attach latest crash logs from ~/Library/Logs/DiagnosticReports/SourceKitService* ?
Comment by Eugene Gubin (JIRA)
@akyrtzi , I use Xcode 7.2 (7C68). Also crash logs attached.
Comment by Eugene Gubin (JIRA)
Still crashes with swift-2.2-SNAPSHOT-2015-12-18-a
I cannot reproduce this crash using top-of-tree open source swift. Could you retry Swift and see if it still crashes?
Comment by Eugene Gubin (JIRA)
I could not reproduce it now. I think it has something to do with the source code. In past when I report it `stringByStandardizingPath` and related API was not implemented yet. Xcode could crash if `go to definition` feature used after SourceKit have crashed.
Let us know if you are able to reproduce again.