UIPrintInteractionController crashes when being presented.

Originator:steipete
Number:rdar://20963891 Date Originated:15-May-2015 12:17 AM
Status:Fixed Resolved:iOS 9.0b1
Product:iOS Product Version:8.3
Classification:Serious Bug Reproducible:Always
 
Summary:
UIPrintInteractionController keeps an unsafe_unretained reference to an object that can be deallocated, causing a crash.

Steps to Reproduce:
Open Example. Tap button a few times. Observe crash. Enable Zombies to see *** -[UINavigationController _popoverController]: message sent to deallocated instance 0x7fca83c0b390.

Expected Results:
No Crash.

Actual Results:
Crash.

Notes:
There seem to be some improvements in iOS 8.4b3 where it doesn’t crash as often, but it’s still pretty easy to get it to crash if you tap the button a bit faster.

Comments

Example: http://cl.ly/2S1Y2q1I2Y3j


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!