robbiehanson / XMPPFramework

An XMPP Framework in Objective-C for Mac and iOS
Other
5.91k stars 2.09k forks source link

Crash in XMPPCoreDataStorage #1157

Open UnicopeDeveloper opened 4 years ago

UnicopeDeveloper commented 4 years ago

Hello,

I found crash reports from Apple that point to a crash related to Core Data. I only found crash reports for iOS 13.3 and did not see any for previous versions of iOS. My app uses XMPPFramework for some years now, but this problem is very new to me and it seems that the problem came with iOS 13.3. Unfortunately I am not able to reproduce the crash.

cr

code

Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Triggered by Thread: 3

Last Exception Backtrace: 0 CoreFoundation 0x1a3be496c exceptionPreprocess + 224 (NSException.m:199) 1 libobjc.A.dylib 0x1a38fd028 objc_exception_throw + 60 (objc-exception.mm:565) 2 CoreData 0x1a86a1ce0 -[NSPersistentStoreCoordinator _coordinator_you_never_successfully_opened_the_database_io_error:] + 56 (NSPersistentStoreCoordinator.m:2834) 3 CoreData 0x1a86a1db4 -[NSPersistentStoreCoordinator _introspectLastErrorAndThrow] + 212 (NSPersistentStoreCoordinator.m:0) 4 CoreData 0x1a86a2414 65-[NSPersistentStoreCoordinator executeRequest:withContext:error:]_block_invoke.775 + 1200 (NSPersistentStoreCoordinator.m:0) 5 CoreData 0x1a85369e8 -[NSPersistentStoreCoordinator _routeHeavyweightBlock:] + 248 (NSPersistentStoreCoordinator.m:595) 6 CoreData 0x1a85377d4 -[NSPersistentStoreCoordinator executeRequest:withContext:error:] + 1168 (NSPersistentStoreCoordinator.m:2979) 7 CoreData 0x1a8537800 -[NSPersistentStoreCoordinator executeRequest:withContext:error:] + 1212 (NSPersistentStoreCoordinator.m:3499) 8 CoreData 0x1a85386bc -[NSManagedObjectContext save:] + 1432 (NSManagedObjectContext.m:1526) 9 XMPPFramework 0x10451098c -[XMPPCoreDataStorage save] + 304 (XMPPCoreDataStorage.m:873) 10 XMPPFramework 0x104510f04 __37-[XMPPCoreDataStorage scheduleBlock:]_block_invoke + 76 (XMPPCoreDataStorage.m:974) 11 libdispatch.dylib 0x1a3888b7c _dispatch_call_block_and_release + 32 (init.c:1408) 12 libdispatch.dylib 0x1a3889fd8 _dispatch_client_callout + 20 (object.m:495) 13 libdispatch.dylib 0x1a3890450 _dispatch_lane_serial_drain + 568 (inline_internal.h:2484) 14 libdispatch.dylib 0x1a3890e7c _dispatch_lane_invoke + 368 (inline_internal.h:1851) 15 libdispatch.dylib 0x1a3899f20 _dispatch_workloop_worker_thread + 580 (queue.c:6445) 16 libsystem_pthread.dylib 0x1a38ef6d0 _pthread_wqthread + 280 (pthread.c:2351) 17 libsystem_pthread.dylib 0x1a38f59e8 start_wqthread + 8

Thread 3 name: Thread 3 Crashed: 0 libsystem_kernel.dylib 0x00000001a39ceefc pthread_kill + 8 1 libsystem_pthread.dylib 0x00000001a38ee8b8 pthread_kill + 228 (pthread.c:1458) 2 libsystem_c.dylib 0x00000001a387ea74 abort + 104 (abort.c:110) 3 libc++abi.dylib 0x00000001a39963c8 abort_message + 132 (abort_message.cpp:76) 4 libc++abi.dylib 0x00000001a39965c0 demangling_terminate_handler() + 308 (cxa_default_handlers.cpp:66) 5 libobjc.A.dylib 0x00000001a38fd308 _objc_terminate() + 124 (objc-exception.mm:701) 6 libc++abi.dylib 0x00000001a39a3634 std::terminate(void (*)()) + 20 (cxa_handlers.cpp:59) 7 libc++abi.dylib 0x00000001a39a35c0 std::terminate() + 44 (cxa_handlers.cpp:87) 8 libdispatch.dylib 0x00000001a3889fec _dispatch_client_callout + 40 (object.m:498) 9 libdispatch.dylib 0x00000001a3890450 _dispatch_lane_serial_drain + 568 (inline_internal.h:2484) 10 libdispatch.dylib 0x00000001a3890e7c _dispatch_lane_invoke + 368 (inline_internal.h:1851) 11 libdispatch.dylib 0x00000001a3899f20 _dispatch_workloop_worker_thread + 580 (queue.c:6445) 12 libsystem_pthread.dylib 0x00000001a38ef6d0 _pthread_wqthread + 280 (pthread.c:2351) 13 libsystem_pthread.dylib 0x00000001a38f59e8 start_wqthread + 8