UIDocumentBrowserViewController can crash, leaving the app in a "white screen of death". The app should terminate instead

Originator:steipete
Number:rdar://36174002 Date Originated:21-Dec-2017 10:03 AM
Status:Open Resolved:
Product:iOS + SDK Product Version:11.2.1
Classification:Crash/Hang/Data Loss Reproducible:Sometimes
 
Summary:
If the process that serves the proxied UI of UIDocumentBrowserViewController crashes, the app ends up in a “white screen of death”. This obviously shouldn’t happen, but it does, and in such cases it would be better to terminate the application (please create a new dedicated kill code, such as 0xdeadf331 or similar, so we can filter these out on crash reporting.

Steps to Reproduce:
Download pdfviewer.io and play with the UI until it crashes. Tapping the bottom tab bar fast usually eventually kills the served UI and leaves the app in this state.

Expected Results:
Proxy crashes should either restart the proxy, be handle-able or terminate the app.

Actual Results:
white screen of app death

Version:
11.2.1

Notes:

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!