UITableViewController crashes in `setEditing:animated:`

Originator:konstantin
Number:rdar://32481163 Date Originated:May 31 2017
Status:Open Resolved:
Product:UIKit Product Version:10.3
Classification:- Reproducible:yes
 
Area:
UIKit

Summary:
Sending `reloadData` to a table view within `setEditing:animated:` of one of
it's cells crashes in `setEditing:animated:` of the corresponding table view
controller.

Steps to Reproduce:
1. Open `EditingCrashExample` project
2. Build & Run
3. Tap Edit
4. Tap in one of the text fields to begin editing
5. Tap Done

Expected Results:
Exception with a descriptive message, something like "`reloadData` called while
`setEditing:animated:` in progress".

Observed Results:
Obscure range exception, stack trace doesn't reveal the problem.

Version:
iOS 10.3

Notes:
-

Configuration:
-

Sample project:
https://github.com/PSPDFKit-labs/radar.apple.com/tree/master/32481163%20-%20EditingCrashExample

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!