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

[wasm][MT] crash in the browser-bench with MT enabled #94095

Closed
radekdoulik opened this issue Oct 27, 2023 · 1 comment
Closed

[wasm][MT] crash in the browser-bench with MT enabled #94095

radekdoulik opened this issue Oct 27, 2023 · 1 comment
Assignees
Milestone

Comments

@radekdoulik
Copy link
Member

Crash in the browser-bench, probably in the JSImportTaskMeasurement

JSInterop, JSImportManyArgs count: 125, per call: 40.696ms, total: 5.087s<br/> [main.js:117:21](http://localhost:8031/main.js)
MONO_WASM [0x3f50030]: Allocated 6182 function table entries for jiterpreter, bringing total table size to 10547 [logging.ts:22:12](file:///Users/rodo/git/threads-runtime/src/mono/wasm/runtime/logging.ts)
MONO_WASM [0x3f50030]: Growing wasm function table took 0.10000000009313226. Filling table took 1.2600000000093132. [logging.ts:22:12](file:///Users/rodo/git/threads-runtime/src/mono/wasm/runtime/logging.ts)
[ERROR] FATAL UNHANDLED EXCEPTION: System.Threading.ThreadStartException: Arg_ThreadStartException [dotnet.native.js:1003:8](http://localhost:8031/_framework/dotnet.native.js)
 ---> System.ExecutionEngineException: mono_thread_platform_create_thread() failed [dotnet.native.js:1003:8](http://localhost:8031/_framework/dotnet.native.js)
   Exception_EndOfInnerExceptionStack [dotnet.native.js:1003:8](http://localhost:8031/_framework/dotnet.native.js)
   at System.Threading.Thread.ThrowThreadStartException(Exception ex) [dotnet.native.js:1003:8](http://localhost:8031/_framework/dotnet.native.js)
   at System.Threading.Thread.StartCore() [dotnet.native.js:1003:8](http://localhost:8031/_framework/dotnet.native.js)
   at System.Threading.Thread.Start(Boolean , Boolean ) [dotnet.native.js:1003:8](http://localhost:8031/_framework/dotnet.native.js)
   at System.Threading.Thread.UnsafeStart() [dotnet.native.js:1003:8](http://localhost:8031/_framework/dotnet.native.js)
   at System.Threading.WebWorkerEventLoop.StartExitable(Thread , Boolean ) [dotnet.native.js:1003:8](http://localhost:8031/_framework/dotnet.native.js)
   at System.Threading.PortableThreadPool.WorkerThread.CreateWorkerThread() [dotnet.native.js:1003:8](http://localhost:8031/_framework/dotnet.native.js)
   at System.Threading.PortableThreadPool.WorkerThread.MaybeAddWorkingWorker(PortableThreadPool ) [dotnet.native.js:1003:8](http://localhost:8031/_framework/dotnet.native.js)
   at System.Threading.PortableThreadPool.AdjustMaxWorkersActive() [dotnet.native.js:1003:8](http://localhost:8031/_framework/dotnet.native.js)
   at System.Threading.PortableThreadPool.NotifyWorkItemProgress(Object , Int32 ) [dotnet.native.js:1003:8](http://localhost:8031/_framework/dotnet.native.js)
   at System.Threading.PortableThreadPool.NotifyWorkItemComplete(Object , Int32 ) [dotnet.native.js:1003:8](http://localhost:8031/_framework/dotnet.native.js)
   at System.Threading.ThreadPoolWorkQueue.Dispatch() [dotnet.native.js:1003:8](http://localhost:8031/_framework/dotnet.native.js)
   at System.Threading.PortableThreadPool.WorkerThread.WorkLoopSemaphoreSuccess(LowLevelLifoAsyncWaitSemaphore semaphore, Object stateObject) [dotnet.native.js:1003:8](http://localhost:8031/_framework/dotnet.native.js)
   at System.Threading.LowLevelLifoAsyncWaitSemaphore.InternalAsyncWaitSuccess(LowLevelLifoAsyncWaitSemaphore , WaitEntry ) [dotnet.native.js:1003:8](http://localhost:8031/_framework/dotnet.native.js)
   at System.Threading.LowLevelLifoAsyncWaitSemaphore.SuccessCallback(IntPtr lifoSemaphore, IntPtr userData) [dotnet.native.js:1003:8](http://localhost:8031/_framework/dotnet.native.js)
[ERROR] FATAL UNHANDLED EXCEPTION: System.Threading.ThreadStartException: Arg_ThreadStartException [dotnet.native.js:1003:8](http://localhost:8031/_framework/dotnet.native.js)
 ---> System.ExecutionEngineException: mono_thread_platform_create_thread() failed [dotnet.native.js:1003:8](http://localhost:8031/_framework/dotnet.native.js)
   Exception_EndOfInnerExceptionStack [dotnet.native.js:1003:8](http://localhost:8031/_framework/dotnet.native.js)
   at System.Threading.Thread.ThrowThreadStartException(Exception ex) [dotnet.native.js:1003:8](http://localhost:8031/_framework/dotnet.native.js)
   at System.Threading.Thread.StartCore() [dotnet.native.js:1003:8](http://localhost:8031/_framework/dotnet.native.js)
   at System.Threading.Thread.Start(Boolean , Boolean ) [dotnet.native.js:1003:8](http://localhost:8031/_framework/dotnet.native.js)
   at System.Threading.Thread.UnsafeStart() [dotnet.native.js:1003:8](http://localhost:8031/_framework/dotnet.native.js)
   at System.Threading.WebWorkerEventLoop.StartExitable(Thread , Boolean ) [dotnet.native.js:1003:8](http://localhost:8031/_framework/dotnet.native.js)
   at System.Threading.PortableThreadPool.WorkerThread.CreateWorkerThread() [dotnet.native.js:1003:8](http://localhost:8031/_framework/dotnet.native.js)
   at System.Threading.PortableThreadPool.WorkerThread.MaybeAddWorkingWorker(PortableThreadPool ) [dotnet.native.js:1003:8](http://localhost:8031/_framework/dotnet.native.js)
   at System.Threading.PortableThreadPool.GateThread.GateThreadStart() [dotnet.native.js:1003:8](http://localhost:8031/_framework/dotnet.native.js)
​```
@pavelsavara
Copy link
Member

duplicate #91538

@ghost ghost locked as resolved and limited conversation to collaborators Nov 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants