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

Invalid WASM modules, apparently size-related #6315

Closed
kazcw opened this issue Apr 17, 2023 · 1 comment
Closed

Invalid WASM modules, apparently size-related #6315

kazcw opened this issue Apr 17, 2023 · 1 comment
Assignees

Comments

@kazcw
Copy link
Contributor

kazcw commented Apr 17, 2023

We have started encountering invalid WASM modules in the ./run wasm test build. They seem to be triggered by quantity of debug info, rather than anything specific in the application.

When built in this mode (with debuginfo=2), our main WASM module is over 5GB. AFAICT the module should not violate anything in the WASM binary format specification; while most numeric types in the file format are constrained to 32-bit values, I don't believe the specification calls for any absolute offsets into the file, and our individual sections are within the 2^32-byte limit. Therefore I think this may represent a bug somewhere in the toolchain in the handling of large WASM modules.

@jdunkerley
Copy link
Member

Closing as GUI1

@github-project-automation github-project-automation bot moved this from ❓New to 🟢 Accepted in Issues Board Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants