Currently one of our Xamarin.iOS apps is having an issue.
On app startup the app seems to crash for a small number of our customers.
We have AppCenter integrated for crash reporting but the crash doesn't appear there. We have however received crash logs through the XCode organizer.
The (symbolicated) crash log is as follows:
Hardware Model: iPhone8,1
Process: TimeTell.iOSApp [363]
Path: /private/var/containers/Bundle/Application/71F4608F-D309-4B66-B914-488AE6BA423D/TimeTell.iOSApp.app/TimeTell.iOSApp
Identifier: com.timetellbv.TimeTellApp8
Version: 808000015 (8.8.0)
AppStoreTools: 10E121a
AppVariant: 1:iPhone8,1:9
Code Type: ARM-64 (Native)
Role: Non UI
Parent Process: launchd [1]
Coalition: com.timetellbv.TimeTellApp8 [460]
Date/Time: 2019-04-02 15:08:02.4421 +0200
Launch Time: 2019-04-02 15:08:01.7698 +0200
OS Version: iPhone OS 12.2 (16E227)
Baseband Version: 5.55.00
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGABRT)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000
VM Region Info: 0 is not in any region. Bytes before following region: 4330946560
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 0000000102250000-0000000102254000 [ 16K] r-x/r-x SM=COW ...meTell.iOSApp
Triggered by Thread: 0
Application Specific Information:
abort() called
Thread 0 name: tid_303 Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x000000019662e0dc 0x19660b000 + 143580
1 libsystem_pthread.dylib 0x00000001966a7094 0x1966a5000 + 8340
2 libsystem_c.dylib 0x0000000196587ea8 0x19652d000 + 372392
3 TimeTell.iOSApp 0x00000001041a5eb8 xamarin_printf + 32857784 (runtime.m:2458)
4 TimeTell.iOSApp 0x0000000104095fcc mono_invoke_unhandled_exception_hook + 31743948 (exception.c:1247)
5 TimeTell.iOSApp 0x000000010404a4b4 mono_handle_exception_internal + 31433908 (mini-exceptions.c:2336)
6 TimeTell.iOSApp 0x000000010404af28 mono_resume_unwind + 31436584 (mini-exceptions.c:3219)
7 TimeTell.iOSApp 0x000000010403fef0 mono_arm_resume_unwind + 31391472 (exceptions-arm64.c:432)
8 TimeTell.iOSApp 0x0000000102908908 llvm_resume_unwind_trampoline + 168
9 TimeTell.iOSApp 0x0000000102bf9ea8 Xamarin_iOS_Foundation_NSAutoreleasePool_get_ClassHandle + 10133160 (NSAutoreleasePool.cs:1)
10 TimeTell.iOSApp 0x00000001028e40d8 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 248
11 TimeTell.iOSApp 0x000000010405b940 mono_jit_runtime_invoke + 31504704 (mini-runtime.c:3051)
12 TimeTell.iOSApp 0x00000001040df9c4 mono_runtime_invoke_checked + 32045508 (object.c:2942)
13 TimeTell.iOSApp 0x00000001040e32dc mono_runtime_invoke + 32060124 (object.c:2996)
14 TimeTell.iOSApp 0x00000001026b930c native_to_managed_trampoline_4(objc_object*, objc_selector*, _MonoMethod**, unsigned int) + 4625164 (registrar.m:154)
15 TimeTell.iOSApp 0x00000001026ba3fc -[__MonoMac_NSAsyncSynchronizationContextDispatcher xamarinApplySelector] + 4629500 (registrar.m:10802)
16 Foundation 0x00000001975168d4 0x1973e2000 + 1263828
17 CoreFoundation 0x0000000196a222bc 0x196978000 + 697020
18 CoreFoundation 0x0000000196a2223c 0x196978000 + 696892
19 CoreFoundation 0x0000000196a21b74 0x196978000 + 695156
20 CoreFoundation 0x0000000196a1ca60 0x196978000 + 674400
21 CoreFoundation 0x0000000196a1c354 0x196978000 + 672596
22 GraphicsServices 0x0000000198c1c79c 0x198c12000 + 42908
23 UIKitCore 0x00000001c2e8fb68 0x1c25d5000 + 9153384
24 TimeTell.iOSApp 0x0000000102b940a8 wrapper_managed_to_native_UIKit_UIApplication_UIApplicationMain_int_string___intptr_intptr + 328
25 TimeTell.iOSApp 0x0000000102bd7068 Xamarin_iOS_UIKit_UIApplication_Main_string___string_string + 9990248 (UIApplication.cs:64)
26 TimeTell.iOSApp 0x0000000102759128 TimeTell_iOSApp_TimeTell_iOSApp_Application_Main_string__ + 5280040 (C:\Users\DevBuild.TIMETELLBV\Desktop\TimeTellApp.Source\TimeTellApp.iOS\Main.cs:17)
27 TimeTell.iOSApp 0x00000001028e40d8 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 248
28 TimeTell.iOSApp 0x000000010405b940 mono_jit_runtime_invoke + 31504704 (mini-runtime.c:3051)
29 TimeTell.iOSApp 0x00000001040df9c4 mono_runtime_invoke_checked + 32045508 (object.c:2942)
30 TimeTell.iOSApp 0x00000001040e58a8 mono_runtime_exec_main_checked + 32069800 (object.c:0)
31 TimeTell.iOSApp 0x000000010403be18 mono_jit_exec + 31374872 (driver.g.c:1211)
32 TimeTell.iOSApp 0x00000001041acedc xamarin_main + 32886492 (monotouch-main.m:0)
33 TimeTell.iOSApp 0x00000001026f8cfc main + 4885756 (main.m:140)
34 libdyld.dylib 0x00000001964e28e0 0x1964e1000 + 6368
I can't figure out what the source of this issue might be. It works fine on all our test devices and a lot of our customers.