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] asynch dispatch soundness #98309

Closed
Tracked by #85592
pavelsavara opened this issue Feb 12, 2024 · 3 comments
Closed
Tracked by #85592

[browser][MT] asynch dispatch soundness #98309

pavelsavara opened this issue Feb 12, 2024 · 3 comments
Assignees
Labels
arch-wasm WebAssembly architecture area-VM-threading-mono os-browser Browser variant of arch-wasm
Milestone

Comments

@pavelsavara
Copy link
Member

pavelsavara commented Feb 12, 2024

make sure that functions passed to emscripten_dispatch_to_thread_async

  • don't throw JS exceptions
  • don't throw managed exceptions
  • don't leak JS interop stack frame
  • sync version propagates errors or error codes
  • invoke_later_when_on_ui_thread_sync and invoke_later_when_on_ui_thread_async should catch all including "memory access out of bounds"
@pavelsavara pavelsavara added arch-wasm WebAssembly architecture area-VM-threading-mono os-browser Browser variant of arch-wasm labels Feb 12, 2024
@pavelsavara pavelsavara added this to the 9.0.0 milestone Feb 12, 2024
@pavelsavara pavelsavara self-assigned this Feb 12, 2024
@ghost
Copy link

ghost commented Feb 12, 2024

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

Issue Details

make sure that functions passed to emscripten_dispatch_to_thread_async

  • don't throw JS exceptions
  • don't throw managed exceptions
  • don't leak JS interop stack frame
  • respect GC boundary
Author: pavelsavara
Assignees: pavelsavara
Labels:

arch-wasm, area-VM-threading-mono, os-browser

Milestone: 9.0.0

@pavelsavara
Copy link
Member Author

related #76957

@pavelsavara
Copy link
Member Author

Closed by #100610 and #100855

@github-actions github-actions bot locked and limited conversation to collaborators May 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-VM-threading-mono os-browser Browser variant of arch-wasm
Projects
None yet
Development

No branches or pull requests

1 participant