NSAttributedString initWithData:options:documentAttributes:error: is blocked by an UIWebView

Originator:Marius.Landwehr
Number:rdar://17662140 Date Originated:14-Jul-2014 04:40 PM
Status:Open Resolved:
Product:iOS SDK Product Version:7.1.1
Classification: Reproducible:Always
 
Summary:
When i want to create an NSAttributedString sometimes it’s blocked too long from my UIWebView to get a response from the stack.

Steps to Reproduce:
It can be easily reproduced by http://stackoverflow.com/questions/19198197/nsattributedstring-initwithdataoptionsdocumentattributeserror-is-executing-v

Expected Results:
Get a result just in time on a different WebKit thread.

Actual Results:
The main thread is waiting for the WebKit thread and it took to long and my app crashes

Version:
iOS 7.1.1

Notes:


Configuration:
Doesn't depend on hardware

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!