dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
15.29k stars 4.74k forks source link

[browser][MT] JSHostImplementation.CallEntrypoint - The handle is invalid #109636

Open pavelsavara opened 4 days ago

pavelsavara commented 4 days ago

Log

[18:14:00] info: 006 |           -    : isRunning:false isAttached:false isEventLoop:false reuseCount:  0 - emscripten-pool
JavaScript error: http://127.0.0.1:39061/_framework/dotnet.runtime.js, line 3: Error: The handle is invalid.
[18:14:00] fail: [0x000ebc38--UI- 18:14:00.975] MONO_WASM: The handle is invalid.
                    at System.Reflection.MethodBase.GetMethodFromHandle(RuntimeMethodHandle handle)
                    at System.Runtime.InteropServices.JavaScript.JSHostImplementation.CallEntrypoint(IntPtr assemblyNamePtr, String[] args, Boolean waitForDebugger)
                 ManagedError@http://127.0.0.1:39061/_framework/dotnet.runtime.js:3:37412
                 un@http://127.0.0.1:39061/_framework/dotnet.runtime.js:3:27191
                 cn/<@http://127.0.0.1:39061/_framework/dotnet.runtime.js:3:26754
                 ql</</<@http://127.0.0.1:39061/_framework/dotnet.runtime.js:3:201014
                 ql</<@http://127.0.0.1:39061/_framework/dotnet.runtime.js:3:201135
                 callUserCallback@http://127.0.0.1:39061/_framework/dotnet.native.js:8:98666
                 createDotnetRuntime/safeSetTimeout/createDotnetRuntime<@http://127.0.0.1:39061/_framework/dotnet.native.js:8:106269
[18:14:01] info: WASM EXIT 1

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=863764&view=logs&jobId=f02b8cf9-dd4d-54fc-c292-2bb1d305b019 Build error leg or test failing:

Error Message

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

{
  "ErrorMessage": "MONO_WASM: The handle is invalid",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: :mag_right: https://dev.azure.com/dnceng-public/public/_build/results?buildId=863764 Error message validated: [MONO_WASM: The handle is invalid] Result validation: :white_check_mark: Known issue matched with the provided build. Validation performed at: 11/8/2024 11:55:26 AM UTC

Report

Build Definition Test Pull Request
866912 dotnet/runtime WasmTestOnFirefox-MT-System.Composition.Tests.WorkItemExecution dotnet/runtime#109707
866509 dotnet/runtime WasmTestOnFirefox-MT-System.IO.Pipelines.Tests.WorkItemExecution dotnet/runtime#109540
866096 dotnet/runtime WasmTestOnFirefox-MT-System.Runtime.Loader.DefaultContext.Tests.WorkItemExecution dotnet/runtime#109137
865898 dotnet/runtime WasmTestOnFirefox-MT-System.Xml.Linq.Misc.Tests.WorkItemExecution
865724 dotnet/runtime WasmTestOnFirefox-MT-System.Reflection.InvokeInterpreted.Tests.WorkItemExecution
864790 dotnet/runtime WasmTestOnFirefox-MT-System.Linq.Tests.WorkItemExecution dotnet/runtime#109634
864427 dotnet/runtime WasmTestOnFirefox-MT-System.Threading.Thread.Tests.WorkItemExecution
863764 dotnet/runtime WasmTestOnFirefox-MT-System.Net.Mail.Unit.Tests.WorkItemExecution dotnet/runtime#109584

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
1 8 8
dotnet-policy-service[bot] commented 4 days ago

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