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 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
869615 dotnet/runtime WasmTestOnFirefox-MT-System.Runtime.Serialization.Json.ReflectionOnly.Tests.WorkItemExecution
869464 dotnet/runtime WasmTestOnFirefox-MT-System.Security.SecureString.Tests.WorkItemExecution #109638
869235 dotnet/runtime WasmTestOnFirefox-MT-System.Text.Encoding.Extensions.Tests.WorkItemExecution #109801
869149 dotnet/runtime WasmTestOnFirefox-MT-System.Composition.AttributeModel.Tests.WorkItemExecution #109363
868930 dotnet/runtime WasmTestOnFirefox-MT-System.Threading.RateLimiting.Tests.WorkItemExecution #109137
868709 dotnet/runtime WasmTestOnFirefox-MT-System.ComponentModel.Composition.Registration.Tests.WorkItemExecution #109772
868566 dotnet/runtime WasmTestOnFirefox-MT-System.ValueTuple.Tests.WorkItemExecution #109638
866912 dotnet/runtime WasmTestOnFirefox-MT-System.Composition.Tests.WorkItemExecution #109707
866509 dotnet/runtime WasmTestOnFirefox-MT-System.IO.Pipelines.Tests.WorkItemExecution #109540
866096 dotnet/runtime WasmTestOnFirefox-MT-System.Runtime.Loader.DefaultContext.Tests.WorkItemExecution #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 #109634
864427 dotnet/runtime WasmTestOnFirefox-MT-System.Threading.Thread.Tests.WorkItemExecution
863764 dotnet/runtime WasmTestOnFirefox-MT-System.Net.Mail.Unit.Tests.WorkItemExecution #109584

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
6 15 15
@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
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 os-browser Browser variant of arch-wasm
Projects
None yet
Development

No branches or pull requests

1 participant