Xcode crashes soon after launching due to "mcount overflow" (possible CoreFoundation bug?)

Originator:SaagarJha28
Number:rdar://34089659 Date Originated:25-Aug-2017 02:56 PM
Status:Duplicate/33983504 Resolved:
Product:Developer Tools Product Version:Version 9.0 beta 6 (9M214v)/macOS High Sierra 10.13 Beta (17A352a)
Classification:Crash/Hang/Data Loss Reproducible:
 
Summary:
Xcode will crash right after launching once it begins indexing my project. It seems to be hitting some sort of abort in _cow_copy due to an "mcount overflow". This might be an issue with the new COW Foundation types, but I'm not sure. Attached is a crash log.

Steps to Reproduce:
1. Open Xcode? I'm not quite sure how I got Xcode stuck in this state, since it was working fine yesterday.

Expected Results:
Xcode opens and runs without crashing.

Observed Results:
Xcode crashes when indexing.

Version:
Version 9.0 beta 6 (9M214v)/macOS High Sierra 10.13 Beta (17A352a)

Notes:
Workaround:
defaults write com.apple.dt.XCode IDEIndexDisable 1

Configuration:
MacBook Pro (Retina, 13-inch, Early 2015) running macOS High Sierra 10.13 Beta (17A352a)

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!