Xcode crashes when setting an NSSegmentedControl to Separated style when certain autolayout constraints are applied

Originator:zacharias.pasternack
Number:rdar://23290250 Date Originated:10/27/15
Status:Open Resolved:No
Product:Xcode Product Version:7.1 (7B91b)
Classification:Crash Reproducible:Always
 
Steps to Reproduce:
1. Install Xcode Version 7.1 (7B91b).
2. Unzip the attached zip file. 
3. In Xcode, open the attached SegmentedControlTest.xcodeproj.
4. In the Navigator, select MainWindowController.xib.
5. Select the Segmented Control (see attached screenshot "xcode-crash.png" if this is not clear).
6. in the Attributes Inspector, set the Segmented Control's Style to Separated.
-- Result: Xcode will crash.

Expected Results:
The Segmented Control should have its style changed to Separated, and Xcode should not crash.

Actual Results:
Xcode crashes.

Version:
Xcode Version 7.1 (7B91b)
Mac OS X 10.11.1 (15B42)

Notes:
Has something to do with autolayout, because removing all autolayout constraints will cause the crash to no longer occur.

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!