Xamarin iOS crash - xamarin

I have submitted my app to apple for review and they are reporting this crash at startup - i do not see this in both the simulator and my real device, could anyone shed any light on what could be causing it.
I have symobilcated the crash, but parts still appear missing :
{"app_name":"SSNC.Mobile.DI.iOS","timestamp":"2020-06-04 14:07:54.00 -0700","app_version":"1.0.8","slice_uuid":"ecc0205f-d4d6-33d8-91db-92796b30d087","adam_id":1514389694,"build_version":"1.0.8","bundleID":"SSNC.Mobile.DI","share_with_app_devs":0,"is_first_party":0,"bug_type":"109","os_version":"iPhone OS 13.5.1 (17F80)","incident_id":"BC5899E0-471E-42E3-9D5B-F38B6B94607C","name":"SSNC.Mobile.DI.iOS"}
Incident Identifier: BC5899E0-471E-42E3-9D5B-F38B6B94607C
CrashReporter Key: 733ab9cd5376806dbd8128fcdf7f1f1928a4a9f6
Hardware Model: iPhone11,8
Process: SSNC.Mobile.DI.iOS [393]
Path: /private/var/containers/Bundle/Application/F2D03BD8-E209-4094-A1AA-CD5BF63632A7/SSNC.Mobile.DI.iOS.app/SSNC.Mobile.DI.iOS
Identifier: SSNC.Mobile.DI
Version: 1.0.8 (1.0.8)
AppStoreTools: 11E608a
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: SSNC.Mobile.DI [536]
Date/Time: 2020-06-04 14:07:54.0902 -0700
Launch Time: 2020-06-04 14:07:52.8741 -0700
OS Version: iPhone OS 13.5.1 (17F80)
Release Type: User
Baseband Version: 2.06.00
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
Thread 0 name: tid_407 Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x000000019736edf0 __pthread_kill + 8
1 libsystem_pthread.dylib 0x000000019728e930 pthread_kill + 228
2 libsystem_c.dylib 0x000000019721cc24 __abort + 116
3 libsystem_c.dylib 0x000000019721cbb0 __abort + 0
4 SSNC.Mobile.DI.iOS 0x00000001052cfcf0 xamarin_release_block_on_main_thread + 40252
5 SSNC.Mobile.DI.iOS 0x00000001052c4f2c xamarin_get_block_descriptor + 7812
6 SSNC.Mobile.DI.iOS 0x000000010518a938 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 42592568 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 40959580
7 SSNC.Mobile.DI.iOS 0x000000010511f970 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 42154352 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 40521364
8 SSNC.Mobile.DI.iOS 0x000000010511e358 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 42148696 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 40515708
9 SSNC.Mobile.DI.iOS 0x0000000105114138 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 42107192 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 40474204
10 SSNC.Mobile.DI.iOS 0x0000000102e949ec plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 5933548 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 4300560
11 SSNC.Mobile.DI.iOS 0x0000000102c2714c plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 3387724 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 1754736
12 SSNC.Mobile.DI.iOS 0x0000000102c2ded4 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 3415764 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 1782776
13 SSNC.Mobile.DI.iOS 0x0000000102f6bb2c plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 6814508 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 5181520
14 SSNC.Mobile.DI.iOS 0x0000000102e542f0 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 5669616 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 4036628
15 SSNC.Mobile.DI.iOS 0x0000000105131570 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 42227056 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 40594068
16 SSNC.Mobile.DI.iOS 0x00000001051eca4c plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 42994252 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 41361264
17 SSNC.Mobile.DI.iOS 0x00000001051f02b0 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 43008688 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 41375700
18 SSNC.Mobile.DI.iOS 0x0000000102a7f818 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 1652760 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 19772
19 SSNC.Mobile.DI.iOS 0x0000000102a805ec plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 1656300 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 23312
20 Foundation 0x0000000197980d6c __NSThreadPerformPerform + 188
21 CoreFoundation 0x0000000197503af4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
22 CoreFoundation 0x0000000197503a48 __CFRunLoopDoSource0 + 84
23 CoreFoundation 0x00000001975031fc __CFRunLoopDoSources0 + 296
24 CoreFoundation 0x00000001974fdf38 __CFRunLoopRun + 796
25 CoreFoundation 0x00000001974fd8f4 CFRunLoopRunSpecific + 480
26 GraphicsServices 0x00000001a1914604 GSEventRunModal + 164
27 UIKitCore 0x000000019b6d1358 UIApplicationMain + 1944
28 SSNC.Mobile.DI.iOS 0x0000000102fc4748 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 7178056 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 5545068
29 SSNC.Mobile.DI.iOS 0x0000000102f1b830 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 6486064 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 4853076
30 SSNC.Mobile.DI.iOS 0x0000000102f1b7b4 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 6485940 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 4852952
31 SSNC.Mobile.DI.iOS 0x0000000102ab4de4 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 1871332 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 238344
32 SSNC.Mobile.DI.iOS 0x0000000102e542f0 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 5669616 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 4036628
33 SSNC.Mobile.DI.iOS 0x0000000105131570 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 42227056 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 40594068
34 SSNC.Mobile.DI.iOS 0x00000001051eca4c plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 42994252 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 41361264
35 SSNC.Mobile.DI.iOS 0x00000001051f2ca4 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 43019428 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 41386440
36 SSNC.Mobile.DI.iOS 0x000000010510fb28 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 42089256 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 40456268
37 SSNC.Mobile.DI.iOS 0x00000001052cc92c xamarin_release_block_on_main_thread + 27000
38 SSNC.Mobile.DI.iOS 0x0000000102ab4d44 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 1871172 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 238184
39 libdyld.dylib 0x00000001973792dc start + 4
Thread 1:
0 libsystem_pthread.dylib 0x00000001972959c0 start_wqthread + 0
Thread 2:
0 libsystem_pthread.dylib 0x00000001972959c0 start_wqthread + 0
Thread 3:
0 libsystem_pthread.dylib 0x00000001972959c0 start_wqthread + 0
Thread 4:
0 libsystem_pthread.dylib 0x00000001972959c0 start_wqthread + 0
Thread 5 name: SGen worker
Thread 5:
0 libsystem_kernel.dylib 0x000000019736ebc0 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x00000001972911e4 _pthread_cond_wait + 680
2 SSNC.Mobile.DI.iOS 0x000000010528fdfc plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 43662844 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 42029856
3 libsystem_pthread.dylib 0x000000019728d8fc _pthread_start + 168
4 libsystem_pthread.dylib 0x00000001972959d4 thread_start + 8
Thread 6 name: Finalizer
Thread 6:
0 libsystem_kernel.dylib 0x000000019734c7c0 semaphore_wait_trap + 8
1 SSNC.Mobile.DI.iOS 0x000000010518dcbc plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 42605756 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 40972768
2 SSNC.Mobile.DI.iOS 0x000000010523aa1c plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 43313692 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 41680704
3 SSNC.Mobile.DI.iOS 0x000000010523a8a0 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 43313312 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 41680324
4 libsystem_pthread.dylib 0x000000019728d8fc _pthread_start + 168
5 libsystem_pthread.dylib 0x00000001972959d4 thread_start + 8
Thread 8 name: Timer-Scheduler
Thread 8:
0 libsystem_kernel.dylib 0x000000019736ebc0 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x00000001972911e4 _pthread_cond_wait + 680
2 SSNC.Mobile.DI.iOS 0x000000010529f734 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 43726644 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 42093656
3 SSNC.Mobile.DI.iOS 0x0000000105246094 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 43360404 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 41727416
4 SSNC.Mobile.DI.iOS 0x0000000105245f6c plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 43360108 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 41727120
5 SSNC.Mobile.DI.iOS 0x0000000105246190 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 43360656 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 41727668
6 SSNC.Mobile.DI.iOS 0x0000000105234f78 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 43290488 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 41657500
7 SSNC.Mobile.DI.iOS 0x00000001051af320 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 42742560 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 41109572
8 SSNC.Mobile.DI.iOS 0x0000000102bba878 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 2943096 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 1310108
9 SSNC.Mobile.DI.iOS 0x0000000102bba3e4 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 2941924 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 1308936
10 SSNC.Mobile.DI.iOS 0x0000000102bb9eec plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 2940652 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 1307664
11 SSNC.Mobile.DI.iOS 0x0000000102bb9e9c plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 2940572 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 1307584
12 SSNC.Mobile.DI.iOS 0x0000000102bb9cbc plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 2940092 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 1307104
13 SSNC.Mobile.DI.iOS 0x0000000102bb9e08 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 2940424 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 1307436
14 SSNC.Mobile.DI.iOS 0x0000000102bbd304 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 2953988 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 1321000
15 SSNC.Mobile.DI.iOS 0x0000000102bb3d5c plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 2915676 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 1282688
16 SSNC.Mobile.DI.iOS 0x0000000102bb160c plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 2905612 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 1272624
17 SSNC.Mobile.DI.iOS 0x0000000102bb140c plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 2905100 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 1272112
18 SSNC.Mobile.DI.iOS 0x0000000102bb1390 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 2904976 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 1271988
19 SSNC.Mobile.DI.iOS 0x0000000102bb3ec4 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 2916036 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 1283048
20 SSNC.Mobile.DI.iOS 0x0000000102e542f0 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 5669616 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 4036628
21 SSNC.Mobile.DI.iOS 0x0000000105131570 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 42227056 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 40594068
22 SSNC.Mobile.DI.iOS 0x00000001051eca4c plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 42994252 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 41361264
23 SSNC.Mobile.DI.iOS 0x00000001051f2338 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 43017016 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 41384028
24 SSNC.Mobile.DI.iOS 0x000000010523ab14 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 43313940 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 41680952
25 SSNC.Mobile.DI.iOS 0x000000010523a8a0 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 43313312 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 41680324
26 libsystem_pthread.dylib 0x000000019728d8fc _pthread_start + 168
27 libsystem_pthread.dylib 0x00000001972959d4 thread_start + 8
Thread 9 name: tid_9e03
Thread 9:
0 libsystem_kernel.dylib 0x000000019736ebc0 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x00000001972911e4 _pthread_cond_wait + 680
2 SSNC.Mobile.DI.iOS 0x000000010529f734 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 43726644 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 42093656
3 SSNC.Mobile.DI.iOS 0x00000001052a8414 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 43762708 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 42129720
4 SSNC.Mobile.DI.iOS 0x000000010522ec0c plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 43265036 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 41632048
5 SSNC.Mobile.DI.iOS 0x000000010523aa1c plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 43313692 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 41680704
6 SSNC.Mobile.DI.iOS 0x000000010523a8a0 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 43313312 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 41680324
7 libsystem_pthread.dylib 0x000000019728d8fc _pthread_start + 168
8 libsystem_pthread.dylib 0x00000001972959d4 thread_start + 8
Thread 10 name: Thread Pool Worker
Thread 10:
0 libsystem_kernel.dylib 0x000000019736ebc0 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x00000001972911e4 _pthread_cond_wait + 680
2 SSNC.Mobile.DI.iOS 0x000000010529f75c plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 43726684 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 42093696
3 SSNC.Mobile.DI.iOS 0x0000000105246094 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 43360404 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 41727416
4 SSNC.Mobile.DI.iOS 0x0000000105245f6c plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 43360108 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 41727120
5 SSNC.Mobile.DI.iOS 0x00000001051deda0 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 42937760 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 41304772
6 SSNC.Mobile.DI.iOS 0x00000001051ad904 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 42735876 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 41102888
7 SSNC.Mobile.DI.iOS 0x0000000102bb3448 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 2913352 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 1280364
8 SSNC.Mobile.DI.iOS 0x0000000102bb3500 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 2913536 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 1280548
9 SSNC.Mobile.DI.iOS 0x0000000102bb2f7c plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 2912124 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 1279136
10 SSNC.Mobile.DI.iOS 0x0000000102bb2fd0 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 2912208 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 1279220
11 SSNC.Mobile.DI.iOS 0x0000000102badb28 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 2890536 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 1257548
12 SSNC.Mobile.DI.iOS 0x0000000102bad88c plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 2889868 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 1256880
13 SSNC.Mobile.DI.iOS 0x000000010312b0e0 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 8646880 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 7013892
14 SSNC.Mobile.DI.iOS 0x000000010312aed8 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 8646360 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 7013372
15 SSNC.Mobile.DI.iOS 0x000000010312ae0c plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 8646156 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 7013168
16 SSNC.Mobile.DI.iOS 0x0000000104f3f988 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 40188296 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 38555308
17 SSNC.Mobile.DI.iOS 0x0000000104f7e290 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 40444560 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 38811572
18 SSNC.Mobile.DI.iOS 0x0000000104f3f2a0 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 40186528 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 38553540
19 SSNC.Mobile.DI.iOS 0x0000000102bc2778 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 2975608 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 1342620
20 SSNC.Mobile.DI.iOS 0x0000000102bc7f34 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 2998068 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 1365080
21 SSNC.Mobile.DI.iOS 0x0000000102bc81a8 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 2998696 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 1365708
22 SSNC.Mobile.DI.iOS 0x0000000102bb160c plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 2905612 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 1272624
23 SSNC.Mobile.DI.iOS 0x0000000102bb140c plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 2905100 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 1272112
24 SSNC.Mobile.DI.iOS 0x0000000102bcc488 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 3015816 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 1382828
25 SSNC.Mobile.DI.iOS 0x0000000102bc80c0 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 2998464 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 1365476
26 SSNC.Mobile.DI.iOS 0x0000000102bc7f98 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 2998168 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 1365180
27 SSNC.Mobile.DI.iOS 0x0000000102bb6b38 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 2927416 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 1294428
28 SSNC.Mobile.DI.iOS 0x0000000102ef7900 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 6338816 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 4705828
29 SSNC.Mobile.DI.iOS 0x0000000102bb8bf8 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 2935800 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 1302812
30 SSNC.Mobile.DI.iOS 0x0000000102e542f0 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 5669616 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 4036628
31 SSNC.Mobile.DI.iOS 0x0000000105131570 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 42227056 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 40594068
32 SSNC.Mobile.DI.iOS 0x00000001051ee368 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 43000680 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 41367692
33 SSNC.Mobile.DI.iOS 0x00000001052319a8 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 43276712 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 41643724
34 SSNC.Mobile.DI.iOS 0x000000010522f284 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 43266692 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 41633704
35 SSNC.Mobile.DI.iOS 0x000000010523aa1c plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 43313692 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 41680704
36 SSNC.Mobile.DI.iOS 0x000000010523a8a0 plcrash::MS::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next+ 43313312 (unsigned int*, plcrash::MS::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 41680324
37 libsystem_pthread.dylib 0x000000019728d8fc _pthread_start + 168
38 libsystem_pthread.dylib 0x00000001972959d4 thread_start + 8
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000
x4: 0x0000000000000000 x5: 0x0000000000989680 x6: 0x0000000000000039 x7: 0x0000000000000600
x8: 0x00000000000005b9 x9: 0x29d6874f1ce81ffa x10: 0x00000000000003e8 x11: 0x0000000000bf3d01
x12: 0x0000000106d80000 x13: 0x0000000000004009 x14: 0x0000000106d80000 x15: 0x0000000000003fff
x16: 0x0000000000000148 x17: 0x00000001d930e808 x18: 0x0000000000000000 x19: 0x0000000000000006
x20: 0x0000000000000407 x21: 0x0000000105b05960 x22: 0x0000000105d071a0 x23: 0x0000000106829f50
x24: 0x000000010e130940 x25: 0x000000010788ace0 x26: 0x0000000106828600 x27: 0x0000000000000009
x28: 0x0000000102e542ef fp: 0x000000016d5104b0 lr: 0x000000019728e930
sp: 0x000000016d510490 pc: 0x000000019736edf0 cpsr: 0x40000000
esr: 0x56000080 Address size fault

Related

LLDB crashes whenever Breakpoints are added

I have a project in Xcode 10.1 which contains both Objective C and Swift code.Whenever I apply breakpoints in my swift code the LLDB crashes, which eventually end the debugging session.I am completely stuck in this scenario as I cannot debug my code.I have tried moving the breakpoints to other lines(suggested by some other posts), but its not working.
Is there any workaround on this?
Message from debugger: The LLDB RPC server has crashed. The crash log is located in ~/Library/Logs/DiagnosticReports and has a prefix 'lldb-rpc-server'.
Crash summary:
Thread 11 Crashed:: RPC packet thread for client tid 0028defc (2678524)
0 libsystem_kernel.dylib 0x00007fff6d6a223e __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff6d758c1c pthread_kill + 285
2 libsystem_c.dylib 0x00007fff6d60b1c9 abort + 127
3 com.apple.LLDB.framework 0x0000000106bd2443 swift::ModuleFile::fatal(llvm::Error) + 835
4 com.apple.LLDB.framework 0x0000000106be3753 swift::ModuleFile::getDeclCheckedImpl(llvm::PointerEmbeddedInt<unsigned int, 31>, llvm::Optional<swift::DeclContext*>) + 30515
5 com.apple.LLDB.framework 0x0000000106bd321e swift::ModuleFile::getDeclChecked(llvm::PointerEmbeddedInt<unsigned int, 31>, llvm::Optional<swift::DeclContext*>) + 78
6 com.apple.LLDB.framework 0x0000000106c0a707 swift::ModuleFile::loadExtensions(swift::NominalTypeDecl*) + 1911
7 com.apple.LLDB.framework 0x0000000106c13011 swift::SerializedModuleLoader::loadExtensions(swift::NominalTypeDecl*, unsigned int) + 49
8 com.apple.LLDB.framework 0x00000001062246bf swift::ASTContext::loadExtensions(swift::NominalTypeDecl*, unsigned int) + 63
9 com.apple.LLDB.framework 0x00000001062a6272 swift::NominalTypeDecl::getExtensions() + 82
10 com.apple.LLDB.framework 0x000000010631681e populateLookupTableEntryFromExtensions(swift::ASTContext&, swift::MemberLookupTable&, swift::NominalTypeDecl*, swift::DeclName, bool) + 46
11 com.apple.LLDB.framework 0x0000000106316e98 swift::NominalTypeDecl::lookupDirect(swift::DeclName, bool) + 616
12 com.apple.LLDB.framework 0x0000000106301a66 swift::ModuleDecl::lookupMember(llvm::SmallVectorImpl<swift::ValueDecl*>&, swift::DeclContext*, swift::DeclName, swift::Identifier) const + 86
13 com.apple.LLDB.framework 0x000000010643e5a1 FindNamedDecls(swift::ASTContext*, swift::DeclBaseName const&, VisitNodeResult&, llvm::Optional<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >) + 1313
14 com.apple.LLDB.framework 0x0000000106437cdf VisitNode(swift::ASTContext*, swift::Demangle::Node*, VisitNodeResult&) + 2703
15 com.apple.LLDB.framework 0x0000000106439e25 VisitNode(swift::ASTContext*, swift::Demangle::Node*, VisitNodeResult&) + 11221
16 com.apple.LLDB.framework 0x000000010643d94c swift::ide::getTypeFromMangledSymbolname(swift::ASTContext&, llvm::StringRef, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) + 204
17 com.apple.LLDB.framework 0x000000010705e2e7 lldb_private::SwiftASTContext::GetTypeFromMangledTypename(char const*, lldb_private::Status&) + 535
18 com.apple.LLDB.framework 0x0000000106db6241 DWARFASTParserSwift::ParseTypeFromDWARF(lldb_private::SymbolContext const&, DWARFDIE const&, lldb_private::Log*, bool*) + 933
19 com.apple.LLDB.framework 0x0000000106ee6a15 SymbolFileDWARF::ParseType(lldb_private::SymbolContext const&, DWARFDIE const&, bool*) + 209
20 com.apple.LLDB.framework 0x0000000106ee01fa SymbolFileDWARF::GetTypeForDIE(DWARFDIE const&, bool) + 486
21 com.apple.LLDB.framework 0x0000000106edf9ce SymbolFileDWARF::ResolveType(DWARFDIE const&, bool, bool) + 68
22 com.apple.LLDB.framework 0x0000000106edf94d SymbolFileDWARF::ResolveTypeUID(unsigned long long) + 45
23 com.apple.LLDB.framework 0x0000000106f2e87d lldb_private::Function::GetType() + 105
24 com.apple.LLDB.framework 0x0000000106f2e73c lldb_private::Function::GetStartLineSourceInfo(lldb_private::FileSpec&, unsigned int&) + 60
25 com.apple.LLDB.framework 0x0000000106c6c488 lldb_private::BreakpointResolverFileLine::FilterContexts(lldb_private::SymbolContextList&) + 262
26 com.apple.LLDB.framework 0x0000000106c6c88d lldb_private::BreakpointResolverFileLine::SearchCallback(lldb_private::SearchFilter&, lldb_private::SymbolContext&, lldb_private::Address*, bool) + 263
27 com.apple.LLDB.framework 0x0000000106d51f80 lldb_private::SearchFilter::DoModuleIteration(lldb_private::SymbolContext const&, lldb_private::Searcher&) + 346
28 com.apple.LLDB.framework 0x0000000106d51dd9 lldb_private::SearchFilter::Search(lldb_private::Searcher&) + 153
29 com.apple.LLDB.framework 0x0000000106f96b9f lldb_private::Target::AddBreakpoint(std::__1::shared_ptr<lldb_private::Breakpoint>, bool) + 203
30 com.apple.LLDB.framework 0x0000000106f97f29 lldb_private::Target::CreateBreakpoint(std::__1::shared_ptr<lldb_private::SearchFilter>&, std::__1::shared_ptr<lldb_private::BreakpointResolver>&, bool, bool, bool) + 249
31 com.apple.LLDB.framework 0x0000000106f98352 lldb_private::Target::CreateBreakpoint(lldb_private::FileSpecList const*, lldb_private::FileSpec const&, unsigned int, unsigned long long, lldb_private::LazyBool, lldb_private::LazyBool, bool, bool, lldb_private::LazyBool) + 920
32 com.apple.LLDB.framework 0x0000000103dda3d8 lldb::SBTarget::BreakpointCreateByLocation(lldb::SBFileSpec const&, unsigned int, unsigned long long, lldb::SBFileSpecList&) + 246
33 com.apple.LLDB.framework 0x0000000103dda2b0 lldb::SBTarget::BreakpointCreateByLocation(lldb::SBFileSpec const&, unsigned int, unsigned long long) + 62
34 com.apple.LLDB.framework 0x0000000103dda226 lldb::SBTarget::BreakpointCreateByLocation(char const*, unsigned int) + 64
35 lldb-rpc-server 0x0000000103af6f5d rpc_server::_ZN4lldb8SBTarget26BreakpointCreateByLocationEPKcj::HandleRPCCall(rpc_common::Connection&, rpc_common::RPCStream&, rpc_common::RPCStream&) + 179
36 lldb-rpc-server 0x0000000103b0073f rpc_common::Connection::PrivateHandleRPCPacket(rpc_common::RPCPacket&, rpc_common::RPCPacket&, bool&) + 469
37 lldb-rpc-server 0x0000000103b014e0 rpc_common::Connection::HandleRPCPacket(rpc_common::RPCPacket&) + 62
38 lldb-rpc-server 0x0000000103b04f12 Packets::ProcessPackets() + 256
39 lldb-rpc-server 0x0000000103b04d95 Packets::ReadThread() + 289
40 lldb-rpc-server 0x0000000103b04c6f Packets::RunReadThread(void*) + 9
41 libsystem_pthread.dylib 0x00007fff6d756305 _pthread_body + 126
42 libsystem_pthread.dylib 0x00007fff6d75926f _pthread_start + 70
43 libsystem_pthread.dylib 0x00007fff6d755415 thread_start + 13
Thread 11 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000700010856000 rcx: 0x00007000108534f8 rdx: 0x0000000000000000
rdi: 0x0000000000003e0b rsi: 0x0000000000000006 rbp: 0x0000700010853530 rsp: 0x00007000108534f8
r8: 0x000000000000000b r9: 0x0000000000000000 r10: 0x0000000000000000 r11: 0x0000000000000206
r12: 0x0000000000003e0b r13: 0x0000000107fd4d70 r14: 0x0000000000000006 r15: 0x000000000000002d
rip: 0x00007fff6d6a223e rfl: 0x0000000000000206 cr2: 0x00007fffa0349188
Complete crash log
The crash is happening in swift code, Objective C code is working fine. Also, it is not occasional, it is happening every time.
I have also tried clearing all Xcode caches and derived data.
I meet the same situation, hopes my solution helps you.
The reason of my Xcode LLDB crashing while adding breakpoints is that my project name (Security) is same to Apple's framework.
After switch project name to another random name, the problem solved.

Crash in protobuf after upgrading to Mojave

After upgrading to Mojave the application started to crash in XCode debugger. It does run normally as a standalone application.
The backtrace looks like the following:
frames 0-5 call for the custom new, which is not initialized, the app initializes custom memory allocator in main
frame #6: 0x00007fff53ee006f libprotobuf.dylib`wireless_diagnostics::google::protobuf::(anonymous namespace)::InitGeneratedPool() + 20
frame #7: 0x00007fff53ecdd47 libprotobuf-lite.dylib`wireless_diagnostics::google::protobuf::internal::FunctionClosure0::Run() + 17
frame #8: 0x00007fff53ecdd1b libprotobuf-lite.dylib`wireless_diagnostics::google::protobuf::GoogleOnceInitImpl(long*, wireless_diagnostics::google::protobuf::Closure*) + 73
frame #9: 0x00007fff53edffbe libprotobuf.dylib`wireless_diagnostics::google::protobuf::DescriptorPool::InternalAddGeneratedFile(void const*, int) + 78
frame #10: 0x00007fff53edfbf9 libprotobuf.dylib`wireless_diagnostics::google::protobuf::protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto() + 68
frame #11: 0x0000000117de8cc8 dyld`ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 518
frame #12: 0x0000000117de8ec6 dyld`ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 40
frame #13: 0x0000000117de40da dyld`ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 358
frame #14: 0x0000000117de406d dyld`ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 249
frame #15: 0x0000000117de406d dyld`ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 249
frame #16: 0x0000000117de406d dyld`ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 249
frame #17: 0x0000000117de406d dyld`ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 249
frame #18: 0x0000000117de406d dyld`ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 249
frame #19: 0x0000000117de3254 dyld`ImageLoader::processInitializers(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 134
frame #20: 0x0000000117de32e8 dyld`ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 74
frame #21: 0x0000000117dd2756 dyld`dyld::initializeMainExecutable() + 169
frame #22: 0x0000000117dd778f dyld`dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) + 6237
frame #23: 0x0000000117dd14f6 dyld`dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*) + 1154
frame #24: 0x0000000117dd1036 dyld`_dyld_start + 54
Xcode injects the dynamic library libViewDebuggerSupport.dylib, which causes the crash. And problematic *.dylib is
/System/Library/PrivateFrameworks/WirelessDiagnostics.framework/Versions/A/Libraries/libprotobuf.dylib
Fixing the custom allocator is the one of the options, but I want to avoid doing it.
Do you know any way to prevent XCode from injecting libViewDebuggerSupport.dylib?
It is appeared to be a bug in Mojave. Apple is working on fixing it, but they did not give me any ETA.
For now I fixed the crash by fixing my custom allocator.

Patching a Mach-O binary with LC_LOAD_DYLIB requires reboot to work

I'm patching a Mach-O binary with a dylib (by appending a LC_LOAD_DYLIB command at the end of the load commands + adjusting the mach header's sizeofcmds + incrementing its ncmds) and I would expect to be able to compile over and over the dylib itself and just rerun the binary.
However, for some reason, when doing so, after the first run, the binary crashes for various reasons (e.g EXC_CRASH or EXC_BAD_ACCESS at different addresses)
If I restart the machine, everything works perfectly fine(the lib is patched and the exec runs). I bet this has to do with some obscure (for me at least) memory mapping or caching the dynamic linker does, but my expertise in that area is slim. Any chance you guys know something about it?
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libobjc.A.dylib 0x00007fffd43d3829 map_images_nolock + 588
1 libobjc.A.dylib 0x00007fffd43d3521 map_2_images + 43
2 dyld 0x00000001164e5d4c dyld::notifyBatchPartial(dyld_image_states, bool, char const* (*)(dyld_image_states, unsigned int, dyld_image_info const*), bool, bool) + 1124
3 dyld 0x00000001164e5f25 dyld::registerObjCNotifiers(void (*)(unsigned int, char const* const*, mach_header const* const*), void (*)(char const*, mach_header const*), void (*)(char const*, mach_header const*)) + 50
4 libdyld.dylib 0x00007fffd4cbd584 _dyld_objc_notify_register + 77
5 libobjc.A.dylib 0x00007fffd43d3074 _objc_init + 115
6 libdispatch.dylib 0x00007fffd4c84c64 _os_object_init + 13
7 libdispatch.dylib 0x00007fffd4c84c13 libdispatch_init + 295
8 libSystem.B.dylib 0x00007fffd36f1a02 libSystem_initializer + 121
9 dyld 0x00000001164f6063 ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 385
10 dyld 0x00000001164f6266 ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 40
11 dyld 0x00000001164f1bf0 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 338
12 dyld 0x00000001164f1b87 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 233
13 dyld 0x00000001164f1b87 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 233
14 dyld 0x00000001164f1b87 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 233
15 dyld 0x00000001164f1b87 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 233
16 dyld 0x00000001164f1b87 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 233
17 dyld 0x00000001164f1b87 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 233
18 dyld 0x00000001164f1b87 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 233
19 dyld 0x00000001164f0c60 ImageLoader::processInitializers(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 138
20 dyld 0x00000001164f0cf5 ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 75
21 dyld 0x00000001164e32f6 dyld::initializeMainExecutable() + 195
22 dyld 0x00000001164e7459 dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) + 3789
23 dyld 0x00000001164e2249 dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*) + 470
24 dyld 0x00000001164e2036 _dyld_start + 54

Archive build is crashing on launch

Can anybody help me out, I'm getting error on app launch with archive build. Debug build is working fine.
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0xffffffffffffffe8
VM Regions Near 0xffffffffffffffe8:
--> shared memory 00007fffffe36000-00007fffffe37000 [ 4K] r-x/r-x SM=SHM
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libc++.1.dylib 0x00007fff8fb6c4f1 std::__1::basic_istream<char, std::__1::char_traits<char> >::sentry::sentry(std::__1::basic_istream<char, std::__1::char_traits<char> >&, bool) + 29
1 libc++.1.dylib 0x00007fff8fb6e437 std::__1::basic_istream<char, std::__1::char_traits<char> >::tellg() + 191
2 ??? 0x000000010d0b44ee 0 + 4513809646
3 ??? 0x000000010d0b35d8 0 + 4513805784
4 ??? 0x000000010d1213cd 0 + 4514255821
5 ??? 0x000000010d18e5c7 0 + 4514702791
6 ??? 0x000000010d159251 0 + 4514484817
7 ??? 0x000000010d18df0a 0 + 4514701066
8 ??? 0x000000010d144b1a 0 + 4514401050
9 ??? 0x000000010d0b121a 0 + 4513796634
10 ??? 0x000000010d0b66b1 0 + 4513818289
11 dyld 0x00007fff659f1d0b ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 265
12 dyld 0x00007fff659f1e98 ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 40
13 dyld 0x00007fff659ee891 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 305
14 dyld 0x00007fff659ee718 ImageLoader::processInitializers(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 138
15 dyld 0x00007fff659ee989 ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 75
16 dyld 0x00007fff659e1245 dyld::initializeMainExecutable() + 187
17 dyld 0x00007fff659e4c19 dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) + 2669
18 dyld 0x00007fff659e0276 dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*) + 512
19 dyld 0x00007fff659e0036 _dyld_start + 54
This was due to library image not loaded in release build. I didn't added library in 'Linked Binary With Libraries'.

Xcode 5.02 crash on opening any xib - Yosemite

I am running Yosemite 10.10.4 on a Macbook Air. I have a number of Xcode projects that worked successfully under Xcode 6.4. However, I downloaded Xcode 5.02 from Apple in order to use the Big Nerd Ranch book "IOS Programming" which is written for Xcode 5. Any time I open a xib file, Xcode crashes. As suggested, I opened the console app,found the crash log, and copied it.
Process: Interface Builder Cocoa Touch Tool [1370]
Path: /Applications/Xcode 2.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Overlays/Interface Builder Cocoa Touch Tool
Identifier: Interface Builder Cocoa Touch Tool
Version: 4.3 (141)
Code Type: X86 (Native)
Parent Process: Xcode [1315]
Responsible: Xcode [1315]
User ID: 501
Date/Time: 2015-08-16 17:49:29.223 -0500
OS Version: Mac OS X 10.10.4 (14E46)
Report Version: 11
Anonymous UUID: EFE6107D-FC8B-4F16-13CF-5078BA3A872D
Sleep/Wake UUID: AC708070-A2AD-4BD3-97E0-72E185438011
Time Awake Since Boot: 2400 seconds
Time Since Wake: 1400 seconds
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x94ecb69a __pthread_kill + 10
1 libsystem_pthread.dylib 0x92192f19 pthread_kill + 101
2 libsystem_sim_c.dylib 0x02a78e12 abort + 127
3 libsystem_sim_c.dylib 0x02a43900 __assert_rtn + 284
4 libsystem_override.dylib 0x0297e73c _sim_host_bootstrap_init + 264
5 libsystem_override.dylib 0x0297e7aa _sim_host_bootstrap_port + 26
6 libxpc.dylib 0x02ba4b06 _libxpc_initializer + 870
7 libSystem.B.dylib 0x98a9daae libSystem_initializer + 167
8 dyld 0x8fe710b3 ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 291
9 dyld 0x8fe71218 ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 64
10 dyld 0x8fe6d2f0 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 296
11 dyld 0x8fe6d288 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 192
12 dyld 0x8fe6d288 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 192
13 dyld 0x8fe6d288 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 192
14 dyld 0x8fe6d288 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 192
15 dyld 0x8fe6d288 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 192
16 dyld 0x8fe6d288 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 192
17 dyld 0x8fe6d288 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 192
18 dyld 0x8fe6d176 ImageLoader::processInitializers(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 120
19 dyld 0x8fe6d3e1 ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 79
20 dyld 0x8fe5f125 dyld::initializeMainExecutable() + 183
21 dyld 0x8fe62bad dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) + 2793
22 dyld 0x8fe5e232 dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*) + 428
23 dyld 0x8fe5e047 _dyld_start + 71
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00000000 ebx: 0x02980015 ecx: 0xbfffd5ac edx: 0x00000000
edi: 0xa08481d4 esi: 0x00000006 ebp: 0xbfffd5c8 esp: 0xbfffd5ac
ss: 0x00000023 efl: 0x00000206 eip: 0x94ecb69a cs: 0x0000000b
ds: 0x00000023 es: 0x00000023 fs: 0x00000000 gs: 0x0000000f
cr2: 0x02a78d93
Logical CPU: 0
Error Code: 0x00080148
Trap Number: 132

Resources