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] force memory views resize after loading assets and after VM start #110156

Closed

Conversation

pavelsavara
Copy link
Member

Trying to fix #102615

@pavelsavara pavelsavara added arch-wasm WebAssembly architecture area-VM-threading-mono os-browser Browser variant of arch-wasm labels Nov 25, 2024
@pavelsavara pavelsavara added this to the 10.0.0 milestone Nov 25, 2024
@pavelsavara pavelsavara self-assigned this Nov 25, 2024
@pavelsavara
Copy link
Member Author

This didn't help

Log

[19:03:37] info: [FAIL] XmlSerializerTests.AlwaysPassTest
[19:03:37] info: System.IO.FileNotFoundException : Could not load file or assembly 'xunit.assert, Version=2.9.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
[19:03:37] info:    at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
[19:03:37] info:    at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Log

[19:03:43] fail: [0x000ebc38--UI- 19:03:43.477] MONO_WASM: Could not set up parent class, due to: Could not load type of field 'Microsoft.DotNet.XHarness.TestRunners.Xunit.XUnitTestRunner:_messageSink' (0) due to: Could not load file or assembly 'xunit.abstractions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c' or one of its dependencies. assembly:Microsoft.DotNet.XHarness.TestRunners.Xunit.dll type:XUnitTestRunner member:(null)
                    at Microsoft.DotNet.XHarness.TestRunners.Common.ApplicationEntryPoint.InternalRunAsync(LogWriter logger)
                    at Microsoft.DotNet.XHarness.TestRunners.Common.ApplicationEntryPoint.InternalRunAsync(ApplicationOptions options, TextWriter loggerWriter, TextWriter resultsFile)
                    at Microsoft.DotNet.XHarness.TestRunners.Common.WasmApplicationEntryPointBase.RunAsync()
                    at Microsoft.DotNet.XHarness.TestRunners.Xunit.WasmApplicationEntryPoint.Run()
                    at WasmTestRunner.MainAsync(String[] args)
                 ManagedError@http://127.0.0.1:33581/_framework/dotnet.runtime.js:3:37417
                 un@http://127.0.0.1:33581/_framework/dotnet.runtime.js:3:27191
                 cn/<@http://127.0.0.1:33581/_framework/dotnet.runtime.js:3:26754
                 ql</</<@http://127.0.0.1:33581/_framework/dotnet.runtime.js:3:201019
                 ql</<@http://127.0.0.1:33581/_framework/dotnet.runtime.js:3:201140
                 callUserCallback@http://127.0.0.1:33581/_framework/dotnet.native.js:8:98666
                 createDotnetRuntime/safeSetTimeout/createDotnetRuntime<@http://127.0.0.1:33581/_framework/dotnet.native.js:8:106269
JavaScript error: http://127.0.0.1:33581/_framework/dotnet.runtime.js, line 3: Error: Could not set up parent class, due to: Could not load type of field 'Microsoft.DotNet.XHarness.TestRunners.Xunit.XUnitTestRunner:_messageSink' (0) due to: Could not load file or assembly 'xunit.abstractions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c' or one of its dependencies. assembly:Microsoft.DotNet.XHarness.TestRunners.Xunit.dll type:XUnitTestRunner member:(null)
[19:03:43] info: WASM EXIT 1

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 os-browser Browser variant of arch-wasm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[wasm][mt] fail: System.TypeLoadException: Could not load type of field"
2 participants