After running a recent cargo update
I can no longer use wasmtime with config.debug_info(true)
. If I do I get this error at runtime:
Error: failed to emit DWARF debug information
Caused by:
The end offset of a location list entry must not be before the beginning.
Has anyone seen this?
The error indicates that the debuginfo of the wasm file is invalid.
What are you trying to run?
I actually ran into this yesterday myself and decided to dig into it. I came up with https://github.com/bytecodealliance/wasmtime/issues/3403 my findings so far. From what I can tell this is a bug in Wasmtime
Nice - thanks for filing that issue. Lets move the convo there if anything develops.
Carl Sverre has marked this topic as resolved.
Last updated: Dec 23 2024 at 13:07 UTC