-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
arch-wasmWebAssembly architectureWebAssembly architecturearea-Codegen-AOT-monodisabled-testThe test is disabled in source code against the issueThe test is disabled in source code against the issue
Milestone
Description
The fix(#62339) for AOT on windows seems to have broken tests on linux. The PR ran only System.Runtime.Tests
by default, so these slipped through.
Found on #62352
[21:18:42] info: ./dotnet.js:8092: RuntimeError: function signature mismatch
[21:18:42] info: if (e !== e+0 && e !== 'longjmp') throw e;
[21:18:42] info: ^
[21:18:42] info: RuntimeError: function signature mismatch
[21:18:42] info: at System_Collections_Immutable_System_Collections_Immutable_SortedInt32KeyNode_1_Enumerator_TValue_INST_MoveNext_0 (<anonymous>:wasm-function[12535]:0x343583)
[21:18:42] info: at System_Collections_Immutable_System_Collections_Immutable_ImmutableDictionary_2_Enumerator_TKey_REF_TValue_REF_MoveNext (<anonymous>:wasm-function[11431]:0x302c17)
[21:18:42] info: at ut_System_Collections_Immutable_System_Collections_Immutable_ImmutableDictionary_2_Enumerator_TKey_REF_TValue_REF_MoveNext (<anonymous>:wasm-function[11433]:0x302ee4)
[21:18:42] info: at System_Text_Json_System_Text_Json_Serialization_Converters_DictionaryDefaultConverter_3_TDictionary_REF_TKey_REF_TValue_REF_OnWriteResume_System_Text_Json_Utf8JsonWriter_TDictionary_REF_System_Text_Json_JsonSerializerOptions_System_Text_Json_WriteStack_ (<anonymous>:wasm-function[88816]:0x13130b5)
[21:18:42] info: at System_Text_Json_System_Text_Json_Serialization_JsonDictionaryConverter_3_TDictionary_REF_TKey_REF_TValue_REF_OnTryWrite_System_Text_Json_Utf8JsonWriter_TDictionary_REF_System_Text_Json_JsonSerializerOptions_System_Text_Json_WriteStack_ (<anonymous>:wasm-function[88302]:0x12f7cb5)
[21:18:42] info: at System_Text_Json_System_Text_Json_Serialization_JsonConverter_1_T_REF_TryWrite_System_Text_Json_Utf8JsonWriter_T_REF__System_Text_Json_JsonSerializerOptions_System_Text_Json_WriteStack_ (<anonymous>:wasm-function[88362]:0x12f925e)
[21:18:42] info: at System_Text_Json_System_Text_Json_Serialization_Metadata_JsonPropertyInfo_1_T_REF_GetMemberAndWriteJson_object_System_Text_Json_WriteStack__System_Text_Json_Utf8JsonWriter (<anonymous>:wasm-function[88614]:0x1304edf)
[21:18:42] info: at System_Text_Json_System_Text_Json_Serialization_Converters_ObjectDefaultConverter_1_T_REF_OnTryWrite_System_Text_Json_Utf8JsonWriter_T_REF_System_Text_Json_JsonSerializerOptions_System_Text_Json_WriteStack_ (<anonymous>:wasm-function[88976]:0x132173d)
[21:18:42] info: at System_Text_Json_System_Text_Json_Serialization_JsonConverter_1_T_REF_TryWrite_System_Text_Json_Utf8JsonWriter_T_REF__System_Text_Json_JsonSerializerOptions_System_Text_Json_WriteStack_ (<anonymous>:wasm-function[88362]:0x12f925e)
[21:18:42] info: at System_Text_Json_Tests_aot_wrapper_gsharedvt_out_sig_u1_this_objbiiobjbii (<anonymous>:wasm-function[133311]:0x1cba97f)
[21:18:42] info: at jit_call_cb (<anonymous>:wasm-function[158293]:0x21c5406)
...
21:06:42] fail: RuntimeError: function signature mismatch
[21:06:42] fail: at System_Collections_Immutable_Tests_System_Collections_Immutable_ImmutableSortedSet_1_Enumerator_T_INT_MoveNext (<anonymous>:wasm-function[14188]:0x488649)
[21:06:42] fail: at corlib_aot_wrapper_gsharedvt_out_sig_pinvoke_u1_this_ (<anonymous>:wasm-function[51282]:0xd273f7)
...
Others that might be similar with corlib_aot_wrapper_gsharedvt_out_*
near the top frames:
- System.ValueTuple.Tests
- System.Linq.Parallel.Tests
- System.Reflection.TypeExtensions.Tests
- System.Text.Json.SourceGeneration.Roslyn3.11.Tests
Metadata
Metadata
Assignees
Labels
arch-wasmWebAssembly architectureWebAssembly architecturearea-Codegen-AOT-monodisabled-testThe test is disabled in source code against the issueThe test is disabled in source code against the issue