Crash after deallocating UIImageView with resizable UIImage

Originator:heath.borders
Number:rdar://12994960 Date Originated:10-Jan-2013 10:41 PM
Status:Open Resolved:
Product:iPad SDK Product Version:6.0
Classification:Serious Bug Reproducible:Always
 
10-Jan-2013 10:41 PM Heath Borders:
Summary:
I have a UIImageView that is part of a UIViewController that I present modally. The UIImageView's image has edge insets of top=30px, left=20px, bottom=1px, right=10px. The image is 43x45, so its resizable area is 13x14.

After I dismiss my UIViewController, I get an EXC_BAD_ACCESS crash. After turning on zombies, the following crash occurs.

[_UIImageViewPretiledImageCacheKey hash]: message sent to deallocated instance 0xb14deb0

10-Jan-2013 10:46 PM Heath Borders:
The crash does not occur if I specify UIImageResizingModeStretch.

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!