function call inside vImageBuffer_InitWithCGImage sends message to deallocated object on a particular image
| Originator: | jwong | ||
| Number: | rdar://22859283 | Date Originated: | 9/25/2015 |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | 9.0 |
| Classification: | Crash | Reproducible: | Yes |
Summary: When attempting to use the UIImageEffects sample code to blur a specific image, the function ImageIOCalculateRowBytesAndBlockHeight () sends a message to a deallocated CFDictionary. This causes a crash on debug builds with Zombie objects turned on. The entry point into the framework code is at vImageBuffer_InitWithCGImage. The code also crashes when using the image titled "generic-book-cover.png" in addition to "nocover.png". "nocover2.png" also crashes. (This file is a Finder-duplicated copy of "nocover.png") "nocover3.png" also crashes. This file was re-exported with the Preview app. Steps to Reproduce: 1. Open UIImageEffects project. 2. Run 3. Wait a moment, observe crash. 4. Switch images by changing the file loaded at APLViewController.m:72 inside viewDidLoad Expected Results: Blurred image of the cheetah in the DisplayImage file. Actual Results: Exception breakpoint. Also crashes on device Version: iOS 9.0 (13A340) Notes: Configuration: Xcode 7.0, iPhone 6 simulator, iOS 9.0 Attachments: 'UIImage Effects crash stack shot.png' and 'UIImageEffects crash example.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!