You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PThreads does not initialize on Firefox after this particular change: #20404
There are no errors logged in the console. Attached a sample app that can reproduce the issue. Tested on Firefox 133 windows desktop. Works fine on Chrome 131.
What do you mean by "pthreads unable to initialize"? Does pthread_create error, or just nothing happens at all? Does the Firefox debugger show Workers being created?
Overall this sounds like a Firefox bug, but it is odd that it is caused by a change that is ok in other browsers.
I tried running the package with the same Emscripten version.
seems like the pthread_create did not flag out any error on the console, when main function get invoke on the worker threads, nothing happens at all
In regular chrome browser, the main function get invoked and started
Removing the flag -sPROXY_TO_PTHREADS does allow the code to run normally on firefox
Please include the following in your bug report:
Version of emscripten/emsdk:
Full link command and output with
-v
appended:PThreads does not initialize on Firefox after this particular change: #20404
There are no errors logged in the console. Attached a sample app that can reproduce the issue. Tested on Firefox 133 windows desktop. Works fine on Chrome 131.
emscriptentest.zip
The text was updated successfully, but these errors were encountered: