Open
Description
Steps to Reproduce the Problem
This crash happens randomly and not too often, when starting the app.
Instabug integration code
Instabug.sdkDebugLogsLevel = .none
Instabug.start(withToken: "xxxxxxxxxxxxxxxxxxx", invocationEvents: [.shake])
Instabug.welcomeMessageMode = .disabled
Replies.enabled = false
SDK Version
14.2.0
iOS Version
18.2.0
Device Model
iPhone 14 Pro
[Optional] Project That Reproduces the Issue
private
Stack trace
NSInvalidArgumentException
specialized APMPersistenceManager.deleteManagedObjects<A>(in:fetchRequest:) + 75
Fetch must have an entity
Thread 1 Queue 202: NSManagedObjectContext 0x2815c23c0: com.Instabug.Context.APM (serial) [Crashed]:
0 CoreFoundation 0x1d33c1288 __exceptionPreprocess + 220
1 libobjc.A.dylib 0x1ec0f1744 objc_exception_throw + 59
2 CoreData 0x1dac1bad0 -[NSBatchDeleteRequest initWithFetchRequest:] + 419
3 Instabug 0x10a8f223c specialized APMPersistenceManager.deleteManagedObjects<A>(in:fetchRequest:) + 75
4 Instabug 0x10a6c9d3c thunk for @escaping @callee_guaranteed (@guaranteed NSManagedObjectContext?) -> () + 51
5 Instabug 0x10a7ac9e0 __70-[IBGDALService writeASyncAfterCoreDataIntialization:completionBlock:]_block_invoke_3 + 43
6 CoreData 0x1dab3de18 developerSubmittedBlockToNSManagedObjectContextPerform + 155
7 libdispatch.dylib 0x1d3028a30 _dispatch_client_callout + 19
8 libdispatch.dylib 0x1d3030124 _dispatch_lane_serial_drain + 667
9 libdispatch.dylib 0x1d3030c80 _dispatch_lane_invoke + 391
10 libdispatch.dylib 0x1d303b500 _dispatch_workloop_worker_thread + 647
11 libsystem_pthread.dylib 0x244d250bc _pthread_wqthread + 287
12 libsystem_pthread.dylib 0x244d24e5c start_wqthread + 7