Xcode 9.0.1: SourceKitService sometimes hangs doing something with 100% CPU

Number:rdar://35177893 Date Originated:2017-10-25
Status:Closed as Duplicate Resolved:
Product:Xcode Product Version:Xcode 9.0.1
Classification:Crash/Hang/Data loss Reproducible:Rarely


The title says it all. I observed 100% hang for more than 5 minutes. Please see attached screenshots and 3 samples. I touched Xcode when it was in the state on the screenshots and SourceKit stopped to hang on 100% CPU. So no Activity Monitor I can provide unfortunately.

Steps to Reproduce:
It is not clear how to reproduce this, sorry.

Expected Results:
SourceKitService does not hang.

Actual Results:
SourceKitService hangs :(




Apple Developer Relations November 2 2017, 8:16 AM

Engineering has determined that your bug report is a duplicate of another issue and will be closed. The open or closed status of the original report your bug was duplicated to appears in a text box within the bug detail section of the bug reporter user interface. For security and privacy reasons, we don't provide access to the original bug yours was duped to. If you have any questions or concerns, please update your report directly at this link: https://bugreport.apple.com/.

By s.pankevich at Nov. 13, 2017, 9:33 p.m. (reply...)

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!