基于Xamarin的iOS应用程序因发行版本中的以下崩溃日志而崩溃。在多个(iPad Air,iPhoneX,iPhone 6s)设备中观察到此问题。无法以调试或Beta模式复制此问题。
应用程序在启动应用程序日志文件之前崩溃。无法了解崩溃日志。您能帮我确定崩溃日志和原因吗?
AppVariant:1:10
代码类型:ARM-64(本机)
角色:非用户界面
家长程序:启动了[1]
日期/时间:2018-12-09 02:35:13.9818 -0500
启动时间:2018-12-09 02:35:10.8014 -0500
操作系统版本:iPhone OS 12.1(16B92)
基带版本:5.21.00
报告版本:104
异常类型:EXC_CRASH(SIGABRT)
异常代码:0x0000000000000000,0x0000000000000000
异常说明:EXC_CORPSE_NOTIFY
由线程触发:0
线程0名称:
线程0崩溃:
0 libsystem_kernel.dylib 0x00000001bd76b104 __pthread_kill + 8
1 libsystem_pthread.dylib 0x00000001bd7e6070 pthread_kill $ VARIANT $ mp + 380(pthread.c:1492)
2 libsystem_c.dylib 0x00000001bd6c2d78中止+ 140(abort.c:94)
3 MyApp 0x0000000103ec9ca8 0x1025dc000 + 26139816 xamarin_printf(在MyApp中)(runtime.m:2335)
4 MyApp 0x0000000103dcc464 0x1025dc000 + 25101412 mono_invoke_unhandled_exception_hook(在MyApp中)(exception.c:1119)
5 MyApp 0x0000000103d83628 0x1025dc000 + 24802856 mono_handle_exception_internal(在MyApp中)(mini-exceptions.c:2002)
6 MyApp 0x0000000103d823c0 0x1025dc000 + 24798144 mono_handle_exception(在MyApp中)(mini-exceptions.c:2288)
7 MyApp 0x0000000103d7a084 0x1025dc000 + 24764548 mono_arm_throw_exception(在MyApp中)(exceptions-arm64.c:411)
8 MyApp 0x0000000102d4e0c8 0x1025dc000 + 7807176 rethrow_exception(在MyApp中)+ 168
9 MyApp 0x00000001028de350 0x1025dc000 + 3154768 MyApp_Application_Main_string__(在MyApp中)(/:1)
10 MyApp 0x0000000102d1b798 0x1025dc000 + 7600024 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr(在MyApp中)+ 248
11 MyApp 0x0000000103d93968 0x1025dc000 + 24869224 mono_jit_runtime_invoke(在MyApp中)(mini-runtime.c:2777)
12 MyApp 0x0000000103e10950 0x1025dc000 + 25381200 do_runtime_invoke(在MyApp中)(object.c:2849)
13 MyApp 0x0000000103e13d54 0x1025dc000 + 25394516 do_exec_main_checked(在MyApp中)(object.c:4726)
14 MyApp 0x0000000103d7678c 0x1025dc000 + 24749964 mono_jit_exec(在MyApp中)(driver.g.c:1040)
15 MyApp 0x0000000103ed09e8 0x1025dc000 + 26167784 xamarin_main(在MyApp中)(monotouch-main.m:0)
16 MyApp 0x000000010284dbac 0x1025dc000 + 2562988 main(在MyApp中)(main.m:207)
17 libdyld.dylib
答案 0 :(得分:0)
设备日志在此分析中很有用。设备日志中包含应用程序崩溃信息。由于应用程序线程之一中的空指针,导致应用程序崩溃。