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

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

Open
pavelsavara opened this issue Nov 8, 2024 · 1 comment
Assignees
Labels
arch-wasm WebAssembly architecture area-VM-threading-mono disabled-test The test is disabled in source code against the issue Known Build Error Use this to report build issues in the .NET Helix tab os-browser Browser variant of arch-wasm
Milestone

Comments

@pavelsavara
Copy link
Member

pavelsavara commented Nov 8, 2024

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: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=863764
Error message validated: [MONO_WASM: The handle is invalid]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 11/8/2024 11:55:26 AM UTC

Report

Build Definition Test Pull Request
877880 dotnet/runtime WasmTestOnFirefox-MT-System.Threading.Channels.Tests.WorkItemExecution #110119
880906 dotnet/runtime WasmTestOnFirefox-MT-System.Runtime.Serialization.Json.Tests.WorkItemExecution #110117
881304 dotnet/runtime WasmTestOnFirefox-MT-System.ObjectModel.Tests.WorkItemExecution
881227 dotnet/runtime WasmTestOnFirefox-MT-System.Runtime.Loader.RefEmitLoadContext.Tests.WorkItemExecution #110232
880651 dotnet/runtime WasmTestOnFirefox-MT-System.Reflection.InvokeInterpreted.Tests.WorkItemExecution
879438 dotnet/runtime WasmTestOnFirefox-MT-System.Runtime.Caching.Tests.WorkItemExecution #109584
878663 dotnet/runtime WasmTestOnFirefox-MT-System.Private.Uri.Unit.Tests.WorkItemExecution #110156
879885 dotnet/runtime WasmTestOnFirefox-MT-System.Text.Encoding.CodePages.Tests.WorkItemExecution #108731
879888 dotnet/runtime WasmTestOnFirefox-MT-Microsoft.Extensions.Diagnostics.Abstractions.Tests.WorkItemExecution #108886
879584 dotnet/runtime WasmTestOnFirefox-MT-System.Net.Mail.Unit.Tests.WorkItemExecution #110117
879353 dotnet/runtime WasmTestOnFirefox-MT-System.Diagnostics.DiagnosticSource.Tests.WorkItemExecution

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 11
@pavelsavara pavelsavara added arch-wasm WebAssembly architecture area-VM-threading-mono Known Build Error Use this to report build issues in the .NET Helix tab os-browser Browser variant of arch-wasm labels Nov 8, 2024
@pavelsavara pavelsavara added this to the 10.0.0 milestone Nov 8, 2024
Copy link
Contributor

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

@pavelsavara pavelsavara self-assigned this Nov 8, 2024
@pavelsavara pavelsavara added the disabled-test The test is disabled in source code against the issue label Dec 9, 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 disabled-test The test is disabled in source code against the issue Known Build Error Use this to report build issues in the .NET Helix tab os-browser Browser variant of arch-wasm
Projects
None yet
Development

No branches or pull requests

1 participant