FirebaseApp.configure() crashes in IOS12 - swift

I got my app works well in every ios version, however; when updated to ios 12, all users who are in ios 12 get crashed from launching. I am trying to debug and found that FirebaseApp.configure() is causing crash. Although, it works fine with stimulator even run ios 12 and also works fine when i open the open through xcode. I tried to kill the app and opened it again -> got crashed immediately. Here is the crash logs:
Incident Identifier: 2047E97F-A583-4F35-B766-A4577CEC6F53
CrashReporter Key: 220c3e605534bc1c5752d04b41745c2b237ddeb6
Hardware Model: iPhone11,6
Process: CRACC [672]
Path: /private/var/containers/Bundle/Application/3F210234-7C84-46E2-800C-5D7176DD5548/CRACC.app/CRACC
Identifier: Team-LLC.CRACC
Version: 1 (1.5)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: Team-LLC.CRACC [616]
Date/Time: 2018-10-01 20:05:05.9760 -0400
Launch Time: 2018-10-01 20:05:05.5080 -0400
OS Version: iPhone OS 12.0 (16A366)
Baseband Version: 1.00.07
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 9
Application Specific Information:
abort() called
Thread 0:
0 libsystem_kernel.dylib 0x00000001fed439dc __ulock_wait + 8
1 libdispatch.dylib 0x00000001febbcc2c _dispatch_wait_on_address + 136
2 libdispatch.dylib 0x00000001febbd6e8 _dispatch_group_wait_slow + 44
3 CRACC 0x00000001050e23e4 0x104a18000 + 7119844
4 CRACC 0x00000001050df64c 0x104a18000 + 7108172
5 CRACC 0x00000001050de978 0x104a18000 + 7104888
6 CRACC 0x00000001050de584 0x104a18000 + 7103876
7 CRACC 0x00000001050d2cc8 0x104a18000 + 7056584
8 libdispatch.dylib 0x00000001febbc30c _dispatch_client_callout + 20
9 libdispatch.dylib 0x00000001febbe174 _dispatch_once_callout + 32
10 CRACC 0x00000001050d2a3c 0x104a18000 + 7055932
11 CRACC 0x00000001050d2e7c 0x104a18000 + 7057020
12 CRACC 0x00000001051088a0 0x104a18000 + 7276704
13 libdispatch.dylib 0x00000001febbc30c _dispatch_client_callout + 20
14 libdispatch.dylib 0x00000001febbe174 _dispatch_once_callout + 32
15 CRACC 0x00000001051086a8 0x104a18000 + 7276200
16 CRACC 0x000000010510a124 0x104a18000 + 7282980
17 Foundation 0x00000001ffb69c10 -[__NSObserver _doit:] + 336
18 Foundation 0x00000001ffc51908 __67-[NSNotificationCenter addObserverForName:object:queue:usingBlock:]_block_invoke + 40
19 CoreFoundation 0x00000001ff122528 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 28
20 CoreFoundation 0x00000001ff1224e8 ___CFXRegistrationPost_block_invoke + 68
21 CoreFoundation 0x00000001ff121990 _CFXRegistrationPost + 420
22 CoreFoundation 0x00000001ff12161c ___CFXNotificationPost_block_invoke + 100
23 CoreFoundation 0x00000001ff0971b4 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1412
24 CoreFoundation 0x00000001ff1210a0 _CFXNotificationPost + 712
25 Foundation 0x00000001ffb3ed34 -[NSNotificationCenter postNotificationName:object:userInfo:] + 72
26 CRACC 0x000000010529c0f4 0x104a18000 + 8929524
27 CRACC 0x0000000105297028 0x104a18000 + 8908840
28 CRACC 0x0000000105296788 0x104a18000 + 8906632
29 CRACC 0x0000000104d36a94 0x104a18000 + 3271316
30 CRACC 0x0000000104d37d20 0x104a18000 + 3276064
31 UIKitCore 0x000000022c4e40dc -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 416
32 UIKitCore 0x000000022c4e5888 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 3380
33 UIKitCore 0x000000022c4eb580 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1568
34 UIKitCore 0x000000022cd4ae80 __111-[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:]_block_invoke + 808
35 UIKitCore 0x000000022cd471e4 +[_UICanvas _enqueuePostSettingUpdateTransactionBlock:] + 168
36 UIKitCore 0x000000022cd4aae0 -[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:] + 252
37 UIKitCore 0x000000022cd4b4c4 -[__UICanvasLifecycleMonitor_Compatability activateEventsOnly:withContext:completion:] + 1080
38 UIKitCore 0x000000022cd08bcc __82-[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:]_block_invoke + 776
39 UIKitCore 0x000000022cd08874 -[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:] + 460
40 UIKitCore 0x000000022cd4d9f0 __125-[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:]_block_invoke + 224
41 UIKitCore 0x000000022cd4e53c _performActionsWithDelayForTransitionContext + 120
42 UIKitCore 0x000000022cd4d8a4 -[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:] + 260
43 UIKitCore 0x000000022cd4682c -[_UICanvas scene:didUpdateWithDiff:transitionContext:completion:] + 372
44 UIKitCore 0x000000022c4e99b0 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 556
45 UIKitCore 0x000000022c51cdb0 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 376
46 FrontBoardServices 0x0000000201c39720 -[FBSSceneImpl _didCreateWithTransitionContext:completion:] + 456
47 FrontBoardServices 0x0000000201c45070 __56-[FBSWorkspace client:handleCreateScene:withCompletion:]_block_invoke_2 + 284
48 FrontBoardServices 0x0000000201c44690 __40-[FBSWorkspace _performDelegateCallOut:]_block_invoke + 72
49 libdispatch.dylib 0x00000001febbc30c _dispatch_client_callout + 20
50 libdispatch.dylib 0x00000001febbf8d0 _dispatch_block_invoke_direct + 240
51 FrontBoardServices 0x0000000201c7b764 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 48
52 FrontBoardServices 0x0000000201c7b3d0 -[FBSSerialQueue _performNext] + 448
53 FrontBoardServices 0x0000000201c7ba3c -[FBSSerialQueue _performNextFromRunLoopSource] + 60
54 CoreFoundation 0x00000001ff144a50 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
55 CoreFoundation 0x00000001ff1449cc __CFRunLoopDoSource0 + 92
56 CoreFoundation 0x00000001ff144284 __CFRunLoopDoSources0 + 180
57 CoreFoundation 0x00000001ff13ef64 __CFRunLoopRun + 1032
58 CoreFoundation 0x00000001ff13e844 CFRunLoopRunSpecific + 452
59 GraphicsServices 0x00000002013edbe8 GSEventRunModal + 104
60 UIKitCore 0x000000022c4ed428 UIApplicationMain + 216
61 CRACC 0x0000000104d41d14 0x104a18000 + 3317012
62 libdyld.dylib 0x00000001febf4020 start + 4
Thread 1:
0 libsystem_pthread.dylib 0x00000001fedc1de8 start_wqthread + 0
Thread 2:
0 libsystem_kernel.dylib 0x00000001fed4567c stat + 8
1 libsqlite3.dylib 0x00000001ff5dc3e4 0x1ff5b5000 + 160740
2 libsqlite3.dylib 0x00000001ff5db454 0x1ff5b5000 + 156756
3 libsqlite3.dylib 0x00000001ff5da114 0x1ff5b5000 + 151828
4 libsqlite3.dylib 0x00000001ff5f95fc 0x1ff5b5000 + 280060
5 libsqlite3.dylib 0x00000001ff5f650c sqlite3_step + 436
6 CRACC 0x000000010512b734 0x104a18000 + 7419700
7 CRACC 0x000000010512abec 0x104a18000 + 7416812
8 CRACC 0x0000000105129e90 0x104a18000 + 7413392
9 CRACC 0x000000010512a79c 0x104a18000 + 7415708
10 CRACC 0x0000000105142580 0x104a18000 + 7513472
11 CRACC 0x0000000105140ab8 0x104a18000 + 7506616
12 CRACC 0x000000010513625c 0x104a18000 + 7463516
13 CRACC 0x0000000105146bc4 0x104a18000 + 7531460
14 libdispatch.dylib 0x00000001febbc30c _dispatch_client_callout + 20
15 libdispatch.dylib 0x00000001febbe174 _dispatch_once_callout + 32
16 CRACC 0x00000001051469c8 0x104a18000 + 7530952
17 CRACC 0x000000010514675c 0x104a18000 + 7530332
18 CRACC 0x000000010515e084 0x104a18000 + 7626884
19 ...g_rt.asan_ios_dynamic.dylib 0x000000010863bc18 0x1085f0000 + 310296
20 libdispatch.dylib 0x00000001febbad74 _dispatch_call_block_and_release + 32
21 libdispatch.dylib 0x00000001febbc30c _dispatch_client_callout + 20
22 libdispatch.dylib 0x00000001febc36fc _dispatch_lane_serial_drain + 552
23 libdispatch.dylib 0x00000001febc4244 _dispatch_lane_invoke + 368
24 libdispatch.dylib 0x00000001febcc524 _dispatch_workloop_worker_thread + 588
25 libsystem_pthread.dylib 0x00000001fedbbb38 _pthread_wqthread + 316
26 libsystem_pthread.dylib 0x00000001fedc1dec start_wqthread + 4
Thread 3:
0 libsystem_kernel.dylib 0x00000001fed37b70 swtch_pri + 8
1 ...g_rt.asan_ios_dynamic.dylib 0x0000000108652c78 0x1085f0000 + 404600
2 ...g_rt.asan_ios_dynamic.dylib 0x0000000108635bb0 0x1085f0000 + 285616
3 CRACC 0x00000001050d4d68 0x104a18000 + 7064936
4 ...g_rt.asan_ios_dynamic.dylib 0x000000010863bdf4 0x1085f0000 + 310772
5 libdispatch.dylib 0x00000001febbad74 _dispatch_call_block_and_release + 32
6 libdispatch.dylib 0x00000001febbc30c _dispatch_client_callout + 20
7 libdispatch.dylib 0x00000001febbf04c _dispatch_queue_override_invoke + 940
8 libdispatch.dylib 0x00000001febcb0f0 _dispatch_root_queue_drain + 348
9 libdispatch.dylib 0x00000001febcb95c _dispatch_worker_thread2 + 120
10 libsystem_pthread.dylib 0x00000001fedbbbd8 _pthread_wqthread + 476
11 libsystem_pthread.dylib 0x00000001fedc1dec start_wqthread + 4
Thread 4 name: com.apple.uikit.eventfetch-thread
Thread 4:
0 libsystem_kernel.dylib 0x00000001fed37a68 mach_msg_trap + 8
1 CoreFoundation 0x00000001ff14441c __CFRunLoopServiceMachPort + 240
2 CoreFoundation 0x00000001ff13f0b8 __CFRunLoopRun + 1372
3 CoreFoundation 0x00000001ff13e844 CFRunLoopRunSpecific + 452
4 Foundation 0x00000001ffb405f0 -[NSRunLoop+ 34288 (NSRunLoop) runMode:beforeDate:] + 304
5 Foundation 0x00000001ffb40494 -[NSRunLoop+ 33940 (NSRunLoop) runUntilDate:] + 152
6 UIKitCore 0x000000022c445cb8 -[UIEventFetcher threadMain] + 140
7 Foundation 0x00000001ffb3f1d0 -[NSThread main] + 72
8 Foundation 0x00000001ffc7bdbc __NSThread__start__ + 1044
9 libsystem_pthread.dylib 0x00000001fedb9a04 _pthread_body + 132
10 libsystem_pthread.dylib 0x00000001fedb9960 _pthread_start + 52
11 libsystem_pthread.dylib 0x00000001fedc1df4 thread_start + 4
Thread 5:
0 libsystem_pthread.dylib 0x00000001fedc1de8 start_wqthread + 0
Thread 6:
0 ...g_rt.asan_ios_dynamic.dylib 0x0000000108652524 0x1085f0000 + 402724
1 ...g_rt.asan_ios_dynamic.dylib 0x000000010864022c 0x1085f0000 + 328236
2 ...g_rt.asan_ios_dynamic.dylib 0x00000001086099ac 0x1085f0000 + 104876
3 libxpc.dylib 0x00000001fee024e4 _xpc_serializer_append + 204
4 libxpc.dylib 0x00000001fedf7d74 _xpc_data_serialize_inline_apply + 64
5 libdispatch.dylib 0x00000001febe91bc _dispatch_data_apply_client_callout + 16
6 libxpc.dylib 0x00000001fedf7630 _xpc_data_serialize + 264
7 libxpc.dylib 0x00000001fedfbc10 _xpc_dictionary_serialize_apply + 236
8 libxpc.dylib 0x00000001fedf9994 _xpc_dictionary_apply_node_f + 164
9 libxpc.dylib 0x00000001fedf9238 _xpc_dictionary_serialize + 176
10 libxpc.dylib 0x00000001fee029d8 _xpc_serializer_pack + 616
11 libxpc.dylib 0x00000001fee0874c _xpc_pipe_pack_message + 136
12 libxpc.dylib 0x00000001fee085fc _xpc_pipe_simpleroutine + 84
13 libxpc.dylib 0x00000001fedebb50 xpc_pipe_simpleroutine + 64
14 libsystem_trace.dylib 0x00000001fedd17cc ___os_activity_stream_reflect_block_invoke + 40
15 libdispatch.dylib 0x00000001febbc30c _dispatch_client_callout + 20
16 libdispatch.dylib 0x00000001febbf8d0 _dispatch_block_invoke_direct + 240
17 libdispatch.dylib 0x00000001febbf7ac dispatch_block_perform + 116
18 libsystem_trace.dylib 0x00000001fedd1270 _os_activity_stream_reflect + 540
19 libsystem_trace.dylib 0x00000001fedde258 _os_log_impl_stream + 452
20 libsystem_trace.dylib 0x00000001feddde30 _os_log_impl_flatten_and_send + 6204
21 libnetwork.dylib 0x000000020034453c sa_dst_compare_internal + 412
22 libnetwork.dylib 0x000000020021fce0 nw_resolver_endpoint_should_be_before + 732
23 libnetwork.dylib 0x000000020021f884 __nw_resolver_insert_endpoint_block_invoke + 112
24 libnetwork.dylib 0x00000002003b16f8 __nw_array_apply_block_invoke + 56
25 libxpc.dylib 0x00000001fedf04c0 xpc_array_apply + 88
26 libnetwork.dylib 0x000000020021f394 nw_resolver_insert_endpoint + 408
27 libnetwork.dylib 0x00000002002210f8 nw_resolver_host_resolve_callback + 3080
28 libsystem_dnssd.dylib 0x00000001fecdb6a8 handle_addrinfo_response + 416
29 libsystem_dnssd.dylib 0x00000001fecdc0ec ConnectionResponse + 196
30 libsystem_dnssd.dylib 0x00000001fecd98a4 DNSServiceProcessResult + 584
31 ...g_rt.asan_ios_dynamic.dylib 0x000000010863c380 0x1085f0000 + 312192
32 libdispatch.dylib 0x00000001febbc30c _dispatch_client_callout + 20
33 libdispatch.dylib 0x00000001febbf2dc _dispatch_continuation_pop + 408
34 libdispatch.dylib 0x00000001febcf42c _dispatch_source_invoke2 + 1204
35 libdispatch.dylib 0x00000001febcecac _dispatch_source_invoke + 436
36 libdispatch.dylib 0x00000001febc5444 _dispatch_workloop_invoke2 + 632
37 libdispatch.dylib 0x00000001febc4f30 _dispatch_workloop_invoke + 432
38 libdispatch.dylib 0x00000001febcc524 _dispatch_workloop_worker_thread + 588
39 libsystem_pthread.dylib 0x00000001fedbbb38 _pthread_wqthread + 316
40 libsystem_pthread.dylib 0x00000001fedc1dec start_wqthread + 4
Thread 7:
0 libsystem_kernel.dylib 0x00000001fed45928 write + 8
1 CRACC 0x00000001050e9960 0x104a18000 + 7149920
2 CRACC 0x00000001050e9844 0x104a18000 + 7149636
3 CRACC 0x00000001050e9b50 0x104a18000 + 7150416
4 CRACC 0x00000001050e9f70 0x104a18000 + 7151472
5 CRACC 0x00000001050ea034 0x104a18000 + 7151668
6 CRACC 0x00000001050d0fe4 0x104a18000 + 7049188
7 CRACC 0x00000001050d1494 0x104a18000 + 7050388
8 ...g_rt.asan_ios_dynamic.dylib 0x000000010863bc18 0x1085f0000 + 310296
9 libdispatch.dylib 0x00000001febbad74 _dispatch_call_block_and_release + 32
10 libdispatch.dylib 0x00000001febbc30c _dispatch_client_callout + 20
11 libdispatch.dylib 0x00000001febc36fc _dispatch_lane_serial_drain + 552
12 libdispatch.dylib 0x00000001febc4244 _dispatch_lane_invoke + 368
13 libdispatch.dylib 0x00000001febcc524 _dispatch_workloop_worker_thread + 588
14 libsystem_pthread.dylib 0x00000001fedbbb38 _pthread_wqthread + 316
15 libsystem_pthread.dylib 0x00000001fedc1dec start_wqthread + 4
Thread 8:
0 libsystem_pthread.dylib 0x00000001fedc1de8 start_wqthread + 0
Thread 9 Crashed:
0 libsystem_kernel.dylib 0x00000001fed430e4 __pthread_kill + 8
1 libsystem_c.dylib 0x00000001fec9b074 __abort + 156
2 libsystem_c.dylib 0x00000001fec9afd8 __abort + 0
3 ...g_rt.asan_ios_dynamic.dylib 0x000000010865d1d4 0x1085f0000 + 446932
4 ...g_rt.asan_ios_dynamic.dylib 0x000000010865b9cc 0x1085f0000 + 440780
5 ...g_rt.asan_ios_dynamic.dylib 0x0000000108645790 0x1085f0000 + 350096
6 ...g_rt.asan_ios_dynamic.dylib 0x000000010865ba54 0x1085f0000 + 440916
7 ...g_rt.asan_ios_dynamic.dylib 0x0000000108648370 0x1085f0000 + 361328
8 ...g_rt.asan_ios_dynamic.dylib 0x0000000108647f24 0x1085f0000 + 360228
9 ...g_rt.asan_ios_dynamic.dylib 0x0000000108648394 0x1085f0000 + 361364
10 libsystem_pthread.dylib 0x00000001fedb9a04 _pthread_body + 132
11 libsystem_pthread.dylib 0x00000001fedb9960 _pthread_start + 52
12 libsystem_pthread.dylib 0x00000001fedc1df4 thread_start + 4
Thread 10:
0 libsystem_pthread.dylib 0x00000001fedc1de8 start_wqthread + 0
Thread 9 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000001
x4: 0x0000000000000000 x5: 0x0000000000989680 x6: 0x0000000000000000 x7: 0x0000000000000000
x8: 0x0000000000000800 x9: 0x0000000000009503 x10: 0x000000002240069b x11: 0x000000023b29fb72
x12: 0x000000023b29fb72 x13: 0x0000000000000009 x14: 0x0000000000000001 x15: 0x0000000000000881
x16: 0x0000000000000148 x17: 0x000000022f9b2888 x18: 0x0000000000000000 x19: 0x0000000000000006
x20: 0x000000016b848000 x21: 0x0000000000000000 x22: 0x0000000000009503 x23: 0x000000016b8480e0
x24: 0x0000000000000000 x25: 0x0000000000000000 x26: 0x0000000000000000 x27: 0x0000000000000000
x28: 0x0000000000000000 fp: 0x00000001120034c0 lr: 0x00000001fedbab68
sp: 0x0000000112003490 pc: 0x00000001fed430e4 cpsr: 0x00000000
!Here is where i call the function in app delegate:

Try disabling the Address Sanitizer in your scheme

Related

Crash KVO_IS_RETAINING_ALL_OBSERVERS_OF_THIS_OBJECT_IF_IT_CRASHES_AN_OBSERVER_WAS_OVERRELEASED_OR_SMASHED

I'm seeing crashes in my crash log, but I have yet to experience a crash directly. I've searched everything and tried everything but I'm stuck.
Any ideas on why I'm getting these in my crash logs?
Crash log
CrashReporter Key: d42015aa3717735a5388beca859904bc83c7d8a1
Hardware Model: iPhone9,2
Process: Waterspeed [9082]
Path: /private/var/containers/Bundle/Application/60208DDD-0A10-41FE-B309-56CF3CCB0E45/Waterspeed.app/Waterspeed
Identifier: TNT.Waterspeed
Version: 23 (2.9.28)
AppStoreTools: 10G3
AppVariant: 1:iPhone9,2:12.2
Code Type: ARM-64 (Native)
Role: Non UI
Parent Process: launchd [1]
Coalition: TNT.Waterspeed [2182]
Date/Time: 2019-07-22 19:20:09.0959 -1000
Launch Time: 2019-07-21 23:14:01.7633 -1000
OS Version: iPhone OS 12.3.1 (16F203)
Baseband Version: 5.60.01
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000fbcae9b80
VM Region Info: 0xfbcae9b80 is not in any region. Bytes after previous region: 56315779969
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
MALLOC_NANO 0000000280000000-00000002a0000000 [512.0M] rw-/rwx SM=PRV
--->
UNUSED SPACE AT END
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [9082]
Triggered by Thread: 0
Thread 0 name:
Thread 0 Crashed:
0 libobjc.A.dylib 0x00000001fdcf60e0 object_isClass + 16 (objc-runtime-new.h:976)
1 Foundation 0x00000001ff56a8d0 KVO_IS_RETAINING_ALL_OBSERVERS_OF_THIS_OBJECT_IF_IT_CRASHES_AN_OBSERVER_WAS_OVERRELEASED_OR_SMASHED + 64 (NSKeyValueObserving.m:1122)
2 Foundation 0x00000001ff568170 NSKeyValueWillChangeWithPerThreadPendingNotifications.llvm.9306004367141260615 + 304 (NSKeyValueObserving.m:1152)
3 Foundation 0x00000001ff4e1d44 -[NSProgress _setValueForKeys:settingBlock:] + 264 (NSProgress.m:773)
4 Foundation 0x00000001ff4ff424 -[NSProgress _setRemoteValues:forKeys:] + 192 (NSProgress.m:2347)
5 Foundation 0x00000001ff6b3020 __45-[_NSProgressProxy _setRemoteValues:forKeys:]_block_invoke + 64 (NSProgressSubscriber.m:118)
6 CoreFoundation 0x00000001feaaee68 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 20 (CFRunLoop.c:1838)
7 CoreFoundation 0x00000001feaae76c __CFRunLoopDoBlocks + 272 (CFRunLoop.c:1879)
8 CoreFoundation 0x00000001feaa9cd8 __CFRunLoopRun + 2312 (CFRunLoop.c:3178)
9 CoreFoundation 0x00000001feaa90b0 CFRunLoopRunSpecific + 436 (CFRunLoop.c:3247)
10 GraphicsServices 0x0000000200ca979c GSEventRunModal + 104 (GSEvent.c:2245)
11 UIKitCore 0x000000022b457978 UIApplicationMain + 212 (UIApplication.m:4353)
12 Waterspeed 0x0000000102d95068 main + 68 (LoginViewController.swift:34)
13 libdyld.dylib 0x00000001fe56e8e0 start + 4
Thread 1 name:
Thread 1:
0 libsystem_kernel.dylib 0x00000001fe6af0f4 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001fe6ae5a0 mach_msg + 72 (mach_msg.c:103)
2 CoreFoundation 0x00000001feaaea10 __CFRunLoopServiceMachPort + 236 (CFRunLoop.c:2615)
3 CoreFoundation 0x00000001feaa9920 __CFRunLoopRun + 1360 (CFRunLoop.c:2971)
4 CoreFoundation 0x00000001feaa90b0 CFRunLoopRunSpecific + 436 (CFRunLoop.c:3247)
5 Foundation 0x00000001ff476fac -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 300 (NSRunLoop.m:367)
6 Foundation 0x00000001ff476e3c -[NSRunLoop(NSRunLoop) runUntilDate:] + 96 (NSRunLoop.m:411)
7 UIKitCore 0x000000022b53d494 -[UIEventFetcher threadMain] + 136 (UIEventFetcher.m:606)
8 Foundation 0x00000001ff5a36a4 __NSThread__start__ + 984 (NSThread.m:1175)
9 libsystem_pthread.dylib 0x00000001fe73c2c0 _pthread_body + 128 (pthread.c:857)
10 libsystem_pthread.dylib 0x00000001fe73c220 _pthread_start + 44 (pthread.c:884)
11 libsystem_pthread.dylib 0x00000001fe73fcdc thread_start + 4
Thread 2 name:
Thread 2:
0 libsystem_kernel.dylib 0x00000001fe6bc920 write + 8
1 Waterspeed 0x0000000102f50cb4 CLSSDKFileLog + 288 (CLSInternalLogging.c:0)
2 Waterspeed 0x0000000102f48388 CLSMachExceptionServer + 912 (CLSMachException.c:249)
3 libsystem_pthread.dylib 0x00000001fe73c2c0 _pthread_body + 128 (pthread.c:857)
4 libsystem_pthread.dylib 0x00000001fe73c220 _pthread_start + 44 (pthread.c:884)
5 libsystem_pthread.dylib 0x00000001fe73fcdc thread_start + 4
Thread 3 name:
Thread 3:
0 libsystem_kernel.dylib 0x00000001fe6af0f4 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001fe6ae5a0 mach_msg + 72 (mach_msg.c:103)
2 CoreFoundation 0x00000001feaaea10 __CFRunLoopServiceMachPort + 236 (CFRunLoop.c:2615)
3 CoreFoundation 0x00000001feaa9920 __CFRunLoopRun + 1360 (CFRunLoop.c:2971)
4 CoreFoundation 0x00000001feaa90b0 CFRunLoopRunSpecific + 436 (CFRunLoop.c:3247)
5 CFNetwork 0x00000001ff0c274c -[__CoreSchedulingSetRunnable runForever] + 216 (CoreSchedulingSet.mm:1365)
6 Foundation 0x00000001ff5a36a4 __NSThread__start__ + 984 (NSThread.m:1175)
7 libsystem_pthread.dylib 0x00000001fe73c2c0 _pthread_body + 128 (pthread.c:857)
8 libsystem_pthread.dylib 0x00000001fe73c220 _pthread_start + 44 (pthread.c:884)
9 libsystem_pthread.dylib 0x00000001fe73fcdc thread_start + 4
Thread 4 name:
Thread 4:
0 libsystem_kernel.dylib 0x00000001fe6af0f4 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001fe6ae5a0 mach_msg + 72 (mach_msg.c:103)
2 CoreFoundation 0x00000001feaaea10 __CFRunLoopServiceMachPort + 236 (CFRunLoop.c:2615)
3 CoreFoundation 0x00000001feaa9920 __CFRunLoopRun + 1360 (CFRunLoop.c:2971)
4 CoreFoundation 0x00000001feaa90b0 CFRunLoopRunSpecific + 436 (CFRunLoop.c:3247)
5 Foundation 0x00000001ff476fac -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 300 (NSRunLoop.m:367)
6 Waterspeed 0x000000010301e8d0 -[_FSRRunLoopThread main] + 252 (FSRWebSocket.m:1843)
7 Foundation 0x00000001ff5a36a4 __NSThread__start__ + 984 (NSThread.m:1175)
8 libsystem_pthread.dylib 0x00000001fe73c2c0 _pthread_body + 128 (pthread.c:857)
9 libsystem_pthread.dylib 0x00000001fe73c220 _pthread_start + 44 (pthread.c:884)
10 libsystem_pthread.dylib 0x00000001fe73fcdc thread_start + 4
Thread 5 name:
Thread 5:
0 libsystem_kernel.dylib 0x00000001fe6ba328 __select + 8
1 CoreFoundation 0x00000001feab76f4 __CFSocketManager + 620 (CFSocket.c:2242)
2 libsystem_pthread.dylib 0x00000001fe73c2c0 _pthread_body + 128 (pthread.c:857)
3 libsystem_pthread.dylib 0x00000001fe73c220 _pthread_start + 44 (pthread.c:884)
4 libsystem_pthread.dylib 0x00000001fe73fcdc thread_start + 4
Thread 6 name:
Thread 6:
0 libsystem_kernel.dylib 0x00000001fe6bb93c kevent_id + 8
1 libdispatch.dylib 0x00000001fe51bbf0 _dispatch_kq_poll + 332 (event_kevent.c:718)
2 libdispatch.dylib 0x00000001fe51b114 _dispatch_event_loop_poke$VARIANT$mp + 476 (event_kevent.c:1644)
3 Foundation 0x00000001ff4fb080 -[NSFileAccessArbiterProxy revokeAccessClaimForID:] + 84 (NSFileAccessArbiter.m:2232)
4 Foundation 0x00000001ff660af0 __98-[NSFileCoordinator(NSPrivate) _withAccessArbiter:invokeAccessor:orDont:andRelinquishAccessCl... + 232 (NSFileCoordinator.m:960)
5 Foundation 0x00000001ff660cc0 __85-[NSFileCoordinator(NSPrivate) _coordinateReadingItemAtURL:options:error:byAccessor:]_block_i... + 28 (NSFileCoordinator.m:1014)
6 Foundation 0x00000001ff4e95a4 -[NSFileCoordinatorAccessorBlockCompletion decrement] + 76 (NSFileCoordinator.m:2245)
7 Foundation 0x00000001ff4d8f48 -[NSFileCoordinator _invokeAccessor:thenCompletionHandler:] + 164 (NSFileCoordinator.m:470)
8 Foundation 0x00000001ff65fbc0 __73-[NSFileCoordinator coordinateReadingItemAtURL:options:error:byAccessor:]_block_invoke + 88 (NSFileCoordinator.m:483)
9 Foundation 0x00000001ff660c98 __85-[NSFileCoordinator(NSPrivate) _coordinateReadingItemAtURL:options:error:byAccessor:]_block_i... + 108 (NSFileCoordinator.m:1013)
10 Foundation 0x00000001ff4d9160 -[NSFileCoordinator(NSPrivate) _withAccessArbiter:invokeAccessor:orDont:andRelinquishAccessClaim:] + 452 (NSFileCoordinator.m:943)
11 Foundation 0x00000001ff4da138 -[NSFileCoordinator(NSPrivate) _coordinateReadingItemAtURL:options:error:byAccessor:] + 776 (NSFileCoordinator.m:1008)
12 Foundation 0x00000001ff4d9e24 -[NSFileCoordinator coordinateReadingItemAtURL:options:error:byAccessor:] + 76 (NSFileCoordinator.m:480)
13 WatchConnectivity 0x0000000220177b1c -[WCContentIndex loadContentIfNecessary] + 808 (WCContentIndex.m:66)
14 Foundation 0x00000001ff647ec4 __74-[NSFilePresenterXPCMessenger _makePresenter:observeChangeWithSubitemURL:]_block_invoke_2 + 48 (NSFileAccessArbiter.m:3360)
15 Foundation 0x00000001ff66662c __95-[NSOperationQueue(NSFileCoordinationSupport) _fc_addUncancellableOperationForReactorID:block... + 140 (NSFileCoordinator.m:2427)
16 Foundation 0x00000001ff581ef8 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 16 (NSOperation.m:1559)
17 Foundation 0x00000001ff48e3e0 -[NSBlockOperation main] + 72 (NSOperation.m:1578)
18 Foundation 0x00000001ff48d8c8 -[__NSOperationInternal _start:] + 740 (NSOperation.m:907)
19 Foundation 0x00000001ff583c7c __NSOQSchedule_f + 272 (NSOperation.m:2165)
20 libdispatch.dylib 0x00000001fe55ca38 _dispatch_call_block_and_release + 24 (init.c:1372)
21 libdispatch.dylib 0x00000001fe55d7d4 _dispatch_client_callout + 16 (object.m:511)
22 libdispatch.dylib 0x00000001fe502018 _dispatch_continuation_pop$VARIANT$mp + 412 (inline_internal.h:2441)
23 libdispatch.dylib 0x00000001fe5016dc _dispatch_async_redirect_invoke + 600 (queue.c:796)
24 libdispatch.dylib 0x00000001fe50e02c _dispatch_root_queue_drain + 372 (inline_internal.h:2482)
25 libdispatch.dylib 0x00000001fe50e8d0 _dispatch_worker_thread2 + 128 (queue.c:6072)
26 libsystem_pthread.dylib 0x00000001fe73d1b4 _pthread_wqthread + 464 (pthread.c:2361)
27 libsystem_pthread.dylib 0x00000001fe73fcd4 start_wqthread + 4
Thread 7:
0 libsystem_pthread.dylib 0x00000001fe73fcd0 start_wqthread + 0
Thread 8:
0 libsystem_pthread.dylib 0x00000001fe73fcd0 start_wqthread + 0
Thread 9 name:
Thread 9:
0 libsystem_kernel.dylib 0x00000001fe6b9f2c __psynch_mutexwait + 8
1 libsystem_pthread.dylib 0x00000001fe735a84 _pthread_mutex_firstfit_lock_wait + 92 (pthread_mutex.c:1228)
2 libsystem_pthread.dylib 0x00000001fe7359f4 _pthread_mutex_firstfit_lock_slow$VARIANT$mp + 272 (pthread_mutex.c:1304)
3 Foundation 0x00000001ff478d44 -[NSObject(NSKeyValueObserverRegistration) addObserver:forKeyPath:options:context:] + 64 (NSKeyValueObserving.m:68)
4 WatchConnectivity 0x00000002201650a0 -[WCSession onqueue_updateProgressForFileTransfer:progress:] + 280 (WCSession.m:517)
5 WatchConnectivity 0x0000000220164c9c __51-[WCSession onqueue_createProgressForFileTransfer:]_block_invoke_2 + 44 (WCSession.m:496)
6 Foundation 0x00000001ff581ef8 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 16 (NSOperation.m:1559)
7 Foundation 0x00000001ff48e3e0 -[NSBlockOperation main] + 72 (NSOperation.m:1578)
8 Foundation 0x00000001ff48d8c8 -[__NSOperationInternal _start:] + 740 (NSOperation.m:907)
9 Foundation 0x00000001ff583c7c __NSOQSchedule_f + 272 (NSOperation.m:2165)
10 libdispatch.dylib 0x00000001fe50b7f0 _dispatch_block_async_invoke2 + 104 (queue.c:518)
11 libdispatch.dylib 0x00000001fe55d7d4 _dispatch_client_callout + 16 (object.m:511)
12 libdispatch.dylib 0x00000001fe502018 _dispatch_continuation_pop$VARIANT$mp + 412 (inline_internal.h:2441)
13 libdispatch.dylib 0x00000001fe5016dc _dispatch_async_redirect_invoke + 600 (queue.c:796)
14 libdispatch.dylib 0x00000001fe50e02c _dispatch_root_queue_drain + 372 (inline_internal.h:2482)
15 libdispatch.dylib 0x00000001fe50e8d0 _dispatch_worker_thread2 + 128 (queue.c:6072)
16 libsystem_pthread.dylib 0x00000001fe73d1b4 _pthread_wqthread + 464 (pthread.c:2361)
17 libsystem_pthread.dylib 0x00000001fe73fcd4 start_wqthread + 4
Thread 10:
0 libsystem_pthread.dylib 0x00000001fe73fcd0 start_wqthread + 0
Thread 11:
0 libsystem_pthread.dylib 0x00000001fe73fcd0 start_wqthread + 0
Thread 12:
0 libsystem_pthread.dylib 0x00000001fe73fcd0 start_wqthread + 0
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x00000002833a9b60 x1: 0x000000016d0768d0 x2: 0x000000016d0768e0 x3: 0x0000000000000000
x4: 0x0000000000000003 x5: 0x0000000000000000 x6: 0x00000002833b5320 x7: 0x000000023665c000
x8: 0x0000000fbcae9b60 x9: 0x0000000000000008 x10: 0x00000001fea19e54 x11: 0x0000002a0000007f
x12: 0x0000000104918f60 x13: 0x000001a238c5ba41 x14: 0x0000000000000000 x15: 0x0000030000000302
x16: 0x0000000238c5ba40 x17: 0x00000001fea19d00 x18: 0x0000000000000000 x19: 0x000000016d0768d0
x20: 0x0000000000000003 x21: 0x000000022b98d9bf x22: 0x00000002833a9b60 x23: 0x000000023665c000
x24: 0x0000000000000000 x25: 0x0000000283d85bc0 x26: 0x0000000000000003 x27: 0x000000016d0768d0
x28: 0x0000000000000000 fp: 0x000000016d0768c0 lr: 0x00000001ff56a8d0
sp: 0x000000016d076890 pc: 0x00000001fdcf60e0 cpsr: 0x20000000

Invalid address

My app is crashing a lot lately and it's throwing this as an error:
NSOperationQueue 0x2806fd260 (QOS: UNSPECIFIED) EXC_BAD_ACCESS
KERN_INVALID_ADDRESS 0x0000000000000000.
I can't find the call that causes this problem. Can someone help me solve this problem please?
This is the crash stacktrace:
0 AlamofireNetworkLogger 0x10203c7b4 (Missing)
1 AlamofireNetworkLogger 0x10203d910 (Missing)
2 CoreFoundation 0x1829715bc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
3 CoreFoundation 0x182971588 ___CFXRegistrationPost_block_invoke + 64
4 CoreFoundation 0x182970a7c _CFXRegistrationPost + 392
5 CoreFoundation 0x182970728 ___CFXNotificationPost_block_invoke + 96
6 CoreFoundation 0x1828ea524 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1496
7 CoreFoundation 0x1829701d8 _CFXNotificationPost + 696
8 Foundation 0x183358814 -[NSNotificationCenter postNotificationName:object:userInfo:] + 68
9 Alamofire 0x101fd7a84 closure #1 in SessionDelegate.urlSession(_:task:didCompleteWithError:) (SessionDelegate.swift:451)
10 Alamofire 0x101fd7460 SessionDelegate.urlSession(_:task:didCompleteWithError:) (SessionDelegate.swift:495)
11 Alamofire 0x101fd83c0 #objc SessionDelegate.urlSession(_:task:didCompleteWithError:) (<compiler-generated>)
12 myApp 0x10157e9d4 __InstrumentURLSessionTaskDidCompleteWithError_block_invoke + 4311443924
13 CFNetwork 0x183183420 __51-[NSURLSession delegate_task:didCompleteWithError:]_block_invoke.182 + 252
14 Foundation 0x183464f68 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 16
15 Foundation 0x183371420 -[NSBlockOperation main] + 72
16 Foundation 0x183370908 -[__NSOperationInternal _start:] + 740
17 Foundation 0x183466cec __NSOQSchedule_f + 272
18 libdispatch.dylib 0x182440a38 _dispatch_call_block_and_release + 24
19 libdispatch.dylib 0x1824417d4 _dispatch_client_callout + 16
20 libdispatch.dylib 0x1823e6018 _dispatch_continuation_pop$VARIANT$mp + 412
21 libdispatch.dylib 0x1823e56dc _dispatch_async_redirect_invoke + 600
22 libdispatch.dylib 0x1823f202c _dispatch_root_queue_drain + 372
23 libdispatch.dylib 0x1823f28d0 _dispatch_worker_thread2 + 128
24 libsystem_pthread.dylib 0x1826211b4 _pthread_wqthread + 464
25 libsystem_pthread.dylib 0x182623cd4 start_wqthread + 4

Xcode, last version, getting error on builds and archives

I am having an issue on my Xcode, lots of times I built or archives the project, I get this error :
Process: Xcode [2376] Path:
/Applications/Xcode.app/Contents/MacOS/Xcode Identifier:
com.apple.dt.Xcode Version: 9.2 (13772) Build Info:
IDEFrameworks-13772000000000000~2 App Item ID: 497799835 App
External ID: 825038102 Code Type: X86-64 (Native)
Parent Process: ??? [1] Responsible: Xcode [2376]
User ID: 501
Date/Time: 2018-02-19 13:01:31.507 +0100 OS Version:
Mac OS X 10.13.2 (17C88) Report Version: 12 Anonymous UUID:
86191C10-4328-FD41-CE74-B094E22BEFE9
Time Awake Since Boot: 510 seconds
System Integrity Protection: enabled
Crashed Thread: 45 Dispatch queue: ConcurrentQueue:
-[XCWorkQueueCommandBuiltinInvocation startRunning]_block_invoke
Exception Type: EXC_CRASH (SIGABRT) Exception Codes:
0x0000000000000000, 0x0000000000000000 Exception Note:
EXC_CORPSE_NOTIFY
Application Specific Information: ProductBuildVersion: 9C40b Assertion
failed: (sizeBack == listSize), function
_has_code_signature_extended_attribute, file /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-13756/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/BuildTaskPlugIns/CoreBuildTasks/Translators/PBXCp/PBXCp.mm,
line 453.
Thread 0:: Dispatch queue: com.apple.main-thread 0
libsystem_kernel.dylib 0x00007fff57ec07c2 mach_msg_trap + 10 1
libsystem_kernel.dylib 0x00007fff57ebfcdc mach_msg + 60 2
com.apple.CoreFoundation 0x00007fff30488a15
__CFRunLoopServiceMachPort + 341 3 com.apple.CoreFoundation 0x00007fff30487d67 __CFRunLoopRun + 1783 4 com.apple.CoreFoundation
0x00007fff304873d7 CFRunLoopRunSpecific + 487 5 com.apple.HIToolbox
0x00007fff2f794e26 RunCurrentEventLoopInMode + 286 6
com.apple.HIToolbox 0x00007fff2f794b96
ReceiveNextEventCommon + 613 7 com.apple.HIToolbox
0x00007fff2f794914 _BlockUntilNextEventMatchingListInModeWithFilter +
64 8 com.apple.AppKit 0x00007fff2da5ff5f _DPSNextEvent
+ 2085 9 com.apple.AppKit 0x00007fff2e1f5b4c -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044 10 com.apple.dt.DVTKit 0x000000010f84ff9a -[DVTApplication
nextEventMatchingMask:untilDate:inMode:dequeue:] + 390 11
com.apple.AppKit 0x00007fff2da54d6d -[NSApplication run]
+ 764 12 com.apple.AppKit 0x00007fff2da23f1a NSApplicationMain + 804 13 libdyld.dylib
0x00007fff57d7a115 start + 1
Thread 1:: Dispatch queue: shared-compile-command-queue (QOS:
UNSPECIFIED) 0 libsystem_kernel.dylib 0x00007fff57ecb41a
read + 10 1 com.apple.Xcode.DevToolsCore 0x0000000122e9a7aa
-[XCWorkQueueCommandLocalSubprocessInvocation handleOutputFileDescriptorActivity] + 86 2
com.apple.Xcode.DevToolsCore 0x0000000122f094f3 -[Xcode3BuildTask
main] + 1042 3 com.apple.Foundation 0x00007fff3259b53e
-[__NSOperationInternal _start:] + 778 4 libdispatch.dylib 0x00007fff57d40d50 _dispatch_client_callout + 8 5 libdispatch.dylib
0x00007fff57d53333 _dispatch_block_invoke_direct + 317 6
libdispatch.dylib 0x00007fff57d40d50
_dispatch_client_callout + 8 7 libdispatch.dylib 0x00007fff57d53333 _dispatch_block_invoke_direct + 317 8
libdispatch.dylib 0x00007fff57d531d6
dispatch_block_perform + 109 9 com.apple.Foundation
0x00007fff3259754c __NSOQSchedule_f + 342 10 libdispatch.dylib
0x00007fff57d40d50 _dispatch_client_callout + 8 11 libdispatch.dylib
0x00007fff57d53e76 _dispatch_continuation_pop + 472 12
libdispatch.dylib 0x00007fff57d4b6cb
_dispatch_async_redirect_invoke + 703 13 libdispatch.dylib 0x00007fff57d42941 _dispatch_root_queue_drain + 515 14
libdispatch.dylib 0x00007fff57d426ed
_dispatch_worker_thread3 + 101 15 libsystem_pthread.dylib 0x00007fff580051ca _pthread_wqthread + 1387 16
libsystem_pthread.dylib 0x00007fff58004c4d start_wqthread + 13
Thread 2:: Dispatch queue: -[IDEExecutionEnvironment
initWithWorkspaceArena:] (QOS: UNSPECIFIED) 0 libsystem_kernel.dylib
0x00007fff57ec9cee __psynch_cvwait + 10 1 libsystem_pthread.dylib
0x00007fff58006662 _pthread_cond_wait + 732 2 com.apple.Foundation
0x00007fff3264acf8 -[__NSOperationInternal _waitUntilFinished:] + 896
3 com.apple.Foundation 0x00007fff3261b765
-[NSOperationQueue waitUntilAllOperationsAreFinished] + 296 4 com.apple.dt.DVTFoundation 0x000000010f12a9c4 -[DVTOperationGroup
main] + 66 5 com.apple.Foundation 0x00007fff3259b53e
-[__NSOperationInternal _start:] + 778 6 com.apple.dt.DVTFoundation 0x000000010f12a977 -[DVTOperationGroup start] + 110 7
com.apple.Foundation 0x00007fff32597567 __NSOQSchedule_f +
369 8 libdispatch.dylib 0x00007fff57d40d50
_dispatch_client_callout + 8 9 libdispatch.dylib 0x00007fff57d53e76 _dispatch_continuation_pop + 472 10
libdispatch.dylib 0x00007fff57d4b6cb
_dispatch_async_redirect_invoke + 703 11 libdispatch.dylib 0x00007fff57d42941 _dispatch_root_queue_drain + 515 12
libdispatch.dylib 0x00007fff57d426ed
_dispatch_worker_thread3 + 101 13 libsystem_pthread.dylib 0x00007fff580051ca _pthread_wqthread + 1387 14
libsystem_pthread.dylib 0x00007fff58004c4d start_wqthread + 13
...
There are also several times, the built goes succesfully... is anyone sperimentig this issue ?

xamarin iphone app crashes on end user's devices

I completed the development of application and pushed to appstore. I don't know the solution and even don't know why app crashes on end user's devices.
I am able to get the crash logs and here is the logs. Please help me to resolve this unknown crash.
Hardware Model: iPhone9,4
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
OS Version: iPhone OS 10.3.2 (14F89)
Exception Type: EXC_BAD_ACCESS (SIGABRT)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000
Triggered by Thread: 0
Thread 0 name:
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x0000000183ea1014 __pthread_kill + 8
1 libsystem_pthread.dylib 0x0000000183f6b264 pthread_kill + 112 (pthread.c:1366)
2 libsystem_c.dylib 0x0000000183e159c4 abort + 140 (abort.c:91)
3 Mono 0x00000001058702cc mono_handle_native_sigsegv + 588
4 libsystem_platform.dylib 0x0000000183f6531c _sigtramp + 52 (sigtramp.c:115)
5 libsystem_pthread.dylib 0x0000000183f6b264 pthread_kill + 112 (pthread.c:1366)
6 libsystem_c.dylib 0x0000000183e159c4 abort + 140 (abort.c:91)
7 MyApp 0x000000010018dd0c print_all_exceptions(MonoObject*) (runtime.m:997)
8 Mono 0x0000000105870a14 mono_invoke_unhandled_exception_hook + 100
9 Mono 0x000000010586fca8 mono_handle_exception_internal + 3860
10 Mono 0x000000010586ed88 mono_handle_exception + 40
11 Mono 0x0000000105866424 handle_signal_exception + 64
12 MyApp 0x000000010023cb04 MyApp_MyApp_iOS_UpdatePostCommentsViewController__ViewDidLoadm__1_object_System_EventArgs + 276
13 MyApp 0x0000000100cd1bc8 Xamarin_iOS_UIKit_UIControlEventProxy_Activated (UIControl.cs:37)
14 MyApp 0x0000000100fe5c54 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 244
15 Mono 0x000000010587e654 mono_jit_runtime_invoke + 1772
16 Mono 0x00000001058eecf0 do_runtime_invoke + 112
17 Mono 0x00000001058eec4c mono_runtime_invoke + 208
18 MyApp 0x0000000101904980 native_to_managed_trampoline_9(objc_object*, objc_selector*, _MonoMethod**, char const*, char const*) (registrar.m:385)
19 MyApp 0x0000000101905a50 -[UIKit_UIControlEventProxy BridgeSelector] (registrar.m:10469)
20 UIKit 0x000000018b00d010 -[UIApplication sendAction:to:from:forEvent:] + 96 (UIApplication.m:4580)
21 UIKit 0x000000018b00cf90 -[UIControl sendAction:to:forEvent:] + 80 (UIControl.m:609)
22 UIKit 0x000000018aff7504 -[UIControl _sendActionsForEvents:withEvent:] + 440 (UIControl.m:694)
23 UIKit 0x000000018b00c874 -[UIControl touchesEnded:withEvent:] + 576 (UIControl.m:446)
24 UIKit 0x000000018b00c390 -[UIWindow _sendTouchesForEvent:] + 2480 (UIWindow.m:2122)
25 UIKit 0x000000018b007728 -[UIWindow sendEvent:] + 3192 (UIWindow.m:2292)
26 UIKit 0x000000018afd833c -[UIApplication sendEvent:] + 340 (UIApplication.m:10778)
27 UIKit 0x000000018b7d2014 __dispatchPreprocessedEventFromEventQueue + 2400 (UIEventDispatcher.m:1448)
28 UIKit 0x000000018b7cc770 __handleEventQueue + 4268 (UIEventDispatcher.m:1671)
29 CoreFoundation 0x0000000184e5542c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24 (CFRunLoop.c:1943)
30 CoreFoundation 0x0000000184e54d9c __CFRunLoopDoSources0 + 540 (CFRunLoop.c:1989)
31 CoreFoundation 0x0000000184e529a8 __CFRunLoopRun + 744 (CFRunLoop.c:2821)
32 CoreFoundation 0x0000000184d82da4 CFRunLoopRunSpecific + 424 (CFRunLoop.c:3113)
33 GraphicsServices 0x00000001867ec074 GSEventRunModal + 100 (GSEvent.c:2245)
34 UIKit 0x000000018b03d058 UIApplicationMain + 208 (UIApplication.m:4089)
35 MyApp 0x0000000100d74914 wrapper_managed_to_native_UIKit_UIApplication_UIApplicationMain_int_string___intptr_intptr (/<unknown>:1)
36 MyApp 0x0000000100ccf6c8 Xamarin_iOS_UIKit_UIApplication_Main_string___string_string (UIApplication.cs:63)
37 MyApp 0x000000010035c9a8 MyApp_MyApp_iOS_Application_Main_string__ + 196
38 MyApp 0x0000000100fe5c54 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 244
39 Mono 0x000000010587e654 mono_jit_runtime_invoke + 1772
40 Mono 0x00000001058eecf0 do_runtime_invoke + 112
41 Mono 0x00000001058f12d4 mono_runtime_exec_main + 832
42 Mono 0x00000001058f0ef0 mono_runtime_run_main + 764
43 Mono 0x0000000105862c48 mono_jit_exec + 236
44 MyApp 0x000000010019a6cc xamarin_main (monotouch-main.m:487)
45 MyApp 0x000000010199c3d0 main (main.arm64.m:115)
46 libdyld.dylib 0x0000000183d9159c start + 4
Thread 1 name:
Thread 1:
0 libsystem_kernel.dylib 0x0000000183ea0e1c __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x0000000183f68814 _pthread_cond_wait + 640 (pthread_cond.c:536)
2 Mono 0x000000010594d854 thread_func + 356
3 libsystem_pthread.dylib 0x0000000183f6968c _pthread_body + 240 (pthread.c:697)
4 libsystem_pthread.dylib 0x0000000183f6959c _pthread_start + 284 (pthread.c:744)
5 libsystem_pthread.dylib 0x0000000183f66cb4 thread_start + 4
Thread 2 name:
Thread 2:
0 libsystem_kernel.dylib 0x0000000183e83260 semaphore_wait_trap + 8
1 Mono 0x00000001058b179c finalizer_thread + 200
2 Mono 0x0000000105921974 start_wrapper + 512
3 Mono 0x000000010595a28c inner_start_thread + 360
4 libsystem_pthread.dylib 0x0000000183f6968c _pthread_body + 240 (pthread.c:697)
5 libsystem_pthread.dylib 0x0000000183f6959c _pthread_start + 284 (pthread.c:744)
6 libsystem_pthread.dylib 0x0000000183f66cb4 thread_start + 4
Thread 3 name:
Thread 3:
0 libsystem_kernel.dylib 0x0000000183e83224 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x0000000183e8309c mach_msg + 72 (mach_msg.c:103)
2 CoreFoundation 0x0000000184e54e90 __CFRunLoopServiceMachPort + 192 (CFRunLoop.c:2527)
3 CoreFoundation 0x0000000184e52ae4 __CFRunLoopRun + 1060 (CFRunLoop.c:2870)
4 CoreFoundation 0x0000000184d82da4 CFRunLoopRunSpecific + 424 (CFRunLoop.c:3113)
5 Foundation 0x000000018589cd74 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304 (NSRunLoop.m:367)
6 Foundation 0x00000001858bdb44 -[NSRunLoop(NSRunLoop) runUntilDate:] + 96 (NSRunLoop.m:411)
7 UIKit 0x000000018b9c76a8 -[UIEventFetcher threadMain] + 136 (UIEventFetcher.m:313)
8 Foundation 0x000000018599a2d8 __NSThread__start__ + 996 (NSThread.m:1163)
9 libsystem_pthread.dylib 0x0000000183f6968c _pthread_body + 240 (pthread.c:697)
10 libsystem_pthread.dylib 0x0000000183f6959c _pthread_start + 284 (pthread.c:744)
11 libsystem_pthread.dylib 0x0000000183f66cb4 thread_start + 4
Thread 6 name:
Thread 6:
0 libsystem_kernel.dylib 0x0000000183ea0e1c __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x0000000183f68814 _pthread_cond_wait + 640 (pthread_cond.c:536)
2 Mono 0x00000001058260d0 mono_os_cond_timedwait + 168
3 Mono 0x0000000105825dc8 _wapi_handle_timedwait_signal_handle + 452
4 Mono 0x000000010596c55c wapi_WaitForSingleObjectEx + 632
5 Mono 0x000000010591d078 mono_wait_uninterrupted + 148
6 Mono 0x000000010591d308 ves_icall_System_Threading_WaitHandle_WaitOne_internal + 108
7 MyApp 0x0000000100f7af28 wrapper_managed_to_native_System_Threading_WaitHandle_WaitOne_internal_intptr_int + 104
8 MyApp 0x0000000100e8392c mscorlib_System_Threading_WaitHandle_WaitOneNative_System_Runtime_InteropServices_SafeHandle_uint_bool_bool (WaitHandle.cs:102)
9 MyApp 0x0000000100e837e0 mscorlib_System_Threading_WaitHandle_InternalWaitOne_System_Runtime_InteropServices_SafeHandle_long_bool_bool (waithandle.cs:257)
10 MyApp 0x0000000100e83714 mscorlib_System_Threading_WaitHandle_WaitOne_int_bool (waithandle.cs:239)
11 MyApp 0x0000000100e83790 mscorlib_System_Threading_WaitHandle_WaitOne_int (waithandle.cs:1)
12 MyApp 0x0000000100ec414c mscorlib_System_Threading_Timer_Scheduler_SchedulerThread (Timer.cs:395)
13 MyApp 0x0000000100e8194c mscorlib_System_Threading_ThreadHelper_ThreadStart_Context_object (thread.cs:72)
14 MyApp 0x0000000100e80558 mscorlib_System_Threading_ExecutionContext_RunInternal_System_Threading_ExecutionContext_System_Threading_ContextCallback_object_bool (executioncontext.cs:957)
15 MyApp 0x0000000100e802fc mscorlib_System_Threading_ExecutionContext_Run_System_Threading_ExecutionContext_System_Threading_ContextCallback_object (executioncontext.cs:893)
16 MyApp 0x0000000100e81a5c mscorlib_System_Threading_ThreadHelper_ThreadStart (thread.cs:109)
17 MyApp 0x0000000100fe5c54 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 244
18 Mono 0x000000010587e654 mono_jit_runtime_invoke + 1772
19 Mono 0x00000001058eecf0 do_runtime_invoke + 112
20 Mono 0x00000001059219f0 start_wrapper + 636
21 Mono 0x000000010595a28c inner_start_thread + 360
22 libsystem_pthread.dylib 0x0000000183f6968c _pthread_body + 240 (pthread.c:697)
23 libsystem_pthread.dylib 0x0000000183f6959c _pthread_start + 284 (pthread.c:744)
24 libsystem_pthread.dylib 0x0000000183f66cb4 thread_start + 4
Thread 8:
0 libsystem_kernel.dylib 0x0000000183ea0e1c __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x0000000183f68814 _pthread_cond_wait + 640 (pthread_cond.c:536)
2 libc++.1.dylib 0x0000000183891ac8 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 56 (condition_variable.cpp:44)
3 JavaScriptCore 0x0000000189735f94 void std::__1::condition_variable_any::wait<std::__1::unique_lock<bmalloc::Mutex> >(std::__1::unique_lock<bmalloc::Mutex>&) + 112 (condition_variable:202)
4 JavaScriptCore 0x0000000189735f08 bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>::threadRunLoop() + 168 (condition_variable:211)
5 JavaScriptCore 0x0000000189735de8 bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>::threadEntryPoint(bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>*) + 36 (AsyncTask.h:110)
6 JavaScriptCore 0x0000000189736098 void* std::__1::__thread_proxy<std::__1::tuple<void (*)(bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>*), bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>*> >(void*) + 92 (__functional_base:416)
7 libsystem_pthread.dylib 0x0000000183f6968c _pthread_body + 240 (pthread.c:697)
8 libsystem_pthread.dylib 0x0000000183f6959c _pthread_start + 284 (pthread.c:744)
9 libsystem_pthread.dylib 0x0000000183f66cb4 thread_start + 4
Thread 9 name:
Thread 9:
0 libsystem_kernel.dylib 0x0000000183e83224 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x0000000183e8309c mach_msg + 72 (mach_msg.c:103)
2 CoreFoundation 0x0000000184e54e90 __CFRunLoopServiceMachPort + 192 (CFRunLoop.c:2527)
3 CoreFoundation 0x0000000184e52ae4 __CFRunLoopRun + 1060 (CFRunLoop.c:2870)
4 CoreFoundation 0x0000000184d82da4 CFRunLoopRunSpecific + 424 (CFRunLoop.c:3113)
5 WebCore 0x0000000189a54608 RunWebThread(void*) + 456 (WebCoreThread.mm:694)
6 libsystem_pthread.dylib 0x0000000183f6968c _pthread_body + 240 (pthread.c:697)
7 libsystem_pthread.dylib 0x0000000183f6959c _pthread_start + 284 (pthread.c:744)
8 libsystem_pthread.dylib 0x0000000183f66cb4 thread_start + 4
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x000000000000001b
x4: 0x000000000000001b x5: 0x000000016fd7e450 x6: 0x0000000000000031 x7: 0xffffffffffffffec
x8: 0x0000000008000000 x9: 0x0000000004000000 x10: 0x0000000000003dd5 x11: 0x00000001ad78dc43
x12: 0x00000001ad78dc43 x13: 0x0000000000000018 x14: 0x0000000000000001 x15: 0x0000000000000881
x16: 0x0000000000000148 x17: 0x0000000000000000 x18: 0x0000000000000000 x19: 0x0000000000000006
x20: 0x00000001ab008b40 x21: 0x0000000105979cec x22: 0x0000000105979db3 x23: 0xbcbc681ea5d30086
x24: 0x000000016fd7e888 x25: 0x0000000105979d66 x26: 0x0000000123408f60 x27: 0x0000000105ea6d98
x28: 0x0000000105c01dc0 fp: 0x000000016fd7e820 lr: 0x0000000183f6b264
sp: 0x000000016fd7e800 pc: 0x0000000183ea1014 cpsr: 0x00000000
Binary Images:
0x10007c000 - 0x101a2ffff MyApp arm64 <2e4e02b1232a35f3a699732f3690815a> /var/containers/Bundle/Application/05168991-54CE-41A2-833F-14F645E2B8AD/MyApp.app/MyApp
0x105790000 - 0x1057c3fff dyld arm64 <a3339f99c2ea39d8beb70b8ff2e84061> /usr/lib/dyld
0x105818000 - 0x1059f3fff Mono arm64 <4d8383ffb7633ede9023910f4e550a9b> /var/containers/Bundle/Application/05168991-54CE-41A2-833F-14F645E2B8AD/MyApp.app/Frameworks/Mono.framework/Mono
0x183888000 - 0x183889fff libSystem.B.dylib arm64
EOF

Unable to understand Apple Crash Log with -[UIApplication _cachedSystemAnimationFenceCreatingIfNecessary:]

I'm unable to understand this crash log from Apple. I have been a few times rejected because of this. They are complaining it's occurred on ipad running latest software 10.3.1. When we double check with on ipad simulator, it's running without crashes.
Last Exception Backtrace:
0 CoreFoundation 0x1848b2fd8 __exceptionPreprocess + 124
1 libobjc.A.dylib 0x183314538 objc_exception_throw + 56
2 CoreFoundation 0x1848b2eac +[NSException raise:format:arguments:] + 104
3 Foundation 0x18534a710 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 112
4 UIKit 0x18ac57454 -[UIApplication _cachedSystemAnimationFenceCreatingIfNecessary:] + 196
5 UIKit 0x18ac57514 -[UIApplication _systemAnimationFenceCreatingIfNecessary:] + 24
6 UIKit 0x18acb07a0 +[UIWindow _synchronizedDrawingFence] + 116
7 UIKit 0x18ae6e150 +[_UIKeyboardChangedInformation informationForKeyboardUp:withIAV:] + 104
8 UIKit 0x18b1678d4 -[_UIRemoteKeyboards prepareToMoveKeyboard:withIAV:showing:forScreen:] + 464
9 UIKit 0x18aa9fc04 -[UIPeripheralHost(UIKitInternal) setInputViews:animationStyle:] + 820
10 UIKit 0x18aabccf4 -[UIPeripheralHost(UIKitInternal) _restoreInputViewsWithId:animated:] + 584
11 UIKit 0x18ad4fd64 -[UIViewController _restoreInputViewsForPresentation] + 280
12 UIKit 0x18ad2ae3c -[UIPresentationController runTransitionForCurrentState] + 1560
13 UIKit 0x18ad290f8 -[UIPresentationController _dismissWithAnimationController:interactionController:target:didEndSelector:] + 764
14 UIKit 0x18ad4f8c0 -[UIViewController _dismissViewControllerWithAnimationController:interactionController:completion:] + 464
15 UIKit 0x18ab04cd4 -[UIViewController _dismissViewControllerWithTransition:from:completion:] + 600
16 UIKit 0x18aaacb6c -[UIViewController dismissViewControllerWithTransition:completion:] + 1144
17 UIKit 0x18aaac94c -[UIViewController dismissViewControllerWithTransition:completion:] + 600
18 UIKit 0x18ad4eb68 -[UIViewController _performCoordinatedPresentOrDismiss:animated:] + 524
19 UIKit 0x18aaac6c0 -[UIViewController dismissViewControllerAnimated:completion:] + 152
20 newapp 0x100115628 0x1000b0000 + 415272
21 newapp 0x1001159e8 0x1000b0000 + 416232
22 CFNetwork 0x184ebc1fc __75-[__NSURLSessionLocal taskForClass:request:uploadFile:bodyData:completion:]_block_invoke + 32
23 CFNetwork 0x184ed3ef8 __49-[__NSCFLocalSessionTask _task_onqueue_didFinish]_block_invoke + 148
24 Foundation 0x185381804 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 16
25 Foundation 0x1852c6760 -[NSBlockOperation main] + 96
26 Foundation 0x1852b6b18 -[__NSOperationInternal _start:] + 612
27 Foundation 0x185383ba0 __NSOQSchedule_f + 228
28 libdispatch.dylib 0x18376a9a0 _dispatch_client_callout + 16
29 libdispatch.dylib 0x183778ad4 _dispatch_queue_serial_drain + 928
30 libdispatch.dylib 0x18376e2cc _dispatch_queue_invoke + 884
31 libdispatch.dylib 0x18377aa50 _dispatch_root_queue_drain + 540
32 libdispatch.dylib 0x18377a7d0 _dispatch_worker_thread3 + 124
33 libsystem_pthread.dylib 0x1839731d0 _pthread_wqthread + 1096
34 libsystem_pthread.dylib 0x183972d7c start_wqthread + 4
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libsystem_kernel.dylib 0x000000018388f224 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x000000018388f09c mach_msg + 72
2 CoreFoundation 0x0000000184860e88 __CFRunLoopServiceMachPort + 192
3 CoreFoundation 0x000000018485eadc __CFRunLoopRun + 1060
4 CoreFoundation 0x000000018478ed94 CFRunLoopRunSpecific + 424
5 GraphicsServices 0x00000001861f8074 GSEventRunModal + 100
6 UIKit 0x000000018aa40130 UIApplicationMain + 208
7 newapp 0x000000010022f390 0x1000b0000 + 1569680
8 libdyld.dylib 0x000000018379d59c start + 4
Thread 1 name: com.apple.uikit.eventfetch-thread
Thread 1:
0 libsystem_kernel.dylib 0x000000018388f224 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x000000018388f09c mach_msg + 72
2 CoreFoundation 0x0000000184860e88 __CFRunLoopServiceMachPort + 192
3 CoreFoundation 0x000000018485eadc __CFRunLoopRun + 1060
4 CoreFoundation 0x000000018478ed94 CFRunLoopRunSpecific + 424
5 Foundation 0x00000001852a8d64 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304
6 Foundation 0x00000001852c9b34 -[NSRunLoop(NSRunLoop) runUntilDate:] + 96
7 UIKit 0x000000018b3ca5f8 -[UIEventFetcher threadMain] + 136
8 Foundation 0x00000001853a62c8 __NSThread__start__ + 996
9 libsystem_pthread.dylib 0x000000018397575c _pthread_body + 240
10 libsystem_pthread.dylib 0x000000018397566c _pthread_body + 0
11 libsystem_pthread.dylib 0x0000000183972d84 thread_start + 4
Thread 2:
0 libsystem_kernel.dylib 0x00000001838ada88 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000183973274 _pthread_wqthread + 1260
2 libsystem_pthread.dylib 0x0000000183972d7c start_wqthread + 4
Thread 3 name: com.apple.CFStream.LegacyThread
Thread 3:
0 libsystem_kernel.dylib 0x000000018388f224 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x000000018388f09c mach_msg + 72
2 CoreFoundation 0x0000000184860e88 __CFRunLoopServiceMachPort + 192
3 CoreFoundation 0x000000018485eadc __CFRunLoopRun + 1060
4 CoreFoundation 0x000000018478ed94 CFRunLoopRunSpecific + 424
5 CoreFoundation 0x000000018486e78c _legacyStreamRunLoop_workThread + 268
6 libsystem_pthread.dylib 0x000000018397575c _pthread_body + 240
7 libsystem_pthread.dylib 0x000000018397566c _pthread_body + 0
8 libsystem_pthread.dylib 0x0000000183972d84 thread_start + 4
Thread 4 name: com.apple.NSURLConnectionLoader
Thread 4:
0 libsystem_kernel.dylib 0x000000018388f224 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x000000018388f09c mach_msg + 72
2 CoreFoundation 0x0000000184860e88 __CFRunLoopServiceMachPort + 192
3 CoreFoundation 0x000000018485eadc __CFRunLoopRun + 1060
4 CoreFoundation 0x000000018478ed94 CFRunLoopRunSpecific + 424
5 CFNetwork 0x0000000184f9aca4 +[NSURLConnection(Loader) _resourceLoadLoop:] + 404
6 Foundation 0x00000001853a62c8 __NSThread__start__ + 996
7 libsystem_pthread.dylib 0x000000018397575c _pthread_body + 240
8 libsystem_pthread.dylib 0x000000018397566c _pthread_body + 0
9 libsystem_pthread.dylib 0x0000000183972d84 thread_start + 4
Thread 5 name: Dispatch queue: NSOperationQueue 0x170031360 :: NSOperation 0x17024ab30 (QOS: DEFAULT)
Thread 5 Crashed:
0 libsystem_kernel.dylib 0x00000001838ad014 __pthread_kill + 8
1 libsystem_pthread.dylib 0x0000000183977334 pthread_kill + 112
2 libsystem_c.dylib 0x00000001838219c4 abort + 140
3 libc++abi.dylib 0x00000001832ed1b0 __cxa_bad_cast + 0
4 libc++abi.dylib 0x0000000183306c04 default_unexpected_handler() + 0
5 libobjc.A.dylib 0x0000000183314820 _objc_terminate() + 124
6 libc++abi.dylib 0x00000001833035d4 std::__terminate(void (*)()) + 16
7 libc++abi.dylib 0x0000000183303640 std::terminate() + 60
8 libdispatch.dylib 0x000000018376a9b4 _dispatch_client_callout + 36
9 libdispatch.dylib 0x0000000183778ad4 _dispatch_queue_serial_drain + 928
10 libdispatch.dylib 0x000000018376e2cc _dispatch_queue_invoke + 884
11 libdispatch.dylib 0x000000018377aa50 _dispatch_root_queue_drain + 540
12 libdispatch.dylib 0x000000018377a7d0 _dispatch_worker_thread3 + 124
13 libsystem_pthread.dylib 0x00000001839731d0 _pthread_wqthread + 1096
14 libsystem_pthread.dylib 0x0000000183972d7c start_wqthread + 4
The log clearly shows the problem happens on a background thread. You need to perform UI actions on the main queue. Use DispatchQueue.main.async to dismiss the view controller.