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

Panic on "attempt to subtract with overflow" #6

Open
kripken opened this issue Nov 22, 2019 · 1 comment
Open

Panic on "attempt to subtract with overflow" #6

kripken opened this issue Nov 22, 2019 · 1 comment

Comments

@kripken
Copy link

kripken commented Nov 22, 2019

STR:

wdwarf-cp emcc-6-pre-byn.wasm -o final.wasm -m emcc-9-output_map.map -w emcc-8-wasm-opt.wasm

=>

thread 'main' panicked at 'attempt to subtract with overflow', wdwarf/src/address_translator.rs:352:63

emscripten_temp.zip

@yurydelendik
Copy link
Owner

This one critical, suppressing it and showing TODO: translated_base.as_ref().unwrap() <= a message, in e570a5b . It means the address was translated to some address that "a way off" from where program/function started.

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