NSFetchedResultsController crash for object deletion

Originator:an00na
Number:rdar://23257758 Date Originated:26-Oct-2015 11:18 AM
Status:Closed Resolved:in iOS 10
Product:iOS SDK Product Version:9.1
Classification:Crash/Hang/Data Loss Reproducible:Always
 
Summary:
If objects in NSFetchedResultsController have relationship to each other, NSFetchedResultsControllerDelegate code for UITableView causes crash when handling object deletion. 

Steps to Reproduce:
1. Launch sample app.
2. Tap + once to insert two related objects.
3. Swipe left to delete the first object.

Sample Code:
http://cl.ly/0Q0Q0w1P1f32

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!