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 builds crash in firefox when console is opened. #21892

Closed
jeswr opened this issue May 5, 2024 · 1 comment
Closed

WASM builds crash in firefox when console is opened. #21892

jeswr opened this issue May 5, 2024 · 1 comment

Comments

@jeswr
Copy link
Contributor

jeswr commented May 5, 2024

Please include the following in your bug report:

Version of emscripten/emsdk:
3.1.57

After several calls, code built with Emscripten, including the hello_world_123 wasm build will crash in Firefox with a memory if the console is open. The error is

caught RuntimeError: Aborted(out of memory)
    x http://localhost:3000/index.js:1
    ae http://localhost:3000/index.js:1
    promise callback*344/o</ae< http://localhost:3000/index.js:1
    ae http://localhost:3000/index.js:1
    o http://localhost:3000/index.js:1
    <anonymous> http://localhost:3000/:13
    <anonymous> http://localhost:3000/:13
localhost:3000:19:17
    <anonymous> http://localhost:3000/:19

I have made a minimal repro of this issue in https://github.com/jeswr/emscripten-firefox-leak. This issue was first reported in eyereasoner/eye-js#1066.

@jeswr
Copy link
Contributor Author

jeswr commented May 6, 2024

This turned out to be an issue in Firefox - see https://bugzilla.mozilla.org/show_bug.cgi?id=1895309.

@jeswr jeswr closed this as completed May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant