-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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] ThreadStartException in System.Net.WebSockets.Client.Tests on WASM #93323
Comments
Tagging subscribers to this area: @mangod9 Issue Details
Build InformationBuild: https://helixre107v0xdcypoyl9e7f.blob.core.windows.net/dotnet-runtime-refs-pull-92682-merge-d089dcadfcc74738af/WasmTestOnBrowser-System.Net.WebSockets.Client.Tests/1/console.7cb91235.log?helixlogtype=result Error Message{
"ErrorMessage": "System.ExecutionEngineException: mono_thread_platform_create_thread() failed",
"BuildRetry": true,
"ErrorPattern": "",
"ExcludeConsoleLog": false
}
|
@ilonatommy there are several issues with other tests but similar failure: none of them have a known issues blob so I made this one fairly generic. |
Tagging subscribers to 'arch-wasm': @lewing Issue Details
Build InformationBuild: https://helixre107v0xdcypoyl9e7f.blob.core.windows.net/dotnet-runtime-refs-pull-92682-merge-d089dcadfcc74738af/WasmTestOnBrowser-System.Net.WebSockets.Client.Tests/1/console.7cb91235.log?helixlogtype=result Error Message{
"ErrorMessage": "System.ExecutionEngineException: mono_thread_platform_create_thread() failed",
"BuildRetry": true,
"ErrorPattern": "",
"ExcludeConsoleLog": false
}
|
There's a setting in the threadpool for the maximum number of threads that it is allowed to start that can be set in runtimeconfig.json: https://learn.microsoft.com/en-us/dotnet/core/runtime-config/threading#maximum-threads. we should probably set it to be equal to the max number of threads that we tell emscripten to allow (minus 2-3 - the runtime consumes a bunch of threads for its own uses) |
Duplicate of #91538 |
Build Information
Build: https://helixre107v0xdcypoyl9e7f.blob.core.windows.net/dotnet-runtime-refs-pull-92682-merge-d089dcadfcc74738af/WasmTestOnBrowser-System.Net.WebSockets.Client.Tests/1/console.7cb91235.log?helixlogtype=result
Leg Name: Console log: 'WasmTestOnBrowser-System.Net.WebSockets.Client.Tests' from job d089dcad-fcc7-4738-afd1-f43163be9d35 (ubuntu.2204.amd64.open.rt) using docker image mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-helix-webassembly on a002M59
Error Message
The text was updated successfully, but these errors were encountered: