I was doing a rather ordinary addPersistentStore to an NSPersistentStoreCoordinator, and it generated an &error code.
So I went to NSLog it, and got an access error when I did this:
NSLog(@"Unresolved error %@, %@", error, [error userInfo]);
which seems to be the common idiom.
When I reformatted the error statement as follows:
NSLog(@"Unresolved error %@", [error userInfo]);
...the problem went away.
Even NSZombie didn't trap the bad access error correctly!
Any ideas?