We are seeing this as well. The only thing we really changed was we built the code against ios 14 and released it to the users. Raygun is reporting lots of crashes, but only a few users are reporting them to us. I checked and we have PerformBlackandWait around the MOC save calls. We have Parent and Child MOC so the app can sync data to the cloud etc.
The crashes happen on the parent MOC Save. We also get errors like
Exception EXCBADACCESS, Code 190968208, Subcode 8 Attempted to dereference garbage pointer 0x50b61f190.
The file “MyAppDatabase.sqlite” couldn’t be opened.
An error occurred while saving.
We are going to revert back to xcode 11.7 until apple can fix this.
Topic:
App & System Services
SubTopic:
Core OS
Tags: