I've been dealing with this issue for almost a week. I am using a framework called restkit and I've been trying to debug it by going through the code in RestKit. The place where it stops executing further is when I am trying to save to a NSManagedObjectContext. I am attaching a sample test project that can be downloaded [here](https://github.com/therekz/Messy). Basically to reproduce the error you have to do the following:

1. Run the app for the first time until the data on the table view loads
2. Stop the app
3. Run the app for the second time, then you'll see a never ending loading spinner

This is basically stuck when it tries to save to the managed object context, which is located on the RKManagedObjectStore.m, the method save (I did put a breakpoint there). I've tried to make sure that everything works, starting from the model, etc... but I don't know what's really going on in here. Can someone please help? The test project that I put a hyperlink above is very simple...