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] silence "keeping the worker alive for asynchronous operation" #98631

Closed
wants to merge 1 commit into from

Conversation

pavelsavara
Copy link
Member

@pavelsavara pavelsavara commented Feb 18, 2024

The version of emscripten we have will print following to console any time we try to create thread with external/browser event loop.

err('Pthread 0x' + Module['_pthread_self']().toString(16) + ' completed its main entry point with an `unwind`, keeping the worker alive for asynchronous operation.');

image

@pavelsavara pavelsavara added arch-wasm WebAssembly architecture area-System.Runtime.InteropServices.JavaScript os-browser Browser variant of arch-wasm labels Feb 18, 2024
@pavelsavara pavelsavara added this to the 9.0.0 milestone Feb 18, 2024
@pavelsavara pavelsavara self-assigned this Feb 18, 2024
@ghost
Copy link

ghost commented Feb 18, 2024

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details

The version of emscripten we have will print following to console any time we try to create thread with external/browser event loop.

err('Pthread 0x' + Module['_pthread_self']().toString(16) + ' completed its main entry point with an `unwind`, keeping the worker alive for asynchronous operation.');
Author: pavelsavara
Assignees: pavelsavara
Labels:

arch-wasm, area-System.Runtime.InteropServices.JavaScript, os-browser

Milestone: 9.0.0

@pavelsavara
Copy link
Member Author

pavelsavara commented Feb 18, 2024

@lambdageek I think the problem doesn't exist in later versions of emscripten, what version do we need to upgrade to as an alternative ?

emscripten-core/emscripten#19036
emscripten-core/emscripten#19048

@pavelsavara pavelsavara marked this pull request as ready for review February 18, 2024 17:15
@pavelsavara pavelsavara changed the title [browser][MT] silence keeping the worker alive for asynchronous operation [browser][MT] silence "keeping the worker alive for asynchronous operation" Feb 18, 2024
@pavelsavara
Copy link
Member Author

found it. It only happens to me because I use Debug build with ASSERTIONS on.

@github-actions github-actions bot locked and limited conversation to collaborators Mar 21, 2024
@pavelsavara pavelsavara deleted the browser_mt_noise branch September 2, 2024 15:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-System.Runtime.InteropServices.JavaScript os-browser Browser variant of arch-wasm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant