ALAssetRepresentation methods cause crashes
| Originator: | sshrpe | ||
| Number: | rdar://9728659 | Date Originated: | 06-Jul-2011 11:34 AM |
| Status: | Duplicate/9609057 | Resolved: | Yes |
| Product: | iPhone SDK | Product Version: | iOS5 beta 2 |
| Classification: | Performance | Reproducible: | Always |
NB: Fixed in iOS5b3 Summary: A number of methods in the ALAssetRepresentation class cause hangs and crashes. Steps to Reproduce: Obtain an instance of ALAsset through either ALAssetsGroup's -enumerateAssetsUsingBlock: method or ALAssetsLibrary's -assetForURL:resultBlock:failureBlock: method. Obtain an ALAssetRepresentation instance using -defaultRepresentation. Send messages to the ALAssetRepresentation method. Expected Results: fullScreenImage - a CGImage representation of the asset is returned at the resolution of the screen. fullResolutionImage - a CGImage representation of the asset is returned at the original resolution of the asset. size - the size of the asset's data is returned. metadata - an NSDictionary is returned containing the Asset's EXIF and other data. Actual Results: fullScreenImage - after a hang (normally approx 1-2s), a blank CGImage is returned. fullResolutionImage - app crashes with EXC_BAD_ACCESS. size - app crashes with EXC_BAD_ACCESS. metadata - app crashes with EXC_BAD_ACCESS. Regression: All methods work as expected in iOS 4.3
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!