-
Type: Bug
-
Resolution: Fixed
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
?
-
7717
-
Not Needed
How frequently does the bug occur?
Sometimes
Description
The 'Crashlytics' from Firebase is showing a crash on my project which is happening to a few users. I have not been able to reproduce this myself.
I have an Object that takes care of handling all Realm operations such as saving and getting data. I use this object to save an object I call "EventTracker". EventTracker has a list of 'TrackedEvent' which it has 2 properties, an event ID and an ID, both of type strings. These keep track of events the user has with their calendar and their are added/deleted depending on the user downloaded content.
It's been hard to find what is causing this crash since I've done all kinds of modifications on my code and they come back with the same outcome.
Any idea as to what may cause this error?
Stacktrace & log output
Fatal Exception: RLMException 0 CoreFoundation 0xecb28 __exceptionPreprocess 1 libobjc.A.dylib 0x2af78 objc_exception_throw 2 RealmSwift 0x53c83c RLMThrowCollectionException(NSString*) + 101 (RLMResults.mm:101) 3 RealmSwift 0x53e93c -[RLMResults deleteObjectsFromRealm] + 63 (RLMResults_Private.hpp:63) 4 RealmSwift 0x535ef0 -[RLMRealm deleteObjects:] + 911 (RLMRealm.mm:911) 5 Crewline 0x2d3c34 closure realm/realm-swift#2 in static RealmManager.saveLive(_:) 6 Crewline 0x2e65e0 partial apply for closure realm/realm-swift#3 in static RealmManager.saveEventTracker(_:) (<compiler-generated>) 7 Crewline 0x2dd570 partial apply for thunk for @callee_guaranteed () -> (@error @owned Error) (<compiler-generated>) 8 Crewline 0x2e6a30 thunk for @callee_guaranteed () -> (@error @owned Error)partial apply 9 RealmSwift 0x788dc Realm.write<A>(withoutNotifying:_:) + 265 (Realm.swift:265) 10 Crewline 0x2d1674 static RealmManager.saveEventTracker(_:) + 78 (Extension-Realm.swift:78) 11 Crewline 0x16c5e4 closure realm/realm-swift#1 in closure realm/realm-swift#1 in CalendarCollectionViewCell.downloadSchedule() 12 Crewline 0x26c754 thunk for @escaping @callee_guaranteed @Sendable () -> () (<compiler-generated>) 13 libdispatch.dylib 0x213c _dispatch_call_block_and_release 14 libdispatch.dylib 0x3dd4 _dispatch_client_callout 15 libdispatch.dylib 0x125a4 _dispatch_main_queue_drain 16 libdispatch.dylib 0x121b8 _dispatch_main_queue_callback_4CF 17 CoreFoundation 0x3751c __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ 18 CoreFoundation 0x34218 __CFRunLoopRun 19 CoreFoundation 0x33968 CFRunLoopRunSpecific 20 GraphicsServices 0x34e0 GSEventRunModal 21 UIKitCore 0x22aedc -[UIApplication _run] 22 UIKitCore 0x22a518 UIApplicationMain 23 Crewline 0x310dc0 main + 17 (AppDelegate.swift:17) 24 ??? 0x1c83c2d84 (Missing)
Can you reproduce the bug?
No
Reproduction Steps
No response
Version
10.50.1
What Atlas Services are you using?
Local Database only
Are you using encryption?
No
Platform OS and version(s)
iOS
Build environment
Xcode version: 15.1
Dependency manager and version: SPM
- is duplicated by
-
RCOCOA-2368 Key 'Number' not found in '<Class Name>' when nullifying incoming links
- Closed
-
RCORE-2088 Key '413' not found in 'ClassName' when nullifying incoming links
- Closed