-
Notifications
You must be signed in to change notification settings - Fork 3.4k
TypeError when loading a wasm module #22759
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
Comments
I was able to reproduce with a small example and doing Aside: The error is coming from an assertion, which should be disabled with any optimization level of |
@brendandahl thanks for looking into this. I did not explicitly enable assertions in the build, and as far as I know the Release cmake build uses |
Does your debug build enable closure? |
Also, from the command you posted above there doesn't appear to be any |
When I explicitly add In debug build, this is the line:
You're right about |
@brendandahl thanks for addressing this. |
I ran into the following runtime error when my app tries to load a wasm module in the browser. The same code and build process worked previously, so this may be due to a more recent version of emscripten. Also this only occurrs in Release cmake build, not Debug.
This was emitted from
_embind_register_void
.Before creating a MRE, I wanted to find out what this error means, as perhaps it'll help focus debugging. Googling didn't reveal anything useful. Any ideas?
Version 3.1.69:
Build line from cmake:
The text was updated successfully, but these errors were encountered: