Xcode 6.1.1: Crashes when printing the backtrace of Swift programs

Originator:rix.rob
Number:rdar://19068012 Date Originated:22-Nov-2014 11:38 AM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 6.1.1 (6A2006)
Classification:Crash/Hang/Data Loss Reproducible:Always
 
Summary:
Xcode crashes a *lot* when debugging Swift programs. Often, `bt` will crash Xcode.


Steps to Reproduce:
1. Clone & checkout the repo/branch in this pull request: https://github.com/robrix/Traversal/pull/20
2. In case I have pushed more commits later, ensure that you’re on 43ed04c068d04baed5f16f28d053864f13626b94
3. Open Traversal.xcworkspace
4. Select the Traversal framework target
5. Set a breakpoint on ReducerOf.swift, line 34 (“return reduce(initial, c)”)
6. Run the unit tests
7. When the debugger pauses, type `bt` in the debugger console to print the backtrace from the current point of execution


Expected Results:
I expected Xcode to print the backtrace out in the debugger console.


Actual Results:
Xcode crashed.


Regression:
N/A


Notes:
This characterizes most of my interactions with Swift programs in Xcode’s debugger.

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!