WebAssembly / WebAssembly/binaryen
SIGSEGV (Address boundary error) in dumpDebugLoc(llvm::DWARFContext&, llvm::DWARFYAML::Data&) ()
Open
Nobody has claimed this yet.
- Dominant language
- WebAssembly
- Stars
- 8.6k
- Forks
- 885
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 69
Description
Hello, when I'm trying this command
wasm-opt -Oz iot-config-web-dx_bg.wasm --zero-filled-memory -o out.wasm
I'm getting this:
fish: Job 1, '~/code/binaryen/bin/wasm-opt -O…' terminated by signal SIGSEGV (Address boundary error)
It fails on version_118 and on latest master (e2ceaa58c10e9ee3e9eece42466243f5a8aff125)
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
Start by reproducing the crash with wasm-opt -Oz, --zero-filled-memory and the attached binary.tar.gz on version_118 or the cited master commit. Trace the failure in dumpDebugLoc(llvm::DWARFContext&, llvm::DWARFYAML::Data&) and confirm that the command completes without SIGSEGV after the fix.
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
- Mostly clear
- Newbie friendliness
- 25/100