FigCreateCGImageFromJPEG returned -12910

Originator:neilmggall
Number:rdar://10992847 Date Originated:6 March 2012
Status:Open Resolved:
Product:iPhone SDK Product Version:5.0.1
Classification:Other Bug Reproducible:Always
 
Summary:
Certain images cause strange errors to appear on the device console when accessed via ALAssetsLibrary.

Steps to Reproduce:
1. Load the attached image into an iOS device's photo library. I got it there by opening the image in Mobile Safari and using 'Save Image'.

2. Obtain its asset using ALAssetsLibrary then assign this to a UIImageView as follows:
    imageView.image = [UIImage imageWithCGImage:[[asset defaultRepresentation] fullScreenImage]];

3. Check the device console:
    *** ERROR: FigCreateCGImageFromJPEG returned -12910. 458752 bytes.

Expected Results:
No errors when using images from ALAssetsLibrary.

Actual Results:
The image is displayed correctly in the UIImageView. But an error is shown in the console.

Regression:
Don't know.

Notes:
Image which reproduces the problem at http://dl.dropbox.com/u/9849333/IMG_0001.JPG

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!