Editing a Filtered Photo crashes when Filter button is pressed after an unfinished Crop

Originator:hitstergtd
Number:rdar://22605347 Date Originated:08-Sep-2015 03:19 AM
Status:Open Resolved:Yes
Product:iPhone/iPod touch Product Version:iPhone 5s (iPhone6,2), 16GB model, iOS 8.4.1 (12H321)
Classification:iPhone/iPod touch Reproducible:Yes
 
The Photos app has a reproducible crash when the Filter button is pressed AFTER pressing the Crop button and selecting a desired/random cropping frame BUT not completing the Crop operation by pressing Done. At this point, when the Filter button is pressed, the Photos app crashes and dumps a crash report for com.apple.mobileslideshow or com.apple.camera.

Crash does NOT happen if (a) the Revert button is pressed after an unfinished Crop and then the Filter button is pressed, or (b) the Revert button is pressed on a Photo taken with no filter selection, or (c) the cropping frame is NOT changed and the Filter button is pressed on a Filtered photo, or (d) images saved from browser, etc., which are without filters. 

Symbolicated crash log for iOS 8.4.1 included with this bug report.

Steps to Reproduce:
Steps below are done in Portrait mode:
1. Tap the Camera button
2. Tap the Filter button on the bottom right-hand corner
3. Select filter (e.g. Chrome, Process, etc.)
4. Now take a Photo
5. Tap the thumbnail preview on the left
6. Tap the Edit button
7. Tap the Crop symbol button next to Cancel on the bottom left
8. Select a random cropping frame (e.g. just reduce from the top...)
9. Press the Filter symbol button next to the Crop symbol button

Expected Results:
The Crop should complete and then switch over to Filter, without crashing obviously; just the way it works when working on a reverted/original unfiltered photo.

Actual Results:
Crash happens and the iPhone returns back to the Home screen

Version:
iPhone 5s (iPhone6,2), 16GB model, iOS 8.4.1 (12H321)

Notes:
Same crash is reproducible in the iOS Simulator (for iPhone 5s, 6 and 6 Plus)

Configuration:
Crash noticed on iOS 8.4 (12H143) and iOS 8.4.1 (12H321); reports come from Camera.app or MobileSlideShow.app depending on how it was triggered (by taking a new filtered Photo or browsing an existing filtered Photo, respectively)

Comments

Resolved in iOS 9.0+

By hitstergtd at Sept. 24, 2015, 6:46 a.m. (reply...)

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!