-
Notifications
You must be signed in to change notification settings - Fork 37
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
Support enabling debug symbol generation for wasm #52
Comments
Is there more context into the Wasmtime issue already somewhere? A backtrace of the hang would be extremely useful. |
I ran into this issue and left the comment a while ago while on an unrelated adventure and never dug in. Right now, if you enable it,
|
I recall this error coming from gimli with a problem relating to the wasm's debug info section; perhaps the generated section isn't valid for some reason? |
This is the check that is failing in https://github.com/gimli-rs/gimli/blob/master/src/read/loclists.rs#L605-L608 Looks like |
So it appears one of the location list entries has a base address of |
From what I can tell, the
Someone with more DWARF experience than I probably needs to look at this. |
I just poked at this a bit and it seems to have been fixed since the last discussion here (possibly by bytecodealliance/wasmtime#2901, bytecodealliance/wasmtime#5358, or some other dependency upgrade). Setting debug_info to |
Viceroy currently doesn't enable, or support enabling, generation of wasm debug symbols, because of an issue with Wasmtime.
It'd be great if we could figure out a way to fix this, so we can support using native debuggers on services' code.
The text was updated successfully, but these errors were encountered: