Crash when accessing invalid identifier inside [UIDocumentMenuViewController _dismissWithOption:]

Originator:steipete
Number:rdar://29108548 Date Originated:04-Nov-2016 11:32 AM
Status:Open Resolved:
Product:UIKit Product Version:iOS 10.0.2
Classification: Reproducible:
 
Peter Steinberger04-Nov-2016 11:32 AM


Area:
UIKit

Summary:
We identified a crash that is reported quite a few times via our crash reporting on http://pdfviewer.io/

Steps to Reproduce:
We only see that in crash reporting. But crashed locally for me as well once. https://gist.github.com/steipete/abcd8a5d0abc46a1c04e6ed520ee5992

Expected Results:
Should not crash.

Actual Results:
Crashes in Apple code. We can't fix it.

Version:
iPhone OS 10.0.2

Notes:
See https://gist.github.com/steipete/abcd8a5d0abc46a1c04e6ed520ee5992

Configuration:
iPad6,3

Attachments:
successfully uploaded.

Comments

https://gist.github.com/steipete/abcd8a5d0abc46a1c04e6ed520ee5992


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!