Weird Crash on UIKit - ios

I have a published app and I see in Fabric a crash with this log:
EXC_BAD_INSTRUCTION 0x00000000a21403e1
#0. Crashed: com.apple.main-thread
0 UIKit 0x18d199e28 +[UIViewController existingNibNameMatchingClassName:bundle:] + 308
1 UIKit 0x18d199c1c -[UIViewController nibName] + 300
2 UIKit 0x18d228fec -[UIViewController loadView] + 40
3 UIKit 0x18d14db14 -[UIViewController loadViewIfRequired] + 172
4 UIKit 0x18d14da50 -[UIViewController view] + 28
5 UIKit 0x18d13ece4 -[UIWindow addRootViewControllerViewIfPossible] + 136
6 UIKit 0x18d13db18 -[UIWindow _setHidden:forced:] + 272
7 UIKit 0x18d1cb62c -[UIWindow makeKeyAndVisible] + 48
8 UIKit 0x18d141274 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 3660
9 UIKit 0x18d10e5e0 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1680
10 UIKit 0x18d73eb1c __111-[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:]_block_invoke + 784
11 UIKit 0x18d10ddd0 +[_UICanvas _enqueuePostSettingUpdateTransactionBlock:] + 160
12 UIKit 0x18d10dc6c -[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:] + 240
13 UIKit 0x18d10cafc -[__UICanvasLifecycleMonitor_Compatability activateEventsOnly:withContext:completion:] + 724
14 UIKit 0x18dda284c __82-[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:]_block_invoke + 296
15 UIKit 0x18d10c1ec -[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:] + 432
16 UIKit 0x18db87ac8 __125-[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:]_block_invoke + 220
17 UIKit 0x18dcd5bf8 _performActionsWithDelayForTransitionContext + 112
18 UIKit 0x18d10bc0c -[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:] + 248
19 UIKit 0x18d10b5a8 -[_UICanvas scene:didUpdateWithDiff:transitionContext:completion:] + 368
20 UIKit 0x18d1085e0 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 540
21 UIKit 0x18d108330 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 364
22 FrontBoardServices 0x185d34470 -[FBSSceneImpl _didCreateWithTransitionContext:completion:] + 364
23 FrontBoardServices 0x185d3cd6c __56-[FBSWorkspace client:handleCreateScene:withCompletion:]_block_invoke_2 + 224
24 libdispatch.dylib 0x182e24a60 _dispatch_client_callout + 16
25 libdispatch.dylib 0x182e2c170 _dispatch_block_invoke_direct$VARIANT$mp + 224
26 FrontBoardServices 0x185d68878 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 36
27 FrontBoardServices 0x185d6851c -[FBSSerialQueue _performNext] + 404
28 FrontBoardServices 0x185d68ab8 -[FBSSerialQueue _performNextFromRunLoopSource] + 56
29 CoreFoundation 0x1834db404 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
30 CoreFoundation 0x1834dac2c __CFRunLoopDoSources0 + 276
31 CoreFoundation 0x1834d879c __CFRunLoopRun + 1204
32 CoreFoundation 0x1833f8da8 CFRunLoopRunSpecific + 552
33 GraphicsServices 0x1853de020 GSEventRunModal + 100
34 UIKit 0x18d418758 UIApplicationMain + 236
35 libdyld.dylib 0x182e89fc0 start + 4
--
#0. Crashed: com.apple.main-thread
0 UIKit 0x18d199e28 +[UIViewController existingNibNameMatchingClassName:bundle:] + 308
1 UIKit 0x18d199c1c -[UIViewController nibName] + 300
2 UIKit 0x18d228fec -[UIViewController loadView] + 40
3 UIKit 0x18d14db14 -[UIViewController loadViewIfRequired] + 172
4 UIKit 0x18d14da50 -[UIViewController view] + 28
5 UIKit 0x18d13ece4 -[UIWindow addRootViewControllerViewIfPossible] + 136
6 UIKit 0x18d13db18 -[UIWindow _setHidden:forced:] + 272
7 UIKit 0x18d1cb62c -[UIWindow makeKeyAndVisible] + 48
8 UIKit 0x18d141274 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 3660
9 UIKit 0x18d10e5e0 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1680
10 UIKit 0x18d73eb1c __111-[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:]_block_invoke + 784
11 UIKit 0x18d10ddd0 +[_UICanvas _enqueuePostSettingUpdateTransactionBlock:] + 160
12 UIKit 0x18d10dc6c -[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:] + 240
13 UIKit 0x18d10cafc -[__UICanvasLifecycleMonitor_Compatability activateEventsOnly:withContext:completion:] + 724
14 UIKit 0x18dda284c __82-[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:]_block_invoke + 296
15 UIKit 0x18d10c1ec -[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:] + 432
16 UIKit 0x18db87ac8 __125-[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:]_block_invoke + 220
17 UIKit 0x18dcd5bf8 _performActionsWithDelayForTransitionContext + 112
18 UIKit 0x18d10bc0c -[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:] + 248
19 UIKit 0x18d10b5a8 -[_UICanvas scene:didUpdateWithDiff:transitionContext:completion:] + 368
20 UIKit 0x18d1085e0 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 540
21 UIKit 0x18d108330 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 364
22 FrontBoardServices 0x185d34470 -[FBSSceneImpl _didCreateWithTransitionContext:completion:] + 364
23 FrontBoardServices 0x185d3cd6c __56-[FBSWorkspace client:handleCreateScene:withCompletion:]_block_invoke_2 + 224
24 libdispatch.dylib 0x182e24a60 _dispatch_client_callout + 16
25 libdispatch.dylib 0x182e2c170 _dispatch_block_invoke_direct$VARIANT$mp + 224
26 FrontBoardServices 0x185d68878 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 36
27 FrontBoardServices 0x185d6851c -[FBSSerialQueue _performNext] + 404
28 FrontBoardServices 0x185d68ab8 -[FBSSerialQueue _performNextFromRunLoopSource] + 56
29 CoreFoundation 0x1834db404 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
30 CoreFoundation 0x1834dac2c __CFRunLoopDoSources0 + 276
31 CoreFoundation 0x1834d879c __CFRunLoopRun + 1204
32 CoreFoundation 0x1833f8da8 CFRunLoopRunSpecific + 552
33 GraphicsServices 0x1853de020 GSEventRunModal + 100
34 UIKit 0x18d418758 UIApplicationMain + 236
35 libdyld.dylib 0x182e89fc0 start + 4
#1. Thread
0 libsystem_pthread.dylib 0x183157b04 start_wqthread + 122
#2. io.answers.EventQueue (QOS: BACKGROUND)
0 libsystem_kernel.dylib 0x182fb8550 __getdirentries64 + 8
1 libsystem_c.dylib 0x182ecf944 _readdir_unlocked + 128
2 libsystem_c.dylib 0x182ecf8a8 readdir + 40
3 CoreFoundation 0x18342c1ec _CFIterateDirectory + 100
4 CoreFoundation 0x18343cb50 _CFBundleReadDirectory + 316
5 CoreFoundation 0x1834a5714 _createQueryTableAtPath + 480
6 CoreFoundation 0x1834a5358 _copyQueryTable + 312
7 CoreFoundation 0x1834a4868 _copyResourceURLsFromBundle + 332
8 CoreFoundation 0x18343c288 _CFBundleCopyFindResources + 1312
9 CoreFoundation 0x18343bd5c CFBundleCopyResourceURL + 60
10 CoreFoundation 0x1835803e8 _copyStringFromTable + 248
11 CoreFoundation 0x18358002c CFBundleCopyLocalizedStringForLocalization + 128
12 Foundation 0x183e8b54c -[NSBundle localizedStringForKey:value:table:] + 60
13 Foundation 0x183ec4cfc -[NSFileManager _URLForReplacingItemAtURL:error:] + 1288
14 Foundation 0x183f5f610 _NSCreateTemporaryFile_Protected + 508
15 Foundation 0x183ec4300 _NSWriteDataToFileWithExtendedAttributes + 440
16 MyApplication 0x10308d2ac +[ANSCrashMetadata writeSerializedDictionary:toURL:] (ANSCrashMetadata.m:32)
17 MyApplication 0x10308e2f0 -[ANSRotateCrashMetadataOperation main] (ANSRotateCrashMetadataOperation.m:47)
18 MyApplication 0x10309ab28 -[ANSAnswersController replacePreviousExecutionMetadataWithCurrentMetadata:inRootDirectory:] (ANSAnswersController.m:272)
19 MyApplication 0x1030999d0 __56-[ANSAnswersController initWithBetaToken:rootDirectory:]_block_invoke (ANSAnswersController.m:103)
20 Foundation 0x183f5ae88 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 16
21 Foundation 0x183e9c8d0 -[NSBlockOperation main] + 72
22 Foundation 0x183e9bcac -[__NSOperationInternal _start:] + 848
23 libdispatch.dylib 0x182e24a60 _dispatch_client_callout + 16
24 libdispatch.dylib 0x182e2c170 _dispatch_block_invoke_direct$VARIANT$mp + 224
25 libdispatch.dylib 0x182e24a60 _dispatch_client_callout + 16
26 libdispatch.dylib 0x182e2c170 _dispatch_block_invoke_direct$VARIANT$mp + 224
27 libdispatch.dylib 0x182e2c05c dispatch_block_perform$VARIANT$mp + 104
28 Foundation 0x183f5c750 __NSOQSchedule_f + 376
29 libdispatch.dylib 0x182e24a60 _dispatch_client_callout + 16
30 libdispatch.dylib 0x182e2ce94 _dispatch_continuation_pop$VARIANT$mp + 424
31 libdispatch.dylib 0x182e2b7cc _dispatch_async_redirect_invoke$VARIANT$mp + 604
32 libdispatch.dylib 0x182e31cac _dispatch_root_queue_drain + 588
33 libdispatch.dylib 0x182e319fc _dispatch_worker_thread3 + 120
34 libsystem_pthread.dylib 0x183157fac _pthread_wqthread + 1176
35 libsystem_pthread.dylib 0x183157b08 start_wqthread + 4
#3. com.apple.uikit.eventfetch-thread
0 libsystem_kernel.dylib 0x182f97de8 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x182f97c60 mach_msg + 72
2 CoreFoundation 0x1834dae40 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x1834d8908 __CFRunLoopRun + 1568
4 CoreFoundation 0x1833f8da8 CFRunLoopRunSpecific + 552
5 Foundation 0x183e6d674 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304
6 Foundation 0x183e6d4dc -[NSRunLoop(NSRunLoop) runUntilDate:] + 84
7 UIKit 0x18d0fd768 -[UIEventFetcher threadMain] + 136
8 Foundation 0x183f7defc __NSThread__start__ + 1040
9 libsystem_pthread.dylib 0x183159220 _pthread_body + 272
10 libsystem_pthread.dylib 0x183159110 _pthread_body + 290
11 libsystem_pthread.dylib 0x183157b10 thread_start + 4
#4. com.apple.CoreLocation.ConnectionClient.0x1c4127b20.events
0 libsystem_kernel.dylib 0x182f97e3c semaphore_timedwait_trap + 8
1 libdispatch.dylib 0x182e2702c _dispatch_sema4_timedwait$VARIANT$mp + 60
2 libdispatch.dylib 0x182e278a0 _dispatch_semaphore_wait_slow + 72
3 CoreLocation 0x189cbb888 CLClientInvalidate + 888
4 CoreLocation 0x189cc143c CLClientRetrieveData + 1744
5 CoreLocation 0x189cc111c CLClientRetrieveData + 944
6 CoreLocation 0x189d17928 CLClientCreateIso6709Notation + 79000
7 CoreLocation 0x189d13988 CLClientCreateIso6709Notation + 62712
8 CoreLocation 0x189d13850 CLClientCreateIso6709Notation + 62400
9 CoreLocation 0x189d152ac CLClientCreateIso6709Notation + 69148
10 libxpc.dylib 0x183192f30 _xpc_connection_call_event_handler + 68
11 libxpc.dylib 0x1831908c4 _xpc_connection_mach_event + 984
12 libdispatch.dylib 0x182e24b30 _dispatch_client_callout4 + 16
13 libdispatch.dylib 0x182e3b440 _dispatch_mach_msg_invoke$VARIANT$mp + 352
14 libdispatch.dylib 0x182e2e86c _dispatch_queue_serial_drain$VARIANT$mp + 280
15 libdispatch.dylib 0x182e3beec _dispatch_mach_invoke$VARIANT$mp + 508
16 libdispatch.dylib 0x182e2e86c _dispatch_queue_serial_drain$VARIANT$mp + 280
17 libdispatch.dylib 0x182e2f2fc _dispatch_queue_invoke$VARIANT$mp + 336
18 libdispatch.dylib 0x182e2e86c _dispatch_queue_serial_drain$VARIANT$mp + 280
19 libdispatch.dylib 0x182e2f2fc _dispatch_queue_invoke$VARIANT$mp + 336
20 libdispatch.dylib 0x182e2fcc8 _dispatch_root_queue_drain_deferred_wlh$VARIANT$mp + 340
21 libdispatch.dylib 0x182e38098 _dispatch_workloop_worker_thread$VARIANT$mp + 668
22 libsystem_pthread.dylib 0x183157e70 _pthread_wqthread + 860
23 libsystem_pthread.dylib 0x183157b08 start_wqthread + 4
#5. com.twitter.crashlytics.ios.binary-images
0 libsystem_kernel.dylib 0x182f9989c write + 8
1 MyApplication 0x103082abc CLSFileLoopWithWriteBlock (CLSFile.m:212)
2 MyApplication 0x103082cc8 CLSFileWriteToFileDescriptorOrBuffer (CLSFile.m:190)
3 MyApplication 0x103082fa8 CLSFileWriteCollectionStart (CLSFile.m:438)
4 MyApplication 0x103082eac CLSFileWriteSectionStart (CLSFile.m:418)
5 MyApplication 0x10306abe4 __CLSBinaryImageChanged_block_invoke (CLSBinaryImage.m:501)
6 libdispatch.dylib 0x182e24aa0 _dispatch_call_block_and_release + 24
7 libdispatch.dylib 0x182e24a60 _dispatch_client_callout + 16
8 libdispatch.dylib 0x182e2e9b4 _dispatch_queue_serial_drain$VARIANT$mp + 608
9 libdispatch.dylib 0x182e2f2fc _dispatch_queue_invoke$VARIANT$mp + 336
10 libdispatch.dylib 0x182e2fcc8 _dispatch_root_queue_drain_deferred_wlh$VARIANT$mp + 340
11 libdispatch.dylib 0x182e38098 _dispatch_workloop_worker_thread$VARIANT$mp + 668
12 libsystem_pthread.dylib 0x183157e70 _pthread_wqthread + 860
13 libsystem_pthread.dylib 0x183157b08 start_wqthread + 4
#6. Thread
0 libsystem_kernel.dylib 0x182fb9d78 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x183157eb4 _pthread_wqthread + 928
2 libsystem_pthread.dylib 0x183157b08 start_wqthread + 4
#7. RLMRealm notification listener
0 libsystem_kernel.dylib 0x182f9c32c kevent + 8
1 Realm 0x103ca6130 realm::_impl::ExternalCommitHelper::listen() (external_commit_helper.cpp:203)
2 Realm 0x103ca6a9c std::__1::__async_func<realm::_impl::ExternalCommitHelper::ExternalCommitHelper(realm::_impl::RealmCoordinator&)::$_0>::operator()() (future:2323)
3 Realm 0x103ca6a24 std::__1::__async_assoc_state<void, std::__1::__async_func<realm::_impl::ExternalCommitHelper::ExternalCommitHelper(realm::_impl::RealmCoordinator&)::$_0> >::__execute() (future:1041)
4 Realm 0x103ca6bd4 std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (std::__1::__async_assoc_state<void, std::__1::__async_func<realm::_impl::ExternalCommitHelper::ExternalCommitHelper(realm::_impl::RealmCoordinator&)::$_0> >::*)(), std::__1::__async_assoc_state<void, std::__1::__async_func<realm::_impl::ExternalCommitHelper::ExternalCommitHelper(realm::_impl::RealmCoordinator&)::$_0> >*> >(void*, void*) (memory:2549)
5 libsystem_pthread.dylib 0x183159220 _pthread_body + 272
6 libsystem_pthread.dylib 0x183159110 _pthread_body + 290
7 libsystem_pthread.dylib 0x183157b10 thread_start + 4
#8. com.twitter.crashlytics.ios.MachExceptionServer
0 MyApplication 0x103083b94 CLSProcessRecordAllThreads (CLSProcess.c:376)
1 MyApplication 0x103084054 CLSProcessRecordAllThreads (CLSProcess.c:407)
2 MyApplication 0x103073898 CLSHandler (CLSHandler.m:26)
3 MyApplication 0x10306ec88 CLSMachExceptionServer (CLSMachException.c:446)
4 libsystem_pthread.dylib 0x183159220 _pthread_body + 272
5 libsystem_pthread.dylib 0x183159110 _pthread_body + 290
6 libsystem_pthread.dylib 0x183157b10 thread_start + 4
#9. GAIThread
0 libsystem_kernel.dylib 0x182f97de8 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x182f97c60 mach_msg + 72
2 CoreFoundation 0x1834dae40 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x1834d8908 __CFRunLoopRun + 1568
4 CoreFoundation 0x1833f8da8 CFRunLoopRunSpecific + 552
5 Foundation 0x183e6d674 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304
6 Foundation 0x183ee21a8 -[NSRunLoop(NSRunLoop) run] + 88
7 MyApplication 0x10304ee18 +[GAI threadMain:] (GAI.m:241)
8 Foundation 0x183f7defc __NSThread__start__ + 1040
9 libsystem_pthread.dylib 0x183159220 _pthread_body + 272
10 libsystem_pthread.dylib 0x183159110 _pthread_body + 290
11 libsystem_pthread.dylib 0x183157b10 thread_start + 4
#10. com.google.fira.worker
0 libsystem_kernel.dylib 0x182f991e0 pread + 8
1 libsqlite3.dylib 0x1839d0b68 sqlite3_rekey + 5532
2 libsqlite3.dylib 0x183932cd4 sqlite3_snprintf + 12356
3 libsqlite3.dylib 0x18394e850 sqlite3_finalize + 11416
4 libsqlite3.dylib 0x18394d960 sqlite3_finalize + 7592
5 libsqlite3.dylib 0x18394853c sqlite3_exec + 81780
6 libsqlite3.dylib 0x18394815c sqlite3_exec + 80788
7 libsqlite3.dylib 0x18394141c sqlite3_exec + 52820
8 libsqlite3.dylib 0x183938b5c sqlite3_exec + 17812
9 libsqlite3.dylib 0x183936134 sqlite3_exec + 7020
10 libsqlite3.dylib 0x1839352fc sqlite3_exec + 3380
11 libsqlite3.dylib 0x183935030 sqlite3_exec + 2664
12 MyApplication 0x1030c539c -[FIRASqliteStore prepareSQL:error:] + 4341011356
13 MyApplication 0x1030c592c -[FIRASqliteStore validateDatabaseWithError:] + 4341012780
14 MyApplication 0x1030c584c -[FIRASqliteStore openAndValidateDatabase:] + 4341012556
15 MyApplication 0x1030c0f60 -[FIRASqliteStore initWithDatabasePath:] + 4340993888
16 MyApplication 0x1030d85c4 -[FIRADatabase initializeDatabaseResourcesWithContext:databasePath:] + 4341089732
17 MyApplication 0x1030cddb4 -[FIRADatabase initWithDatabaseName:persistedConfig:] + 4341046708
18 MyApplication 0x1030de6d8 __48-[FIRAMeasurement startMeasurementOnWorkerQueue]_block_invoke + 4341114584
19 libdispatch.dylib 0x182e24a60 _dispatch_client_callout + 16
20 libdispatch.dylib 0x182e28268 dispatch_once_f$VARIANT$mp + 60
21 MyApplication 0x1030de4dc -[FIRAMeasurement startMeasurementOnWorkerQueue] + 4341114076
22 MyApplication 0x1030de274 -[FIRAMeasurement setEnabledOnWorkerQueue:] + 4341113460
23 MyApplication 0x1030f5a54 __52-[FIRAScheduler scheduleOnWorkerQueueBlockID:block:]_block_invoke + 4341209684
24 libdispatch.dylib 0x182e24aa0 _dispatch_call_block_and_release + 24
25 libdispatch.dylib 0x182e24a60 _dispatch_client_callout + 16
26 libdispatch.dylib 0x182e2e9b4 _dispatch_queue_serial_drain$VARIANT$mp + 608
27 libdispatch.dylib 0x182e2f2fc _dispatch_queue_invoke$VARIANT$mp + 336
28 libdispatch.dylib 0x182e2fcc8 _dispatch_root_queue_drain_deferred_wlh$VARIANT$mp + 340
29 libdispatch.dylib 0x182e38098 _dispatch_workloop_worker_thread$VARIANT$mp + 668
30 libsystem_pthread.dylib 0x183157e70 _pthread_wqthread + 860
31 libsystem_pthread.dylib 0x183157b08 start_wqthread + 4
#11. Thread
0 libsystem_pthread.dylib 0x183157b04 start_wqthread + 122
I'm not sure if anyone can understand anything about this crash with the above log, I know therefore that it happening right after the splash screen.
Inside didFinishLaunchingWithOptions in AppDelegate I set up:
Firebase
Fabric
Location
PushNotification
and
Realm with this code:
// Reset Realm if the scheme has changed
do {
_ = try Realm()
} catch {
let configuration = Realm.Configuration(deleteRealmIfMigrationNeeded: true)
Realm.Configuration.defaultConfiguration = configuration
}

There have been related fixes to FirebaseAnalytics in the past few months. There's a good chance that updating to at least Firebase 5.5.0 will eliminate this crash.

Related

How to fix Fatal Exception: NSInternalInconsistencyException

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.

ZDCChatView scrollToLast iOS app crash

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.

NSString quotedStringRepresentation crash

In the production build, i am getting this type of crash log, but I am not able to understand it correctly as it points to the Foundation framework
Backtrace:
OS Version: 10.2.1 (14D27)
Device: iPhone 7 Plus
RAM Free: 5.1%
Disk Free: 54.7%
#0. Crashed: com.apple.main-thread
0 libsystem_kernel.dylib 0x18cc6b014 __pthread_kill + 8
1 libsystem_pthread.dylib 0x18cd33450 pthread_kill + 112
2 libsystem_c.dylib 0x18cbdf400 abort + 140
3 libsystem_malloc.dylib 0x18ccafa5c _nano_vet_and_size_of_live + 330
4 libsystem_malloc.dylib 0x18ccb0f18 nano_realloc + 376
5 libsystem_malloc.dylib 0x18cca3240 malloc_zone_realloc + 180
6 Foundation 0x18e6ee628 -[NSString quotedStringRepresentation] + 732
7 Foundation 0x18e6ce44c -[NSString _stringRepresentation] + 376
8 CoreFoundation 0x18dbc4eec -[NSDictionary descriptionWithLocale:indent:] + 996
9 CoreFoundation 0x18dbc84d4 _DescriptionWithLocaleFunc + 76
10 CoreFoundation 0x18dc5e23c __CFStringAppendFormatCore + 7996
11 CoreFoundation 0x18dc659b0 _CFStringAppendFormatAndArgumentsAux2 + 36
12 CoreFoundation 0x18dbc842c -[__NSCFString appendFormat:] + 308
13 Foundation 0x18e78733c -[NSNotification description] + 256
14 Foundation 0x18e790bec _NS_os_log_callback + 140
15 libsystem_trace.dylib 0x18cd57954 <redacted> + 112
16 libsystem_trace.dylib 0x18cd57564 <redacted> + 736
17 libsystem_trace.dylib 0x18cd56004 _os_log_impl + 792
18 MediaPlayer 0x19871bc50 <redacted> + 228
19 CoreFoundation 0x18dc36b10 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
20 CoreFoundation 0x18dc36214 _CFXRegistrationPost + 400
21 CoreFoundation 0x18dc35f90 ___CFXNotificationPost_block_invoke + 60
22 CoreFoundation 0x18dca5b8c -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1504
23 CoreFoundation 0x18db77e64 _CFXNotificationPost + 376
24 Foundation 0x18e6ace0c -[NSNotificationCenter postNotificationName:object:userInfo:] + 68
25 Celestial 0x1951115e4 <redacted> + 108
26 Celestial 0x195111540 <redacted> + 372
27 CoreFoundation 0x18dc36b10 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
28 CoreFoundation 0x18dc36214 _CFXRegistrationPost + 400
29 CoreFoundation 0x18dc35f90 ___CFXNotificationPost_block_invoke + 60
30 CoreFoundation 0x18dca5b8c -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1504
31 CoreFoundation 0x18db77e64 _CFXNotificationPost + 376
32 CoreFoundation 0x18db9aca0 CFNotificationCenterPostNotification + 120
33 CoreMedia 0x1905ca8c4 CMNotificationCenterPostNotification + 124
34 CoreMedia 0x1905cab0c fncCallOriginalCallbackAndReleaseWeakListener + 80
35 CoreMedia 0x1905ca5cc fncHandleWeakNotification + 204
36 CoreFoundation 0x18dc36b10 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
37 CoreFoundation 0x18dc36214 _CFXRegistrationPost + 400
38 CoreFoundation 0x18dc35f90 ___CFXNotificationPost_block_invoke + 60
39 CoreFoundation 0x18dca5b8c -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1504
40 CoreFoundation 0x18db77e64 _CFXNotificationPost + 376
41 CoreFoundation 0x18db9aca0 CFNotificationCenterPostNotification + 120
42 CoreMedia 0x1905ca8c4 CMNotificationCenterPostNotification + 124
43 MediaToolbox 0x194b7b5d0 <redacted> + 616
44 MediaToolbox 0x194c9ab88 <redacted> + 1248
45 MediaToolbox 0x194b7ad08 <redacted> + 132
46 MediaToolbox 0x194b7ac58 <redacted> + 56
47 MediaToolbox 0x194b76a60 <redacted> + 104
48 MediaToolbox 0x194c9a4cc <redacted> + 16
49 libdispatch.dylib 0x18cb2b9f0 dispatch_mig_server + 576
50 libdispatch.dylib 0x18cb261bc _dispatch_client_callout + 16
51 libdispatch.dylib 0x18cb32f94 _dispatch_continuation_pop + 576
52 libdispatch.dylib 0x18cb3f634 _dispatch_source_latch_and_call + 204
53 libdispatch.dylib 0x18cb28160 _dispatch_source_invoke + 820
54 libdispatch.dylib 0x18cb2abbc _dispatch_main_queue_callback_4CF + 572
55 CoreFoundation 0x18dc4a810 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
56 CoreFoundation 0x18dc483fc __CFRunLoopRun + 1660
57 CoreFoundation 0x18db762b8 CFRunLoopRunSpecific + 444
58 GraphicsServices 0x18f62a198 GSEventRunModal + 180
59 UIKit 0x193bbd7fc -[UIApplication _run] + 684
60 UIKit 0x193bb8534 UIApplicationMain + 208
61 appname 0x1000a7470 main (main.m:16)
62 libdispatch.dylib 0x18cb595b8 (Missing)
--
#0. Crashed: com.apple.main-thread
0 libsystem_kernel.dylib 0x18cc6b014 __pthread_kill + 8
1 libsystem_pthread.dylib 0x18cd33450 pthread_kill + 112
2 libsystem_c.dylib 0x18cbdf400 abort + 140
3 libsystem_malloc.dylib 0x18ccafa5c _nano_vet_and_size_of_live + 330
4 libsystem_malloc.dylib 0x18ccb0f18 nano_realloc + 376
5 libsystem_malloc.dylib 0x18cca3240 malloc_zone_realloc + 180
6 Foundation 0x18e6ee628 -[NSString quotedStringRepresentation] + 732
7 Foundation 0x18e6ce44c -[NSString _stringRepresentation] + 376
8 CoreFoundation 0x18dbc4eec -[NSDictionary descriptionWithLocale:indent:] + 996
9 CoreFoundation 0x18dbc84d4 _DescriptionWithLocaleFunc + 76
10 CoreFoundation 0x18dc5e23c __CFStringAppendFormatCore + 7996
11 CoreFoundation 0x18dc659b0 _CFStringAppendFormatAndArgumentsAux2 + 36
12 CoreFoundation 0x18dbc842c -[__NSCFString appendFormat:] + 308
13 Foundation 0x18e78733c -[NSNotification description] + 256
14 Foundation 0x18e790bec _NS_os_log_callback + 140
15 libsystem_trace.dylib 0x18cd57954 <redacted> + 112
16 libsystem_trace.dylib 0x18cd57564 <redacted> + 736
17 libsystem_trace.dylib 0x18cd56004 _os_log_impl + 792
18 MediaPlayer 0x19871bc50 <redacted> + 228
19 CoreFoundation 0x18dc36b10 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
20 CoreFoundation 0x18dc36214 _CFXRegistrationPost + 400
21 CoreFoundation 0x18dc35f90 ___CFXNotificationPost_block_invoke + 60
22 CoreFoundation 0x18dca5b8c -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1504
23 CoreFoundation 0x18db77e64 _CFXNotificationPost + 376
24 Foundation 0x18e6ace0c -[NSNotificationCenter postNotificationName:object:userInfo:] + 68
25 Celestial 0x1951115e4 <redacted> + 108
26 Celestial 0x195111540 <redacted> + 372
27 CoreFoundation 0x18dc36b10 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
28 CoreFoundation 0x18dc36214 _CFXRegistrationPost + 400
29 CoreFoundation 0x18dc35f90 ___CFXNotificationPost_block_invoke + 60
30 CoreFoundation 0x18dca5b8c -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1504
31 CoreFoundation 0x18db77e64 _CFXNotificationPost + 376
32 CoreFoundation 0x18db9aca0 CFNotificationCenterPostNotification + 120
33 CoreMedia 0x1905ca8c4 CMNotificationCenterPostNotification + 124
34 CoreMedia 0x1905cab0c fncCallOriginalCallbackAndReleaseWeakListener + 80
35 CoreMedia 0x1905ca5cc fncHandleWeakNotification + 204
36 CoreFoundation 0x18dc36b10 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
37 CoreFoundation 0x18dc36214 _CFXRegistrationPost + 400
38 CoreFoundation 0x18dc35f90 ___CFXNotificationPost_block_invoke + 60
39 CoreFoundation 0x18dca5b8c -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1504
40 CoreFoundation 0x18db77e64 _CFXNotificationPost + 376
41 CoreFoundation 0x18db9aca0 CFNotificationCenterPostNotification + 120
42 CoreMedia 0x1905ca8c4 CMNotificationCenterPostNotification + 124
43 MediaToolbox 0x194b7b5d0 <redacted> + 616
44 MediaToolbox 0x194c9ab88 <redacted> + 1248
45 MediaToolbox 0x194b7ad08 <redacted> + 132
46 MediaToolbox 0x194b7ac58 <redacted> + 56
47 MediaToolbox 0x194b76a60 <redacted> + 104
48 MediaToolbox 0x194c9a4cc <redacted> + 16
49 libdispatch.dylib 0x18cb2b9f0 dispatch_mig_server + 576
50 libdispatch.dylib 0x18cb261bc _dispatch_client_callout + 16
51 libdispatch.dylib 0x18cb32f94 _dispatch_continuation_pop + 576
52 libdispatch.dylib 0x18cb3f634 _dispatch_source_latch_and_call + 204
53 libdispatch.dylib 0x18cb28160 _dispatch_source_invoke + 820
54 libdispatch.dylib 0x18cb2abbc _dispatch_main_queue_callback_4CF + 572
55 CoreFoundation 0x18dc4a810 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
56 CoreFoundation 0x18dc483fc __CFRunLoopRun + 1660
57 CoreFoundation 0x18db762b8 CFRunLoopRunSpecific + 444
58 GraphicsServices 0x18f62a198 GSEventRunModal + 180
59 UIKit 0x193bbd7fc -[UIApplication _run] + 684
60 UIKit 0x193bb8534 UIApplicationMain + 208
61 appname 0x1000a7470 main (main.m:16)
62 libdispatch.dylib 0x18cb595b8 (Missing)
#1. com.apple.uikit.eventfetch-thread
0 libsystem_kernel.dylib 0x18cc4d188 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x18cc4cff8 mach_msg + 72
2 CoreFoundation 0x18dc4a5d0 __CFRunLoopServiceMachPort + 192
3 CoreFoundation 0x18dc481ec __CFRunLoopRun + 1132
4 CoreFoundation 0x18db762b8 CFRunLoopRunSpecific + 444
5 Foundation 0x18e6b326c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304
6 Foundation 0x18e6d3dd0 -[NSRunLoop(NSRunLoop) runUntilDate:] + 96
7 UIKit 0x194531c38 -[UIEventFetcher threadMain] + 136
8 Foundation 0x18e7b0e68 __NSThread__start__ + 1024
9 libsystem_pthread.dylib 0x18cd31850 <redacted> + 240
10 libsystem_pthread.dylib 0x18cd31760 _pthread_start + 282
11 libsystem_pthread.dylib 0x18cd2ed94 thread_start + 4
#2. AVAudioSession Notify Thread
0 libsystem_kernel.dylib 0x18cc4d188 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x18cc4cff8 mach_msg + 72
2 CoreFoundation 0x18dc4a5d0 __CFRunLoopServiceMachPort + 192
3 CoreFoundation 0x18dc481ec __CFRunLoopRun + 1132
4 CoreFoundation 0x18db762b8 CFRunLoopRunSpecific + 444
5 AVFAudio 0x1a767bd24 GenericRunLoopThread::Entry(void*) + 164
6 AVFAudio 0x1a76a1d9c CAPThread::Entry(CAPThread*) + 84
7 libsystem_pthread.dylib 0x18cd31850 <redacted> + 240
8 libsystem_pthread.dylib 0x18cd31760 _pthread_start + 282
9 libsystem_pthread.dylib 0x18cd2ed94 thread_start + 4
#3. com.apple.coreaudio.AQClient
0 libsystem_kernel.dylib 0x18cc4d188 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x18cc4cff8 mach_msg + 72
2 CoreFoundation 0x18dc4a5d0 __CFRunLoopServiceMachPort + 192
3 CoreFoundation 0x18dc481ec __CFRunLoopRun + 1132
4 CoreFoundation 0x18db762b8 CFRunLoopRunSpecific + 444
5 AudioToolbox 0x190c440cc GenericRunLoopThread::Entry(void*) + 164
6 AudioToolbox 0x190e1c230 CAPThread::Entry(CAPThread*) + 84
7 libsystem_pthread.dylib 0x18cd31850 <redacted> + 240
8 libsystem_pthread.dylib 0x18cd31760 _pthread_start + 282
9 libsystem_pthread.dylib 0x18cd2ed94 thread_start + 4
#4. com.twitter.crashlytics.ios.MachExceptionServer
0 libsystem_kernel.dylib 0x18cc4d188 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x18cc4cff8 mach_msg + 72
2 appname 0x1002dc570 CLSMachExceptionServer + 4297590128
3 libsystem_pthread.dylib 0x18cd31850 <redacted> + 240
4 libsystem_pthread.dylib 0x18cd31760 _pthread_start + 282
5 libsystem_pthread.dylib 0x18cd2ed94 thread_start + 4
#5. com.apple.NSURLConnectionLoader
0 libsystem_c.dylib 0x18cb7d5d4 strlen + 52
1 libc++.1.dylib 0x18c69137c std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::compare(char const*) const + 28
2 libc++.1.dylib 0x18c69137c std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::compare(char const*) const + 28
3 CFNetwork 0x18e2bceec <redacted> + 236
4 CFNetwork 0x18e48eb6c <redacted> + 76
5 libdispatch.dylib 0x18cb261bc _dispatch_client_callout + 16
6 libdispatch.dylib 0x18cb337f0 _dispatch_barrier_sync_f_invoke + 84
7 CFNetwork 0x18e48eaf8 <redacted> + 96
8 CFNetwork 0x18e2b36a4 <redacted> + 228
9 CFNetwork 0x18e2b3858 <redacted> + 152
10 CFNetwork 0x18e4085e0 <redacted> + 40
11 CFNetwork 0x18e3d1c80 <redacted> + 136
12 CFNetwork 0x18e3d2388 <redacted> + 248
13 CFNetwork 0x18e425794 <redacted> + 88
14 CFNetwork 0x18e423328 <redacted> + 32
15 libdispatch.dylib 0x18cb261bc _dispatch_client_callout + 16
16 libdispatch.dylib 0x18cb31ab0 _dispatch_block_invoke_direct + 376
17 CFNetwork 0x18e4d6598 <redacted> + 36
18 CoreFoundation 0x18db75c18 CFArrayApplyFunction + 68
19 CFNetwork 0x18e4d647c <redacted> + 136
20 CFNetwork 0x18e4d77a4 <redacted> + 312
21 CFNetwork 0x18e4d7510 <redacted> + 64
22 CoreFoundation 0x18dc4ab5c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
23 CoreFoundation 0x18dc4a4a4 __CFRunLoopDoSources0 + 524
24 CoreFoundation 0x18dc480a4 __CFRunLoopRun + 804
25 CoreFoundation 0x18db762b8 CFRunLoopRunSpecific + 444
26 CFNetwork 0x18e37ba70 <redacted> + 336
27 Foundation 0x18e7b0e68 __NSThread__start__ + 1024
28 libsystem_pthread.dylib 0x18cd31850 <redacted> + 240
29 libsystem_pthread.dylib 0x18cd31760 _pthread_start + 282
30 libsystem_pthread.dylib 0x18cd2ed94 thread_start + 4
#6. Thread
0 libsystem_kernel.dylib 0x18cc6ae1c __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x18cd309c0 <redacted> + 640
2 libc++.1.dylib 0x18c6593ec std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 56
3 JavaScriptCore 0x19247a5d0 <redacted> + 112
4 JavaScriptCore 0x19247a544 <redacted> + 168
5 JavaScriptCore 0x19247a424 <redacted> + 10
6 JavaScriptCore 0x19247a6d4 <redacted> + 92
7 libsystem_pthread.dylib 0x18cd31850 <redacted> + 240
8 libsystem_pthread.dylib 0x18cd31760 _pthread_start + 282
9 libsystem_pthread.dylib 0x18cd2ed94 thread_start + 4
#7. WebThread
0 libsystem_kernel.dylib 0x18cc4d188 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x18cc4cff8 mach_msg + 72
2 CoreFoundation 0x18dc4a5d0 __CFRunLoopServiceMachPort + 192
3 CoreFoundation 0x18dc481ec __CFRunLoopRun + 1132
4 CoreFoundation 0x18db762b8 CFRunLoopRunSpecific + 444
5 WebCore 0x19277c490 <redacted> + 456
6 libsystem_pthread.dylib 0x18cd31850 <redacted> + 240
7 libsystem_pthread.dylib 0x18cd31760 _pthread_start + 282
8 libsystem_pthread.dylib 0x18cd2ed94 thread_start + 4
#8. JIT Worklist Worker Thread
0 libsystem_kernel.dylib 0x18cc6ae1c __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x18cd309c0 <redacted> + 640
2 libc++.1.dylib 0x18c6593ec std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 56
3 JavaScriptCore 0x192462d64 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, std::__1::chrono::time_point<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >) + 2132
4 JavaScriptCore 0x19223aa5c <redacted> + 192
5 JavaScriptCore 0x19223aeac <redacted> + 14
6 JavaScriptCore 0x191bab00c <redacted> + 212
7 JavaScriptCore 0x191baaf1c <redacted> + 24
8 libsystem_pthread.dylib 0x18cd31850 <redacted> + 240
9 libsystem_pthread.dylib 0x18cd31760 _pthread_start + 282
10 libsystem_pthread.dylib 0x18cd2ed94 thread_start + 4
#9. WTF Parallel Helper Thread
0 libsystem_kernel.dylib 0x18cc6ae1c __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x18cd309c0 <redacted> + 640
2 libc++.1.dylib 0x18c6593ec std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 56
3 JavaScriptCore 0x192462d64 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, std::__1::chrono::time_point<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >) + 2132
4 JavaScriptCore 0x1924622e8 <redacted> + 288
5 JavaScriptCore 0x192462088 <redacted> + 76
6 JavaScriptCore 0x191bab00c <redacted> + 212
7 JavaScriptCore 0x191baaf1c <redacted> + 24
8 libsystem_pthread.dylib 0x18cd31850 <redacted> + 240
9 libsystem_pthread.dylib 0x18cd31760 _pthread_start + 282
10 libsystem_pthread.dylib 0x18cd2ed94 thread_start + 4
#10. Thread
0 CoreFoundation 0x18dc3c680 __CFTSDFinalize + 40
1 libsystem_pthread.dylib 0x18cd2ffbc <redacted> + 572
2 libsystem_pthread.dylib 0x18cd2fce4 <redacted> + 200
3 libsystem_pthread.dylib 0x18cd2f378 _pthread_wqthread + 1502
4 libsystem_pthread.dylib 0x18cd2ed8c start_wqthread + 4
#11. Thread
0 libsystem_pthread.dylib 0x18cd2ed88 pthread_workqueue_addthreads_np + 126
#12. Thread
0 libsystem_malloc.dylib 0x18cca1a04 szone_size + 192
1 libsystem_malloc.dylib 0x18cca171c free + 108
2 libdispatch.dylib 0x18cb2eb1c _dispatch_cache_cleanup + 24
3 libsystem_pthread.dylib 0x18cd2ffbc <redacted> + 572
4 libsystem_pthread.dylib 0x18cd2fce4 <redacted> + 200
5 libsystem_pthread.dylib 0x18cd2f378 _pthread_wqthread + 1502
6 libsystem_pthread.dylib 0x18cd2ed8c start_wqthread + 4
#13. Thread
0 libsystem_malloc.dylib 0x18ccafbb4 _nano_vet_and_size_of_live + 344
1 libsystem_malloc.dylib 0x18cca171c free + 108
2 libsystem_malloc.dylib 0x18cca171c free + 108
3 libdispatch.dylib 0x18cb2eb1c _dispatch_cache_cleanup + 24
4 libsystem_pthread.dylib 0x18cd2ffbc <redacted> + 572
5 libsystem_pthread.dylib 0x18cd2fce4 <redacted> + 200
6 libsystem_pthread.dylib 0x18cd2f378 _pthread_wqthread + 1502
7 libsystem_pthread.dylib 0x18cd2ed8c start_wqthread + 4
#14. Thread
0 libsystem_malloc.dylib 0x18ccafbb4 _nano_vet_and_size_of_live + 344
1 libsystem_malloc.dylib 0x18cca171c free + 108
2 libsystem_malloc.dylib 0x18cca171c free + 108
3 libsystem_c.dylib 0x18cb7d490 gdtoa_freelist_free + 48
4 libsystem_pthread.dylib 0x18cd2ffbc <redacted> + 572
5 libsystem_pthread.dylib 0x18cd2fce4 <redacted> + 200
6 libsystem_pthread.dylib 0x18cd2f378 _pthread_wqthread + 1502
7 libsystem_pthread.dylib 0x18cd2ed8c start_wqthread + 4
#15. Thread
0 libsystem_pthread.dylib 0x18cd2ed88 pthread_workqueue_addthreads_np + 126
#16. Thread
0 libsystem_kernel.dylib 0x18cc6ba88 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x18cd2f160 _pthread_wqthread + 968
2 libsystem_pthread.dylib 0x18cd2ed8c start_wqthread + 4
#17. Thread
0 libsystem_pthread.dylib 0x18cd2ed88 pthread_workqueue_addthreads_np + 126
Based on trace I am assuming it may crash because of Bad value in the dictionary key.
How can i get more information and what can be solution for this?

ios 10 Crash in Foundation while entering text (UITextView) on iPad - can't reproduce

I have an odd situation where one user is repeatedly seeing crashes (on iPad 9.7 pro, under both iOS 10.0.1 and 10.0.2, not jailbroken) while entering text in a UITextField. The crash reports vary, but the most common crash is below.
I can't reproduce this or figure out what is going wrong. Any ideas on what to do or where to look to fix this? Could it be something unique to his environment? I asked the user to delete and reinstall the app, and he claims to have done so and the crashes are still happening. Thanks!
Platform: ios
Application: Next Turn
Version: 2.50 (2.12)
Issue #: 58
Date: 2016-09-25T09:19:33Z
OS Version: 10.0.2 (14A456)
Device: iPad Pro (9.7 inch)
RAM Free: 18.2%
Disk Free: 89.7%
0. Crashed: com.apple.main-thread
0 ProofReader 0x186da0624 ICfree + 60
1 ProofReader 0x186d9da08 ICspl + 3860
2 ProofReader 0x186d9da08 ICspl + 3860
3 ProofReader 0x186d9c644 PRIcs + 376
4 ProofReader 0x186da2dec PRword + 1180
5 ProofReader 0x186e164e0 -[AppleSpell(Spelling) validateWordBuffer:length:connection:] + 180
6 ProofReader 0x186e17154 -[AppleSpell(Spelling) validateWordBuffer:length:language:connection:sender:checkBase:checkDict:checkTemp:checkUser:checkNames:checkHyphens:checkIntercaps:checkOptions:forCorrection:depth:] + 820
7 ProofReader 0x186e196a0 -[AppleSpell(Spelling) validateWordBuffer:length:language:connection:sender:checkBase:checkDict:checkTemp:checkUser:checkNames:checkHyphens:checkIntercaps:checkOptions:depth:] + 92
8 ProofReader 0x186e19700 -[AppleSpell(Spelling) validateWordBuffer:length:language:connection:sender:checkBase:checkDict:checkTemp:checkNames:checkHyphens:checkIntercaps:checkOptions:depth:] + 84
9 ProofReader 0x186e1a92c -[AppleSpell(Spelling) spellServer:findMisspelledWordInString:range:languages:topLanguages:orthography:checkOrthography:mutableResults:offset:autocorrect:onlyAtInsertionPoint:initialCapitalize:autocapitalize:keyEventArray:appIdentifier:selectedRangeValue:wordCount:countOnly:correction:] + 4364
10 ProofReader 0x186db4cac -[AppleSpell spellServer:findMisspelledWordInString:languages:wordCount:countOnly:correction:] + 328
11 UIKit 0x189cd7424 <redacted> + 156
12 UIKit 0x189cd7924 <redacted> + 588
13 UIKit 0x189cd7624 <redacted> + 116
14 UIKit 0x189797ec0 <redacted> + 508
15 UIKit 0x189797c5c <redacted> + 668
16 UIKit 0x189797940 <redacted> + 32
17 UIKit 0x189797910 <redacted> + 44
18 UIKit 0x189793888 <redacted> + 4284
19 UIKit 0x189bb483c <redacted> + 64
20 UIKit 0x189bb7f44 <redacted> + 124
21 UIKit 0x189779614 <redacted> + 260
22 UIKit 0x189617b54 <redacted> + 764
23 UIKit 0x189ba7f88 <redacted> + 1100
24 UIKit 0x189ba7ae8 <redacted> + 408
25 UIKit 0x189ba6da4 <redacted> + 268
26 UIKit 0x189615d70 <redacted> + 2960
27 UIKit 0x1895e6858 <redacted> + 340
28 UIKit 0x189dd3cb8 <redacted> + 2736
29 UIKit 0x189dcd720 <redacted> + 784
30 CoreFoundation 0x183752278 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
31 CoreFoundation 0x183751bc0 __CFRunLoopDoSources0 + 524
32 CoreFoundation 0x18374f7c0 __CFRunLoopRun + 804
33 CoreFoundation 0x18367e048 CFRunLoopRunSpecific + 444
34 GraphicsServices 0x185101198 GSEventRunModal + 180
35 UIKit 0x189651628 <redacted> + 684
36 UIKit 0x18964c360 UIApplicationMain + 208
37 Next Turn 0x1000b3f40 main (main.m:16)
38 libdispatch.dylib 0x1826605b8 (Missing)
--
#0. Crashed: com.apple.main-thread
0 ProofReader 0x186da0624 ICfree + 60
1 ProofReader 0x186d9da08 ICspl + 3860
2 ProofReader 0x186d9da08 ICspl + 3860
3 ProofReader 0x186d9c644 PRIcs + 376
4 ProofReader 0x186da2dec PRword + 1180
5 ProofReader 0x186e164e0 -[AppleSpell(Spelling) validateWordBuffer:length:connection:] + 180
6 ProofReader 0x186e17154 -[AppleSpell(Spelling) validateWordBuffer:length:language:connection:sender:checkBase:checkDict:checkTemp:checkUser:checkNames:checkHyphens:checkIntercaps:checkOptions:forCorrection:depth:] + 820
7 ProofReader 0x186e196a0 -[AppleSpell(Spelling) validateWordBuffer:length:language:connection:sender:checkBase:checkDict:checkTemp:checkUser:checkNames:checkHyphens:checkIntercaps:checkOptions:depth:] + 92
8 ProofReader 0x186e19700 -[AppleSpell(Spelling) validateWordBuffer:length:language:connection:sender:checkBase:checkDict:checkTemp:checkNames:checkHyphens:checkIntercaps:checkOptions:depth:] + 84
9 ProofReader 0x186e1a92c -[AppleSpell(Spelling) spellServer:findMisspelledWordInString:range:languages:topLanguages:orthography:checkOrthography:mutableResults:offset:autocorrect:onlyAtInsertionPoint:initialCapitalize:autocapitalize:keyEventArray:appIdentifier:selectedRangeValue:wordCount:countOnly:correction:] + 4364
10 ProofReader 0x186db4cac -[AppleSpell spellServer:findMisspelledWordInString:languages:wordCount:countOnly:correction:] + 328
11 UIKit 0x189cd7424 <redacted> + 156
12 UIKit 0x189cd7924 <redacted> + 588
13 UIKit 0x189cd7624 <redacted> + 116
14 UIKit 0x189797ec0 <redacted> + 508
15 UIKit 0x189797c5c <redacted> + 668
16 UIKit 0x189797940 <redacted> + 32
17 UIKit 0x189797910 <redacted> + 44
18 UIKit 0x189793888 <redacted> + 4284
19 UIKit 0x189bb483c <redacted> + 64
20 UIKit 0x189bb7f44 <redacted> + 124
21 UIKit 0x189779614 <redacted> + 260
22 UIKit 0x189617b54 <redacted> + 764
23 UIKit 0x189ba7f88 <redacted> + 1100
24 UIKit 0x189ba7ae8 <redacted> + 408
25 UIKit 0x189ba6da4 <redacted> + 268
26 UIKit 0x189615d70 <redacted> + 2960
27 UIKit 0x1895e6858 <redacted> + 340
28 UIKit 0x189dd3cb8 <redacted> + 2736
29 UIKit 0x189dcd720 <redacted> + 784
30 CoreFoundation 0x183752278 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
31 CoreFoundation 0x183751bc0 __CFRunLoopDoSources0 + 524
32 CoreFoundation 0x18374f7c0 __CFRunLoopRun + 804
33 CoreFoundation 0x18367e048 CFRunLoopRunSpecific + 444
34 GraphicsServices 0x185101198 GSEventRunModal + 180
35 UIKit 0x189651628 <redacted> + 684
36 UIKit 0x18964c360 UIApplicationMain + 208
37 Next Turn 0x1000b3f40 main (main.m:16)
38 libdispatch.dylib 0x1826605b8 (Missing)
#1. com.apple.uikit.eventfetch-thread
0 libsystem_kernel.dylib 0x18275416c mach_msg_trap + 8
1 libsystem_kernel.dylib 0x182753fdc mach_msg + 72
2 CoreFoundation 0x183751cec __CFRunLoopServiceMachPort + 192
3 CoreFoundation 0x18374f908 __CFRunLoopRun + 1132
4 CoreFoundation 0x18367e048 CFRunLoopRunSpecific + 444
5 Foundation 0x18418cb1c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304
6 Foundation 0x1841ad60c -[NSRunLoop(NSRunLoop) runUntilDate:] + 96
7 UIKit 0x189fc6c7c <redacted> + 136
8 Foundation 0x18428a50c __NSThread__start__ + 1024
9 libsystem_pthread.dylib 0x182837860 _pthread_body + 240
10 libsystem_pthread.dylib 0x182837770 _pthread_body + 282
11 libsystem_pthread.dylib 0x182834dbc thread_start + 4
#2. com.twitter.crashlytics.ios.MachExceptionServer
0 Next Turn 0x10016b6d0 CLSProcessRecordAllThreads (CLSProcess.c:376)
1 Next Turn 0x10016b6d0 CLSProcessRecordAllThreads (CLSProcess.c:376)
2 Next Turn 0x10016baf0 CLSProcessRecordAllThreads (CLSProcess.c:403)
3 Next Turn 0x10015c7d0 CLSHandler (CLSHandler.m:24)
4 Next Turn 0x100157968 CLSMachExceptionServer (CLSMachException.c:443)
5 libsystem_pthread.dylib 0x182837860 _pthread_body + 240
6 libsystem_pthread.dylib 0x182837770 _pthread_body + 282
7 libsystem_pthread.dylib 0x182834dbc thread_start + 4
#3. com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x18275416c mach_msg_trap + 8
1 libsystem_kernel.dylib 0x182753fdc mach_msg + 72
2 CoreFoundation 0x183751cec __CFRunLoopServiceMachPort + 192
3 CoreFoundation 0x18374f908 __CFRunLoopRun + 1132
4 CoreFoundation 0x18367e048 CFRunLoopRunSpecific + 444
5 CFNetwork 0x183e6bcec +[NSURLConnection(Loader) _resourceLoadLoop:] + 336
6 Foundation 0x18428a50c __NSThread__start__ + 1024
7 libsystem_pthread.dylib 0x182837860 _pthread_body + 240
8 libsystem_pthread.dylib 0x182837770 _pthread_body + 282
9 libsystem_pthread.dylib 0x182834dbc thread_start + 4
#4. Thread
0 libsystem_kernel.dylib 0x182772a88 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x18283536c _pthread_wqthread + 1452
2 libsystem_pthread.dylib 0x182834db4 start_wqthread + 4
#5. Thread
0 libsystem_kernel.dylib 0x182772a88 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x182835188 _pthread_wqthread + 968
2 libsystem_pthread.dylib 0x182834db4 start_wqthread + 4

What's the root cause of the this crash in iOS?

After I use flurry to collect the crash reports in my app, I found a lot of crash like this:
0 libobjc.A.dylib 0x3340d6ba _objc_retain + 9
1 libsystem_network.dylib 0x33a8a32b <redacted> + 1402
2 libsystem_dnssd.dylib 0x33a07a81 <redacted> + 308
3 libsystem_dnssd.dylib 0x33a065bb _DNSServiceProcessResult + 550
4 libdispatch.dylib 0x33964253 <redacted> + 626
5 libdispatch.dylib 0x339553f9 <redacted> + 212
6 libdispatch.dylib 0x3395b48f <redacted> + 502
7 libdispatch.dylib 0x3395609d <redacted> + 84
8 libdispatch.dylib 0x3395cba1 <redacted> + 320
9 libdispatch.dylib 0x3395dcd7 <redacted> + 94
10 libsystem_pthread.dylib 0x33ab4e31 __pthread_wqthread + 668
11 libsystem_pthread.dylib 0x33ab4b84 _start_wqthread + 8
and another crash:
0 CoreFoundation 0x2dde782e _CFArrayGetCount + 5
1 WebCore 0x3610dddd -[WAKView subviews] + 36
2 WebCore 0x3610dd99 -[WAKView viewWillDraw] + 20
3 WebCore 0x3610dc85 <redacted> + 64
4 QuartzCore 0x30348e3b <redacted> + 350
5 QuartzCore 0x30348ccd <redacted> + 16
6 QuartzCore 0x303486df <redacted> + 230
7 QuartzCore 0x303484ef <redacted> + 314
8 UIKit 0x306c842b <redacted> + 126
9 CoreFoundation 0x2de7f2a5 <redacted> + 20
10 CoreFoundation 0x2de7cc49 <redacted> + 284
11 CoreFoundation 0x2de7cf8b <redacted> + 730
12 CoreFoundation 0x2dde7f4f _CFRunLoopRunSpecific + 522
13 CoreFoundation 0x2dde7d33 _CFRunLoopRunInMode + 106
14 GraphicsServices 0x32d40663 _GSEventRunModal + 138
15 UIKit 0x3073316d _UIApplicationMain + 1136
What's the root cause for them? I had google a lot about them, but I can't found any useful about them.

Resources