Skip to content

[browser][MT] silence "keeping the worker alive for asynchronous operation"#98631

Closed
pavelsavara wants to merge 1 commit into
dotnet:mainfrom
pavelsavara:browser_mt_noise
Closed

[browser][MT] silence "keeping the worker alive for asynchronous operation"#98631
pavelsavara wants to merge 1 commit into
dotnet:mainfrom
pavelsavara:browser_mt_noise

Conversation

@pavelsavara

@pavelsavara pavelsavara commented Feb 18, 2024

Copy link
Copy Markdown
Member

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

ghost commented Feb 18, 2024

Copy link
Copy Markdown

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

pavelsavara commented Feb 18, 2024

Copy link
Copy Markdown
Member Author

@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 requested a review from lewing as a code owner 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
Copy Markdown
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