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

[wasm][MT] null function or function signature mismatch #101481

Open
pavelsavara opened this issue Apr 24, 2024 · 12 comments
Open

[wasm][MT] null function or function signature mismatch #101481

pavelsavara opened this issue Apr 24, 2024 · 12 comments
Assignees
Labels
arch-wasm WebAssembly architecture area-VM-threading-mono Known Build Error Use this to report build issues in the .NET Helix tab
Milestone

Comments

@pavelsavara
Copy link
Member

pavelsavara commented Apr 24, 2024

Log

[19:27:59] fail: MONO_WASM: null function or function signature mismatch
RuntimeError: null function or function signature mismatch
    at xunit.assert_Xunit_Sdk_CollectionTracker_CheckIfEnumerablesAreEqual_Xunit_Sdk_CollectionTracker_Xunit_Sdk_CollectionTracker_System_Collections_IEqualityComparer_bool_System_Nullable_1_int_ (xunit.assert_Xunit_Sdk_CollectionTracker_CheckIfEnumerablesAreEqual_Xunit_Sdk_CollectionTracker_Xunit_Sdk_CollectionTracker_System_Collections_IEqualityComparer_bool_System_Nullable_1_int_ (http://127.0.0.1:49267/_framework/dotnet.native.wasm:wasm-function[40181]:0xc80abc))
    at xunit.assert_Xunit_Sdk_CollectionTracker_AreCollectionsEqual_Xunit_Sdk_CollectionTracker_Xunit_Sdk_CollectionTracker_System_Collections_IEqualityComparer_bool_System_Nullable_1_int_ (xunit.assert_Xunit_Sdk_CollectionTracker_AreCollectionsEqual_Xunit_Sdk_CollectionTracker_Xunit_Sdk_CollectionTracker_System_Collections_IEqualityComparer_bool_System_Nullable_1_int_ (http://127.0.0.1:49267/_framework/dotnet.native.wasm:wasm-function[40158]:0xc7e1d7))
    at xunit.assert_Xunit_Sdk_AssertEqualityComparer_1_T_REF_Equals_T_REF_Xunit_Sdk_CollectionTracker_T_REF_Xunit_Sdk_CollectionTracker_System_Nullable_1_int_ (xunit.assert_Xunit_Sdk_AssertEqualityComparer_1_T_REF_Equals_T_REF_Xunit_Sdk_CollectionTracker_T_REF_Xunit_Sdk_CollectionTracker_System_Nullable_1_int_ (http://127.0.0.1:49267/_framework/dotnet.native.wasm:wasm-function[40157]:0xc7d259))
    at aot-instances_aot_wrapper_gsharedvt_out_sig_u1_this_objobjobjobjbii (aot-instances_aot_wrapper_gsharedvt_out_sig_u1_this_objobjobjobjbii (http://127.0.0.1:49267/_framework/dotnet.native.wasm:wasm-function[48004]:0xed5a66))
    at jit_call_cb (jit_call_cb (http://127.0.0.1:49267/_framework/dotnet.native.wasm:wasm-function[63559]:0x142fafe))
    at mono_llvm_cpp_catch_exception (mono_llvm_cpp_catch_exception (http://127.0.0.1:49267/_framework/dotnet.native.wasm:wasm-function[68929]:0x1555340))
    at mono_llvm_catch_exception (mono_llvm_catch_exception (http://127.0.0.1:49267/_framework/dotnet.native.wasm:wasm-function[68996]:0x1559a39))
    at do_jit_call (do_jit_call (http://127.0.0.1:49267/_framework/dotnet.native.wasm:wasm-function[63476]:0x142c256))
    at mono_interp_exec_method (mono_interp_exec_method (http://127.0.0.1:49267/_framework/dotnet.native.wasm:wasm-function[63471]:0x14201c3))
    at interp_entry (interp_entry (http://127.0.0.1:49267/_framework/dotnet.native.wasm:wasm-function[63550]:0x142f3c1))
    at interp_entry_static_3 (interp_entry_static_3 (http://127.0.0.1:49267/_framework/dotnet.native.wasm:wasm-function[63596]:0x1430f79))
    at aot-instances_aot_wrapper_gsharedvt_in_sig_void_objobjobj (aot-instances_aot_wrapper_gsharedvt_in_sig_void_objobjobj (http://127.0.0.1:49267/_framework/dotnet.native.wasm:wasm-function[46383]:0xe38a02))
    at xunit.assert_Xunit_Assert_Equal_T_REF_T_REF_T_REF_System_Collections_Generic_IEqualityComparer_1_T_REF (xunit.assert_Xunit_Assert_Equal_T_REF_T_REF_T_REF_System_Collections_Generic_IEqualityComparer_1_T_REF (http://127.0.0.1:49267/_framework/dotnet.native.wasm:wasm-function[40024]:0xc6ecf0))
    at aot-instances_Xunit_Assert_Equal_T_BYTE_System_Collections_Generic_IEnumerable_1_T_BYTE_System_Collections_Generic_IEnumerable_1_T_BYTE (aot-instances_Xunit_Assert_Equal_T_BYTE_System_Collections_Generic_IEnumerable_1_T_BYTE_System_Collections_Generic_IEnumerable_1_T_BYTE (http://127.0.0.1:49267/_framework/dotnet.native.wasm:wasm-function[45415]:0xe07209))
    at Common.Tests_System_Net_Http_Unit_Tests_HPack_HuffmanDecodingTests_HuffmanDecoding_ValidEncoding_Succeeds (Common.Tests_System_Net_Http_Unit_Tests_HPack_HuffmanDecodingTests_HuffmanDecoding_ValidEncoding_Succeeds (http://127.0.0.1:49267/_framework/dotnet.native.wasm:wasm-function[688]:0x87373))
    at aot-instances_aot_wrapper_gsharedvt_out_sig_void_this_ (aot-instances_aot_wrapper_gsharedvt_out_sig_void_this_ (http://127.0.0.1:49267/_framework/dotnet.native.wasm:wasm-function[44920]:0xde5feb))
    at aot-instances_wrapper_runtime_invoke_object_runtime_invoke_sig_void_intptr_intptr_object_intptr_intptr_intptr (aot-instances_wrapper_runtime_invoke_object_runtime_invoke_sig_void_intptr_intptr_object_intptr_intptr_intptr (http://127.0.0.1:49267/_framework/dotnet.native.wasm:wasm-function[58006]:0x11e1b4e))
    at mono_llvmonly_runtime_invoke (mono_llvmonly_runtime_invoke (http://127.0.0.1:49267/_framework/dotnet.native.wasm:wasm-function[68723]:0x1546371))

Build Information

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

Error Message

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

{
  "ErrorMessage": "null function or function signature mismatch",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=653707
Error message validated: [null function or function signature mismatch]
Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 4/24/2024 9:41:34 AM UTC

Report

Build Definition Test Pull Request
903529 dotnet/runtime WasmTestOnChrome-MT-System.IO.MemoryMappedFiles.Tests.WorkItemExecution #110884

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 1 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 labels Apr 24, 2024
@pavelsavara pavelsavara added this to the 9.0.0 milestone Apr 24, 2024
Copy link
Contributor

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

@pavelsavara
Copy link
Member Author

cc @kg @BrzVlad

@mkhamoyan
Copy link
Contributor

This is caused because of my draft PR #101476, I'll assign this to me.

@mkhamoyan mkhamoyan self-assigned this Apr 24, 2024
@mkhamoyan mkhamoyan removed the Known Build Error Use this to report build issues in the .NET Helix tab label Apr 24, 2024
@pavelsavara
Copy link
Member Author

This is caused because of my draft PR #101476, I'll assign this to me.

no, this was on my PR #100697

@mkhamoyan
Copy link
Contributor

no, this was on my PR #100697

I see, my bad.

@mkhamoyan mkhamoyan added the Known Build Error Use this to report build issues in the .NET Helix tab label Apr 24, 2024
@lewing
Copy link
Member

lewing commented Apr 24, 2024

cc @steveisok

@pavelsavara
Copy link
Member Author

Not all of them are AOT now, some of them are MT.

@lewing
Copy link
Member

lewing commented Aug 9, 2024

Almost all of the ST failures are at at dotnet.native.wasm.Moq_Moq_ExpressionExtensions_IsMatch_System_Linq_Expressions_Expression_Moq_Match now

@pavelsavara
Copy link
Member Author

I hope the the root cause is #106200 and fix #106313

@lewing lewing assigned radekdoulik and unassigned mkhamoyan Aug 15, 2024
@lewing
Copy link
Member

lewing commented Aug 15, 2024

I hope the the root cause is #106200 and fix #106313

That was definitely not all of them

@lewing
Copy link
Member

lewing commented Aug 18, 2024

So far it appears we only have MT failures after the alignment fix?

@pavelsavara
Copy link
Member Author

Last 2 are MT Log

[09:00:43] fail: [0x000fbb58--UI- 09:00:43.363] MONO_WASM: null function or function signature mismatch
                 RuntimeError: null function or function signature mismatch
                     at call_with_ctx (http://127.0.0.1:41243/_framework/dotnet.native.wasm:wasm-function[8715]:0x228509)
                     at em_task_queue_execute (http://127.0.0.1:41243/_framework/dotnet.native.wasm:wasm-function[8700]:0x227ea2)
                     at receive_notification (http://127.0.0.1:41243/_framework/dotnet.native.wasm:wasm-function[8706]:0x22808e)
                     at em_task_queue_execute (http://127.0.0.1:41243/_framework/dotnet.native.wasm:wasm-function[8700]:0x227ea2)
                     at _emscripten_check_mailbox (http://127.0.0.1:41243/_framework/dotnet.native.wasm:wasm-function[8844]:0x22feac)
                     at callUserCallback (http://127.0.0.1:41243/_framework/dotnet.native.js:8:98666)
                     at checkMailbox (http://127.0.0.1:41243/_framework/dotnet.native.js:8:99197)

@pavelsavara pavelsavara changed the title [wasm] AOT null function or function signature mismatch [wasm] null function or function signature mismatch Aug 29, 2024
@pavelsavara pavelsavara modified the milestones: 9.0.0, 10.0.0 Aug 29, 2024
@pavelsavara pavelsavara changed the title [wasm] null function or function signature mismatch [wasm][MT] null function or function signature mismatch Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-wasm WebAssembly architecture area-VM-threading-mono Known Build Error Use this to report build issues in the .NET Helix tab
Projects
None yet
Development

No branches or pull requests

4 participants