Critical Errors: Add extra logging
Closed this issue · 0 comments
jleandroperez commented
We've been getting crashes in SPPersistentMutableDictionary
-stack dump pasted below-.
Let's make sure that the errors are printed out in the crashlogs, in order to aid bugfixing.
Thread : Crashed: com.simperium.processor.Tag
0 libsystem_kernel.dylib 0x00007fff8fe66282 __pthread_kill + 10
1 libsystem_c.dylib 0x00007fff84a08b73 abort + 129
2 Simperium-OSX 0x0000000106fe1496 -[SPPersistentMutableDictionary persistentStoreCoordinator] (SPPersistentMutableDictionary.m:310)
3 Simperium-OSX 0x0000000106fe0fd1 -[SPPersistentMutableDictionary managedObjectContext] (SPPersistentMutableDictionary.m:285)
4 Simperium-OSX 0x0000000106fdf067 -[SPPersistentMutableDictionary count] (SPPersistentMutableDictionary.m:59)
5 Simperium-OSX 0x0000000106fc0391 -[SPChangeProcessor enumeratePendingChangesForBucket:block:] (SPChangeProcessor.m:711)
6 Simperium-OSX 0x0000000106fefe20 __43-[SPWebSocketChannel sendChangesForBucket:]_block_invoke351 (SPWebSocketChannel.m:548)
7 libdispatch.dylib 0x00007fff83a10323 _dispatch_call_block_and_release + 12
8 libdispatch.dylib 0x00007fff83a0bc13 _dispatch_client_callout + 8
9 libdispatch.dylib 0x00007fff83a0f365 _dispatch_queue_drain + 1100
10 libdispatch.dylib 0x00007fff83a10ecc _dispatch_queue_invoke + 202
11 libdispatch.dylib 0x00007fff83a0e6b7 _dispatch_root_queue_drain + 463
12 libdispatch.dylib 0x00007fff83a1cfe4 _dispatch_worker_thread3 + 91
13 libsystem_pthread.dylib 0x00007fff82f7b6cb _pthread_wqthread + 729
14 libsystem_pthread.dylib 0x00007fff82f794a1 start_wqthread + 13