As the title states, my application works great in TestFlight for all of the users, however when I submit to the store it crashes on startup. I have the crash logs and will post them below but I am running out of ideas on what the deal is with this. Any ideas would be appreciated. The app also works fine in debug mode on my simulator or IPhone.
Thread 0 name: tid_303 Dispatch queue: com.apple.main-thread Thread 0 Crashed:
0 libsystem_kernel.dylib 0x0000000185a9d348 __pthread_kill + 8
1 libsystem_pthread.dylib 0x0000000185bb1354 pthread_kill$VARIANT$mp + 396
2 libsystem_c.dylib 0x0000000185a0cfd8 abort + 140
3 AppWinbid.iOS 0x00000001016930c0 mono_handle_native_crash + 16134336 (mini-exceptions.c:2548)
4 libsystem_platform.dylib 0x0000000185babb60 _sigtramp + 52
5 libsystem_pthread.dylib 0x0000000185bb1354 pthread_kill$VARIANT$mp + 396
6 libsystem_c.dylib 0x0000000185a0cfd8 abort + 140
7 AppWinbid.iOS 0x0000000101792488 xamarin_printf + 17179784 (runtime.m:2218)
8 AppWinbid.iOS 0x00000001016cf1d8 mono_invoke_unhandled_exception_hook + 16380376 (exception.c:1084)
9 AppWinbid.iOS 0x0000000101692d18 mono_handle_exception_internal + 16133400 (mini-exceptions.c:1886)
10 AppWinbid.iOS 0x0000000101691d50 mono_handle_exception + 16129360 (mini-exceptions.c:2117)
11 AppWinbid.iOS 0x000000010168a6d8 mono_arm_throw_exception + 16099032 (exceptions-arm64.c:411)
12 AppWinbid.iOS 0x0000000100a03878 throw_exception + 168
13 AppWinbid.iOS 0x00000001008fe35c System_Runtime_ExceptionServices_ExceptionDispatchInfo_Throw + 44
14 AppWinbid.iOS 0x0000000100900da4 System_Runtime_CompilerServices_AsyncMethodBuilderCore__c__ThrowAsyncb__6_0_object + 84
15 AppWinbid.iOS 0x0000000100a99968 UIKit_UIKitSynchronizationContext__Postc__AnonStorey0__m__0 + 3578216 (UIKitSynchronizationContext.cs:24)
16 AppWinbid.iOS 0x0000000100a73e04 Foundation_NSAsyncActionDispatcher_Apply + 3423748 (NSAction.cs:163)
17 AppWinbid.iOS 0x00000001009d3744 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 244
18 AppWinbid.iOS 0x00000001016a038c mono_jit_runtime_invoke + 16188300 (mini-runtime.c:2526)
19 AppWinbid.iOS 0x0000000101705544 do_runtime_invoke + 16602436 (object.c:2829)
20 AppWinbid.iOS 0x00000001017054a4 mono_runtime_invoke + 16602276 (object.c:2983)
21 AppWinbid.iOS 0x00000001007346e8 native_to_managed_trampoline_3(objc_object*, objc_selector*, _MonoMethod**, unsigned int) + 18152 (registrar.m:106)
22 AppWinbid.iOS 0x0000000100734bec -[__MonoMac_NSAsyncActionDispatcher xamarinApplySelector] + 19436 (registrar.m:6968)
23 Foundation 0x0000000186973a50 __NSThreadPerformPerform + 340
24 CoreFoundation 0x0000000185f2c358 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
25 CoreFoundation 0x0000000185f2c2d8 __CFRunLoopDoSource0 + 88
26 CoreFoundation 0x0000000185f2bbb4 __CFRunLoopDoSources0 + 288
27 CoreFoundation 0x0000000185f29738 __CFRunLoopRun + 1048
28 CoreFoundation 0x0000000185e4a2d8 CFRunLoopRunSpecific + 436
29 GraphicsServices 0x0000000187cdbf84 GSEventRunModal + 100
30 UIKit 0x000000018f3f7880 UIApplicationMain + 208
31 AppWinbid.iOS 0x0000000100afc470 wrapper_managed_to_native_UIKit_UIApplication_UIApplicationMain_int_string___intptr_intptr + 3982448 (/<unknown>:1)
32 AppWinbid.iOS 0x0000000100a92e9c UIKit_UIApplication_Main_string___intptr_intptr + 3550876 (UIApplication.cs:79)
33 AppWinbid.iOS 0x0000000100a92e5c UIKit_UIApplication_Main_string___string_string + 3550812 (UIApplication.cs:63)
34 AppWinbid.iOS 0x0000000100755174 AppWinbid_iOS_Application_Main_string__ + 151924 (/<unknown>:1)
35 AppWinbid.iOS 0x00000001009d3744 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 244
36 AppWinbid.iOS 0x00000001016a038c mono_jit_runtime_invoke + 16188300 (mini-runtime.c:2526)
37 AppWinbid.iOS 0x0000000101705544 do_runtime_invoke + 16602436 (object.c:2829)
38 AppWinbid.iOS 0x0000000101707f48 do_exec_main_checked + 16613192 (object.c:4623)
39 AppWinbid.iOS 0x0000000101689ef0 mono_jit_exec + 16097008 (driver.g.c:1040)
40 AppWinbid.iOS 0x000000010179648c xamarin_main + 17196172 (monotouch-main.m:0)
41 AppWinbid.iOS 0x00000001007550c8 main + 151752 (main.m:85)
42 libdyld.dylib 0x000000018596e56c start + 4
Related
I'm getting a crash, reported in Crashlytics, and I have no idea how to reproduce the error, It happens randomly so it's hard to debug it with Xcode. Any ideas?
Crashed: NSOperationQueue 0x11f10ac10 (QOS: UNSPECIFIED)
0 libsystem_kernel.dylib 0x1b5efe84c __pthread_kill + 8
1 libsystem_pthread.dylib 0x1d211a9e8 pthread_kill + 212
2 libsystem_c.dylib 0x1934bd8f4 abort + 100
3 libsystem_malloc.dylib 0x199b73030 _malloc_put + 554
4 libsystem_malloc.dylib 0x199b732a4 malloc_zone_error + 100
5 libsystem_malloc.dylib 0x199b732e0 nanov2_allocate_from_block$VARIANT$mp.cold.1 + 36
6 libsystem_malloc.dylib 0x199b58498 nanov2_find_block_and_allocate$VARIANT$mp + 510
7 libsystem_malloc.dylib 0x199b57710 nanov2_allocate$VARIANT$mp + 124
8 libsystem_malloc.dylib 0x199b57644 nanov2_malloc$VARIANT$mp + 60
9 libsystem_malloc.dylib 0x199b689ac _malloc_zone_malloc + 144
10 CoreFoundation 0x18a6b7c14 -[__NSArrayM insertObject:atIndex:] + 264
11 CoreFoundation 0x18a756fdc __CFSetApplyFunction_block_invoke + 24
12 CoreFoundation 0x18a7f86f0 CFBasicHashApply + 136
13 CoreFoundation 0x18a756f9c CFSetApplyFunction + 192
14 CoreFoundation 0x18a747e50 CFRunLoopCopyAllModes + 136
15 CoreFoundation 0x18a74c4ec __CFRunLoopSourceRemoveFromRunLoop + 64
16 CoreFoundation 0x18a6ebab4 __CFBagApplyFunction_block_invoke + 48
17 CoreFoundation 0x18a7f86f0 CFBasicHashApply + 136
18 CoreFoundation 0x18a6eba5c CFBagApplyFunction + 84
19 CoreFoundation 0x18a74c450 CFRunLoopSourceInvalidate + 208
20 Realm 0x102993634 realm::util::EventLoopSignal<realm::_impl::WeakRealmNotifier::Callback>::~EventLoopSignal() + 24
21 Realm 0x102888c70 realm::_impl::RealmCoordinator::unregister_realm(realm::Realm*) + 388
22 Realm 0x10295a858 realm::Realm::~Realm() + 40
23 Realm 0x10284c210 std::__1::shared_ptr<realm::_impl::CollectionNotifier>::~shared_ptr() + 64
24 libobjc.A.dylib 0x19eb37ae0 object_cxxDestructFromClass(objc_object*, objc_class*) + 112
25 libobjc.A.dylib 0x19eb4d8a4 objc_destructInstance + 88
26 libobjc.A.dylib 0x19eb546ec _objc_rootDealloc + 52
27 Realm 0x10292bcac -[RLMRealm dealloc] + 92
28 libobjc.A.dylib 0x19eb57574 AutoreleasePoolPage::releaseUntil(objc_object**) + 200
29 libobjc.A.dylib 0x19eb57450 objc_autoreleasePoolPop + 208
30 libswiftObjectiveC.dylib 0x1aea1bf4c autoreleasepool<A>(invoking:) + 68
31 Foresight 0x100eaad74 specialized BloodPressureDataManager.getUnSyncedReadings(getHistoricData:fromAppleHealth:) + 441 (BloodPressure.swift:441)
32 Foresight 0x100fccd14 specialized CloudDataManager.syncAllVitalData(withType:syncHistoricalData:fromAppleHealth:_:) + 408 (VitalDataManager.swift:408)
33 Foresight 0x100dba408 SyncAllVitalOperation.main() + 4310885384 (<compiler-generated>:4310885384)
34 Foresight 0x100dba560 #objc SyncAllVitalOperation.main() + 4310885728 (<compiler-generated>:4310885728)
35 Foresight 0x101340af4 #objc SynchronizationOperation.start() + 4316678900 (<compiler-generated>:4316678900)
36 Foundation 0x18ba84f98 __NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__ + 20
37 Foundation 0x18ba84a64 __NSOQSchedule_f + 180
38 libdispatch.dylib 0x18a3b775c _dispatch_block_async_invoke2 + 104
39 libdispatch.dylib 0x18a408280 _dispatch_client_callout + 16
40 libdispatch.dylib 0x18a3ad390 _dispatch_continuation_pop$VARIANT$mp + 412
41 libdispatch.dylib 0x18a3acad4 _dispatch_async_redirect_invoke + 596
42 libdispatch.dylib 0x18a3b9f3c _dispatch_root_queue_drain + 376
43 libdispatch.dylib 0x18a3ba704 _dispatch_worker_thread2 + 124
44 libsystem_pthread.dylib 0x1d211b568 _pthread_wqthread + 212
45 libsystem_pthread.dylib 0x1d211e874 start_wqthread + 8
Please help me how to reproduce and debug this type of crash and What i need to check in my code related to crash.
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.
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?
I have been trying to integrate a new SDK (from Layar) in my app that already contains the Realm SDK.
The app was working fine up until now (with Realm). As soon as I add the Layar SDK following the steps in the link above (I don't actually call any functionality, I just add the framework and dependencies), the app crashes on launch at the Realm config, with the trace below.
Any ideas as to what might be causing the behaviour?
../realm/table.hpp:1470: [realm-core-0.92.4] Assertion failed: typeid(Col) == typeid(col)
0 XXContainerIOSDebug 0x00000001004747ec _ZN5realm4util18terminate_internalERNSt3__118basic_stringstreamIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE + 44
1 XXContainerIOSDebug 0x000000010030b83c _ZN5realm4util9terminateEPKcS2_l + 1196
2 XXContainerIOSDebug 0x0000000100535f08 _ZNK5realm5Table8get_boolEmm + 0
3 XXContainerIOSDebug 0x00000001003b86b8 _ZN5realm11ObjectStore22create_metadata_tablesEPNS_5GroupE + 588
4 XXContainerIOSDebug 0x00000001003bed0c _ZN5realm11ObjectStore24update_realm_with_schemaEPNS_5GroupEyRNSt3__16vectorINS_12ObjectSchemaENS3_9allocatorIS5_EEEENS3_8functionIFvS2_S9_EEE + 72
5 XXContainerIOSDebug 0x0000000100321188 RLMUpdateRealmToSchemaVersion + 1512
6 XXContainerIOSDebug 0x000000010038cd6c +[RLMRealm realmWithConfiguration:error:] + 4148
7 XXContainerIOSDebug 0x000000010038b490 +[RLMRealm defaultRealm] + 92
8 XXContainerIOSDebug 0x000000010019c294 -[XXNewsstand init] + 708
9 XXContainerIOSDebug 0x000000010019b92c __34+[XXNewsstand sharedInstance]_block_invoke + 60
10 libdispatch.dylib 0x00000001013c9bb0 _dispatch_client_callout + 16
11 libdispatch.dylib 0x00000001013caa28 dispatch_once_f + 132
12 XXContainerIOSDebug 0x000000010019b8d0 +[XXNewsstand sharedInstance] + 144
13 XXContainerIOSDebug 0x00000001001b09f4 -[XXTrackingManager init] + 272
14 XXContainerIOSDebug 0x00000001001b089c __36+[XXTrackingManager sharedInstance]_block_invoke + 60
15 libdispatch.dylib 0x00000001013c9bb0 _dispatch_client_callout + 16
16 libdispatch.dylib 0x00000001013caa28 dispatch_once_f + 132
17 XXContainerIOSDebug 0x00000001001b0840 +[XXTrackingManager sharedInstance] + 144
18 XXContainerIOSDebug 0x000000010003d338 -[XXAppDelegate application:didFinishLaunchingWithOptions:] + 1212
19 UIKit 0x00000001880a1704 <redacted> + 400
20 UIKit 0x00000001882d0130 <redacted> + 2904
21 UIKit 0x00000001882d44b8 <redacted> + 1672
22 UIKit 0x00000001882d15c0 <redacted> + 168
23 FrontBoardServices 0x00000001848ef790 <redacted> + 184
24 FrontBoardServices 0x00000001848efb10 <redacted> + 56
25 CoreFoundation 0x00000001832f0efc <redacted> + 24
26 CoreFoundation 0x00000001832f0990 <redacted> + 540
27 CoreFoundation 0x00000001832ee690 <redacted> + 724
28 CoreFoundation 0x000000018321d680 CFRunLoopRunSpecific + 384
29 UIKit 0x000000018809a580 <redacted> + 460
30 UIKit 0x0000000188094d90 UIApplicationMain + 204
31 XXContainerIOSDebug 0x00000001000348a8 main + 124
32 libdyld.dylib 0x0000000182dbe8b8 <redacted> + 4
IMPORTANT: if you see this error, please send this log to help#realm.io.
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.