WebAssembly / WebAssembly/binaryen
wasm2js: unhandled unaligned store, UNREACHABLE executed at, Aborted
Open
Nobody has claimed this yet.
- Dominant language
- WebAssembly
- Stars
- 8.6k
- Forks
- 885
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 69
Description
Trying to run wasm2js on HavokPhysics.wasm in https://github.com/BabylonJS/Babylon.js/tree/master/packages/tools/babylonServer/public/havok
Getting the error:
./wasm2js ../../../Babylon.js/packages/tools/babylonServer/public/havok/HavokPhysics.wasm -o ../../../Babylon.js/packages/tools/babylonServer/public/havok/HavokPhysics.js
unhandled unaligned store
UNREACHABLE executed at /src/src/passes/AlignmentLowering.cpp:334!
Aborted
Using version: https://github.com/WebAssembly/binaryen/releases/tag/version_112
Linux: binaryen-version_112-x86_64-linux.tar.gz
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with the provided wasm2js command and HavokPhysics.wasm input. Start at src/passes/AlignmentLowering.cpp:334 and investigate the unhandled unaligned store; done means the input no longer aborts at that location and wasm2js completes successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- wasm
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100