I'm struggling with an error for about 4 hours already. Here is what I have:
- I have a TableViewController with an NSFetchedResultsController, the TableViewController class implements all the fetchedResultsController delegate methods
- The very first time I run the app my core data is empty
- In a background thread I download stuff and add those to core data, I have a background Managed Object Context for this.
- In the Table View Controller I register for NSManagedObjectContextDidSaveNotification and when I save the background Context my notification callback gets called and I attempt to merge the main context with the background one.

Now the nasty stuff happens here
If my NSFetchedResultsController's delegate is nil and I do mergeChangesFromContextDidSaveNotification: everything works but my UI doesn't get updated and I have to do another fetchRequest on my fetchResultsController
If I assign a delegate to the NSFetchedResultsController the app crashes when it gets to the mergeChangesFromContextDidSaveNotification: line (see screenshot below)

Any pointers on how to make the NSFetchedResultsController work and fix this problem will be very appreciated.
Thank you for taking the time to read my question!