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

[WASI][Mono AOT] System.Collections.Specialized.Tests #104786

Open
pavelsavara opened this issue Jul 12, 2024 · 5 comments
Open

[WASI][Mono AOT] System.Collections.Specialized.Tests #104786

pavelsavara opened this issue Jul 12, 2024 · 5 comments
Assignees
Labels
arch-wasm WebAssembly architecture area-Codegen-AOT-mono Known Build Error Use this to report build issues in the .NET Helix tab os-wasi Related to WASI variant of arch-wasm
Milestone

Comments

@pavelsavara
Copy link
Member

pavelsavara commented Jul 12, 2024

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=738708
Build error leg or test failing:

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": ["System.Collections.Specialized.Tests", "error while executing at wasm backtrace"],
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=738708
Error message validated: [System.Collections.Specialized.Tests error while executing at wasm backtrace]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 7/12/2024 12:15:40 PM UTC

Report

Build Definition Test Pull Request
881982 dotnet/runtime System.Collections.Specialized.Tests.WorkItemExecution

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 1
@pavelsavara pavelsavara added arch-wasm WebAssembly architecture area-Codegen-AOT-mono Known Build Error Use this to report build issues in the .NET Helix tab os-wasi Related to WASI variant of arch-wasm labels Jul 12, 2024
@pavelsavara pavelsavara added this to the 9.0.0 milestone Jul 12, 2024
@pavelsavara
Copy link
Member Author

Log

[10:35:43] info: Error: failed to run main module `dotnet.wasm`
[10:35:43] info: 
[10:35:43] info: Caused by:
[10:35:43] info:     0: failed to invoke `run` function
[10:35:43] info:     1: error while executing at wasm backtrace:
[10:35:43] info:            0: 0x173681f - .tmpv45pjF!corlib_System_Resources_ResourceManager_GetString_string_System_Globalization_CultureInfo
[10:35:43] info:            1: 0x173457f - .tmpv45pjF!corlib_System_Resources_ResourceManager_GetString_string
[10:35:43] info:            2: 0x20a11b - .tmpv45pjF!System_Collections_Specialized_System_SR_GetResourceString_string
[10:35:43] info:            3: 0x20a828 - .tmpv45pjF!System_Collections_Specialized_System_SR_get_InvalidOperation_EnumFailedVersion
[10:35:43] info:            4: 0x21d0df - .tmpv45pjF!System_Collections_Specialized_System_Collections_Specialized_ListDictionary_NodeEnumerator_Reset
[10:35:43] info:            5: 0x3efe68 - .tmpv45pjF!System_Collections_Specialized_Tests_System_Collections_Tests_IEnumerable_NonGeneric_Tests__c__DisplayClass39_1__IEnumerable_NonGeneric_Enumerator_Reset_ModifiedBeforeEnumeration_ThrowsInvalidOperationExceptionb__1
[10:35:43] info:            6: 0x1f861b0 - .tmpv45pjF!corlib_wrapper_delegate_invoke__Module_invoke_void
[10:35:43] info:            7: 0x367a235 - .tmpv45pjF!xunit_assert_Xunit_Assert_RecordException_System_Action
[10:35:43] info:            8: 0x367a4d6 - .tmpv45pjF!xunit_assert_Xunit_Assert_Throws_T_REF_System_Action
[10:35:43] info:            9: 0x3efba7 - .tmpv45pjF!System_Collections_Specialized_Tests_System_Collections_Tests_IEnumerable_NonGeneric_Tests__c__DisplayClass39_0__IEnumerable_NonGeneric_Enumerator_Reset_ModifiedBeforeEnumeration_ThrowsInvalidOperationExceptionb__0_System_Collections_Tests_IEnumerable_NonGeneric_Tests_ModifyEnumerable
[10:35:43] info:           10: 0x1f503a5 - .tmpv45pjF!corlib_wrapper_delegate_invoke_System_Action_1_T_REF_invoke_void_T_T_REF
[10:35:43] info:           11: 0x3690c87 - .tmpv45pjF!xunit_assert_Xunit_Assert__c__DisplayClass42_0_1_T_REF__Allb__0_T_REF_int
[10:35:43] info:           12: 0x3b757db - .tmpv45pjF!aot_instances_aot_wrapper_gsharedvt_out_sig_void_this_obji4
[10:35:43] info:           13: 0x52a0bfa - jit_call_cb
[10:35:43] info:                            at /__w/1/s/src/mono/mono/mini/interp/interp.c:2524:3
[10:35:43] info:           14: 0x53cf701 - mono_llvm_catch_exception
[10:35:43] info:                            at /__w/1/s/src/mono/mono/mini/mini-exceptions.c:3670:3
[10:35:43] info:           15: 0x529f6d1 - do_jit_call
[10:35:43] info:                            at /__w/1/s/src/mono/mono/mini/interp/interp.c:2847:3
[10:35:43] info:           16: 0x529c441 - mono_interp_exec_method
[10:35:43] info:                            at /__w/1/s/src/mono/mono/mini/interp/interp.c:4309:6
[10:35:43] info:           17: 0x529eeb3 - interp_entry
[10:35:43] info:                            at /__w/1/s/src/mono/mono/mini/interp/interp.c:2316:2
[10:35:43] info:           18: 0x52a2006 - interp_entry_static_2
[10:35:43] info:                            at /__w/1/s/src/mono/mono/mini/interp/interp.c:3088:46
[10:35:43] info:           19: 0x3b7572d - .tmpv45pjF!aot_instances_aot_wrapper_gsharedvt_in_sig_void_objobj
[10:35:43] info:           20: 0x366e32d - .tmpv45pjF!xunit_assert_Xunit_Assert_All_T_REF_System_Collections_Generic_IEnumerable_1_T_REF_System_Action_2_T_REF_int
[10:35:43] info:           21: 0x366de48 - .tmpv45pjF!xunit_assert_Xunit_Assert_All_T_REF_System_Collections_Generic_IEnumerable_1_T_REF_System_Action_1_T_REF
[10:35:43] info:           22: 0x3e667e - .tmpv45pjF!System_Collections_Specialized_Tests_System_Collections_Tests_IEnumerable_NonGeneric_Tests_IEnumerable_NonGeneric_Enumerator_Reset_ModifiedBeforeEnumeration_ThrowsInvalidOperationException_int
[10:35:43] info:           23: 0x3b50b66 - .tmpv45pjF!aot_instances_aot_wrapper_gsharedvt_out_sig_void_this_i4
[10:35:43] info:           24: 0x4ae7c28 - .tmpv45pjF!aot_instances_wrapper_runtime_invoke_object_runtime_invoke_sig_void_intptr_intptr_intptr_object_intptr_intptr_intptr
[10:35:43] info:           25: 0x53b9389 - mono_llvmonly_runtime_invoke
[10:35:43] info:                            at /__w/1/s/src/mono/mono/mini/mini-runtime.c:3419:2
[10:35:43] info:           26: 0x53b8185 - mono_jit_runtime_invoke
[10:35:43] info:                            at /__w/1/s/src/mono/mono/mini/mini-runtime.c:3683:12
[10:35:43] info:           27: 0x53781d2 - do_runtime_invoke
[10:35:43] info:                            at /__w/1/s/src/mono/mono/metadata/object.c:2572:11
[10:35:43] info:           28: 0x537815d - mono_runtime_invoke_checked
[10:35:43] info:                            at /__w/1/s/src/mono/mono/metadata/object.c:2788:9
[10:35:43] info:           29: 0x537f598 - mono_runtime_try_invoke_byrefs
[10:35:43] info:                            at /__w/1/s/src/mono/mono/metadata/object.c:5209:16
[10:35:43] info:           30: 0x5344ee5 - ves_icall_InternalInvoke
[10:35:43] info:                            at /__w/1/s/src/mono/mono/metadata/icall.c:3629:11
[10:35:43] info:           31: 0x534b5b3 - ves_icall_InternalInvoke_raw
[10:35:43] info:                            at /__w/1/s/src/mono/mono/metadata/icall-def.h:370:1
[10:35:43] info:           32: 0x1ae78b9 - .tmpv45pjF!aot_wrapper_corlib_System_dot_Reflection_System_dot_Reflection_dot_RuntimeMethodInfo__InternalInvoke_pinvoke_obj_this_objcl9_intptr_2a_bclsc_Exception_26__attrs_2obj_this_objcl9_intptr_2a_bclsc_Exception_26__attrs_2
[10:35:43] info:           33: 0x1ae7689 - .tmpv45pjF!corlib_System_Reflection_MethodBaseInvoker_InterpretedInvoke_Method_object_intptr_
[10:35:43] info:           34: 0x1f9864f - .tmpv45pjF!corlib_wrapper_delegate_invoke__Module_invoke_object_object_intptr__object_intptr_
[10:35:43] info:           35: 0x1aee00b - .tmpv45pjF!corlib_System_Reflection_MethodBaseInvoker_InvokeDirectByRefWithFewArgs_object_System_Span_1_object_System_Reflection_BindingFlags
[10:35:43] info:           36: 0x1aeb10e - .tmpv45pjF!corlib_System_Reflection_MethodBaseInvoker_InvokeWithOneArg_object_System_Reflection_BindingFlags_System_Reflection_Binder_object___System_Globalization_CultureInfo
[10:35:43] info:           37: 0x1b161bf - .tmpv45pjF!corlib_System_Reflection_RuntimeMethodInfo_Invoke_object_System_Reflection_BindingFlags_System_Reflection_Binder_object___System_Globalization_CultureInfo
[10:35:43] info:           38: 0x37d7919 - .tmpv45pjF!xunit_execution_dotnet_Xunit_Sdk_TestInvoker_1_TTestCase_REF_CallTestMethod_object
[10:35:43] info:           39: 0x37e164d - .tmpv45pjF!xunit_execution_dotnet_Xunit_Sdk_TestInvoker_1__c__DisplayClass46_0___InvokeTestMethodAsyncb__1d_TTestCase_REF_MoveNext
[10:35:43] info:           40: 0x1ecc51a - .tmpv45pjF!corlib_System_Runtime_CompilerServices_AsyncMethodBuilderCore_Start_TStateMachine_GSHAREDVT_TStateMachine_GSHAREDVT_
[10:35:43] info:           41: 0x1eccbed - .tmpv45pjF!corlib_System_Runtime_CompilerServices_AsyncTaskMethodBuilder_Start_TStateMachine_GSHAREDVT_TStateMachine_GSHAREDVT_
[10:35:43] info:           42: 0x37de12d - .tmpv45pjF!xunit_execution_dotnet_Xunit_Sdk_TestInvoker_1__c__DisplayClass46_0_TTestCase_REF__InvokeTestMethodAsyncb__1
[10:35:43] info:           43: 0x1f58844 - .tmpv45pjF!corlib_wrapper_delegate_invoke_System_Func_1_TResult_REF_invoke_TResult
[10:35:43] info:           44: 0x37a20b3 - .tmpv45pjF!xunit_execution_dotnet_Xunit_Sdk_ExecutionTimer__AggregateAsyncd__4_MoveNext
[10:35:43] info:           45: 0x1ecc51a - .tmpv45pjF!corlib_System_Runtime_CompilerServices_AsyncMethodBuilderCore_Start_TStateMachine_GSHAREDVT_TStateMachine_GSHAREDVT_
[10:35:43] info:           46: 0x37a162b - .tmpv45pjF!xunit_execution_dotnet_Xunit_Sdk_ExecutionTimer_AggregateAsync_System_Func_1_System_Threading_Tasks_Task
[10:35:43] info:           47: 0x37dde19 - .tmpv45pjF!xunit_execution_dotnet_Xunit_Sdk_TestInvoker_1__c__DisplayClass46_0_TTestCase_REF__InvokeTestMethodAsyncb__0
[10:35:43] info:           48: 0x1f58844 - .tmpv45pjF!corlib_wrapper_delegate_invoke_System_Func_1_TResult_REF_invoke_TResult
[10:35:43] info:           49: 0x3712e0a - .tmpv45pjF!xunit_core_Xunit_Sdk_ExceptionAggregator__RunAsyncd__9_MoveNext
[10:35:43] info:           50: 0x1ecc51a - .tmpv45pjF!corlib_System_Runtime_CompilerServices_AsyncMethodBuilderCore_Start_TStateMachine_GSHAREDVT_TStateMachine_GSHAREDVT_
[10:35:43] info:           51: 0x3710812 - .tmpv45pjF!xunit_core_Xunit_Sdk_ExceptionAggregator_RunAsync_System_Func_1_System_Threading_Tasks_Task
[10:35:43] info:           52: 0x37e4265 - .tmpv45pjF!xunit_execution_dotnet_Xunit_Sdk_TestInvoker_1__InvokeTestMethodAsyncd__46_TTestCase_REF_MoveNext
[10:35:43] info:           53: 0x1ecc51a - .tmpv45pjF!corlib_System_Runtime_CompilerServices_AsyncMethodBuilderCore_Start_TStateMachine_GSHAREDVT_TStateMachine_GSHAREDVT_
[10:35:43] info:           54: 0x1eccf7b - .tmpv45pjF!corlib_System_Runtime_CompilerServices_AsyncTaskMethodBuilder_1_TResult_GSHAREDVT_Start_TStateMachine_GSHAREDVT_TStateMachine_GSHAREDVT_
[10:35:43] info:           55: 0x37d7ffb - .tmpv45pjF!xunit_execution_dotnet_Xunit_Sdk_TestInvoker_1_TTestCase_REF_InvokeTestMethodAsync_object
[10:35:43] info:           56: 0x3829d13 - .tmpv45pjF!xunit_execution_dotnet_Xunit_Sdk_XunitTestInvoker_InvokeTestMethodAsync_object
[10:35:43] info:           57: 0x37db327 - .tmpv45pjF!xunit_execution_dotnet_Xunit_Sdk_TestInvoker_1___RunAsyncb__45_0d_TTestCase_REF_MoveNext
[10:35:43] info:           58: 0x1ecc51a - .tmpv45pjF!corlib_System_Runtime_CompilerServices_AsyncMethodBuilderCore_Start_TStateMachine_GSHAREDVT_TStateMachine_GSHAREDVT_
[10:35:43] info:           59: 0x1eccf7b - .tmpv45pjF!corlib_System_Runtime_CompilerServices_AsyncTaskMethodBuilder_1_TResult_GSHAREDVT_Start_TStateMachine_GSHAREDVT_TStateMachine_GSHAREDVT_
[10:35:43] info:           60: 0x37d85c8 - .tmpv45pjF!xunit_execution_dotnet_Xunit_Sdk_TestInvoker_1_TTestCase_REF__RunAsyncb__45_0
[10:35:43] info:           61: 0x3b509a4 - .tmpv45pjF!aot_instances_aot_wrapper_gsharedvt_out_sig_obj_this_
[10:35:43] info:           62: 0x52a0bd8 - jit_call_cb
[10:35:43] info:                            at /__w/1/s/src/mono/mono/mini/interp/interp.c:2517:3
[10:35:43] info:           63: 0x53cf701 - mono_llvm_catch_exception
[10:35:43] info:                            at /__w/1/s/src/mono/mono/mini/mini-exceptions.c:3670:3
[10:35:43] info:           64: 0x529f6d1 - do_jit_call
[10:35:43] info:                            at /__w/1/s/src/mono/mono/mini/interp/interp.c:2847:3
[10:35:43] info:           65: 0x529c441 - mono_interp_exec_method
[10:35:43] info:                            at /__w/1/s/src/mono/mono/mini/interp/interp.c:4309:6
[10:35:43] info:           66: 0x529eeb3 - interp_entry
[10:35:43] info:                            at /__w/1/s/src/mono/mono/mini/interp/interp.c:2316:2
[10:35:43] info:           67: 0x52a17d3 - interp_entry_instance_0
[10:35:43] info:                            at /__w/1/s/src/mono/mono/mini/interp/interp.c:3104:67
[10:35:43] info:           68: 0x3b514c2 - .tmpv45pjF!aot_instances_aot_wrapper_gsharedvt_in_sig_void_this_
[10:35:43] info:           69: 0x1ecc51a - .tmpv45pjF!corlib_System_Runtime_CompilerServices_AsyncMethodBuilderCore_Start_TStateMachine_GSHAREDVT_TStateMachine_GSHAREDVT_
[10:35:43] info:           70: 0x52208a9 - .tmpv45pjF!aot_instances_Xunit_Sdk_ExceptionAggregator_RunAsync_System_Decimal_System_Func_1_System_Threading_Tasks_Task_1_System_Decimal

Copy link
Contributor

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

@ilonatommy
Copy link
Member

ilonatommy commented Jul 17, 2024

The real error:

<value>Collection was modified after the enumerator was instantiated.</value>

We have to figure out what foreach loop has caused it and change it to for. The test itself?

public void IEnumerable_NonGeneric_Enumerator_Reset_ModifiedBeforeEnumeration_ThrowsInvalidOperationException(int count)

I cannot reproduce locally running on repeat.
Saving Pavel's log for later
console.40fba6bc.txt

@lewing lewing modified the milestones: 9.0.0, 10.0.0 Aug 14, 2024
@lewing
Copy link
Member

lewing commented Aug 14, 2024

only 4 hits in a month and could be caused by resolved issue. moving to 10

@pavelsavara
Copy link
Member Author

there are few hits now, it seems related to #105427

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-wasm WebAssembly architecture area-Codegen-AOT-mono Known Build Error Use this to report build issues in the .NET Helix tab os-wasi Related to WASI variant of arch-wasm
Projects
None yet
Development

No branches or pull requests

3 participants