Version mismatch failure when trying to persist (update) the identity object (persistIdentity:error:). Object version=1229, persisted version=1230.
#10. Crashed: com.twitter.crashlytics.ios.exception
0 AppName 0x1032b983c CLSProcessRecordAllThreads + 4309293116
1 AppName 0x1032b983c CLSProcessRecordAllThreads + 4309293116
2 AppName 0x1032b96f8 CLSProcessRecordAllThreads + 4309292792
3 AppName 0x1032a9814 CLSHandler + 4309227540
4 AppName 0x1032b7844 __CLSExceptionRecord_block_invoke + 4309284932
5 libdispatch.dylib 0x18401cae4 _dispatch_client_callout + 16
6 libdispatch.dylib 0x184025640 _dispatch_queue_barrier_sync_invoke_and_complete + 56
7 AppName 0x1032b72d8 CLSExceptionRecord + 4309283544
8 AppName 0x1032b7100 CLSExceptionRecordNSException + 4309283072
9 AppName 0x1032b6d14 CLSTerminateHandler() + 4309282068
10 libc++abi.dylib 0x1838d537c std::__terminate(void (*)()) + 16
11 libc++abi.dylib 0x1838d4ccc __cxxabiv1::exception_cleanup_func(_Unwind_Reason_Code, _Unwind_Exception*) + 130
12 libobjc.A.dylib 0x1838e4720 _objc_exception_destructor(void*) + 362
13 CoreFoundation 0x18472ac6c -[NSException initWithCoder:] + 114
14 LayerKit 0x104eb4bf4 __47-[LYRIdentityRepository persistIdentity:error:]_block_invoke + 3760
15 LayerKit 0x104eb0ff8 -[LYRIdentityRepository attemptBlock:] + 24
16 LayerKit 0x104eb3bd8 -[LYRIdentityRepository persistIdentity:error:] + 468
17 LayerKit 0x104eab904 __59-[LYRIdentity setPresenceStatusAndPostObjectChanges:error:]_block_invoke_2 + 212
18 LayerKit 0x104e6dfb4 -[LYRDatabaseTransaction executeTransactionUsingBlock:completion:] + 116
19 LayerKit 0x104eab7c4 __59-[LYRIdentity setPresenceStatusAndPostObjectChanges:error:]_block_invoke + 312
20 libdispatch.dylib 0x18401cb24 _dispatch_call_block_and_release + 24
21 libdispatch.dylib 0x18401cae4 _dispatch_client_callout + 16
22 libdispatch.dylib 0x184026a38 _dispatch_queue_serial_drain$VARIANT$mp + 608
23 libdispatch.dylib 0x184027380 _dispatch_queue_invoke$VARIANT$mp + 336
24 libdispatch.dylib 0x184027d4c _dispatch_root_queue_drain_deferred_wlh$VARIANT$mp + 340
25 libdispatch.dylib 0x18403011c _dispatch_workloop_worker_thread$VARIANT$mp + 668
26 libsystem_pthread.dylib 0x18434fe70 _pthread_wqthread + 860
27 libsystem_pthread.dylib 0x18434fb08 start_wqthread + 4
--
Fatal Exception: NSInternalInconsistencyException
0 CoreFoundation 0x18472ad8c __exceptionPreprocess
1 libobjc.A.dylib 0x1838e45ec objc_exception_throw
2 CoreFoundation 0x18472ac6c -[NSException initWithCoder:]
3 LayerKit 0x104eb4bf4 (Missing)
4 LayerKit 0x104eb0ff8 (Missing)
5 LayerKit 0x104eb3bd8 (Missing)
6 LayerKit 0x104eab904 (Missing)
7 LayerKit 0x104e6dfb4 (Missing)
8 LayerKit 0x104eab7c4 (Missing)
9 libdispatch.dylib 0x18401cb24 _dispatch_call_block_and_release
10 libdispatch.dylib 0x18401cae4 _dispatch_client_callout
11 libdispatch.dylib 0x184026a38 _dispatch_queue_serial_drain$VARIANT$mp
12 libdispatch.dylib 0x184027380 _dispatch_queue_invoke$VARIANT$mp
13 libdispatch.dylib 0x184027d4c _dispatch_root_queue_drain_deferred_wlh$VARIANT$mp
14 libdispatch.dylib 0x18403011c _dispatch_workloop_worker_thread$VARIANT$mp
15 libsystem_pthread.dylib 0x18434fe70 _pthread_wqthread
16 libsystem_pthread.dylib 0x18434fb08 start_wqthread
#0. com.apple.main-thread
0 libswiftCore.dylib 0x1064d9a38 swift_getInitializedObjCClass + 58
1 CoreFoundation 0x184732580 __invoking___ + 144
2 CoreFoundation 0x184611748 -[NSInvocation invoke] + 284
3 CoreFoundation 0x18461656c -[NSInvocation invokeWithTarget:] + 60
4 AppName 0x103791134 -[LLAppDelegateProxy forwardInvocation:] (LLAppDelegateProxy.m:68)
5 CoreFoundation 0x1847302d4 ___forwarding___ + 624
6 CoreFoundation 0x18461641c _CF_forwarding_prep_0 + 92
7 UIKit 0x18e6b4510 -[UIApplication _sendWillEnterForegroundCallbacks] + 172
8 UIKit 0x18e2c5e10 -[__UICanvasLifecycleMonitor_Compatability activateEventsOnly:withContext:completion:] + 1388
9 UIKit 0x18ef5b72c __82-[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:]_block_invoke + 296
10 UIKit 0x18e2c5268 -[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:] + 432
11 UIKit 0x18ed409b8 __125-[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:]_block_invoke + 220
12 UIKit 0x18ee8eae8 _performActionsWithDelayForTransitionContext + 112
13 UIKit 0x18e2c4c88 -[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:] + 248
14 UIKit 0x18e2c4624 -[_UICanvas scene:didUpdateWithDiff:transitionContext:completion:] + 368
15 UIKit 0x18e3023b0 -[UIApplicationSceneClientAgent scene:handleEvent:withCompletion:] + 468
16 FrontBoardServices 0x186f28f24 __80-[FBSSceneImpl updater:didUpdateSettings:withDiff:transitionContext:completion:]_block_invoke.362 + 212
17 libdispatch.dylib 0x18401cae4 _dispatch_client_callout + 16
18 libdispatch.dylib 0x1840241f4 _dispatch_block_invoke_direct$VARIANT$mp + 224
19 FrontBoardServices 0x186f5c878 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 36
20 FrontBoardServices 0x186f5c51c -[FBSSerialQueue _performNext] + 404
21 FrontBoardServices 0x186f5cab8 -[FBSSerialQueue _performNextFromRunLoopSource] + 56
22 CoreFoundation 0x1846d3404 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
23 CoreFoundation 0x1846d2c2c __CFRunLoopDoSources0 + 276
24 CoreFoundation 0x1846d079c __CFRunLoopRun + 1204
25 CoreFoundation 0x1845f0da8 CFRunLoopRunSpecific + 552
26 GraphicsServices 0x1865d3020 GSEventRunModal + 100
27 UIKit 0x18e5d178c UIApplicationMain + 236
28 AppName 0x1027a698c main (AppDelegate.swift:21)
29 libdyld.dylib 0x184081fc0 start + 4
#1. com.apple.uikit.eventfetch-thread
0 libsystem_kernel.dylib 0x18418fe08 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x18418fc80 mach_msg + 72
2 CoreFoundation 0x1846d2e40 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x1846d0908 __CFRunLoopRun + 1568
4 CoreFoundation 0x1845f0da8 CFRunLoopRunSpecific + 552
5 Foundation 0x185065674 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304
6 Foundation 0x18506551c -[NSRunLoop(NSRunLoop) runUntilDate:] + 148
7 UIKit 0x18e2b67e4 -[UIEventFetcher threadMain] + 136
8 Foundation 0x185175efc __NSThread__start__ + 1040
9 libsystem_pthread.dylib 0x184351220 _pthread_body + 272
10 libsystem_pthread.dylib 0x184351110 _pthread_body + 290
11 libsystem_pthread.dylib 0x18434fb10 thread_start + 4
#2. com.twitter.crashlytics.ios.MachExceptionServer
0 libsystem_kernel.dylib 0x18418fe08 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x18418fc80 mach_msg + 72
2 AppName 0x1032a46e4 CLSMachExceptionServer + 4309206756
3 libsystem_pthread.dylib 0x184351220 _pthread_body + 272
4 libsystem_pthread.dylib 0x184351110 _pthread_body + 290
5 libsystem_pthread.dylib 0x18434fb10 thread_start + 4
#3. com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x18418fe08 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x18418fc80 mach_msg + 72
2 CoreFoundation 0x1846d2e40 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x1846d0908 __CFRunLoopRun + 1568
4 CoreFoundation 0x1845f0da8 CFRunLoopRunSpecific + 552
5 CFNetwork 0x184efe4b0 -[__CoreSchedulingSetRunnable runForever] + 220
6 Foundation 0x185175efc __NSThread__start__ + 1040
7 libsystem_pthread.dylib 0x184351220 _pthread_body + 272
8 libsystem_pthread.dylib 0x184351110 _pthread_body + 290
9 libsystem_pthread.dylib 0x18434fb10 thread_start + 4
#4. com.apple.CFNetwork.CustomProtocols
0 libsystem_kernel.dylib 0x18418fe08 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x18418fc80 mach_msg + 72
2 CoreFoundation 0x1846d2e40 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x1846d0908 __CFRunLoopRun + 1568
4 CoreFoundation 0x1845f0da8 CFRunLoopRunSpecific + 552
5 CFNetwork 0x184efe4b0 -[__CoreSchedulingSetRunnable runForever] + 220
6 Foundation 0x185175efc __NSThread__start__ + 1040
7 libsystem_pthread.dylib 0x184351220 _pthread_body + 272
8 libsystem_pthread.dylib 0x184351110 _pthread_body + 290
9 libsystem_pthread.dylib 0x18434fb10 thread_start + 4
#5. com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x1841b1538 __select + 8
1 CoreFoundation 0x1846db378 __CFSocketManager + 644
2 libsystem_pthread.dylib 0x184351220 _pthread_body + 272
3 libsystem_pthread.dylib 0x184351110 _pthread_body + 290
4 libsystem_pthread.dylib 0x18434fb10 thread_start + 4
#6. com.squareup.SocketRocket.NetworkThread
0 libsystem_kernel.dylib 0x18418fe08 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x18418fc80 mach_msg + 72
2 CoreFoundation 0x1846d2e40 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x1846d0908 __CFRunLoopRun + 1568
4 CoreFoundation 0x1845f0da8 CFRunLoopRunSpecific + 552
5 Foundation 0x185065674 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304
6 AppName 0x1033ffd30 -[_FSRRunLoopThread main] + 4310629680
7 Foundation 0x185175efc __NSThread__start__ + 1040
8 libsystem_pthread.dylib 0x184351220 _pthread_body + 272
9 libsystem_pthread.dylib 0x184351110 _pthread_body + 290
10 libsystem_pthread.dylib 0x18434fb10 thread_start + 4
#7. Thread
0 libsystem_pthread.dylib 0x18434fb04 start_wqthread + 122
#8. Thread
0 libsystem_kernel.dylib 0x1841b1d84 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x18434feb4 _pthread_wqthread + 928
2 libsystem_pthread.dylib 0x18434fb08 start_wqthread + 4
#9. Thread
0 libsystem_kernel.dylib 0x1841b1d84 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x18434feb4 _pthread_wqthread + 928
2 libsystem_pthread.dylib 0x18434fb08 start_wqthread + 4
#10. Crashed: com.twitter.crashlytics.ios.exception
0 AppName 0x1032b983c CLSProcessRecordAllThreads + 4309293116
1 AppName 0x1032b983c CLSProcessRecordAllThreads + 4309293116
2 AppName 0x1032b96f8 CLSProcessRecordAllThreads + 4309292792
3 AppName 0x1032a9814 CLSHandler + 4309227540
4 AppName 0x1032b7844 __CLSExceptionRecord_block_invoke + 4309284932
5 libdispatch.dylib 0x18401cae4 _dispatch_client_callout + 16
6 libdispatch.dylib 0x184025640 _dispatch_queue_barrier_sync_invoke_and_complete + 56
7 AppName 0x1032b72d8 CLSExceptionRecord + 4309283544
8 AppName 0x1032b7100 CLSExceptionRecordNSException + 4309283072
9 AppName 0x1032b6d14 CLSTerminateHandler() + 4309282068
10 libc++abi.dylib 0x1838d537c std::__terminate(void (*)()) + 16
11 libc++abi.dylib 0x1838d4ccc __cxxabiv1::exception_cleanup_func(_Unwind_Reason_Code, _Unwind_Exception*) + 130
12 libobjc.A.dylib 0x1838e4720 _objc_exception_destructor(void*) + 362
13 CoreFoundation 0x18472ac6c -[NSException initWithCoder:] + 114
14 LayerKit 0x104eb4bf4 __47-[LYRIdentityRepository persistIdentity:error:]_block_invoke + 3760
15 LayerKit 0x104eb0ff8 -[LYRIdentityRepository attemptBlock:] + 24
16 LayerKit 0x104eb3bd8 -[LYRIdentityRepository persistIdentity:error:] + 468
17 LayerKit 0x104eab904 __59-[LYRIdentity setPresenceStatusAndPostObjectChanges:error:]_block_invoke_2 + 212
18 LayerKit 0x104e6dfb4 -[LYRDatabaseTransaction executeTransactionUsingBlock:completion:] + 116
19 LayerKit 0x104eab7c4 __59-[LYRIdentity setPresenceStatusAndPostObjectChanges:error:]_block_invoke + 312
20 libdispatch.dylib 0x18401cb24 _dispatch_call_block_and_release + 24
21 libdispatch.dylib 0x18401cae4 _dispatch_client_callout + 16
22 libdispatch.dylib 0x184026a38 _dispatch_queue_serial_drain$VARIANT$mp + 608
23 libdispatch.dylib 0x184027380 _dispatch_queue_invoke$VARIANT$mp + 336
24 libdispatch.dylib 0x184027d4c _dispatch_root_queue_drain_deferred_wlh$VARIANT$mp + 340
25 libdispatch.dylib 0x18403011c _dispatch_workloop_worker_thread$VARIANT$mp + 668
26 libsystem_pthread.dylib 0x18434fe70 _pthread_wqthread + 860
27 libsystem_pthread.dylib 0x18434fb08 start_wqthread + 4
#11. com.apple.CoreLocation.ConnectionClient.0x1c032a460.events
0 libsystem_kernel.dylib 0x18418fe5c semaphore_timedwait_trap + 8
1 libdispatch.dylib 0x18401f0b0 _dispatch_sema4_timedwait$VARIANT$mp + 60
2 libdispatch.dylib 0x18401f924 _dispatch_semaphore_wait_slow + 72
3 CoreLocation 0x18ae9c888 CLClientInvalidate + 888
4 CoreLocation 0x18aea2878 CLClientRetrieveData + 2828
5 CoreLocation 0x18aef8b18 CLClientCreateIso6709Notation + 79496
6 CoreLocation 0x18aef4bf0 CLClientCreateIso6709Notation + 63328
7 CoreLocation 0x18aef6390 CLClientCreateIso6709Notation + 69376
8 libxpc.dylib 0x18438b220 _xpc_connection_call_event_handler + 68
9 libxpc.dylib 0x18438f19c do_mach_notify_port_destroyed + 160
10 libxpc.dylib 0x18438f0c8 _Xmach_notify_port_destroyed + 80
11 libxpc.dylib 0x18438f04c notify_server + 92
12 libxpc.dylib 0x1843956b0 _xpc_connection_pass2mig + 164
13 libxpc.dylib 0x184388c14 _xpc_connection_mach_event + 1080
14 libdispatch.dylib 0x18401cbb4 _dispatch_client_callout4 + 16
15 libdispatch.dylib 0x1840334c4 _dispatch_mach_msg_invoke$VARIANT$mp + 352
16 libdispatch.dylib 0x1840268f0 _dispatch_queue_serial_drain$VARIANT$mp + 280
17 libdispatch.dylib 0x184033f70 _dispatch_mach_invoke$VARIANT$mp + 508
18 libdispatch.dylib 0x1840268f0 _dispatch_queue_serial_drain$VARIANT$mp + 280
19 libdispatch.dylib 0x184027380 _dispatch_queue_invoke$VARIANT$mp + 336
20 libdispatch.dylib 0x1840268f0 _dispatch_queue_serial_drain$VARIANT$mp + 280
21 libdispatch.dylib 0x184027380 _dispatch_queue_invoke$VARIANT$mp + 336
22 libdispatch.dylib 0x184027d4c _dispatch_root_queue_drain_deferred_wlh$VARIANT$mp + 340
23 libdispatch.dylib 0x18403011c _dispatch_workloop_worker_thread$VARIANT$mp + 668
24 libsystem_pthread.dylib 0x18434fe70 _pthread_wqthread + 860
25 libsystem_pthread.dylib 0x18434fb08 start_wqthread + 4
#12. com.apple.CoreLocation.ConnectionClient.0x1c4322b20.events
0 libsystem_kernel.dylib 0x18418fe5c semaphore_timedwait_trap + 8
1 libdispatch.dylib 0x18401f0b0 _dispatch_sema4_timedwait$VARIANT$mp + 60
2 libdispatch.dylib 0x18401f924 _dispatch_semaphore_wait_slow + 72
3 CoreLocation 0x18ae9c888 CLClientInvalidate + 888
4 CoreLocation 0x18aea2878 CLClientRetrieveData + 2828
5 CoreLocation 0x18aef8b18 CLClientCreateIso6709Notation + 79496
6 CoreLocation 0x18aef4bf0 CLClientCreateIso6709Notation + 63328
7 CoreLocation 0x18aef6390 CLClientCreateIso6709Notation + 69376
8 libxpc.dylib 0x18438b220 _xpc_connection_call_event_handler + 68
9 libxpc.dylib 0x18438f19c do_mach_notify_port_destroyed + 160
10 libxpc.dylib 0x18438f0c8 _Xmach_notify_port_destroyed + 80
11 libxpc.dylib 0x18438f04c notify_server + 92
12 libxpc.dylib 0x1843956b0 _xpc_connection_pass2mig + 164
13 libxpc.dylib 0x184388c14 _xpc_connection_mach_event + 1080
14 libdispatch.dylib 0x18401cbb4 _dispatch_client_callout4 + 16
15 libdispatch.dylib 0x1840334c4 _dispatch_mach_msg_invoke$VARIANT$mp + 352
16 libdispatch.dylib 0x1840268f0 _dispatch_queue_serial_drain$VARIANT$mp + 280
17 libdispatch.dylib 0x184033f70 _dispatch_mach_invoke$VARIANT$mp + 508
18 libdispatch.dylib 0x1840268f0 _dispatch_queue_serial_drain$VARIANT$mp + 280
19 libdispatch.dylib 0x184027380 _dispatch_queue_invoke$VARIANT$mp + 336
20 libdispatch.dylib 0x1840268f0 _dispatch_queue_serial_drain$VARIANT$mp + 280
21 libdispatch.dylib 0x184027380 _dispatch_queue_invoke$VARIANT$mp + 336
22 libdispatch.dylib 0x184027d4c _dispatch_root_queue_drain_deferred_wlh$VARIANT$mp + 340
23 libdispatch.dylib 0x18403011c _dispatch_workloop_worker_thread$VARIANT$mp + 668
24 libsystem_pthread.dylib 0x18434fe70 _pthread_wqthread + 860
25 libsystem_pthread.dylib 0x18434fb08 start_wqthread + 4
#13. com.apple.CoreLocation.ConnectionClient.0x1c0324ec0.events
0 libsystem_kernel.dylib 0x18418fe5c semaphore_timedwait_trap + 8
1 libdispatch.dylib 0x18401f0b0 _dispatch_sema4_timedwait$VARIANT$mp + 60
2 libdispatch.dylib 0x18401f924 _dispatch_semaphore_wait_slow + 72
3 CoreLocation 0x18ae9c888 CLClientInvalidate + 888
4 CoreLocation 0x18aea2878 CLClientRetrieveData + 2828
5 CoreLocation 0x18aef8b18 CLClientCreateIso6709Notation + 79496
6 CoreLocation 0x18aef4bf0 CLClientCreateIso6709Notation + 63328
7 CoreLocation 0x18aef6390 CLClientCreateIso6709Notation + 69376
8 libxpc.dylib 0x18438b220 _xpc_connection_call_event_handler + 68
9 libxpc.dylib 0x18438f19c do_mach_notify_port_destroyed + 160
10 libxpc.dylib 0x18438f0c8 _Xmach_notify_port_destroyed + 80
11 libxpc.dylib 0x18438f04c notify_server + 92
12 libxpc.dylib 0x1843956b0 _xpc_connection_pass2mig + 164
13 libxpc.dylib 0x184388c14 _xpc_connection_mach_event + 1080
14 libdispatch.dylib 0x18401cbb4 _dispatch_client_callout4 + 16
15 libdispatch.dylib 0x1840334c4 _dispatch_mach_msg_invoke$VARIANT$mp + 352
16 libdispatch.dylib 0x1840268f0 _dispatch_queue_serial_drain$VARIANT$mp + 280
17 libdispatch.dylib 0x184033f70 _dispatch_mach_invoke$VARIANT$mp + 508
18 libdispatch.dylib 0x1840268f0 _dispatch_queue_serial_drain$VARIANT$mp + 280
19 libdispatch.dylib 0x184027380 _dispatch_queue_invoke$VARIANT$mp + 336
20 libdispatch.dylib 0x1840268f0 _dispatch_queue_serial_drain$VARIANT$mp + 280
21 libdispatch.dylib 0x184027380 _dispatch_queue_invoke$VARIANT$mp + 336
22 libdispatch.dylib 0x184027d4c _dispatch_root_queue_drain_deferred_wlh$VARIANT$mp + 340
23 libdispatch.dylib 0x18403011c _dispatch_workloop_worker_thread$VARIANT$mp + 668
24 libsystem_pthread.dylib 0x18434fe70 _pthread_wqthread + 860
25 libsystem_pthread.dylib 0x18434fb08 start_wqthread + 4
#14. Thread
0 libsystem_kernel.dylib 0x1841b1d84 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x18434feb4 _pthread_wqthread + 928
2 libsystem_pthread.dylib 0x18434fb08 start_wqthread + 4
#15. Thread
0 libsystem_pthread.dylib 0x18434fb04 start_wqthread + 122
#16. Thread
0 libsystem_kernel.dylib 0x1841b1d84 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x18434feb4 _pthread_wqthread + 928
2 libsystem_pthread.dylib 0x18434fb08 start_wqthread + 4
#17. Thread
0 libsystem_kernel.dylib 0x1841b1d84 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x18434feb4 _pthread_wqthread + 928
2 libsystem_pthread.dylib 0x18434fb08 start_wqthread + 4
#18. Thread
0 libsystem_kernel.dylib 0x1841b1d84 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x18434feb4 _pthread_wqthread + 928
2 libsystem_pthread.dylib 0x18434fb08 start_wqthread + 4
#19. Thread
0 libsystem_kernel.dylib 0x1841b1d84 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x18434feb4 _pthread_wqthread + 928
2 libsystem_pthread.dylib 0x18434fb08 start_wqthread + 4
Corelocation is mentioned in the thread. 53% of the crashes happen in the background. Makes me think that has something to do with live tracking the user while they are out of the app.
How can I solve it?
This was a crash in layer SDK and has been fixed in Layerkit 4.0.4
Simply updating the layer 4.0.4 resolved the problem.
Related
Our ios app suffers some crashes recently with below title ,
_objc_fatalv(unsigned long long, unsigned long long, char const*, char*)
abort_with_payload_wrapper_internal
Crashed: com.apple.main-thread
SIGABRT ABORT 0x00000001e6013a00
we using capacitor,cordova,ionic for this app
one thing i noticed on resuming the app also this crash event happens, actually firebase log is not adequate to figure out this issue because it has nearly 200 logs with different screens like
firebase_screen: splash screen
firebase_screen_class: CAPBridgeViewController
this error is mainly in our latest version and ios16 platform
# Crashlytics - Stack trace
# Application: com.shopperApp
# Platform: apple
# Version: 0.0.8 (0.0.8)
# Issue: 09f591d6fb0a00eb74e378b77e5bf7b3
# Date: Sun Feb 12 2023 00:44:20 GMT+0530 (India Standard Time)
Crashed: com.apple.main-thread
0 libsystem_kernel.dylib 0xea00 __abort_with_payload + 8
1 libsystem_kernel.dylib 0x2fb4c abort_with_payload_wrapper_internal + 100
2 libsystem_kernel.dylib 0x2fae8 abort_with_payload_wrapper_internal + 26
3 libobjc.A.dylib 0x2ac64 _objc_fatalv(unsigned long long, unsigned long long, char const*, char*) + 112
4 libobjc.A.dylib 0x2abf4 _objc_fatalv(unsigned long long, unsigned long long, char const*, char*) + 26
5 libobjc.A.dylib 0x61d0 weak_register_no_lock + 332
6 libobjc.A.dylib 0xa6b0 objc_storeWeak + 344
7 UIKitCore 0x113440 _UIResponderForwarderWantsForwardingFromResponder + 728
8 UIKitCore 0x32fdc __forwardTouchMethod_block_invoke + 40
9 CoreFoundation 0xa2c0 __NSSET_IS_CALLING_OUT_TO_A_BLOCK__ + 16
10 CoreFoundation 0x856e4 -[__NSSetM enumerateObjectsWithOptions:usingBlock:] + 196
11 UIKitCore 0x1eb140 forwardTouchMethod + 216
12 UIKitCore 0xf21f8 -[UIWindow _sendTouchesForEvent:] + 496
13 UIKitCore 0xf16f0 -[UIWindow sendEvent:] + 3224
14 UIKitCore 0xf09ec -[UIApplication sendEvent:] + 740
15 UIKitCore 0xeec58 __dispatchPreprocessedEventFromEventQueue + 2052
16 UIKitCore 0x13496c __processEventQueue + 5612
17 UIKitCore 0x418110 __eventFetcherSourceCallback + 220
18 CoreFoundation 0xcc500 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
19 CoreFoundation 0xd7e70 __CFRunLoopDoSource0 + 172
20 CoreFoundation 0x62224 __CFRunLoopDoSources0 + 232
21 CoreFoundation 0x77230 __CFRunLoopRun + 780
22 CoreFoundation 0x7bdfc CFRunLoopRunSpecific + 584
23 GraphicsServices 0x1984 GSEventRunModal + 160
24 UIKitCore 0x376e7c -[UIApplication _run] + 868
25 UIKitCore 0x376af4 UIApplicationMain + 312
26 shopperApp 0x62e4 main + 7 (AppDelegate.swift:7)
27 ??? 0x1ca24ade0 (Missing)
com.apple.uikit.eventfetch-thread
0 libsystem_kernel.dylib 0x1194 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x12a08 mach_msg2_internal + 76
2 libsystem_kernel.dylib 0x12c44 mach_msg_overwrite + 384
3 libsystem_kernel.dylib 0x1688 mach_msg + 20
4 CoreFoundation 0x76244 __CFRunLoopServiceMachPort + 156
5 CoreFoundation 0x773f4 __CFRunLoopRun + 1232
6 CoreFoundation 0x7bdfc CFRunLoopRunSpecific + 584
7 Foundation 0x3e3fc -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 208
8 Foundation 0x3e2f8 -[NSRunLoop(NSRunLoop) runUntilDate:] + 60
9 UIKitCore 0x49b6d0 -[UIEventFetcher threadMain] + 424
10 Foundation 0x55f44 __NSThread__start__ + 704
11 libsystem_pthread.dylib 0x3060 _pthread_start + 116
12 libsystem_pthread.dylib 0x1688 thread_start + 8
com.google.firebase.crashlytics.MachExceptionServer
0 libsystem_kernel.dylib 0x1194 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x12a08 mach_msg2_internal + 76
2 libsystem_kernel.dylib 0x12c44 mach_msg_overwrite + 384
3 libsystem_kernel.dylib 0x1688 mach_msg + 20
4 FirebaseCrashlytics 0x188b8 FIRCLSMachExceptionServer + 194 (FIRCLSMachException.c:194)
5 libsystem_pthread.dylib 0x3060 _pthread_start + 116
6 libsystem_pthread.dylib 0x1688 thread_start + 8
com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x1194 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x12a08 mach_msg2_internal + 76
2 libsystem_kernel.dylib 0x12c44 mach_msg_overwrite + 384
3 libsystem_kernel.dylib 0x1688 mach_msg + 20
4 CoreFoundation 0x76244 __CFRunLoopServiceMachPort + 156
5 CoreFoundation 0x773f4 __CFRunLoopRun + 1232
6 CoreFoundation 0x7bdfc CFRunLoopRunSpecific + 584
7 CFNetwork 0x22d6cc _CFURLStorageSessionDisableCache + 51024
8 Foundation 0x55f44 __NSThread__start__ + 704
9 libsystem_pthread.dylib 0x3060 _pthread_start + 116
10 libsystem_pthread.dylib 0x1688 thread_start + 8
JavaScriptCore libpas scavenger
0 libsystem_kernel.dylib 0x19e0 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x2584 _pthread_cond_wait$VARIANT$armv81 + 1220
2 JavaScriptCore 0xec4b4 scavenger_thread_main + 1012
3 libsystem_pthread.dylib 0x3060 _pthread_start + 116
4 libsystem_pthread.dylib 0x1688 thread_start + 8
com.apple.root.default-qos
0 libsystem_kernel.dylib 0x1110 semaphore_wait_trap + 8
1 libdispatch.dylib 0x33e88 _dispatch_sema4_wait$VARIANT$armv81 + 24
2 libdispatch.dylib 0x344c4 _dispatch_semaphore_wait_slow + 128
3 UIKitCore 0x4999c8 __69+[_UIAsyncInvocationObserver whenInvocationsCompleteForObservers:do:]_block_invoke_2 + 56
4 libdispatch.dylib 0x63850 _dispatch_call_block_and_release + 24
5 libdispatch.dylib 0x647c8 _dispatch_client_callout + 16
6 libdispatch.dylib 0x3bb2c _dispatch_queue_override_invoke + 708
7 libdispatch.dylib 0x48d48 _dispatch_root_queue_drain + 328
8 libdispatch.dylib 0x49514 _dispatch_worker_thread2 + 160
9 libsystem_pthread.dylib 0x1b14 _pthread_wqthread + 224
10 libsystem_pthread.dylib 0x167c start_wqthread + 8
Thread
0 libsystem_kernel.dylib 0x1654 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x1b9c _pthread_wqthread + 360
2 libsystem_pthread.dylib 0x167c start_wqthread + 8
Thread
0 libsystem_kernel.dylib 0x1654 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x1b9c _pthread_wqthread + 360
2 libsystem_pthread.dylib 0x167c start_wqthread + 8
com.apple.dnssd.client
0 libsystem_kernel.dylib 0x1c34 __ulock_wait + 8
1 libsystem_platform.dylib 0x8028 _os_unfair_lock_lock_slow + 168
2 libobjc.A.dylib 0x23dc objc_object::sidetable_clearDeallocating() + 100
3 libobjc.A.dylib 0x5a3c objc_destructInstance + 160
4 libobjc.A.dylib 0xe1c8 _objc_rootDealloc + 52
5 libxpc.dylib 0x26a58 -[OS_xpc_object dealloc] + 52
6 libxpc.dylib 0x15178 _xpc_dictionary_node_free + 80
7 libxpc.dylib 0x12cd8 _xpc_dictionary_dispose + 44
8 libxpc.dylib 0x26a3c -[OS_xpc_object dealloc] + 24
9 libxpc.dylib 0x80cc _xpc_array_dispose + 40
10 libxpc.dylib 0x26a3c -[OS_xpc_object dealloc] + 24
11 libxpc.dylib 0x12d4c _xpc_dictionary_dispose + 160
12 libxpc.dylib 0x26a3c -[OS_xpc_object dealloc] + 24
13 libxpc.dylib 0x10040 _xpc_connection_mach_event + 948
14 libdispatch.dylib 0x6487c _dispatch_client_callout4 + 16
15 libdispatch.dylib 0x377c0 _dispatch_mach_msg_invoke$VARIANT$armv81 + 372
16 libdispatch.dylib 0x3f72c _dispatch_lane_serial_drain$VARIANT$armv81 + 308
17 libdispatch.dylib 0x3835c _dispatch_mach_invoke$VARIANT$armv81 + 444
18 libdispatch.dylib 0x3f72c _dispatch_lane_serial_drain$VARIANT$armv81 + 308
19 libdispatch.dylib 0x402e4 _dispatch_lane_invoke$VARIANT$armv81 + 380
20 libdispatch.dylib 0x4a000 _dispatch_workloop_worker_thread + 612
21 libsystem_pthread.dylib 0x1b50 _pthread_wqthread + 284
22 libsystem_pthread.dylib 0x167c start_wqthread + 8
Thread
0 libsystem_kernel.dylib 0x1654 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x1b9c _pthread_wqthread + 360
2 libsystem_pthread.dylib 0x167c start_wqthread + 8
com.apple.network.connections
0 libsystem_kernel.dylib 0x1c34 __ulock_wait + 8
1 libsystem_platform.dylib 0x8028 _os_unfair_lock_lock_slow + 168
2 libobjc.A.dylib 0x23dc objc_object::sidetable_clearDeallocating() + 100
3 libobjc.A.dylib 0x5a3c objc_destructInstance + 160
4 libobjc.A.dylib 0xe1c8 _objc_rootDealloc + 52
5 Network 0x3611a0 -[OS_nw_array dealloc] + 52
6 Network 0x12a768 nw_resolver_remove_endpoint_locked + 228
7 Network 0x12e468 __nw_resolver_create_dns_getaddrinfo_locked_block_invoke.165 + 6932
8 libdns_services.dylib 0x12f0 ___dnssd_getaddrinfo_activate_block_invoke + 204
9 libdispatch.dylib 0x647c8 _dispatch_client_callout + 16
10 libdispatch.dylib 0x3be7c _dispatch_continuation_pop$VARIANT$armv81 + 436
11 libdispatch.dylib 0x4d860 _dispatch_source_invoke$VARIANT$armv81 + 1552
12 libdispatch.dylib 0x4144c _dispatch_workloop_invoke$VARIANT$armv81 + 1636
13 libdispatch.dylib 0x4a000 _dispatch_workloop_worker_thread + 612
14 libsystem_pthread.dylib 0x1b50 _pthread_wqthread + 284
15 libsystem_pthread.dylib 0x167c start_wqthread + 8
Thread
0 libsystem_pthread.dylib 0x1674 start_wqthread + 270
when i googled this error Crash in UIKitCore [UIViewController viewDidMoveToWindow:shouldAppearOrDisappear:] iOS 12 only also shares similar error message but since we are not using native elements i think my cause of problem is from somewhere else?
did any faced this crashes before?
thanks in advance!
We encounter more and more crashes on Crashlytics in the past 2 months or so.
This is the Stack trace from Crashlytics.
It happens on iOS 16.2 - 16.3, there is not a specific device.
From what we know from Analytics - the crash happens when the user is inside screen with webview - we don't know what the user is doing specifically but after 2 minutes or so the crash happens.
the main issue is that we cant repreduce the crash, any one has any idea what this crash abbout?
# Crashlytics - Stack trace
# Application: com.CAL.Cal4U
# Platform: apple
# Version: 4.6.1 (1.2)
# Issue: 511fcd42790c36dd562e7f10e0aad08a
# Session: e1988554054f4265979cc7fe5f024753_DNE_0_v2
# Date: Wed Feb 01 2023 11:56:19 GMT+0200 (Israel Standard Time)
Crashed: com.apple.main-thread
0 libsystem_blocks.dylib 0x2114 _call_dispose_helpers_excp + 32
1 libsystem_blocks.dylib 0x1d54 _Block_release + 252
2 libsystem_blocks.dylib 0x3f30 bool HelperBase<GenericInline>::disposeCapture<(HelperBase<GenericInline>::BlockCaptureKind)4>(unsigned int, unsigned char*) + 68
3 libsystem_blocks.dylib 0x2aac HelperBase<GenericInline>::destroyBlock(Block_layout*, bool, unsigned char*) + 180
4 libsystem_blocks.dylib 0x213c _call_dispose_helpers_excp + 72
5 libsystem_blocks.dylib 0x1d54 _Block_release + 252
6 UIKitCore 0xb6fba0 __77-[UIInputWindowController moveFromPlacement:toPlacement:starting:completion:]_block_invoke.446 + 68
7 UIKitCore 0x103d464 __UIVIEW_IS_EXECUTING_ANIMATION_COMPLETION_BLOCK__ + 180
8 UIKitCore 0xd14ac -[UIViewAnimationBlockDelegate _didEndBlockAnimation:finished:context:] + 72
9 UIKitCore 0xd0408 -[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 252
10 UIKitCore 0xcfb28 -[UIViewAnimationState animationDidStop:finished:] + 68
11 QuartzCore 0x1310c CA::Layer::run_animation_callbacks(void*) + 180
12 libdispatch.dylib 0x3fdc _dispatch_client_callout + 72
13 libdispatch.dylib 0x127f4 _dispatch_main_queue_drain + 252
14 libdispatch.dylib 0x12444 _dispatch_main_queue_callback_4CF + 68
15 CoreFoundation 0x9a6d8 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 180
16 CoreFoundation 0x7c03c __CFRunLoopRun + 72
17 CoreFoundation 0x80ec0 CFRunLoopRunSpecific + 252
18 GraphicsServices 0x1368 GSEventRunModal + 68
19 UIKitCore 0x3a186c -[UIApplication _run] + 180
20 UIKitCore 0x3a14d0 UIApplicationMain + 72
21 CALNativeApp 0x64d0 main + 11 (main.swift:11)
22 ??? 0x1e265e960 <redacted> + 68
com.apple.uikit.eventfetch-thread
0 libsystem_kernel.dylib 0x4aa8 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x16fc4 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x17204 mach_msg_overwrite + 388
3 libsystem_kernel.dylib 0x4fec mach_msg + 24
4 CoreFoundation 0x7aad4 __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x7bd18 __CFRunLoopRun + 1232
6 CoreFoundation 0x80ec0 CFRunLoopRunSpecific + 612
7 Foundation 0x420d4 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
8 Foundation 0x41fbc -[NSRunLoop(NSRunLoop) runUntilDate:] + 64
9 UIKitCore 0x4d672c -[UIEventFetcher threadMain] + 436
10 Foundation 0x5b5a8 __NSThread__start__ + 716
11 libsystem_pthread.dylib 0x16cc _pthread_start + 148
12 libsystem_pthread.dylib 0xba4 thread_start + 8
com.google.firebase.crashlytics.MachExceptionServer
0 FirebaseCrashlytics 0x1cd88 FIRCLSProcessRecordAllThreads + 393 (FIRCLSProcess.c:393)
1 FirebaseCrashlytics 0x1d168 FIRCLSProcessRecordAllThreads + 424 (FIRCLSProcess.c:424)
2 FirebaseCrashlytics 0x15f84 FIRCLSHandler + 34 (FIRCLSHandler.m:34)
3 FirebaseCrashlytics 0x18d30 FIRCLSMachExceptionServer + 524 (FIRCLSMachException.c:524)
4 libsystem_pthread.dylib 0x16cc _pthread_start + 148
5 libsystem_pthread.dylib 0xba4 thread_start + 8
com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x4aa8 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x16fc4 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x17204 mach_msg_overwrite + 388
3 libsystem_kernel.dylib 0x4fec mach_msg + 24
4 CoreFoundation 0x7aad4 __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x7bd18 __CFRunLoopRun + 1232
6 CoreFoundation 0x80ec0 CFRunLoopRunSpecific + 612
7 CFNetwork 0x258078 _CFURLStorageSessionDisableCache + 61088
8 Foundation 0x5b5a8 __NSThread__start__ + 716
9 libsystem_pthread.dylib 0x16cc _pthread_start + 148
10 libsystem_pthread.dylib 0xba4 thread_start + 8
WebThread
0 libsystem_kernel.dylib 0x4aa8 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x16fc4 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x17204 mach_msg_overwrite + 388
3 libsystem_kernel.dylib 0x4fec mach_msg + 24
4 CoreFoundation 0x7aad4 __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x7bd18 __CFRunLoopRun + 1232
6 CoreFoundation 0x80ec0 CFRunLoopRunSpecific + 612
7 WebCore 0xbbcd3c <redacted> + 756
8 libsystem_pthread.dylib 0x16cc _pthread_start + 148
9 libsystem_pthread.dylib 0xba4 thread_start + 8
Thread
0 libsystem_pthread.dylib 0xb90 start_wqthread + 254
Thread
0 libsystem_pthread.dylib 0xb90 start_wqthread + 254
JavaScriptCore libpas scavenger
0 libsystem_kernel.dylib 0x537c __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x806c _pthread_cond_wait + 1232
2 JavaScriptCore 0xf643c scavenger_thread_main + 1164
3 libsystem_pthread.dylib 0x16cc _pthread_start + 148
4 libsystem_pthread.dylib 0xba4 thread_start + 8
Thread
0 libsystem_pthread.dylib 0xb90 start_wqthread + 254
Thread
0 libsystem_pthread.dylib 0xb90 start_wqthread + 254
LocalStorage
0 libsystem_kernel.dylib 0x537c __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x806c _pthread_cond_wait + 1232
2 JavaScriptCore 0x4c73c WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2032
3 WebKitLegacy 0x2c784 bool WTF::Condition::waitUntilUnchecked<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 248
4 WebKitLegacy 0x300a4 WebCore::StorageThread::threadEntryPoint() + 296
5 JavaScriptCore 0x6ee14 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 352
6 JavaScriptCore 0x7109c WTF::wtfThreadEntryPoint(void*) + 16
7 libsystem_pthread.dylib 0x16cc _pthread_start + 148
8 libsystem_pthread.dylib 0xba4 thread_start + 8 0x1e8dfc960 <redacted> + 180
I have downloaded symbolicated crash report using Xcode but unable to understand it as in backtrace it shows below method where it crashed:
-[UIView(Internal) _addSubview:positioned:relativeTo:] + 132 (UIView.m:16297). However, I can't find that specific method in my code where exception occurred. Below is the crash report:
Incident Identifier: 36EACC3D-E19F-4F23-B788-CD18C8D21052
Hardware Model: iPad13,4
Process: SuperApp [1625]
Path: /private/var/containers/Bundle/Application/5AEC3228-FC0F-48FA-9812-276AAD48B44D/SuperApp.app/SuperApp
Identifier: sa.com.stc.SuperMobileApp
Version: 1.0 (1.4.0)
AppStoreTools: 12E262
AppVariant: 1:iPad13,4:14
Beta: YES
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: sa.com.stc.SuperMobileApp [793]
Date/Time: 2021-06-20 17:34:25.7885 +0300
Launch Time: 2021-06-19 22:08:42.5573 +0300
OS Version: iPhone OS 15.0 (19A5261w)
Release Type: Beta
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x18082ff90 __exceptionPreprocess + 220 (NSException.m:199)
1 libobjc.A.dylib 0x198eeb21c objc_exception_throw + 60 (objc-exception.mm:565)
2 CoreFoundation 0x1808bcce0 +[NSException raise:format:] + 112 (NSException.m:155)
3 UIKitCore 0x182c4a458 -[UIView(Internal) _addSubview:positioned:relativeTo:] + 132 (UIView.m:16297)
4 UIKitCore 0x182ff5638 __53-[_UINavigationParallaxTransition animateTransition:]_block_invoke_2 + 1304 (_UINavigationParallaxTransition.m:383)
5 UIKitCore 0x182c2acf4 +[UIView(Animation) performWithoutAnimation:] + 104 (UIView.m:14461)
6 UIKitCore 0x183144bb8 __53-[_UINavigationParallaxTransition animateTransition:]_block_invoke + 260 (_UINavigationParallaxTransition.m:319)
7 UIKitCore 0x182e91458 +[UIView _performBlockDelayingTriggeringResponderEvents:forScene:] + 252 (UIView.m:15984)
8 UIKitCore 0x182fb249c -[_UINavigationParallaxTransition animateTransition:] + 1092 (_UINavigationParallaxTransition.m:317)
9 UIKitCore 0x182f276ec ___UIViewControllerTransitioningRunCustomTransition_block_invoke_2 + 76 (UIViewControllerTransitioning.m:0)
10 UIKitCore 0x182ecee34 +[UIKeyboardSceneDelegate _pinInputViewsForKeyboardSceneDelegate:onBehalfOfResponder:duringBlock:] + 172 (UIKeyboardSceneDelegate.m:1968)
11 UIKitCore 0x1834cd880 ___UIViewControllerTransitioningRunCustomTransition_block_invoke.663 + 204 (UIViewControllerTransitioning.m:1258)
12 UIKitCore 0x182da8914 +[UIView(Animation) _setAlongsideAnimations:toRunByEndOfBlock:] + 204 (UIView.m:14416)
13 UIKitCore 0x182da879c _UIViewControllerTransitioningRunCustomTransition + 628 (UIViewControllerTransitioning.m:1249)
14 UIKitCore 0x182e60ed8 -[UINavigationController _startCustomTransition:] + 3412 (UINavigationController.m:2224)
15 UIKitCore 0x182d2bbec -[UINavigationController _startDeferredTransitionIfNeeded:] + 692 (UINavigationController.m:7291)
16 UIKitCore 0x182d29e28 -[UINavigationController __viewWillLayoutSubviews] + 168 (UINavigationController.m:7596)
17 UIKitCore 0x182d66bf0 -[UILayoutContainerView layoutSubviews] + 228 (UILayoutContainerView.m:88)
18 UIKitCore 0x182be1498 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2768 (UIView.m:18074)
19 QuartzCore 0x184440f10 CA::Layer::layout_if_needed(CA::Transaction*) + 536 (CALayer.mm:10004)
20 QuartzCore 0x18444f664 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 144 (CALayer.mm:2476)
21 QuartzCore 0x184479fa8 CA::Context::commit_transaction(CA::Transaction*, double, double*) + 480 (CAContextInternal.mm:2549)
22 QuartzCore 0x1844b8910 CA::Transaction::commit() + 680 (CATransactionInternal.mm:449)
23 QuartzCore 0x184617394 CA::Transaction::flush_as_runloop_observer(bool) + 72 (CATransactionInternal.mm:941)
24 CoreFoundation 0x1807dbd04 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 36 (CFRunLoop.c:1799)
25 CoreFoundation 0x18076a334 __CFRunLoopDoObservers + 572 (CFRunLoop.c:1912)
26 CoreFoundation 0x1807c89c0 __CFRunLoopRun + 1052 (CFRunLoop.c:2958)
27 CoreFoundation 0x1807d631c CFRunLoopRunSpecific + 600 (CFRunLoop.c:3247)
28 GraphicsServices 0x19c174600 GSEventRunModal + 164 (GSEvent.c:2200)
29 UIKitCore 0x182fae9b0 -[UIApplication _run] + 1084 (UIApplication.m:3409)
30 UIKitCore 0x182fae424 UIApplicationMain + 2204 (UIApplication.m:4949)
31 SuperApp 0x1028eec30 main + 68 (AppDelegate.swift:24)
32 dyld 0x102f2121c start + 520 (dyldMain.cpp:857)
Thread 0 name:
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x00000001b63471f4 __pthread_kill + 8
1 libsystem_pthread.dylib 0x00000001f0e0123c pthread_kill + 268 (pthread.c:1609)
2 libsystem_c.dylib 0x000000018b8b2500 __abort + 128 (abort.c:155)
3 libsystem_c.dylib 0x000000018b8b2480 abort + 176 (abort.c:126)
4 libc++abi.dylib 0x0000000198ff0a7c abort_message + 132 (abort_message.cpp:78)
5 libc++abi.dylib 0x0000000198fe19b8 demangling_terminate_handler() + 352 (cxa_default_handlers.cpp:67)
6 libobjc.A.dylib 0x0000000198eef2fc _objc_terminate() + 144 (objc-exception.mm:701)
7 SuperApp 0x0000000102ae3b00 CLSTerminateHandler+ 2079488 () + 348
8 libc++abi.dylib 0x0000000198fefe10 std::__terminate(void (*)()) + 20 (cxa_handlers.cpp:59)
9 libc++abi.dylib 0x0000000198ff2dc4 __cxa_rethrow + 148 (cxa_exception.cpp:616)
10 libobjc.A.dylib 0x0000000198eeb1d4 objc_exception_rethrow + 44 (objc-exception.mm:604)
11 CoreFoundation 0x00000001807d6408 CFRunLoopRunSpecific + 836 (CFRunLoop.c:3262)
12 GraphicsServices 0x000000019c174600 GSEventRunModal + 164 (GSEvent.c:2200)
13 UIKitCore 0x0000000182fae9b0 -[UIApplication _run] + 1084 (UIApplication.m:3409)
14 UIKitCore 0x0000000182fae424 UIApplicationMain + 2204 (UIApplication.m:4949)
15 SuperApp 0x00000001028eec30 main + 68 (AppDelegate.swift:24)
16 dyld 0x0000000102f2121c start + 520 (dyldMain.cpp:857)
Thread 1 name:
Thread 1:
0 libsystem_kernel.dylib 0x00000001b6321b78 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001b6320edc mach_msg + 76 (mach_msg.c:119)
2 CoreFoundation 0x00000001807c94c8 __CFRunLoopServiceMachPort + 372 (CFRunLoop.c:2641)
3 CoreFoundation 0x00000001807c8a60 __CFRunLoopRun + 1212 (CFRunLoop.c:2979)
4 CoreFoundation 0x00000001807d631c CFRunLoopRunSpecific + 600 (CFRunLoop.c:3247)
5 Foundation 0x0000000181f7b018 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 232 (NSRunLoop.m:377)
6 Foundation 0x0000000181f7aee4 -[NSRunLoop(NSRunLoop) runUntilDate:] + 92 (NSRunLoop.m:424)
7 UIKitCore 0x0000000182c92cec -[UIEventFetcher threadMain] + 524 (UIEventFetcher.m:1054)
8 Foundation 0x0000000181fe5a04 __NSThread__start__ + 864 (NSThread.m:742)
9 libsystem_pthread.dylib 0x00000001f0e00220 _pthread_start + 148 (pthread.c:890)
10 libsystem_pthread.dylib 0x00000001f0e0962c thread_start + 8
Thread 2 name:
Thread 2:
0 libsystem_kernel.dylib 0x00000001b6321b78 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001b6320edc mach_msg + 76 (mach_msg.c:119)
2 CoreFoundation 0x00000001807c94c8 __CFRunLoopServiceMachPort + 372 (CFRunLoop.c:2641)
3 CoreFoundation 0x00000001807c8a60 __CFRunLoopRun + 1212 (CFRunLoop.c:2979)
4 CoreFoundation 0x00000001807d631c CFRunLoopRunSpecific + 600 (CFRunLoop.c:3247)
5 AudioSession 0x00000001897e5330 CADeprecated::GenericRunLoopThread::Entry(void*) + 164 (GenericRunLoopThread.h:95)
6 AudioSession 0x00000001897eae58 CADeprecated::CAPThread::Entry(CADeprecated::CAPThread*) + 92 (CAPThread.cpp:324)
7 libsystem_pthread.dylib 0x00000001f0e00220 _pthread_start + 148 (pthread.c:890)
8 libsystem_pthread.dylib 0x00000001f0e0962c thread_start + 8
Thread 3 name:
Thread 3:
0 libsystem_kernel.dylib 0x00000001b63474ec select$DARWIN_EXTSN + 8
1 WebRTC 0x0000000103b18d5c 0x103ac0000 + 363868
2 WebRTC 0x0000000103b1e95c 0x103ac0000 + 387420
3 WebRTC 0x0000000103b1de94 0x103ac0000 + 384660
4 WebRTC 0x0000000103b1f2e4 0x103ac0000 + 389860
5 libsystem_pthread.dylib 0x00000001f0e00220 _pthread_start + 148 (pthread.c:890)
6 libsystem_pthread.dylib 0x00000001f0e0962c thread_start + 8
Thread 4 name:
Thread 4:
0 libsystem_kernel.dylib 0x00000001b6346f8c __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x00000001f0e03e28 _pthread_cond_wait + 1240 (pthread_cond.c:636)
2 WebRTC 0x0000000103b24604 0x103ac0000 + 411140
3 WebRTC 0x0000000103b244e0 0x103ac0000 + 410848
4 WebRTC 0x0000000103b11884 0x103ac0000 + 333956
5 WebRTC 0x0000000103b1e95c 0x103ac0000 + 387420
6 WebRTC 0x0000000103b1de94 0x103ac0000 + 384660
7 WebRTC 0x0000000103b1f2e4 0x103ac0000 + 389860
8 libsystem_pthread.dylib 0x00000001f0e00220 _pthread_start + 148 (pthread.c:890)
9 libsystem_pthread.dylib 0x00000001f0e0962c thread_start + 8
Thread 5 name:
Thread 5:
0 libsystem_kernel.dylib 0x00000001b6346f8c __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x00000001f0e03e28 _pthread_cond_wait + 1240 (pthread_cond.c:636)
2 WebRTC 0x0000000103b24614 0x103ac0000 + 411156
3 WebRTC 0x0000000103b244e0 0x103ac0000 + 410848
4 WebRTC 0x0000000103b11884 0x103ac0000 + 333956
5 WebRTC 0x0000000103b1e95c 0x103ac0000 + 387420
6 WebRTC 0x0000000103b1de94 0x103ac0000 + 384660
7 WebRTC 0x0000000103b1f2e4 0x103ac0000 + 389860
8 libsystem_pthread.dylib 0x00000001f0e00220 _pthread_start + 148 (pthread.c:890)
9 libsystem_pthread.dylib 0x00000001f0e0962c thread_start + 8
Thread 6 name:
Thread 6:
0 libsystem_kernel.dylib 0x00000001b6346f8c __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x00000001f0e03e28 _pthread_cond_wait + 1240 (pthread_cond.c:636)
2 WebRTC 0x0000000103b24604 0x103ac0000 + 411140
3 WebRTC 0x0000000103b244e0 0x103ac0000 + 410848
4 WebRTC 0x0000000103bdf4bc 0x103ac0000 + 1176764
5 WebRTC 0x0000000103bdee4c 0x103ac0000 + 1175116
6 WebRTC 0x0000000103b23fcc 0x103ac0000 + 409548
7 libsystem_pthread.dylib 0x00000001f0e00220 _pthread_start + 148 (pthread.c:890)
8 libsystem_pthread.dylib 0x00000001f0e0962c thread_start + 8
Thread 7 name:
Thread 7:
0 libsystem_kernel.dylib 0x00000001b6321b78 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001b6320edc mach_msg + 76 (mach_msg.c:119)
2 SuperApp 0x0000000102ad1320 CLSMachExceptionServer + 100
3 libsystem_pthread.dylib 0x00000001f0e00220 _pthread_start + 148 (pthread.c:890)
4 libsystem_pthread.dylib 0x00000001f0e0962c thread_start + 8
Thread 8 name:
Thread 8:
0 libsystem_kernel.dylib 0x00000001b6321b78 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001b6320edc mach_msg + 76 (mach_msg.c:119)
2 CoreFoundation 0x00000001807c94c8 __CFRunLoopServiceMachPort + 372 (CFRunLoop.c:2641)
3 CoreFoundation 0x00000001807c8a60 __CFRunLoopRun + 1212 (CFRunLoop.c:2979)
4 CoreFoundation 0x00000001807d631c CFRunLoopRunSpecific + 600 (CFRunLoop.c:3247)
5 CFNetwork 0x00000001811bae6c +[__CFN_CoreSchedulingSetRunnable _run:] + 464 (CoreSchedulingSet.mm:1372)
6 Foundation 0x0000000181fe5a04 __NSThread__start__ + 864 (NSThread.m:742)
7 libsystem_pthread.dylib 0x00000001f0e00220 _pthread_start + 148 (pthread.c:890)
8 libsystem_pthread.dylib 0x00000001f0e0962c thread_start + 8
Thread 9 name:
Thread 9:
0 libsystem_kernel.dylib 0x00000001b63474ec select$DARWIN_EXTSN + 8
1 CoreFoundation 0x00000001808068a8 __CFSocketManager + 648 (CFSocket.c:1343)
2 libsystem_pthread.dylib 0x00000001f0e00220 _pthread_start + 148 (pthread.c:890)
3 libsystem_pthread.dylib 0x00000001f0e0962c thread_start + 8
Thread 10 name:
Thread 10:
0 libsystem_kernel.dylib 0x00000001b6321b78 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001b6320edc mach_msg + 76 (mach_msg.c:119)
2 CoreFoundation 0x00000001807c94c8 __CFRunLoopServiceMachPort + 372 (CFRunLoop.c:2641)
3 CoreFoundation 0x00000001807c8a60 __CFRunLoopRun + 1212 (CFRunLoop.c:2979)
4 CoreFoundation 0x00000001807d631c CFRunLoopRunSpecific + 600 (CFRunLoop.c:3247)
5 Foundation 0x0000000181f7b018 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 232 (NSRunLoop.m:377)
6 CocoaAsyncSocket 0x000000010323e0b4 +[GCDAsyncSocket cfstreamThread:] + 376 (GCDAsyncSocket.m:7655)
7 Foundation 0x0000000181fe5a04 __NSThread__start__ + 864 (NSThread.m:742)
8 libsystem_pthread.dylib 0x00000001f0e00220 _pthread_start + 148 (pthread.c:890)
9 libsystem_pthread.dylib 0x00000001f0e0962c thread_start + 8
Thread 11:
0 libsystem_pthread.dylib 0x00000001f0e09618 start_wqthread + 0
Thread 12:
0 libsystem_pthread.dylib 0x00000001f0e09618 start_wqthread + 0
Thread 13:
0 libsystem_pthread.dylib 0x00000001f0e09618 start_wqthread + 0
Thread 14 name:
Thread 14:
0 libsystem_kernel.dylib 0x00000001b6349068 kevent_id + 8
1 libdispatch.dylib 0x000000018047774c _dispatch_kq_poll + 220 (event_kevent.c:750)
2 libdispatch.dylib 0x0000000180478210 _dispatch_event_loop_wait_for_ownership + 436 (event_kevent.c:2203)
3 libdispatch.dylib 0x0000000180463eb0 __DISPATCH_WAIT_FOR_QUEUE__ + 364 (queue.c:1670)
4 libdispatch.dylib 0x0000000180463a38 _dispatch_sync_f_slow + 164 (queue.c:1751)
5 CoreData 0x0000000187b8b77c -[NSManagedObjectContext performBlockAndWait:] + 268 (NSManagedObjectContext.m:4015)
6 ChatCore 0x00000001043d8d5c specialized NSManagedObjectContext.fetch<A>(where:sortedBy:) + 468 (NSManagedObjectContext+ChatCore.swift:112)
7 ChatCore 0x0000000104363cd0 CoreDataMessageStorage.fetchSentUnreadMessages(forConversationWith:currentUser:) + 792 (CoreDataMessageStorage.swift:663)
8 ChatCore 0x00000001043ce87c ChatMessageStore.fetchSentUnreadMessages(forConversationWith:currentUser:) + 32 (ChatMessageStore.swift:158)
9 ChatCore 0x00000001043ce87c closure #3 in XMPPConversationHistoryModule.xmppMessageArchiveModule(_:didFinishArchiveFor:) + 64 (XMPPConversationHistoryModule.swift:137)
10 ChatCore 0x00000001043ce87c thunk for #callee_guaranteed (#guaranteed XMPPJID) -> (#owned [Message]?, #error #owned Error) + 64 (<compiler-generated>:0)
11 ChatCore 0x00000001043ce87c specialized Optional.flatMap<A>(_:) + 64 (<compiler-generated>:0)
12 ChatCore 0x00000001043ce87c specialized XMPPConversationHistoryModule.xmppMessageArchiveModule(_:didFinishArchiveFor:) + 744 (XMPPConversationHistoryModule.swift:136)
13 ChatCore 0x0000000104372e80 XMPPConversationHistoryModule.xmppMessageArchiveModule(_:didFinishArchiveFor:) + 12 (<compiler-generated>:124)
14 ChatCore 0x0000000104372e80 protocol witness for XMPPMessageArchiveModuleDelegate.xmppMessageArchiveModule(_:didFinishArchiveFor:) in conformance XMPPConversationHistoryModule + 12 (XMPPMessageArchiveModule.swift:0)
15 ChatCore 0x0000000104372e80 specialized XMPPMessageArchiveModule.xmppMessageArchiveManagement(_:didFinishReceivingMessagesWith:for:) + 356
16 ChatCore 0x0000000104371594 XMPPMessageArchiveModule.xmppMessageArchiveManagement(_:didFinishReceivingMessagesWith:for:) + 16 (<compiler-generated>:0)
17 ChatCore 0x0000000104371594 #objc XMPPMessageArchiveModule.xmppMessageArchiveManagement(_:didFinishReceivingMessagesWith:for:) + 96
18 CoreFoundation 0x00000001807c5e04 __invoking___ + 148
19 CoreFoundation 0x000000018076cc3c -[NSInvocation invoke] + 376 (NSForwarding.m:3448)
20 CoreFoundation 0x000000018076c690 -[NSInvocation invokeWithTarget:] + 80 (NSForwarding.m:3549)
21 XMPPFramework 0x0000000104053fac __42-[GCDMulticastDelegate forwardInvocation:]_block_invoke + 40 (GCDMulticastDelegate.m:281)
22 libdispatch.dylib 0x0000000180451c6c _dispatch_call_block_and_release + 32 (init.c:1510)
23 libdispatch.dylib 0x0000000180453a78 _dispatch_client_callout + 20 (object.m:560)
24 libdispatch.dylib 0x000000018045b8bc _dispatch_lane_serial_drain + 692 (inline_internal.h:2603)
25 libdispatch.dylib 0x000000018045c4c4 _dispatch_lane_invoke + 412 (queue.c:3926)
26 libdispatch.dylib 0x00000001804678f4 _dispatch_workloop_worker_thread + 780 (queue.c:6720)
27 libsystem_pthread.dylib 0x00000001f0e02058 _pthread_wqthread + 288 (pthread.c:2496)
28 libsystem_pthread.dylib 0x00000001f0e09620 start_wqthread + 8
Thread 15:
0 libsystem_pthread.dylib 0x00000001f0e09618 start_wqthread + 0
Thread 16:
0 libsystem_pthread.dylib 0x00000001f0e09618 start_wqthread + 0
EOF
Its because this crash is possibly a side effect of your view configuration and happens in an Apple framework, noticed you are also using a beta version, try running the same code in ios 14.6, if you can reproduce the crash with the device connected you can enable the Exception breakpoint in Xcode to isolate the line that triggered the chain of events.
My application getting crash with zendesk. I am getting crashes on daily basis. I did not find an solution over the github of Zendesk itself.
Zendesk SDK for mobile is a quick, convenient way to get customer support into your mobile apps. With just a few lines of code, you can provide your end users with an easy way to get in touch from any mobile app.
Error: Fatal Exception: NSRangeException-[UITableView _contentOffsetForScrollingToRowAtIndexPath:atScrollPosition:usingPresentationValues:]: row (12) beyond bounds (12) for section (0).
# Crashlytics - plaintext stacktrace downloaded by pankaj bhardwaj at Tue, 08 May 2018 07:32:39 GMT
# Organization: ******** India
# Platform: ios
# Application: *********
# Version: 2.1.3 (1)
# Bundle Identifier:
# Issue #: 331
# Issue ID: 5a0f0cfc61b02d480da67f98
# Session ID: 4c850433743442f89d7c9f7cef51f414_DNE_0_v2
# Date: 2018-05-08T07:28:00Z
# OS Version: 11.3.1 (15E302)
# Device: iPhone 6s
# RAM Free: 2.4%
# Disk Free: 36.9%
#0. Crashed: com.twitter.crashlytics.ios.exception
0 myApp 0x105121578 CLSProcessRecordAllThreads + 4377040248
1 myApp 0x105121578 CLSProcessRecordAllThreads + 4377040248
2 myApp 0x105121434 CLSProcessRecordAllThreads + 4377039924
3 myApp 0x105111174 CLSHandler + 4376973684
4 myApp 0x10511f580 __CLSExceptionRecord_block_invoke + 4377032064
5 libdispatch.dylib 0x184bc4ae4 _dispatch_client_callout + 16
6 libdispatch.dylib 0x184bcd640 _dispatch_queue_barrier_sync_invoke_and_complete + 56
7 myApp 0x10511f014 CLSExceptionRecord + 4377030676
8 myApp 0x10511ee3c CLSExceptionRecordNSException + 4377030204
9 myApp 0x10511ea50 CLSTerminateHandler() + 4377029200
10 libc++abi.dylib 0x18447d37c std::__terminate(void (*)()) + 16
11 libc++abi.dylib 0x18447cccc __cxxabiv1::exception_cleanup_func(_Unwind_Reason_Code, _Unwind_Exception*) + 130
12 libobjc.A.dylib 0x18448c720 _objc_exception_destructor(void*) + 362
13 CoreFoundation 0x1852d2c6c -[NSException initWithCoder:] + 114
14 UIKit 0x18f30e364 -[UITableView _contentOffsetForScrollingToRowAtIndexPath:atScrollPosition:usingPresentationValues:] + 1856
15 UIKit 0x18f30e98c -[UITableView _scrollToRowAtIndexPath:atScrollPosition:animated:usingPresentationValues:] + 152
16 UIKit 0x18f22412c -[UITableView scrollToRowAtIndexPath:atScrollPosition:animated:] + 148
17 myApp 0x10527d368 -[ZDCChatView scrollToLast:] (ZDCChatView.m:640)
18 myApp 0x105260880 __41-[ZDCChatViewController keyboardDidShow:]_block_invoke (ZDCChatViewController.m:337)
19 UIKit 0x18ee9b3d4 +[UIView(UIViewAnimationWithBlocks) _setupAnimationWithDuration:delay:view:options:factory:animations:start:animationStateGenerator:completion:] + 608
20 UIKit 0x18ee9b158 +[UIView(UIViewAnimationWithBlocks) animateWithDuration:delay:options:animations:completion:] + 108
21 myApp 0x1052607bc -[ZDCChatViewController keyboardDidShow:] (ZDCChatViewController.m:340)
22 CoreFoundation 0x185264c3c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
23 CoreFoundation 0x1852641b8 _CFXRegistrationPost + 428
24 CoreFoundation 0x185263f14 ___CFXNotificationPost_block_invoke + 216
25 CoreFoundation 0x1852e184c -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1408
26 CoreFoundation 0x18519af38 _CFXNotificationPost + 384
27 Foundation 0x185c0bbbc -[NSNotificationCenter postNotificationName:object:userInfo:] + 68
28 UIKit 0x18f06a90c -[UIInputWindowController postEndNotifications:withInfo:] + 1628
29 UIKit 0x18f0638e4 -[UIInputWindowController mergeTransitionIfNecessaryWithTransition:] + 280
30 UIKit 0x18f063174 -[UIInputWindowController moveFromPlacement:toPlacement:starting:completion:] + 372
31 UIKit 0x18f0589c8 -[UIInputWindowController setInputViewSet:] + 1104
32 UIKit 0x18f0528a4 -[UIInputWindowController performOperations:withAnimationStyle:] + 56
33 UIKit 0x18f04efe8 -[UIPeripheralHost(UIKitInternal) setInputViews:animationStyle:] + 1716
34 UIKit 0x1a52d4e9c -[UIPeripheralHostAccessibility setInputViews:animationStyle:] + 76
35 UIKit 0x18eeab6ac -[UIPeripheralHost(UIKitInternal) _reloadInputViewsForResponder:] + 2472
36 UIKit 0x18f066d68 -[UIResponder _finishResignFirstResponder] + 276
37 UIKit 0x18f066a18 -[UIResponder resignFirstResponder] + 312
38 UIKit 0x18f103fb0 -[UITextView resignFirstResponder] + 96
39 UIKit 0x1a5285ee0 -[UITextViewAccessibility resignFirstResponder] + 48
40 UIKit 0x18f103e9c -[UITextView setEditable:] + 80
41 Apptimize 0x105842ecc __ABTSwizzleDynamicSelectorProperty_block_invoke_5 + 520
42 myApp 0x10527d0d4 -[ZDCChatView setTimedOut:] (ZDCChatView.m:587)
43 libdispatch.dylib 0x184bc4b24 _dispatch_call_block_and_release + 24
44 libdispatch.dylib 0x184bc4ae4 _dispatch_client_callout + 16
45 libdispatch.dylib 0x184bd16e0 _dispatch_main_queue_callback_4CF$VARIANT$mp + 1012
46 CoreFoundation 0x18527b070 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
47 CoreFoundation 0x185278bc8 __CFRunLoopRun + 2272
48 CoreFoundation 0x185198da8 CFRunLoopRunSpecific + 552
49 GraphicsServices 0x18717b020 GSEventRunModal + 100
50 UIKit 0x18f17978c UIApplicationMain + 236
51 myApp 0x104d65520 main (main.m:16)
52 libdyld.dylib 0x184c29fc0 start + 4
--
Fatal Exception: NSRangeException
0 CoreFoundation 0x1852d2d8c __exceptionPreprocess
1 libobjc.A.dylib 0x18448c5ec objc_exception_throw
2 CoreFoundation 0x1852d2c6c -[NSException initWithCoder:]
3 UIKit 0x18f30e364 -[UITableView _contentOffsetForScrollingToRowAtIndexPath:atScrollPosition:usingPresentationValues:]
4 UIKit 0x18f30e98c -[UITableView _scrollToRowAtIndexPath:atScrollPosition:animated:usingPresentationValues:]
5 UIKit 0x18f22412c -[UITableView scrollToRowAtIndexPath:atScrollPosition:animated:]
6 myApp 0x10527d368 -[ZDCChatView scrollToLast:] (ZDCChatView.m:640)
7 myApp 0x105260880 __41-[ZDCChatViewController keyboardDidShow:]_block_invoke (ZDCChatViewController.m:337)
8 UIKit 0x18ee9b3d4 +[UIView(UIViewAnimationWithBlocks) _setupAnimationWithDuration:delay:view:options:factory:animations:start:animationStateGenerator:completion:]
9 UIKit 0x18ee9b158 +[UIView(UIViewAnimationWithBlocks) animateWithDuration:delay:options:animations:completion:]
10 myApp 0x1052607bc -[ZDCChatViewController keyboardDidShow:] (ZDCChatViewController.m:340)
11 CoreFoundation 0x185264c3c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__
12 CoreFoundation 0x1852641b8 _CFXRegistrationPost
13 CoreFoundation 0x185263f14 ___CFXNotificationPost_block_invoke
14 CoreFoundation 0x1852e184c -[_CFXNotificationRegistrar find:object:observer:enumerator:]
15 CoreFoundation 0x18519af38 _CFXNotificationPost
16 Foundation 0x185c0bbbc -[NSNotificationCenter postNotificationName:object:userInfo:]
17 UIKit 0x18f06a90c -[UIInputWindowController postEndNotifications:withInfo:]
18 UIKit 0x18f0638e4 -[UIInputWindowController mergeTransitionIfNecessaryWithTransition:]
19 UIKit 0x18f063174 -[UIInputWindowController moveFromPlacement:toPlacement:starting:completion:]
20 UIKit 0x18f0589c8 -[UIInputWindowController setInputViewSet:]
21 UIKit 0x18f0528a4 -[UIInputWindowController performOperations:withAnimationStyle:]
22 UIKit 0x18f04efe8 -[UIPeripheralHost(UIKitInternal) setInputViews:animationStyle:]
23 UIKit 0x1a52d4e9c -[UIPeripheralHostAccessibility setInputViews:animationStyle:]
24 UIKit 0x18eeab6ac -[UIPeripheralHost(UIKitInternal) _reloadInputViewsForResponder:]
25 UIKit 0x18f066d68 -[UIResponder _finishResignFirstResponder]
26 UIKit 0x18f066a18 -[UIResponder resignFirstResponder]
27 UIKit 0x18f103fb0 -[UITextView resignFirstResponder]
28 UIKit 0x1a5285ee0 -[UITextViewAccessibility resignFirstResponder]
29 UIKit 0x18f103e9c -[UITextView setEditable:]
30 Apptimize 0x105842ecc (Missing)
31 myApp 0x10527d0d4 -[ZDCChatView setTimedOut:] (ZDCChatView.m:587)
32 libdispatch.dylib 0x184bc4b24 _dispatch_call_block_and_release
33 libdispatch.dylib 0x184bc4ae4 _dispatch_client_callout
34 libdispatch.dylib 0x184bd16e0 _dispatch_main_queue_callback_4CF$VARIANT$mp
35 CoreFoundation 0x18527b070 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
36 CoreFoundation 0x185278bc8 __CFRunLoopRun
37 CoreFoundation 0x185198da8 CFRunLoopRunSpecific
38 GraphicsServices 0x18717b020 GSEventRunModal
39 UIKit 0x18f17978c UIApplicationMain
40 myApp 0x104d65520 main (main.m:16)
41 libdyld.dylib 0x184c29fc0 start
#0. Crashed: com.twitter.crashlytics.ios.exception
0 myApp 0x105121578 CLSProcessRecordAllThreads + 4377040248
1 myApp 0x105121578 CLSProcessRecordAllThreads + 4377040248
2 myApp 0x105121434 CLSProcessRecordAllThreads + 4377039924
3 myApp 0x105111174 CLSHandler + 4376973684
4 myApp 0x10511f580 __CLSExceptionRecord_block_invoke + 4377032064
5 libdispatch.dylib 0x184bc4ae4 _dispatch_client_callout + 16
6 libdispatch.dylib 0x184bcd640 _dispatch_queue_barrier_sync_invoke_and_complete + 56
7 myApp 0x10511f014 CLSExceptionRecord + 4377030676
8 myApp 0x10511ee3c CLSExceptionRecordNSException + 4377030204
9 myApp 0x10511ea50 CLSTerminateHandler() + 4377029200
10 libc++abi.dylib 0x18447d37c std::__terminate(void (*)()) + 16
11 libc++abi.dylib 0x18447cccc __cxxabiv1::exception_cleanup_func(_Unwind_Reason_Code, _Unwind_Exception*) + 130
12 libobjc.A.dylib 0x18448c720 _objc_exception_destructor(void*) + 362
13 CoreFoundation 0x1852d2c6c -[NSException initWithCoder:] + 114
14 UIKit 0x18f30e364 -[UITableView _contentOffsetForScrollingToRowAtIndexPath:atScrollPosition:usingPresentationValues:] + 1856
15 UIKit 0x18f30e98c -[UITableView _scrollToRowAtIndexPath:atScrollPosition:animated:usingPresentationValues:] + 152
16 UIKit 0x18f22412c -[UITableView scrollToRowAtIndexPath:atScrollPosition:animated:] + 148
17 myApp 0x10527d368 -[ZDCChatView scrollToLast:] (ZDCChatView.m:640)
18 myApp 0x105260880 __41-[ZDCChatViewController keyboardDidShow:]_block_invoke (ZDCChatViewController.m:337)
19 UIKit 0x18ee9b3d4 +[UIView(UIViewAnimationWithBlocks) _setupAnimationWithDuration:delay:view:options:factory:animations:start:animationStateGenerator:completion:] + 608
20 UIKit 0x18ee9b158 +[UIView(UIViewAnimationWithBlocks) animateWithDuration:delay:options:animations:completion:] + 108
21 myApp 0x1052607bc -[ZDCChatViewController keyboardDidShow:] (ZDCChatViewController.m:340)
22 CoreFoundation 0x185264c3c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
23 CoreFoundation 0x1852641b8 _CFXRegistrationPost + 428
24 CoreFoundation 0x185263f14 ___CFXNotificationPost_block_invoke + 216
25 CoreFoundation 0x1852e184c -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1408
26 CoreFoundation 0x18519af38 _CFXNotificationPost + 384
27 Foundation 0x185c0bbbc -[NSNotificationCenter postNotificationName:object:userInfo:] + 68
28 UIKit 0x18f06a90c -[UIInputWindowController postEndNotifications:withInfo:] + 1628
29 UIKit 0x18f0638e4 -[UIInputWindowController mergeTransitionIfNecessaryWithTransition:] + 280
30 UIKit 0x18f063174 -[UIInputWindowController moveFromPlacement:toPlacement:starting:completion:] + 372
31 UIKit 0x18f0589c8 -[UIInputWindowController setInputViewSet:] + 1104
32 UIKit 0x18f0528a4 -[UIInputWindowController performOperations:withAnimationStyle:] + 56
33 UIKit 0x18f04efe8 -[UIPeripheralHost(UIKitInternal) setInputViews:animationStyle:] + 1716
34 UIKit 0x1a52d4e9c -[UIPeripheralHostAccessibility setInputViews:animationStyle:] + 76
35 UIKit 0x18eeab6ac -[UIPeripheralHost(UIKitInternal) _reloadInputViewsForResponder:] + 2472
36 UIKit 0x18f066d68 -[UIResponder _finishResignFirstResponder] + 276
37 UIKit 0x18f066a18 -[UIResponder resignFirstResponder] + 312
38 UIKit 0x18f103fb0 -[UITextView resignFirstResponder] + 96
39 UIKit 0x1a5285ee0 -[UITextViewAccessibility resignFirstResponder] + 48
40 UIKit 0x18f103e9c -[UITextView setEditable:] + 80
41 Apptimize 0x105842ecc __ABTSwizzleDynamicSelectorProperty_block_invoke_5 + 520
42 myApp 0x10527d0d4 -[ZDCChatView setTimedOut:] (ZDCChatView.m:587)
43 libdispatch.dylib 0x184bc4b24 _dispatch_call_block_and_release + 24
44 libdispatch.dylib 0x184bc4ae4 _dispatch_client_callout + 16
45 libdispatch.dylib 0x184bd16e0 _dispatch_main_queue_callback_4CF$VARIANT$mp + 1012
46 CoreFoundation 0x18527b070 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
47 CoreFoundation 0x185278bc8 __CFRunLoopRun + 2272
48 CoreFoundation 0x185198da8 CFRunLoopRunSpecific + 552
49 GraphicsServices 0x18717b020 GSEventRunModal + 100
50 UIKit 0x18f17978c UIApplicationMain + 236
51 myApp 0x104d65520 main (main.m:16)
52 libdyld.dylib 0x184c29fc0 start + 4
#1. com.apple.uikit.eventfetch-thread
0 libsystem_kernel.dylib 0x184d37e08 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x184d37c80 mach_msg + 72
2 CoreFoundation 0x18527ae40 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x185278908 __CFRunLoopRun + 1568
4 CoreFoundation 0x185198da8 CFRunLoopRunSpecific + 552
5 Foundation 0x185c0d674 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304
6 Foundation 0x185c0d51c -[NSRunLoop(NSRunLoop) runUntilDate:] + 148
7 UIKit 0x18ee5e7e4 -[UIEventFetcher threadMain] + 136
8 Foundation 0x185d1defc __NSThread__start__ + 1040
9 libsystem_pthread.dylib 0x184ef9220 _pthread_body + 272
10 libsystem_pthread.dylib 0x184ef9110 _pthread_body + 290
11 libsystem_pthread.dylib 0x184ef7b10 thread_start + 4
#2. GAIThread
0 libsystem_kernel.dylib 0x184d37e08 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x184d37c80 mach_msg + 72
2 CoreFoundation 0x18527ae40 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x185278908 __CFRunLoopRun + 1568
4 CoreFoundation 0x185198da8 CFRunLoopRunSpecific + 552
5 Foundation 0x185c0d674 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304
6 Foundation 0x185c821a8 -[NSRunLoop(NSRunLoop) run] + 88
7 myApp 0x105078980 +[GAI threadMain:] + 4376349056
8 Foundation 0x185d1defc __NSThread__start__ + 1040
9 libsystem_pthread.dylib 0x184ef9220 _pthread_body + 272
10 libsystem_pthread.dylib 0x184ef9110 _pthread_body + 290
11 libsystem_pthread.dylib 0x184ef7b10 thread_start + 4
#3. Thread
0 libsystem_kernel.dylib 0x184d590f4 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x184efbc90 _pthread_cond_wait$VARIANT$mp + 644
2 libc++.1.dylib 0x18441025c std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 24
3 JavaScriptCore 0x18c8ef1a4 void std::__1::condition_variable_any::wait<std::__1::unique_lock<bmalloc::Mutex> >(std::__1::unique_lock<bmalloc::Mutex>&) + 104
4 JavaScriptCore 0x18c8eedb8 bmalloc::Scavenger::threadRunLoop() + 164
5 JavaScriptCore 0x18c8eeb60 bmalloc::Scavenger::Scavenger(std::__1::lock_guard<bmalloc::StaticMutex>&) + 10
6 JavaScriptCore 0x18c8eef7c void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(bmalloc::Scavenger*), bmalloc::Scavenger*> >(void*) + 44
7 libsystem_pthread.dylib 0x184ef9220 _pthread_body + 272
8 libsystem_pthread.dylib 0x184ef9110 _pthread_body + 290
9 libsystem_pthread.dylib 0x184ef7b10 thread_start + 4
#4. WebThread
0 libsystem_kernel.dylib 0x184d37e08 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x184d37c80 mach_msg + 72
2 CoreFoundation 0x18527ae40 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x185278908 __CFRunLoopRun + 1568
4 CoreFoundation 0x185198da8 CFRunLoopRunSpecific + 552
5 WebCore 0x18d425d9c RunWebThread(void*) + 592
6 libsystem_pthread.dylib 0x184ef9220 _pthread_body + 272
7 libsystem_pthread.dylib 0x184ef9110 _pthread_body + 290
8 libsystem_pthread.dylib 0x184ef7b10 thread_start + 4
#5. com.twitter.crashlytics.ios.MachExceptionServer
0 libsystem_kernel.dylib 0x184d37e08 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x184d37c80 mach_msg + 72
2 myApp 0x10510c044 CLSMachExceptionServer + 4376952900
3 libsystem_pthread.dylib 0x184ef9220 _pthread_body + 272
4 libsystem_pthread.dylib 0x184ef9110 _pthread_body + 290
5 libsystem_pthread.dylib 0x184ef7b10 thread_start + 4
#6. com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x184d37e08 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x184d37c80 mach_msg + 72
2 CoreFoundation 0x18527ae40 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x185278908 __CFRunLoopRun + 1568
4 CoreFoundation 0x185198da8 CFRunLoopRunSpecific + 552
5 CFNetwork 0x185aa64b0 -[__CoreSchedulingSetRunnable runForever] + 220
6 Foundation 0x185d1defc __NSThread__start__ + 1040
7 libsystem_pthread.dylib 0x184ef9220 _pthread_body + 272
8 libsystem_pthread.dylib 0x184ef9110 _pthread_body + 290
9 libsystem_pthread.dylib 0x184ef7b10 thread_start + 4
#7. TAGThread
0 libsystem_kernel.dylib 0x184d37e08 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x184d37c80 mach_msg + 72
2 CoreFoundation 0x18527ae40 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x185278908 __CFRunLoopRun + 1568
4 CoreFoundation 0x185198da8 CFRunLoopRunSpecific + 552
5 Foundation 0x185c0d674 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304
6 Foundation 0x185c821a8 -[NSRunLoop(NSRunLoop) run] + 88
7 myApp 0x1050af794 +[TAGDispatchUtil threadMain:] + 4376573844
8 Foundation 0x185d1defc __NSThread__start__ + 1040
9 libsystem_pthread.dylib 0x184ef9220 _pthread_body + 272
10 libsystem_pthread.dylib 0x184ef9110 _pthread_body + 290
11 libsystem_pthread.dylib 0x184ef7b10 thread_start + 4
#8. com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x184d59538 __select + 8
1 CoreFoundation 0x185283378 __CFSocketManager + 644
2 libsystem_pthread.dylib 0x184ef9220 _pthread_body + 272
3 libsystem_pthread.dylib 0x184ef9110 _pthread_body + 290
4 libsystem_pthread.dylib 0x184ef7b10 thread_start + 4
#9. Thread
0 libsystem_kernel.dylib 0x184d59d84 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x184ef7eb4 _pthread_wqthread + 928
2 libsystem_pthread.dylib 0x184ef7b08 start_wqthread + 4
#10. Thread
0 libsystem_kernel.dylib 0x184d59d84 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x184ef80a0 _pthread_wqthread + 1420
2 libsystem_pthread.dylib 0x184ef7b08 start_wqthread + 4
#11. Thread
0 libsystem_kernel.dylib 0x184d59d84 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x184ef7eb4 _pthread_wqthread + 928
2 libsystem_pthread.dylib 0x184ef7b08 start_wqthread + 4
#12. Thread
0 libsystem_kernel.dylib 0x184d59d84 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x184ef80a0 _pthread_wqthread + 1420
2 libsystem_pthread.dylib 0x184ef7b08 start_wqthread + 4
#13. Thread
0 libsystem_kernel.dylib 0x184d59d84 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x184ef7eb4 _pthread_wqthread + 928
2 libsystem_pthread.dylib 0x184ef7b08 start_wqthread + 4
#14. Thread
0 libsystem_pthread.dylib 0x184ef7b04 start_wqthread + 122
#15. Thread
0 libsystem_kernel.dylib 0x184d59d84 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x184ef80a0 _pthread_wqthread + 1420
2 libsystem_pthread.dylib 0x184ef7b08 start_wqthread + 4
Any solution would be help full to remove this crash. Thanks in advance.
I have used Crashlytics to catch errors in my application. Sometimes app is crashing and Crashlytics says that the error is in following code block.I have declared all variables in .h file.
-(id)init
{
if ( self = [super init] ) {
_currentTemperature=#"";
_currentHumidity=#"";
_currentWindSpeed=#"";
_currentStatus=#"";
self.weeklyMinTemperature=[[NSMutableArray alloc]init];
self.weeklyMaxTemperature=[[NSMutableArray alloc]init];
self.weeklyHumidity=[[NSMutableArray alloc]init];
self.hourlySummary=[[NSMutableArray alloc]init];
}
return self;
}
The error log is like following.
EXC_BAD_ACCESS_KERN_INVALID ADDRESS
#6. Crashed: com.apple.UNSNotificationSchedulerConnection
0 libobjc.A.dylib 0x182ae1b90 objc_msgSend + 16
1 Foundation 0x183d517a8 -[NSXPCEncoder _encodeObject:] + 484
2 UIKit 0x188c8b1ec -[UIConcreteLocalNotification encodeWithCoder:] + 84
3 Foundation 0x183d51870 -[NSXPCEncoder _encodeObject:] + 684
4 Foundation 0x183dbad48 -[NSXPCEncoder _encodeArrayOfObjects:forKey:] + 264
5 Foundation 0x183d51870 -[NSXPCEncoder _encodeObject:] + 684
6 Foundation 0x183d51d58 encodeInvocationArguments + 320
7 Foundation 0x183d51a18 -[NSXPCEncoder encodeInvocation:] + 368
8 Foundation 0x183d51870 -[NSXPCEncoder _encodeObject:] + 684
9 Foundation 0x183f27d64 -[NSXPCConnection _sendInvocation:withProxy:remoteInterface:withErrorHandler:timeout:userInfo:] + 2328
10 CoreFoundation 0x18346ea1c ___forwarding___ + 408
11 CoreFoundation 0x18336cc5c _CF_forwarding_prep_0 + 92
12 libdispatch.dylib 0x182eb54bc _dispatch_call_block_and_release + 24
13 libdispatch.dylib 0x182eb547c _dispatch_client_callout + 16
14 libdispatch.dylib 0x182ec14c0 _dispatch_queue_drain + 864
15 libdispatch.dylib 0x182eb8f80 _dispatch_queue_invoke + 464
16 libdispatch.dylib 0x182eb547c _dispatch_client_callout + 16
17 libdispatch.dylib 0x182ec3914 _dispatch_root_queue_drain + 2140
18 libdispatch.dylib 0x182ec30b0 _dispatch_worker_thread3 + 112
19 libsystem_pthread.dylib 0x1830cd470 _pthread_wqthread + 1092
20 libsystem_pthread.dylib 0x1830cd020 start_wqthread + 4
--
#0. com.apple.main-thread
0 libsystem_kernel.dylib 0x182febea8 read + 8
1 Foundation 0x183d73f0c _NSReadFromFileDescriptorWithProgress + 228
2 Foundation 0x183d73cec _NSReadBytesFromFileWithExtendedAttributes + 676
3 Foundation 0x183d739f8 -[NSData(NSData) initWithContentsOfFile:] + 80
4 GeoServices 0x189e8ec2c -[GEOResourceManifestManager _loadActiveTileGroupIfNecessary:] + 240
5 GeoServices 0x189d2f3e8 GEOURLWorldDefaultURLStringWithSource + 164
6 GeoServices 0x189d43658 _GEOURLStringWithSource + 56
7 GeoServices 0x189e0d824 +[GEOLocationShifter isLocationShiftRequiredForCoordinate:] + 72
8 GeoServices 0x189e7c970 -[_GEOReverseGeocodeRequestTicket submitWithHandler:networkActivity:] + 168
9 CoreLocation 0x18a1f3eb4 (null) + 32576
10 libdispatch.dylib 0x182eb54bc _dispatch_call_block_and_release + 24
11 libdispatch.dylib 0x182eb547c _dispatch_client_callout + 16
12 libdispatch.dylib 0x182ebab84 _dispatch_main_queue_callback_4CF + 1844
13 CoreFoundation 0x183420d50 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
14 CoreFoundation 0x18341ebb8 __CFRunLoopRun + 1628
15 CoreFoundation 0x183348c50 CFRunLoopRunSpecific + 384
16 GraphicsServices 0x184c30088 GSEventRunModal + 180
17 UIKit 0x188632088 UIApplicationMain + 204
18 AgileblazeWeather 0x100053b78 main (main.m:14)
19 libdispatch.dylib 0x182ee68b8 (Missing)
#1. com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x1830054d8 kevent_qos + 8
1 libdispatch.dylib 0x182ec87d8 _dispatch_mgr_invoke + 232
2 libdispatch.dylib 0x182eb7648 _dispatch_source_invoke + 50
#2. Thread
0 libsystem_kernel.dylib 0x183004b48 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x1830cd530 _pthread_wqthread + 1284
2 libsystem_pthread.dylib 0x1830cd020 start_wqthread + 4
#3. com.apple.CoreLocation.ConnectionClient.0x1446aa130.events
0 libsystem_kernel.dylib 0x182fe902c semaphore_timedwait_trap + 8
1 libdispatch.dylib 0x182ec6394 _dispatch_semaphore_wait_slow + 160
2 CoreLocation 0x18a1bad4c (null) + 628
3 CoreLocation 0x18a1bf804 (null) + 1176
4 CoreLocation 0x18a1fac44 (null) + 60624
5 CoreLocation 0x18a1f8898 (null) + 51492
6 CoreLocation 0x18a1f87cc (null) + 51288
7 CoreLocation 0x18a1f9a18 (null) + 55972
8 libxpc.dylib 0x183100f68 _xpc_connection_call_event_handler + 68
9 libxpc.dylib 0x1830fed10 _xpc_connection_mach_event + 2132
10 libdispatch.dylib 0x182eb5578 _dispatch_client_callout4 + 16
11 libdispatch.dylib 0x182eb9864 _dispatch_mach_msg_invoke + 656
12 libdispatch.dylib 0x182ec1694 _dispatch_queue_drain + 1332
13 libdispatch.dylib 0x182eb8978 _dispatch_mach_invoke + 600
14 libdispatch.dylib 0x182ec1694 _dispatch_queue_drain + 1332
15 libdispatch.dylib 0x182eb8f80 _dispatch_queue_invoke + 464
16 libdispatch.dylib 0x182ec1694 _dispatch_queue_drain + 1332
17 libdispatch.dylib 0x182eb8f80 _dispatch_queue_invoke + 464
18 libdispatch.dylib 0x182eb547c _dispatch_client_callout + 16
19 libdispatch.dylib 0x182ec3914 _dispatch_root_queue_drain + 2140
20 libdispatch.dylib 0x182ec30b0 _dispatch_worker_thread3 + 112
21 libsystem_pthread.dylib 0x1830cd470 _pthread_wqthread + 1092
22 libsystem_pthread.dylib 0x1830cd020 start_wqthread + 4
#4. com.apple.NSXPCConnection.m-user.com.apple.usernotification.notificationscheduler
0 libsystem_kernel.dylib 0x182fe8fd8 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x182fe8e54 mach_msg + 72
2 libxpc.dylib 0x18311314c xpc_pipe_routine + 256
3 libxpc.dylib 0x183105f18 _xpc_interface_routine + 200
4 libxpc.dylib 0x1831062f0 _xpc_look_up_endpoint + 224
5 libxpc.dylib 0x1830ffc60 _xpc_connection_bootstrap_look_up_slow + 212
6 libxpc.dylib 0x1830ff958 _xpc_connection_init + 536
7 libxpc.dylib 0x1830ff730 _xpc_connection_resume_init + 20
8 libdispatch.dylib 0x182eb547c _dispatch_client_callout + 16
9 libdispatch.dylib 0x182ec14c0 _dispatch_queue_drain + 864
10 libdispatch.dylib 0x182eb8f80 _dispatch_queue_invoke + 464
11 libdispatch.dylib 0x182eb547c _dispatch_client_callout + 16
12 libdispatch.dylib 0x182ec3914 _dispatch_root_queue_drain + 2140
13 libdispatch.dylib 0x182ec30b0 _dispatch_worker_thread3 + 112
14 libsystem_pthread.dylib 0x1830cd470 _pthread_wqthread + 1092
15 libsystem_pthread.dylib 0x1830cd020 start_wqthread + 4
#5. Thread
0 libsystem_kernel.dylib 0x183004b48 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x1830cd530 _pthread_wqthread + 1284
2 libsystem_pthread.dylib 0x1830cd020 start_wqthread + 4
#6. Crashed: com.apple.UNSNotificationSchedulerConnection
0 libobjc.A.dylib 0x182ae1b90 objc_msgSend + 16
1 Foundation 0x183d517a8 -[NSXPCEncoder _encodeObject:] + 484
2 UIKit 0x188c8b1ec -[UIConcreteLocalNotification encodeWithCoder:] + 84
3 Foundation 0x183d51870 -[NSXPCEncoder _encodeObject:] + 684
4 Foundation 0x183dbad48 -[NSXPCEncoder _encodeArrayOfObjects:forKey:] + 264
5 Foundation 0x183d51870 -[NSXPCEncoder _encodeObject:] + 684
6 Foundation 0x183d51d58 encodeInvocationArguments + 320
7 Foundation 0x183d51a18 -[NSXPCEncoder encodeInvocation:] + 368
8 Foundation 0x183d51870 -[NSXPCEncoder _encodeObject:] + 684
9 Foundation 0x183f27d64 -[NSXPCConnection _sendInvocation:withProxy:remoteInterface:withErrorHandler:timeout:userInfo:] + 2328
10 CoreFoundation 0x18346ea1c ___forwarding___ + 408
11 CoreFoundation 0x18336cc5c _CF_forwarding_prep_0 + 92
12 libdispatch.dylib 0x182eb54bc _dispatch_call_block_and_release + 24
13 libdispatch.dylib 0x182eb547c _dispatch_client_callout + 16
14 libdispatch.dylib 0x182ec14c0 _dispatch_queue_drain + 864
15 libdispatch.dylib 0x182eb8f80 _dispatch_queue_invoke + 464
16 libdispatch.dylib 0x182eb547c _dispatch_client_callout + 16
17 libdispatch.dylib 0x182ec3914 _dispatch_root_queue_drain + 2140
18 libdispatch.dylib 0x182ec30b0 _dispatch_worker_thread3 + 112
19 libsystem_pthread.dylib 0x1830cd470 _pthread_wqthread + 1092
20 libsystem_pthread.dylib 0x1830cd020 start_wqthread + 4
#7. com.twitter.crashlytics.ios.MachExceptionServer
0 AgileblazeWeather 0x10006c74c CLSProcessRecordAllThreads + 4295460684
1 AgileblazeWeather 0x10006c74c CLSProcessRecordAllThreads + 4295460684
2 AgileblazeWeather 0x10006cb6c CLSProcessRecordAllThreads + 4295461740
3 AgileblazeWeather 0x10005d82c CLSHandler + 4295399468
4 AgileblazeWeather 0x1000589b0 CLSMachExceptionServer + 4295379376
5 libsystem_pthread.dylib 0x1830cfb28 _pthread_body + 156
6 libsystem_pthread.dylib 0x1830cfa8c _pthread_body + 154
7 libsystem_pthread.dylib 0x1830cd028 thread_start + 4
#8. com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x182fe8fd8 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x182fe8e54 mach_msg + 72
2 CoreFoundation 0x183420c60 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x18341e964 __CFRunLoopRun + 1032
4 CoreFoundation 0x183348c50 CFRunLoopRunSpecific + 384
5 CFNetwork 0x183ac9bcc +[NSURLConnection(Loader) _resourceLoadLoop:] + 412
6 Foundation 0x183e3fe4c __NSThread__start__ + 1000
7 libsystem_pthread.dylib 0x1830cfb28 _pthread_body + 156
8 libsystem_pthread.dylib 0x1830cfa8c _pthread_body + 154
9 libsystem_pthread.dylib 0x1830cd028 thread_start + 4
#9. Thread
0 libsystem_kernel.dylib 0x183004b48 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x1830cd530 _pthread_wqthread + 1284
2 libsystem_pthread.dylib 0x1830cd020 start_wqthread + 4
#10. Thread
0 libsystem_kernel.dylib 0x183004b48 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x1830cd530 _pthread_wqthread + 1284
2 libsystem_pthread.dylib 0x1830cd020 start_wqthread + 4
#11. Thread
0 libsystem_kernel.dylib 0x183004b48 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x1830cd530 _pthread_wqthread + 1284
2 libsystem_pthread.dylib 0x1830cd020 start_wqthread + 4
#12. com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x183004344 __select + 8
1 CoreFoundation 0x1834271c8 __CFSocketManager + 648
2 libsystem_pthread.dylib 0x1830cfb28 _pthread_body + 156
3 libsystem_pthread.dylib 0x1830cfa8c _pthread_body + 154
4 libsystem_pthread.dylib 0x1830cd028 thread_start + 4
What is the reason for this type of crash?Is there any mistake in my code block?