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

SIGSEGV (Address boundary error) in dumpDebugLoc(llvm::DWARFContext&, llvm::DWARFYAML::Data&) () #6879

Open
Ddystopia opened this issue Aug 28, 2024 · 1 comment

Comments

@Ddystopia
Copy link

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 (e2ceaa5)

binary.tar.gz

@kripken
Copy link
Member

kripken commented Aug 28, 2024

Looks like a problem with our DWARF support, which is experimental. It is recommended to use source maps instead for debugging.

To avoid this problem you can strip debug info, by adding --strip-debug to that command.

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

2 participants