Crash on SCNNode creation with SCNText for certain strings and chamferRadius (splitJoinFace)

Originator:francescu.santoni
Number:rdar://42421066 Date Originated:July 20 2018
Status: Resolved:
Product:SceneKit Product Version:
Classification:Crash Reproducible:Always
 
Area:
SceneKit

Summary:
Using a certain combination of text and chamferRadius makes SceneKit to crash

Steps to Reproduce:
```
            let text = SCNText(string: "ด", extrusionDepth: 4.0)
            text.chamferRadius = 0.2
            let textNode = SCNNode(geometry: text)
```

Expected Results:
A node is created.

Acceptable Results:
SCNNode(geometry:) returns nil, or geometry attribute is set to nil

Actual Results:
SceneKit crashes

Version/Build:
iOS 11 (all)
iOS 12

Configuration:
all iPhone and iPad

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!