Files.app crashes when attempting to open a domain-scoped provider

Originator:bogo
Number:rdar://33845780 Date Originated:2017-08-10
Status:open Resolved:
Product:iOS Product Version:11b5
Classification: Reproducible:
 
# Description:
Attempting to open a domain-scoped provider from the sidebar of the Files.app crashes the application due to FPItemCollection encountering an error.

# Steps to Reproduce:
1. Implement rudimentary support for a File Provider in the project
2. Add new NSFileProviderDomains via the NSFileProviderManager
3. Sustain crash described in rdar://33845747
4. Reopen the Files.app
5. Try to open the new File Provider

# Expected Results:
Files.app starts querying the relevant instance of NSFileProviderExtension for items.

# Observed Results:
Files.app crashes, the NSFileProviderExtension process continues unaffected.

# Notes:
Likely related to rdar://33845747, since crash stacks are roughly the same.

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!