Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mono] Fix runtime invokes to methods returning byref values in llvmo… #52501

Merged
merged 1 commit into from
May 8, 2021

Conversation

vargaz
Copy link
Contributor

@vargaz vargaz commented May 8, 2021

…nly mode.

Fixes some System.Runtime test failures on wasm.

…nly mode.

Fixes some System.Runtime test failures on wasm.
@ghost
Copy link

ghost commented May 8, 2021

Tagging subscribers to this area: @CoffeeFlux
See info in area-owners.md if you want to be subscribed.

Issue Details

…nly mode.

Fixes some System.Runtime test failures on wasm.

Author: vargaz
Assignees: -
Labels:

area-VM-meta-mono

Milestone: -

@vargaz vargaz added arch-wasm WebAssembly architecture wasm-aot-test WebAssembly AOT Test labels May 8, 2021
@ghost
Copy link

ghost commented May 8, 2021

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details

…nly mode.

Fixes some System.Runtime test failures on wasm.

Author: vargaz
Assignees: -
Labels:

arch-wasm, area-VM-meta-mono, wasm-aot-test

Milestone: -

@lewing
Copy link
Member

lewing commented May 8, 2021

[14:05:12] fail: console.error: RuntimeError: memory access out of bounds
                 
[14:05:12] fail: console.error: RuntimeError: memory access out of bounds
                 
[14:05:12] fail:     at corlib_System_Type_Equals_System_Type (<anonymous>:wasm-function[41487]:0xab40c7)
                 
[14:05:12] fail:     at xunit_assert_Xunit_Assert_Throws_System_Type_System_Exception (<anonymous>:wasm-function[23176]:0x4f13cb)
                 
[14:05:12] fail:     at xunit_assert_Xunit_Assert_Throws_T_REF_System_Func_1_object (<anonymous>:wasm-function[23177]:0x4f1520)
                 
[14:05:12] fail:     at invoke_iii (dotnet.js:11829:32)
                 
[14:05:12] fail:     at System_Reflection_MetadataLoadContext_Tests_System_Reflection_Tests_ReflectionOnlyRestrictions_TestRestrictions (<anonymous>:wasm-function[26514]:0x686280)
                 
[14:05:12] fail:     at corlib_aot_wrapper_gsharedvt_out_sig_pinvoke_void_ (<anonymous>:wasm-function[51266]:0xe3150d)
                 
[14:05:12] fail:     at corlib_wrapper_runtime_invoke_object_runtime_invoke_sig_void_intptr_object_intptr_intptr_intptr (<anonymous>:wasm-function[50974]:0xdf5a79)
                 
[14:05:12] fail:     at mono_llvmonly_runtime_invoke (<anonymous>:wasm-function[4905]:0xc48b8)
                 
[14:05:12] fail:     at mono_jit_runtime_invoke (<anonymous>:wasm-function[4877]:0xc3026)
                 
[14:05:12] fail:     at do_runtime_invoke (<anonymous>:wasm-function[2241]:0x7ee21)
                 
[14:05:12] fail:     at mono_runtime_invoke_checked (<anonymous>:wasm-function[2239]:0x7edcc)
                 
[14:05:12] fail:     at mono_runtime_try_invoke_array (<anonymous>:wasm-function[2391]:0x82f8c)
                 
[14:05:12] fail:     at mono_runtime_invoke_array_checked (<anonymous>:wasm-function[2395]:0x835ad)
                 
[14:05:12] fail:     at ves_icall_InternalInvoke (<anonymous>:wasm-function[1057]:0x5d42f)
                 
[14:05:12] fail:     at ves_icall_InternalInvoke_raw (<anonymous>:wasm-function[1237]:0x6317b)
                 
[14:05:12] fail:     at aot_wrapper_corlib_System_dot_Reflection_System_dot_Reflection_dot_RuntimeMethodInfo__InternalInvoke_pinvoke_obj_this_objclc_object_5b_5d_bclsc_Exception_26__attrs_2obj_cls1d_Reflection_dRuntimeMethodInfo_objclc_object_5b_5d_bclsc_Exception_26__attrs_2 (<anonymous>:wasm-function[47343]:0xcc1038)
                 
[14:05:12] fail:     at invoke_iiiiii (dotnet.js:11884:32)
                 
[14:05:12] fail:     at corlib_System_Reflection_RuntimeMethodInfo_Invoke_object_System_Reflection_BindingFlags_System_Reflection_Binder_object___System_Globalization_CultureInfo (<anonymous>:wasm-function[47344]:0xcc15b5)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_TestInvoker_1_TTestCase_REF_CallTestMethod_object (<anonymous>:wasm-function[19697]:0x38d987)
                 
[14:05:12] fail:     at invoke_iiii (dotnet.js:11873:32)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_TestInvoker_1__c__DisplayClass48_1___InvokeTestMethodAsyncb__1d_TTestCase_REF_MoveNext (<anonymous>:wasm-function[19712]:0x390ba2)
                 
[14:05:12] fail:     at invoke_vii (dotnet.js:11840:25)
                 
[14:05:12] fail:     at xunit_execution_dotnet_System_Runtime_CompilerServices_AsyncMethodBuilderCore_Start_TStateMachine_INST_TStateMachine_INST__6 (<anonymous>:wasm-function[21870]:0x494f2d)
                 
[14:05:12] fail:     at xunit_execution_dotnet_System_Runtime_CompilerServices_AsyncTaskMethodBuilder_Start_TStateMachine_INST_TStateMachine_INST_ (<anonymous>:wasm-function[21345]:0x4724de)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_TestInvoker_1__c__DisplayClass48_1_TTestCase_REF__InvokeTestMethodAsyncb__1 (<anonymous>:wasm-function[19711]:0x38eff5)
                 
[14:05:12] fail:     at corlib_wrapper_delegate_invoke_System_Func_1_System_Threading_Tasks_Task_invoke_TResult (<anonymous>:wasm-function[50063]:0xda20da)
                 
[14:05:12] fail:     at invoke_iii (dotnet.js:11829:32)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_ExecutionTimer__AggregateAsyncd__4_MoveNext (<anonymous>:wasm-function[19544]:0x3700cd)
                 
[14:05:12] fail:     at invoke_vii (dotnet.js:11840:25)
                 
[14:05:12] fail:     at xunit_execution_dotnet_System_Runtime_CompilerServices_AsyncMethodBuilderCore_Start_Xunit_Sdk_ExecutionTimer__AggregateAsyncd__4_Xunit_Sdk_ExecutionTimer__AggregateAsyncd__4_ (<anonymous>:wasm-function[21264]:0x46cefb)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_ExecutionTimer_AggregateAsync_System_Func_1_System_Threading_Tasks_Task (<anonymous>:wasm-function[19542]:0x36fd3b)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_TestInvoker_1__c__DisplayClass48_1_TTestCase_REF__InvokeTestMethodAsyncb__0 (<anonymous>:wasm-function[19710]:0x38eedc)
                 
[14:05:12] fail:     at corlib_wrapper_delegate_invoke_System_Func_1_System_Threading_Tasks_Task_invoke_TResult (<anonymous>:wasm-function[50063]:0xda20da)
                 
[14:05:12] fail:     at invoke_iii (dotnet.js:11829:32)
                 
[14:05:12] fail:     at xunit_core_Xunit_Sdk_ExceptionAggregator__RunAsyncd__9_MoveNext (<anonymous>:wasm-function[22581]:0x4bf084)
                 
[14:05:12] fail:     at invoke_vii (dotnet.js:11840:25)
                 
[14:05:12] fail:     at xunit_core_System_Runtime_CompilerServices_AsyncMethodBuilderCore_Start_Xunit_Sdk_ExceptionAggregator__RunAsyncd__9_Xunit_Sdk_ExceptionAggregator__RunAsyncd__9_ (<anonymous>:wasm-function[22799]:0x4dba7c)
                 
[14:05:12] fail:     at xunit_core_Xunit_Sdk_ExceptionAggregator_RunAsync_System_Func_1_System_Threading_Tasks_Task (<anonymous>:wasm-function[22577]:0x4be941)
                 
[14:05:12] fail:     at corlib_aot_wrapper_gsharedvt_out_sig_pinvoke_obj_this_obj (<anonymous>:wasm-function[51231]:0xe308f5)
                 
[14:05:12] fail:     at jit_call_cb (<anonymous>:wasm-function[9067]:0x1507bd)
                 
[14:05:12] fail:     at invoke_vi (dotnet.js:11807:25)
                 
[14:05:12] fail:     at mono_llvm_cpp_catch_exception (<anonymous>:wasm-function[5904]:0xe47c6)
                 
[14:05:12] fail:     at do_jit_call (<anonymous>:wasm-function[9026]:0x14fa78)
                 
[14:05:12] fail:     at interp_exec_method (<anonymous>:wasm-function[8967]:0x1428a4)
                 
[14:05:12] fail:     at interp_entry (<anonymous>:wasm-function[9009]:0x14f026)
                 
[14:05:12] fail:     at interp_entry_instance_1 (<anonymous>:wasm-function[9082]:0x150c72)
                 
[14:05:12] fail:     at corlib_aot_wrapper_gsharedvt_in_sig_void_this_bii (<anonymous>:wasm-function[52646]:0xe55adc)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_TestInvoker_1_TTestCase_REF_InvokeTestMethodAsync_object (<anonymous>:wasm-function[19700]:0x38e5b9)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_XunitTestInvoker_InvokeTestMethodAsync_object (<anonymous>:wasm-function[19885]:0x3c1f35)
                 
[14:05:12] fail:     at corlib_aot_wrapper_gsharedvt_out_sig_pinvoke_obj_this_obj (<anonymous>:wasm-function[51231]:0xe308f5)
                 
[14:05:12] fail:     at jit_call_cb (<anonymous>:wasm-function[9067]:0x1507bd)
                 
[14:05:12] fail:     at invoke_vi (dotnet.js:11807:25)
                 
[14:05:12] fail:     at mono_llvm_cpp_catch_exception (<anonymous>:wasm-function[5904]:0xe47c6)
                 
[14:05:12] fail:     at do_jit_call (<anonymous>:wasm-function[9026]:0x14fa78)
                 
[14:05:12] fail:     at interp_exec_method (<anonymous>:wasm-function[8967]:0x14275e)
                 
[14:05:12] fail:     at interp_entry (<anonymous>:wasm-function[9009]:0x14f026)
                 
[14:05:12] fail:     at interp_entry_instance_1 (<anonymous>:wasm-function[9082]:0x150c72)
                 
[14:05:12] fail:     at corlib_aot_wrapper_gsharedvt_in_sig_void_this_bii (<anonymous>:wasm-function[52646]:0xe55adc)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_TestInvoker_1_TTestCase_REF__RunAsyncb__47_0 (<anonymous>:wasm-function[19702]:0x38e7bc)
                 
[14:05:12] fail:     at xunit_execution_dotnet_wrapper_delegate_invoke_System_Func_1_System_Threading_Tasks_Task_1_System_Decimal_invoke_TResult (<anonymous>:wasm-function[20816]:0x43af81)
                 
[14:05:12] fail:     at invoke_iii (dotnet.js:11829:32)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_ExceptionAggregator__RunAsyncd__10_1_System_Decimal_MoveNext (<anonymous>:wasm-function[21342]:0x47187e)
                 
[14:05:12] fail:     at invoke_vii (dotnet.js:11840:25)
                 
[14:05:12] fail:     at xunit_execution_dotnet_System_Runtime_CompilerServices_AsyncMethodBuilderCore_Start_Xunit_Sdk_ExceptionAggregator__RunAsyncd__10_1_System_Decimal_Xunit_Sdk_ExceptionAggregator__RunAsyncd__10_1_System_Decimal_ (<anonymous>:wasm-function[21860]:0x493f8c)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_ExceptionAggregator_RunAsync_System_Decimal_System_Func_1_System_Threading_Tasks_Task_1_System_Decimal (<anonymous>:wasm-function[21341]:0x471596)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_TestInvoker_1_TTestCase_REF_RunAsync (<anonymous>:wasm-function[19699]:0x38e480)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_XunitTestRunner_InvokeTestMethodAsync_Xunit_Sdk_ExceptionAggregator (<anonymous>:wasm-function[19899]:0x3c3f61)
                 
[14:05:12] fail:     at invoke_iiii (dotnet.js:11873:32)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_XunitTestRunner__InvokeTestAsyncd__4_MoveNext (<anonymous>:wasm-function[19900]:0x3c451a)
                 
[14:05:12] fail:     at invoke_vii (dotnet.js:11840:25)
                 
[14:05:12] fail:     at xunit_execution_dotnet_System_Runtime_CompilerServices_AsyncMethodBuilderCore_Start_Xunit_Sdk_XunitTestRunner__InvokeTestAsyncd__4_Xunit_Sdk_XunitTestRunner__InvokeTestAsyncd__4_ (<anonymous>:wasm-function[21454]:0x47b6ec)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_XunitTestRunner_InvokeTestAsync_Xunit_Sdk_ExceptionAggregator (<anonymous>:wasm-function[19898]:0x3c3c23)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_TestRunner_1__c__DisplayClass43_0_TTestCase_REF__RunAsyncb__0 (<anonymous>:wasm-function[19765]:0x39b0fd)
                 
[14:05:12] fail:     at xunit_execution_dotnet_wrapper_delegate_invoke_System_Func_1_System_Threading_Tasks_Task_1_System_Tuple_2_System_Decimal_string_invoke_TResult (<anonymous>:wasm-function[20848]:0x43cfd1)
                 
[14:05:12] fail:     at invoke_iii (dotnet.js:11829:32)
                 
[14:05:12] fail:     at xunit_core_Xunit_Sdk_ExceptionAggregator__RunAsyncd__10_1_T_REF_MoveNext (<anonymous>:wasm-function[22583]:0x4bfde3)
                 
[14:05:12] fail:     at invoke_vii (dotnet.js:11840:25)
                 
[14:05:12] fail:     at xunit_core_System_Runtime_CompilerServices_AsyncMethodBuilderCore_Start_TStateMachine_INST_TStateMachine_INST_ (<anonymous>:wasm-function[22936]:0x4e16dd)
                 
[14:05:12] fail:     at xunit_core_System_Runtime_CompilerServices_AsyncTaskMethodBuilder_1_TResult_REF_Start_TStateMachine_INST_TStateMachine_INST_ (<anonymous>:wasm-function[22801]:0x4dbdd4)
                 
[14:05:12] fail:     at xunit_core_Xunit_Sdk_ExceptionAggregator_RunAsync_T_REF_System_Func_1_System_Threading_Tasks_Task_1_T_REF (<anonymous>:wasm-function[22578]:0x4beb10)
                 
[14:05:12] fail:     at invoke_iiii (dotnet.js:11873:32)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_TestRunner_1__RunAsyncd__43_TTestCase_REF_MoveNext (<anonymous>:wasm-function[19766]:0x39c552)
                 
[14:05:12] fail:     at invoke_vii (dotnet.js:11840:25)
                 
[14:05:12] fail:     at xunit_execution_dotnet_System_Runtime_CompilerServices_AsyncMethodBuilderCore_Start_TStateMachine_INST_TStateMachine_INST__9 (<anonymous>:wasm-function[21875]:0x495f14)
                 
[14:05:12] fail:     at xunit_execution_dotnet_System_Runtime_CompilerServices_AsyncTaskMethodBuilder_1_TResult_REF_Start_TStateMachine_INST_TStateMachine_INST__8 (<anonymous>:wasm-function[21354]:0x4729db)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_TestRunner_1_TTestCase_REF_RunAsync (<anonymous>:wasm-function[19763]:0x39af50)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_XunitTestCaseRunner_RunTestAsync (<anonymous>:wasm-function[19819]:0x3ab6de)
                 
[14:05:12] fail:     at invoke_iii (dotnet.js:11829:32)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_TestCaseRunner_1__RunAsyncd__19_TTestCase_REF_MoveNext (<anonymous>:wasm-function[19605]:0x37b0ce)
                 
[14:05:12] fail:     at invoke_vii (dotnet.js:11840:25)
                 
[14:05:12] fail:     at xunit_execution_dotnet_System_Runtime_CompilerServices_AsyncMethodBuilderCore_Start_TStateMachine_INST_TStateMachine_INST__1 (<anonymous>:wasm-function[21850]:0x492519)
                 
[14:05:12] fail:     at xunit_execution_dotnet_System_Runtime_CompilerServices_AsyncTaskMethodBuilder_1_TResult_REF_Start_TStateMachine_INST_TStateMachine_INST__1 (<anonymous>:wasm-function[21322]:0x4702a2)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_TestCaseRunner_1_TTestCase_REF_RunAsync (<anonymous>:wasm-function[19536]:0x36f428)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_XunitTestCase_RunAsync_Xunit_Abstractions_IMessageSink_Xunit_Sdk_IMessageBus_object___Xunit_Sdk_ExceptionAggregator_System_Threading_CancellationTokenSource (<anonymous>:wasm-function[20126]:0x3f5e91)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_XunitTestMethodRunner_RunTestCaseAsync_Xunit_Sdk_IXunitTestCase (<anonymous>:wasm-function[19896]:0x3c3ad1)
                 
[14:05:12] fail:     at invoke_iiii (dotnet.js:11873:32)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_TestMethodRunner_1__RunTestCasesAsyncd__32_TTestCase_REF_MoveNext (<anonymous>:wasm-function[19740]:0x3998be)
                 
[14:05:12] fail:     at invoke_vii (dotnet.js:11840:25)
                 
[14:05:12] fail:     at xunit_execution_dotnet_System_Runtime_CompilerServices_AsyncMethodBuilderCore_Start_TStateMachine_INST_TStateMachine_INST__8 (<anonymous>:wasm-function[21872]:0x4958d3)
                 
[14:05:12] fail:     at xunit_execution_dotnet_System_Runtime_CompilerServices_AsyncTaskMethodBuilder_1_TResult_REF_Start_TStateMachine_INST_TStateMachine_INST__7 (<anonymous>:wasm-function[21350]:0x47275b)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_TestMethodRunner_1_TTestCase_REF_RunTestCasesAsync (<anonymous>:wasm-function[19734]:0x39658a)
                 
[14:05:12] fail:     at invoke_iii (dotnet.js:11829:32)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_TestMethodRunner_1__RunAsyncd__31_TTestCase_REF_MoveNext (<anonymous>:wasm-function[19735]:0x396df6)
                 
[14:05:12] fail:     at invoke_vii (dotnet.js:11840:25)
                 
[14:05:12] fail:     at xunit_execution_dotnet_System_Runtime_CompilerServices_AsyncMethodBuilderCore_Start_TStateMachine_INST_TStateMachine_INST__7 (<anonymous>:wasm-function[21871]:0x495403)
                 
[14:05:12] fail:     at xunit_execution_dotnet_System_Runtime_CompilerServices_AsyncTaskMethodBuilder_1_TResult_REF_Start_TStateMachine_INST_TStateMachine_INST__6 (<anonymous>:wasm-function[21349]:0x4726e5)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_TestMethodRunner_1_TTestCase_REF_RunAsync (<anonymous>:wasm-function[19733]:0x3963cb)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_XunitTestClassRunner_RunTestMethodAsync_Xunit_Abstractions_ITestMethod_Xunit_Abstractions_IReflectionMethodInfo_System_Collections_Generic_IEnumerable_1_Xunit_Sdk_IXunitTestCase_object__ (<anonymous>:wasm-function[19828]:0x3ad88b)
                 
[14:05:12] fail:     at invoke_iiiiiii (dotnet.js:11983:32)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_TestClassRunner_1__RunTestMethodsAsyncd__38_TTestCase_REF_MoveNext (<anonymous>:wasm-function[19646]:0x386197)
                 
[14:05:12] fail:     at invoke_vii (dotnet.js:11840:25)
                 
[14:05:12] fail:     at xunit_execution_dotnet_System_Runtime_CompilerServices_AsyncMethodBuilderCore_Start_TStateMachine_INST_TStateMachine_INST__3 (<anonymous>:wasm-function[21853]:0x492f07)
                 
[14:05:12] fail:     at xunit_execution_dotnet_System_Runtime_CompilerServices_AsyncTaskMethodBuilder_1_TResult_REF_Start_TStateMachine_INST_TStateMachine_INST__3 (<anonymous>:wasm-function[21330]:0x470f51)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_TestClassRunner_1_TTestCase_REF_RunTestMethodsAsync (<anonymous>:wasm-function[19633]:0x37f8d4)
                 
[14:05:12] fail:     at invoke_iii (dotnet.js:11829:32)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_TestClassRunner_1__RunAsyncd__37_TTestCase_REF_MoveNext (<anonymous>:wasm-function[19641]:0x3813b5)
                 
[14:05:12] fail:     at invoke_vii (dotnet.js:11840:25)
                 
[14:05:12] fail:     at xunit_execution_dotnet_System_Runtime_CompilerServices_AsyncMethodBuilderCore_Start_TStateMachine_INST_TStateMachine_INST__2 (<anonymous>:wasm-function[21852]:0x492a7a)
                 
[14:05:12] fail:     at xunit_execution_dotnet_System_Runtime_CompilerServices_AsyncTaskMethodBuilder_1_TResult_REF_Start_TStateMachine_INST_TStateMachine_INST__2 (<anonymous>:wasm-function[21329]:0x470edb)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_TestClassRunner_1_TTestCase_REF_RunAsync (<anonymous>:wasm-function[19632]:0x37f715)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_XunitTestCollectionRunner_RunTestClassAsync_Xunit_Abstractions_ITestClass_Xunit_Abstractions_IReflectionTypeInfo_System_Collections_Generic_IEnumerable_1_Xunit_Sdk_IXunitTestCase (<anonymous>:wasm-function[19861]:0x3babeb)
                 
[14:05:12] fail:     at invoke_iiiiii (dotnet.js:11884:32)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_TestCollectionRunner_1__RunTestClassesAsyncd__28_TTestCase_REF_MoveNext (<anonymous>:wasm-function[19673]:0x38bcd7)
                 
[14:05:12] fail:     at invoke_vii (dotnet.js:11840:25)
                 
[14:05:12] fail:     at xunit_execution_dotnet_System_Runtime_CompilerServices_AsyncMethodBuilderCore_Start_TStateMachine_INST_TStateMachine_INST__5 (<anonymous>:wasm-function[21857]:0x4939d5)
                 
[14:05:12] fail:     at xunit_execution_dotnet_System_Runtime_CompilerServices_AsyncTaskMethodBuilder_1_TResult_REF_Start_TStateMachine_INST_TStateMachine_INST__5 (<anonymous>:wasm-function[21337]:0x471300)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_TestCollectionRunner_1_TTestCase_REF_RunTestClassesAsync (<anonymous>:wasm-function[19664]:0x387524)
                 
[14:05:12] fail:     at invoke_iii (dotnet.js:11829:32)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_TestCollectionRunner_1__RunAsyncd__27_TTestCase_REF_MoveNext (<anonymous>:wasm-function[19665]:0x3881fb)
                 
[14:05:12] fail:     at invoke_vii (dotnet.js:11840:25)
                 
[14:05:12] fail:     at xunit_execution_dotnet_System_Runtime_CompilerServices_AsyncMethodBuilderCore_Start_TStateMachine_INST_TStateMachine_INST__4 (<anonymous>:wasm-function[21856]:0x493548)
                 
[14:05:12] fail:     at xunit_execution_dotnet_System_Runtime_CompilerServices_AsyncTaskMethodBuilder_1_TResult_REF_Start_TStateMachine_INST_TStateMachine_INST__4 (<anonymous>:wasm-function[21336]:0x47128a)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_TestCollectionRunner_1_TTestCase_REF_RunAsync (<anonymous>:wasm-function[19663]:0x387365)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_XunitTestAssemblyRunner_RunTestCollectionAsync_Xunit_Sdk_IMessageBus_Xunit_Abstractions_ITestCollection_System_Collections_Generic_IEnumerable_1_Xunit_Sdk_IXunitTestCase_System_Threading_CancellationTokenSource (<anonymous>:wasm-function[19784]:0x3a34ec)
                 
[14:05:12] fail:     at invoke_iiiiiii (dotnet.js:11983:32)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_TestAssemblyRunner_1__RunTestCollectionsAsyncd__42_TTestCase_REF_MoveNext (<anonymous>:wasm-function[19593]:0x379b45)
                 
[14:05:12] fail:     at invoke_vii (dotnet.js:11840:25)
                 
[14:05:12] fail:     at xunit_execution_dotnet_System_Runtime_CompilerServices_AsyncMethodBuilderCore_Start_TStateMachine_INST_TStateMachine_INST__0 (<anonymous>:wasm-function[21846]:0x491e7a)
                 
[14:05:12] fail:     at xunit_execution_dotnet_System_Runtime_CompilerServices_AsyncTaskMethodBuilder_1_TResult_REF_Start_TStateMachine_INST_TStateMachine_INST__0 (<anonymous>:wasm-function[21314]:0x46ff43)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_TestAssemblyRunner_1_TTestCase_REF_RunTestCollectionsAsync_Xunit_Sdk_IMessageBus_System_Threading_CancellationTokenSource (<anonymous>:wasm-function[19580]:0x37527c)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_XunitTestAssemblyRunner__n__0_Xunit_Sdk_IMessageBus_System_Threading_CancellationTokenSource (<anonymous>:wasm-function[19786]:0x3a3735)
                 
[14:05:12] fail:     at invoke_iiiii (dotnet.js:11906:32)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_XunitTestAssemblyRunner__RunTestCollectionsAsyncd__14_MoveNext (<anonymous>:wasm-function[19798]:0x3a4b1c)
                 
[14:05:12] fail:     at invoke_vii (dotnet.js:11840:25)
                 
[14:05:12] fail:     at xunit_execution_dotnet_System_Runtime_CompilerServices_AsyncMethodBuilderCore_Start_Xunit_Sdk_XunitTestAssemblyRunner__RunTestCollectionsAsyncd__14_Xunit_Sdk_XunitTestAssemblyRunner__RunTestCollectionsAsyncd__14_ (<anonymous>:wasm-function[21358]:0x472c54)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_XunitTestAssemblyRunner_RunTestCollectionsAsync_Xunit_Sdk_IMessageBus_System_Threading_CancellationTokenSource (<anonymous>:wasm-function[19783]:0x3a3267)
                 
[14:05:12] fail:     at invoke_iiiii (dotnet.js:11906:32)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_TestAssemblyRunner_1__RunAsyncd__41_TTestCase_REF_MoveNext (<anonymous>:wasm-function[19588]:0x376a73)
                 
[14:05:12] fail:     at invoke_vii (dotnet.js:11840:25)
                 
[14:05:12] fail:     at xunit_execution_dotnet_System_Runtime_CompilerServices_AsyncMethodBuilderCore_Start_TStateMachine_INST_TStateMachine_INST_ (<anonymous>:wasm-function[21845]:0x4919d7)
                 
[14:05:12] fail:     at xunit_execution_dotnet_System_Runtime_CompilerServices_AsyncTaskMethodBuilder_1_TResult_REF_Start_TStateMachine_INST_TStateMachine_INST_ (<anonymous>:wasm-function[21313]:0x46fecd)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_TestAssemblyRunner_1_TTestCase_REF_RunAsync (<anonymous>:wasm-function[19579]:0x375039)
                 
[14:05:12] fail:     at invoke_iii (dotnet.js:11829:32)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_XunitTestFrameworkExecutor__RunTestCasesd__8_MoveNext (<anonymous>:wasm-function[20153]:0x3fc0a1)
                 
[14:05:12] fail:     at invoke_vii (dotnet.js:11840:25)
                 
[14:05:12] fail:     at xunit_execution_dotnet_System_Runtime_CompilerServices_AsyncMethodBuilderCore_Start_Xunit_Sdk_XunitTestFrameworkExecutor__RunTestCasesd__8_Xunit_Sdk_XunitTestFrameworkExecutor__RunTestCasesd__8_ (<anonymous>:wasm-function[21523]:0x47fe4f)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_XunitTestFrameworkExecutor_RunTestCases_System_Collections_Generic_IEnumerable_1_Xunit_Sdk_IXunitTestCase_Xunit_Abstractions_IMessageSink_Xunit_Abstractions_ITestFrameworkExecutionOptions (<anonymous>:wasm-function[20151]:0x3fbb56)
                 
[14:05:12] fail:     at xunit_execution_dotnet_Xunit_Sdk_TestFrameworkExecutor_1_TTestCase_REF_RunTests_System_Collections_Generic_IEnumerable_1_Xunit_Abstractions_ITestCase_Xunit_Abstractions_IMessageSink_Xunit_Abstractions_ITestFrameworkExecutionOptions (<anonymous>:wasm-function[20026]:0x3de59b)
                 
[14:05:12] fail:     at xunit_runner_utility_netcoreapp10_Xunit_Xunit2_RunTests_System_Collections_Generic_IEnumerable_1_Xunit_Abstractions_ITestCase_Xunit_Abstractions_IMessageSink_Xunit_Abstractions_ITestFrameworkExecutionOptions (<anonymous>:wasm-function[15954]:0x21a719)
                 
[14:05:12] fail:     at invoke_viiiii (dotnet.js:11950:25)
                 
[14:05:12] fail:     at Microsoft_DotNet_XHarness_TestRunners_Xunit_Microsoft_DotNet_XHarness_TestRunners_Xunit_ThreadlessXunitTestRunner__Rund__0_MoveNext (<anonymous>:wasm-function[71746]:0x16e5ce3)
                 
[14:05:12] fail:     at invoke_vii (dotnet.js:11840:25)
                 
[14:05:12] fail:     at Microsoft_DotNet_XHarness_TestRunners_Xunit_System_Runtime_CompilerServices_AsyncMethodBuilderCore_Start_Microsoft_DotNet_XHarness_TestRunners_Xunit_ThreadlessXunitTestRunner__Rund__0_Microsoft_DotNet_XHarness_TestRunners_Xunit_ThreadlessXunitTestRunner__Rund__0_ (<anonymous>:wasm-function[71863]:0x16f4654)
                 
[14:05:12] fail:     at Microsoft_DotNet_XHarness_TestRunners_Xunit_Microsoft_DotNet_XHarness_TestRunners_Xunit_ThreadlessXunitTestRunner_Run_string_bool_Xunit_XunitFilters (<anonymous>:wasm-function[71733]:0x16e0e35)
                 
[14:05:12] fail:     at invoke_iiiii (dotnet.js:11906:32)
                 
[14:05:12] fail:     at Microsoft_DotNet_XHarness_TestRunners_Xunit_Microsoft_DotNet_XHarness_TestRunners_Xunit_WasmApplicationEntryPoint__Rund__24_MoveNext (<anonymous>:wasm-function[71767]:0x16ebbff)
                 
[14:05:12] fail:     at invoke_vii (dotnet.js:11840:25)
                 
[14:05:12] fail:     at Microsoft_DotNet_XHarness_TestRunners_Xunit_System_Runtime_CompilerServices_AsyncMethodBuilderCore_Start_Microsoft_DotNet_XHarness_TestRunners_Xunit_WasmApplicationEntryPoint__Rund__24_Microsoft_DotNet_XHarness_TestRunners_Xunit_WasmApplicationEntryPoint__Rund__24_ (<anonymous>:wasm-function[71925]:0x16f6c6b)
                 
[14:05:12] fail:     at Microsoft_DotNet_XHarness_TestRunners_Xunit_Microsoft_DotNet_XHarness_TestRunners_Xunit_WasmApplicationEntryPoint_Run (<anonymous>:wasm-function[71764]:0x16e8362)
                 
[14:05:12] fail:     at invoke_iii (dotnet.js:11829:32)
                 
[14:05:12] fail:     at WasmTestRunner_SimpleWasmTestRunner__Maind__0_MoveNext (<anonymous>:wasm-function[23759]:0x526ca3)
                 
[14:05:12] fail:     at invoke_vii (dotnet.js:11840:25)
                 
[14:05:12] fail:     at WasmTestRunner_System_Runtime_CompilerServices_AsyncMethodBuilderCore_Start_SimpleWasmTestRunner__Maind__0_SimpleWasmTestRunner__Maind__0_ (<anonymous>:wasm-function[23797]:0x52a758)
                 
[14:05:12] fail:     at WasmTestRunner_SimpleWasmTestRunner_Main_string__ (<anonymous>:wasm-function[23755]:0x523fce)
                 
[14:05:12] fail:     at corlib_aot_wrapper_gsharedvt_out_sig_pinvoke_obj_obj (<anonymous>:wasm-function[51212]:0xe301bf)
                 
[14:05:12] fail:     at invoke_viii (dotnet.js:11939:25)
                 
[14:05:12] fail:     at corlib_wrapper_runtime_invoke_object_runtime_invoke_sig_void_intptr_intptr_intptr_object_intptr_intptr_intptr (<anonymous>:wasm-function[50976]:0xdf6567)
                 
[14:05:12] fail:     at mono_llvmonly_runtime_invoke (<anonymous>:wasm-function[4905]:0xc48b8)
                 
[14:05:12] fail:     at mono_jit_runtime_invoke (<anonymous>:wasm-function[4877]:0xc3026)
                 
[14:05:12] fail:     at do_runtime_invoke (<anonymous>:wasm-function[2241]:0x7ee21)
                 
[14:05:12] fail:     at mono_runtime_try_invoke (<anonymous>:wasm-function[2250]:0x7f416)
                 
[14:05:12] fail:     at mono_runtime_invoke (<anonymous>:wasm-function[2325]:0x81458)
                 
[14:05:12] fail:     at mono_wasm_invoke_method (<anonymous>:wasm-function[72126]:0x16fbc1d)
                 
[14:05:12] fail:     at Object.Module._mono_wasm_invoke_method [as invoke_method] (dotnet.js:11165:117)
                 
[14:05:12] fail:     at Object._call_method_with_converted_args (dotnet.js:9205:30)
                 
[14:05:12] fail:     at Object.call_method (dotnet.js:9165:18)
                 
[14:05:12] fail:     at dotnet.js:9424:29
                 
[14:05:12] fail:     at Object.call_assembly_entry_point (dotnet.js:9431:66)
                 
[14:05:12] fail:     at Object.init (runtime.js:355:24)
                 
[14:05:12] fail:     at Object.config.loaded_cb (runtime.js:241:8)
                 
[14:05:12] fail:     at Object._finalize_startup (dotnet.js:7381:11)
                 
[14:05:12] fail:     at onPendingRequestComplete (dotnet.js:7418:14)
                 
[14:05:12] fail:     at processFetchResponseBuffer (dotnet.js:7433:8)
                 
[14:05:13] info: Process v8 exited with 1
                 
[14:05:13] fail: Application has finished with exit code 1 but 0 was expected
XHarness exit code: 71 (GENERAL_FAILURE)

@vargaz vargaz enabled auto-merge (squash) May 8, 2021 20:42
@vargaz vargaz merged commit 555789d into dotnet:main May 8, 2021
@vargaz vargaz deleted the fix-invoke-byref branch May 9, 2021 03:47
@karelz karelz added this to the 6.0.0 milestone May 20, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Jun 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-VM-meta-mono wasm-aot-test WebAssembly AOT Test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants