I use Realm to cache data. It was behaving normally before but when I use Firebase to monitor app performance, Realm crashes often.
Crashed: com.apple.main-thread EXC_BAD_ACCESS KERN_INVALID_ADDRESS
0 libobjc.A.dylib class_getSuperclass + 4
1 ChopeDashboard RLMUtil.hpp line 72 RLMIsObjectSubclass + 72
2 ChopeDashboard RLMSchema.mm line 105 RLMRegisterClassLocalNames(objc_class**, unsigned long) + 105
3 ChopeDashboard memory line 2942 +[RLMSchema sharedSchema] + 2942
4 ChopeDashboard RLMRealm.mm line 492 +[RLMRealm realmWithConfiguration:error:] + 492
5 ChopeDashboard RLMRealm.mm line 190 +[RLMRealm defaultRealm] + 190
6 ChopeDashboard RLMObject.mm line 141 +[RLMObject objectsWithPredicate:] + 141
I found the same issue in github/Realm. Someone said they faced the same problem about Firebase/performance. But the issue is still open.