TComponentFont::GetUnderlineThickness(CGAffineTransform const&) const Crash

Originator:magicpop
Number:rdar://16248290 Date Originated:06-Mar-2014 10:58 AM
Status:Open Resolved:No
Product:iOS SDK Product Version:iOS 7.0.x and the latest iOS 7.1 beta
Classification:Crash / Hang / Data Loss Reproducible:Sometimes
 
Summary:
When using underlines and custom fonts with UITextView in iOS 7, we experience frequent crashes in TComponentFont::GetUnderlineThickness().

Steps to Reproduce:
1. Install Xcode
2. Run included sample project on iOS Simulator
3. Tap link to open Mail sheet
4. Tap Cancel and then Discard
5. Often a crash will occur

Expected Results:
No crash occurs

Actual Results:
A crash occurs on the main thread in TComponentFont::GetUnderlineThickness(CGAffineTransform const&)

Version:
iOS 7.0.x and the latest iOS 7.1 beta

Notes:
Sample project from https://github.com/PrideChung/FontAwesomeKit/issues/13

Configuration:
iOS 7.0.x and 7.1. Simulator and Devices

Attachments:
'Screen Shot 2014-03-06 at 10.45.26 AM.png', '469b0b4a665823f4f8665da56fefda68.log' and 'FontAwesomeKitCrashDemo.zip' were successfully uploaded.

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!