Playgrounds in Xcode 9 GM crash when rendering Markdown

Originator:dfreniche
Number:rdar://34434037 Date Originated:14/09/2007
Status:Open Resolved:No
Product:Xcode Product Version:Version 9.0 (9A235)
Classification:Crash Reproducible:Always
 
Summary:

Xcode crashes when trying to render / show raw markup containing a block markup comment with just one line

Steps to Reproduce:

- create a Blank Playground in Xcode 9
- add this code:

import UIKit
var str = "Hello, playground"
/*: test -- show go to Editor > Show Rendered Markup / Show Raw Markup */
print("crash")

- select Editor > Show rendered Markup.
- will show the print code as rendered markup
- select Editor > Show Raw Markdown
- crash

Expected Results:

- text rendering correctly
- no crash

Actual Results:

- incorrect text rendering correctly
- crash

Version/Build:

Version 9.0 (9A235)

Configuration:

macOS Sierra 10.12.6 (16G29)

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!