Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/100.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
iOS上的随机崩溃-Xamarin表单-EXC_错误访问(SIGSEGV)-KERN_无效地址在0x0000000000000000_Ios_Xamarin_Xamarin.forms_Xamarin.ios_Segmentation Fault - Fatal编程技术网

iOS上的随机崩溃-Xamarin表单-EXC_错误访问(SIGSEGV)-KERN_无效地址在0x0000000000000000

iOS上的随机崩溃-Xamarin表单-EXC_错误访问(SIGSEGV)-KERN_无效地址在0x0000000000000000,ios,xamarin,xamarin.forms,xamarin.ios,segmentation-fault,Ios,Xamarin,Xamarin.forms,Xamarin.ios,Segmentation Fault,我们开发了Xamarin Forms 4.6移动应用程序。 该应用程序在安卓系统上运行完美,但在iOS上随机崩溃。崩溃日志在同一功能中随机崩溃: {"app_name":"project.iOS","timestamp":"2020-11-26 23:04:03.00 +0530","app_version":"1.11","slice_uuid":&quo

我们开发了Xamarin Forms 4.6移动应用程序。 该应用程序在安卓系统上运行完美,但在iOS上随机崩溃。崩溃日志在同一功能中随机崩溃:

{"app_name":"project.iOS","timestamp":"2020-11-26 23:04:03.00 +0530","app_version":"1.11","slice_uuid":"de6bf2d0-d21c-352c-917f-3f5224b43fc3","adam_id":0,"build_version":"1.33","platform":2,"bundleID":"com.organization.

project
------------

","share_with_app_devs":0,"is_first_party":0,"bug_type":"109","os_version":"iPhone OS 14.2 (18B92)","incident_id":"AF32A3B5-51E9-4FA7-98A4-1B7D453C5A06","name":"project.iOS"}
Incident Identifier: AF32A3B5-51E9-4FA7-98A4-1B7D453C5A06
CrashReporter Key:   2ca42bd7d42c78e1da5f9c732e6d004a93326ce9
Hardware Model:      iPhone12,1
Process:             project.iOS [3506]
Path:                /private/var/containers/Bundle/Application/7520D1BF-048A-4D14-A16A-F6420D464EA2/project.iOS.app/project.iOS
Identifier:          com.organization.project
Version:             1.33 (1.11)
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           com.organization.project [516]


Date/Time:           2020-11-26 23:04:02.4013 +0530
Launch Time:         2020-11-26 23:03:45.6520 +0530
OS Version:          iPhone OS 14.2 (18B92)
Release Type:        User
Baseband Version:    2.02.04
Report Version:      104

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000
VM Region Info: 0 is not in any region.  Bytes before following region: 4298080256
      REGION TYPE                 START - END      [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                   1002f8000-103128000 [ 46.2M] r-x/r-x SM=COW  ...chenomics.iOS

Triggered by Thread:  22

Thread 0 name:  tid_407  Dispatch queue: com.apple.main-thread
Thread 0:
0   libsystem_kernel.dylib          0x00000001dc6e72d0 0x1dc6e3000 + 17104
1   libsystem_kernel.dylib          0x00000001dc6e6660 0x1dc6e3000 + 13920
2   CoreFoundation                  0x00000001af787c30 0x1af6e7000 + 658480
3   CoreFoundation                  0x00000001af781c14 0x1af6e7000 + 633876
4   CoreFoundation                  0x00000001af78121c 0x1af6e7000 + 631324
5   GraphicsServices                0x00000001c6800784 0x1c67fd000 + 14212
6   UIKitCore                       0x00000001b21ba200 0x1b15f3000 + 12349952
7   UIKitCore                       0x00000001b21bfa74 0x1b15f3000 + 12372596
8   project.iOS                 0x000000010178e0f8 wrapper_managed_to_native_UIKit_UIApplication_UIApplicationMain_int_string___intptr_intptr + 344
9   project.iOS                 0x00000001016be750 UIKit_UIApplication_Main_string___intptr_intptr + 20735824 (UIApplication.cs:86)
10  project.iOS                 0x00000001016be6d4 UIKit_UIApplication_Main_string___string_string + 20735700 (UIApplication.cs:66)
11  project.iOS                 0x0000000100584604 project_iOS_Application_Main_string__ + 2672132 (/<unknown>:1)
12  project.iOS                 0x00000001009552f0 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 272
13  project.iOS                 0x0000000102e06fa8 mono_jit_runtime_invoke + 45150120 (mini-runtime.c:3165)
14  project.iOS                 0x0000000102ec265c mono_runtime_invoke_checked + 45917788 (object.c:3220)
15  project.iOS                 0x0000000102ec88b4 mono_runtime_exec_main_checked + 45942964 (object.c:5284)
16  project.iOS                 0x0000000102de5560 mono_jit_exec + 45012320 (driver.c:1328)
17  project.iOS                 0x0000000102fa26ec xamarin_main + 46835436 (monotouch-main.m:0)
18  project.iOS                 0x0000000100583ac0 main + 2669248 (main.m:246)
19  libdyld.dylib                   0x00000001af4416c0 0x1af440000 + 5824

Thread 22 name:  Thread Pool Worker
Thread 22 Crashed:
0   project.iOS                 0x0000000100fbd634 Mono_Net_Security_MobileAuthenticatedStream_ProcessRead_Mono_Net_Security_BufferOffsetSize + 13391412 (MobileAuthenticatedStream.cs:732)
1   project.iOS                 0x0000000100fba6d0 Mono_Net_Security_AsyncReadRequest_Run_Mono_Net_Security_AsyncOperationStatus + 13379280 (AsyncProtocolRequest.cs:326)
2   project.iOS                 0x0000000100fb9c70 Mono_Net_Security_AsyncProtocolRequest__ProcessOperationd__24_MoveNext + 13376624 (AsyncProtocolRequest.cs:223)
3   project.iOS                 0x0000000100713bcc System_Runtime_CompilerServices_AsyncMethodBuilderCore_MoveNextRunner_InvokeMoveNext_object + 156
4   project.iOS                 0x000000010068f2bc System_Threading_ExecutionContext_RunInternal_System_Threading_ExecutionContext_System_Threading_ContextCallback_object_bool + 428
5   project.iOS                 0x000000010068f0bc System_Threading_ExecutionContext_Run_System_Threading_ExecutionContext_System_Threading_ContextCallback_object_bool + 44
6   project.iOS                 0x0000000100713a88 System_Runtime_CompilerServices_AsyncMethodBuilderCore_MoveNextRunner_Run + 200
7   project.iOS                 0x00000001006b5e70 System_Threading_Tasks_AwaitTaskContinuation_RunOrScheduleAction_System_Action_bool_System_Threading_Tasks_Task_ + 112
8   project.iOS                 0x00000001006ae928 System_Threading_Tasks_Task_FinishContinuations + 392
9   project.iOS                 0x00000001006acee0 System_Threading_Tasks_Task_FinishStageThree + 160
10  project.iOS                 0x00000001011276b8 System_Threading_Tasks_Task_1_System_Nullable_1_int_TrySetResult_System_Nullable_1_int + 14874296 (Future.cs:424)
11  project.iOS                 0x0000000101126788 System_Runtime_CompilerServices_AsyncTaskMethodBuilder_1_System_Nullable_1_int_SetResult_System_Nullable_1_int + 14870408 (AsyncMethodBuilder.cs:608)
12  project.iOS                 0x0000000100fba410 Mono_Net_Security_AsyncProtocolRequest__InnerReadd__25_MoveNext + 13378576 (AsyncProtocolRequest.cs:267)
13  project.iOS                 0x0000000100713bcc System_Runtime_CompilerServices_AsyncMethodBuilderCore_MoveNextRunner_InvokeMoveNext_object + 156
14  project.iOS                 0x000000010068f2bc System_Threading_ExecutionContext_RunInternal_System_Threading_ExecutionContext_System_Threading_ContextCallback_object_bool + 428
15  project.iOS                 0x000000010068f0bc System_Threading_ExecutionContext_Run_System_Threading_ExecutionContext_System_Threading_ContextCallback_object_bool + 44
16  project.iOS                 0x0000000100713a88 System_Runtime_CompilerServices_AsyncMethodBuilderCore_MoveNextRunner_Run + 200
17  project.iOS                 0x00000001006b5e70 System_Threading_Tasks_AwaitTaskContinuation_RunOrScheduleAction_System_Action_bool_System_Threading_Tasks_Task_ + 112
18  project.iOS                 0x00000001006ae928 System_Threading_Tasks_Task_FinishContinuations + 392
19  project.iOS                 0x00000001006acee0 System_Threading_Tasks_Task_FinishStageThree + 160
20  project.iOS                 0x0000000100920bfc System_Threading_Tasks_Task_1_TResult_INT_TrySetResult_TResult_INT + 252
21  project.iOS                 0x000000010092cb18 System_Runtime_CompilerServices_AsyncTaskMethodBuilder_1_TResult_INT_SetResult_TResult_INT + 248
22  project.iOS                 0x0000000100fbffa8 Mono_Net_Security_MobileAuthenticatedStream__InnerReadd__66_MoveNext + 13402024 (MobileAuthenticatedStream.cs:633)
23  project.iOS                 0x0000000100713bcc System_Runtime_CompilerServices_AsyncMethodBuilderCore_MoveNextRunner_InvokeMoveNext_object + 156
24  project.iOS                 0x000000010068f2bc System_Threading_ExecutionContext_RunInternal_System_Threading_ExecutionContext_System_Threading_ContextCallback_object_bool + 428
25  project.iOS                 0x000000010068f0bc System_Threading_ExecutionContext_Run_System_Threading_ExecutionContext_System_Threading_ContextCallback_object_bool + 44
26  project.iOS                 0x0000000100713a88 System_Runtime_CompilerServices_AsyncMethodBuilderCore_MoveNextRunner_Run + 200
27  project.iOS                 0x00000001006b5e70 System_Threading_Tasks_AwaitTaskContinuation_RunOrScheduleAction_System_Action_bool_System_Threading_Tasks_Task_ + 112
28  project.iOS                 0x00000001006ae928 System_Threading_Tasks_Task_FinishContinuations + 392
29  project.iOS                 0x00000001006acee0 System_Threading_Tasks_Task_FinishStageThree + 160
30  project.iOS                 0x0000000100920bfc System_Threading_Tasks_Task_1_TResult_INT_TrySetResult_TResult_INT + 252
31  project.iOS                 0x000000010099846c gsharedvt_out_trampoline + 220
32  project.iOS                 0x000000010087f074 System_Threading_Tasks_ValueTask_1_ValueTaskSourceAsTask__c_TResult_GSHAREDVT___cctorb__4_0_object + 404
33  project.iOS                 0x00000001010b2ba0 System_Net_Sockets_Socket_AwaitableSocketAsyncEventArgs_InvokeContinuation_System_Action_1_object_object_bool + 14396320 (Socket.Tasks.cs:1040)
34  project.iOS                 0x00000001010b2180 System_Net_Sockets_Socket_AwaitableSocketAsyncEventArgs_OnCompleted_System_Net_Sockets_SocketAsyncEventArgs + 14393728 (Socket.Tasks.cs:870)
35  project.iOS                 0x00000001010b8e3c System_Net_Sockets_SocketAsyncEventArgs_Complete_internal + 14421564 (SocketAsyncEventArgs.cs:189)
36  project.iOS                 0x00000001010b51f8 System_Net_Sockets_Socket__c___cctorb__366_10_System_IAsyncResult + 14406136 (Socket.cs:1542)
37  project.iOS                 0x00000001010b9d54 System_Net_Sockets_SocketAsyncResult__c__Completeb__27_0_object + 14425428 (SocketAsyncResult.cs:157)
38  project.iOS                 0x00000001006966f4 System_Threading_QueueUserWorkItemCallback_System_Threading_IThreadPoolWorkItem_ExecuteWorkItem + 52
39  project.iOS                 0x00000001006944d8 System_Threading_ThreadPoolWorkQueue_Dispatch + 488
40  project.iOS                 0x000000010167e8d0 ObjCRuntime_Runtime_ThreadPoolDispatcher_System_Func_1_bool + 20474064 (Runtime.cs:289)
41  project.iOS                 0x0000000100696598 System_Threading__ThreadPoolWaitCallback_PerformWaitCallback + 136
42  project.iOS                 0x00000001009552f0 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 272
43  project.iOS                 0x0000000102e06fa8 mono_jit_runtime_invoke + 45150120 (mini-runtime.c:3165)
44  project.iOS                 0x0000000102ec3f78 mono_runtime_try_invoke + 45924216 (object.c:3161)
45  project.iOS                 0x0000000102f075c4 worker_callback + 46200260 (threadpool.c:386)
46  project.iOS                 0x0000000102f04ea0 worker_thread + 46190240 (threadpool-worker-default.c:476)
47  project.iOS                 0x0000000102f10638 start_wrapper_internal + 46237240 (threads.c:1288)
48  project.iOS                 0x0000000102f104bc start_wrapper + 46236860 (threads.c:1309)
49  libsystem_pthread.dylib         0x00000001f8c22b40 0x1f8c21000 + 6976
50  libsystem_pthread.dylib         0x00000001f8c2b768 0x1f8c21000 + 42856

EOF

{“app_name”:“project.iOS”,“timestamp”:“2020-11-26 23:04:03.00+0530”,“app_version”:“1.11”,“slice_uuid”:“de6bf2d0-d21c-352c-917f-3f5224b43fc3”,“adam_id”:0,“build_version”:“1.33”,“platform”:2,“bundleID”:“com.organization”。
项目
------------
“,“与应用程序开发者共享”:0,“是第一方”:0,“错误类型”:“109”,“操作系统版本”:“iPhone os 14.2(18B92)”,“事件id”:“AF32A3B5-51E9-4FA7-98A4-1B7D453C5A06”,“名称”:“project.iOS”}
事件标识符:AF32A3B5-51E9-4FA7-98A4-1B7D453C5A06
CrashReporter密钥:2ca42bd7d42c78e1da5f9c732e6d004a93326ce9
硬件型号:iPhone12,1
流程:project.iOS[3506]
路径:/private/var/containers/Bundle/Application/7520D1BF-048A-4D14-A16A-F6420D464EA2/project.iOS.app/project.iOS
标识符:com.organization.project
版本:1.33(1.11)
代码类型:ARM-64(本机)
角色:前台
父进程:已启动[1]
联盟:com.organization.project[516]
日期/时间:2020-11-26 23:04:02.4013+0530
发射时间:2020-11-26 23:03:45.6520+0530
操作系统版本:iPhone操作系统14.2(18B92)
发布类型:用户
基带版本:2.02.04
报告版本:104
异常类型:EXC\U坏访问(SIGSEGV)
异常子类型:0x0000000000000000处的内核地址无效
VM区域信息:0不在任何区域中。以下区域前的字节数:4298080256
区域类型开始-结束[VSIZE]PRT/MAX SHRMOD区域详细信息
开始时未使用的空间
--->  
__文本1002f8000-103128000[46.2M]r-x/r-x SM=COW…chenomics.iOS
由线程触发:22
线程0名称:tid_407调度队列:com.apple.main-Thread
线程0:
0 libsystem_kernel.dylib 0x00000001dc6e72d0 0x1dc6e3000+17104
1 libsystem_kernel.dylib 0x00000001dc6e6660 0x1dc6e3000+13920
2芯基础0x00000001af787c30 0x1af6e7000+658480
3芯基础0x00000001af781c14 0x1af6e7000+633876
4 CoreFoundation 0x00000001af78121c 0x1af6e7000+631324
5个图形服务0x00000001c6800784 0x1c67fd000+14212
6 UIKitCore 0x00000001b21ba200 0x1b15f3000+12349952
7 UIKitCore 0x00000001b21bfa74 0x1b15f3000+12372596
8 project.iOS 0x000000010178e0f8包装器\u托管\u到\u本机\u UIKit\u UIApplication\u UIApplicationMain\u int\u字符串\uuuuuuuu intptr\u intptr+344
9 project.iOS 0x00000001016be750 UIKit_UIApplication_Main_string_uuuuintptr_intptr+20735824(UIApplication.cs:86)
10 project.iOS 0x00000001016be6d4 UIKit_UIApplication_Main_string_uuuu string_string+20735700(UIApplication.cs:66)
11 project.iOS 0x0000000100584604 project\u iOS\u Application\u Main\u string\u+2672132(/:1)
12 project.iOS 0x00000001009552f0包装器\u运行时\u调用\u对象\u运行时\u调用\u动态\u intptr\u intptr\u intptr\u intptr+272
13 project.iOS 0x0000000102e06fa8 mono_jit_runtime_invoke+45150120(mini runtime.c:3165)
14 project.iOS 0x0000000102ec265c单声道运行时调用检查+45917788(object.c:3220)
15 project.iOS 0x0000000102ec88b4单声道运行时执行主声道检查+45942964(object.c:5284)
16 project.iOS 0x0000000102de5560 mono_jit_exec+45012320(driver.c:1328)
17 project.iOS 0x0000000102fa26ec xamarin_main+46835436(monotouch main.m:0)
18 project.iOS 0x0000000100583ac0 main+2669248(main.m:246)
19 libdyld.dylib 0x00000001af4416c0 0x1AF4400+5824
线程22名称:线程池工作线程
线程22崩溃:
0 project.iOS 0x0000000100fbd634 Mono_Net_Security_MobileAuthenticatedStream_ProcessRead_Mono_Net_Security_BufferOffsetSize+13391412(MobileAuthenticatedStream.cs:732)
1 project.iOS 0x0000000100fba6d0 Mono_Net_Security_AsyncReadRequest_Run_Mono_Net_Security_AsyncOperationStatus+13379280(AsyncProtocolRequest.cs:326)
2 project.iOS 0x0000000100fb9c70 Mono\u Net\u Security\u AsyncProtocolRequest\u ProcessOperationd\u 24\u MoveNext+13376624(AsyncProtocolRequest.cs:223)
3 project.iOS 0x0000000100713bcc系统\u运行时\u编译器服务\u异步方法构建器核心\u移动下一个trunner\u调用下一个\u对象+156
4 project.iOS 0x000000010068f2bc系统线程执行上下文运行内部线程执行上下文系统线程执行上下文系统线程执行上下文回调对象布尔+428
5 project.iOS 0x000000010068f0bc系统线程执行上下文运行系统线程执行上下文系统线程执行上下文系统线程执行上下文回调对象布尔+44
6 project.iOS 0x0000000100713a88系统运行时编译器服务异步方法构建核心移动下一个运行时运行+200
7 project.iOS 0x00000001006b5e70系统线程任务等待任务继续运行调度操作系统操作系统线程任务任务+112
8 project.iOS 0x00000001006ae928系统线程任务完成延续+392
9 project.iOS 0x00000001006acee0系统线程任务完成阶段树+160
10 project.iOS 0x00000001011276b8系统线程任务任务系统可空1内部测试结果系统可空1内部+14874296(Future.cs:424)
11 project.iOS 0x0000000101126788系统运行时编译器服务异步TaskMethodBuilder系统可空1内部设置结果系统可空1内部设置+14870408(AsyncMethodBuilder.cs:608)
12 project.iOS 0x0000000100fba410 Mono\u Net\u Security\u asynchprotocolrequest\u InnerReadd\u 25\u MoveNext+13378576