分析Xamarin.iOS崩溃报告

时间:2017-02-13 16:15:58

标签: ios xamarin.ios crash-reports

我们的Xamarin Forms应用程序在我们的一个iOS测试设备上间歇性崩溃,我很难在崩溃报告中找到任何有用的东西。

我发现的所有教程和示例似乎都引用了应用程序本身的行号和方法/属性,但我在这里看到的只是单声道库调用。

我也无法在本地重现此问题。任何人都可以提供任何指导,或建议我可以用来确定此崩溃报告实际报告内容的良好资源:

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Triggered by Thread:  0

Thread 0 name:
Thread 0 Crashed:
0   libsystem_kernel.dylib          0x0000000189423014 __pthread_kill + 8
1   libsystem_pthread.dylib         0x00000001894eb450 pthread_kill + 112 (pthread.c:1366)
2   libsystem_c.dylib               0x0000000189397400 abort + 140 (abort.c:91)
3   ESPMobileiOS                    0x00000001000476a8 mono_handle_native_sigsegv (mini-exceptions.c:2420)
4   libsystem_platform.dylib        0x00000001894e5348 _sigtramp + 52 (sigtramp.c:115)
5   libsystem_pthread.dylib         0x00000001894eb450 pthread_kill + 112 (pthread.c:1366)
6   libsystem_c.dylib               0x0000000189397400 abort + 140 (abort.c:91)
7   ESPMobileiOS                    0x000000010012fa04 print_all_exceptions(MonoObject*) (runtime.m:997)
8   ESPMobileiOS                    0x0000000100047de0 mono_invoke_unhandled_exception_hook (mini-exceptions.c:2873)
9   ESPMobileiOS                    0x000000010004733c mono_handle_exception_internal (mini-exceptions.c:1798)
10  ESPMobileiOS                    0x000000010004641c mono_handle_exception (mini-exceptions.c:2027)
11  ESPMobileiOS                    0x000000010003ef18 mono_arm_throw_exception (exceptions-arm64.c:390)
12  ESPMobileiOS                    0x00000001004de4e8 throw_exception + 168
13  ESPMobileiOS                    0x00000001002f67cc System_Runtime_ExceptionServices_ExceptionDispatchInfo_Throw + 44
14  ESPMobileiOS                    0x00000001002f4d20 System_Runtime_CompilerServices_AsyncMethodBuilderCore__ThrowAsyncm__0_object + 80
15  ESPMobileiOS                    0x000000010018cbd8 UIKit_UIKitSynchronizationContext__Postc__AnonStorey0__m__0 (UIKitSynchronizationContext.cs:24)
16  ESPMobileiOS                    0x00000001001aa3a4 Foundation_NSAsyncActionDispatcher_Apply (NSAction.cs:163)
17  ESPMobileiOS                    0x00000001004a9f94 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 244
18  ESPMobileiOS                    0x000000010005433c mono_jit_runtime_invoke (mini-runtime.c:2524)
19  ESPMobileiOS                    0x00000001000b0918 do_runtime_invoke (object.c:2809)
20  ESPMobileiOS                    0x00000001000b0874 mono_runtime_invoke (object.c:2967)
21  ESPMobileiOS                    0x00000001011a98e4 native_to_managed_trampoline_3(objc_object*, objc_selector*, _MonoMethod**, char const*, char const*) (registrar.m:103)
22  ESPMobileiOS                    0x00000001011a9fdc -[__MonoMac_NSAsyncActionDispatcher xamarinApplySelector] (registrar.m:6678)
23  Foundation                      0x000000018af69048 __NSThreadPerformPerform + 340 (NSThread.m:1247)
24  CoreFoundation                  0x000000018a402b5c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24 (CFRunLoop.c:1943)
25  CoreFoundation                  0x000000018a4024a4 __CFRunLoopDoSources0 + 524 (CFRunLoop.c:1989)
26  CoreFoundation                  0x000000018a4000a4 __CFRunLoopRun + 804 (CFRunLoop.c:2821)
27  CoreFoundation                  0x000000018a32e2b8 CFRunLoopRunSpecific + 444 (CFRunLoop.c:3113)
28  GraphicsServices                0x000000018bde2198 GSEventRunModal + 180 (GSEvent.c:2245)
29  UIKit                           0x00000001903757fc -[UIApplication _run] + 684 (UIApplication.m:2650)
30  UIKit                           0x0000000190370534 UIApplicationMain + 208 (UIApplication.m:4092)
31  ESPMobileiOS                    0x00000001001f7de4 wrapper_managed_to_native_UIKit_UIApplication_UIApplicationMain_int_string___intptr_intptr (/<unknown>:1)
32  ESPMobileiOS                    0x000000010016a55c UIKit_UIApplication_Main_string___intptr_intptr (UIApplication.cs:79)
33  ESPMobileiOS                    0x000000010016a51c UIKit_UIApplication_Main_string___string_string (UIApplication.cs:63)
34  ESPMobileiOS                    0x0000000100134214 ESPMobile_iOS_Application_Main_string__ (Main.cs:13)
35  ESPMobileiOS                    0x00000001004a9f94 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 244
36  ESPMobileiOS                    0x000000010005433c mono_jit_runtime_invoke (mini-runtime.c:2524)
37  ESPMobileiOS                    0x00000001000b0918 do_runtime_invoke (object.c:2809)
38  ESPMobileiOS                    0x00000001000b293c mono_runtime_exec_main (object.c:4585)
39  ESPMobileiOS                    0x00000001000b2558 mono_runtime_run_main (object.c:4134)
40  ESPMobileiOS                    0x000000010003e738 mono_jit_exec (driver.g.c:1048)
41  ESPMobileiOS                    0x0000000100133b68 xamarin_main (monotouch-main.m:487)
42  ESPMobileiOS                    0x00000001011cef80 main (main.arm64.m:115)
43  libdyld.dylib                   0x00000001893115b8 start + 4

1 个答案:

答案 0 :(得分:1)

我可以看到,当你尝试在ui线程上运行一些代码时会出现问题。以下行告诉我FOR UPDATE

很难确切地说出问题所在或问题在哪个文件中。也许实施见解是另一个崩溃记录器。因此,您可以获得有关崩溃的更多信息。