When repeatedly using UIImagePickerController on iOS 10.0.2, app crashes
| Originator: | greg | ||
| Number: | rdar://29180466 | Date Originated: | 11/09/2016 |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | 10.0.2 |
| Classification: | Crash | Reproducible: | Yes |
Summary: One of our apps crashes after it has presented and used UIImagePickerControllers many times in a single session. When connected to Xcode 7.3.1, Xcode tells us that the device disconnected at the time of the crash. No crash log is produced, but the following appears in the console just before the crash: Steps to Reproduce: 1. Open the ImagePickerTest.xcodeproj in Xcode 7.3.1, and build and run it on a device with iOS 10.0.2 installed. 2. Press the Camera button, and then Use Photo. 3. Repeat step 2 until it crashes. On my device (an iPhone 6 Plus), this happened after about 70-80 uses. Expected Results: The user should be able to repeat step 2 without ever experiencing a crash. Actual Results: As described above, the app crashes after about 70-80 uses of the camera button. Version: iOS 10.0.2 (14A456) Notes: An example app that demonstrates the problem is available here: https://github.com/lolay/ImagePickerTest Configuration: iPhone 6 Plus, 128GB
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!