UITextField freeze/memory leak when scaling secure text

Originator:siemens.craig
Number:rdar://28590124 Date Originated:
Status:Open Resolved:
Product:iOS SDK Product Version:10.0.2
Classification:Crash/Hang/Data Loss Reproducible:Always
 
Summary:
An app can freeze when a user types a large password into a textfield that tries to scale down the text to fit.

Steps to Reproduce:
Create UITextField
Enable secure text entry
Set font size to > 14pt
Set minimum font size to < font size
Type into the textfield until the text field tries to scale/scroll

Expected Results:
The app should not freeze.

Actual Results:
App freezes
CPU at 99%
Memory usage increases until the app is terminated (see Memory Usage.png)

Regression:
Works when built using the iOS 9 SDK

Workarounds:
- set the font size to <= 14pt (even when the user has dynamic type enabled)
- disable font scaling

Comments

I can confirm that this has been fixed with the iOS 10.2 update!

By danielbross88 at Dec. 15, 2016, 9:17 a.m. (reply...)

Also having this issue

They finally fixed it! :-)

By danielbross88 at Dec. 15, 2016, 10:18 a.m. (reply...)

Any news on this?

By danielbross88 at Dec. 5, 2016, 12:37 p.m. (reply...)

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!