All,
I am debugging Wasm running in wasmtime
using LLDB on the Mac. Recently (branch main
) I am getting following warnings:
(lldb) r
Process 91548 launched: '/Users/ggreif/motoko/wasmtime/target/debug/wasmtime' (x86_64)
warning: (x86_64) /Users/ggreif/motoko/wasmtime/target/debug/wasmtime(0x0000000100000000) address 0x0000000100000000 maps to more than one section: wasmtime.__TEXT and wasmtime.__TEXT
warning: (x86_64) /Users/ggreif/motoko/wasmtime/target/debug/wasmtime(0x0000000100000000) address 0x0000000101636000 maps to more than one section: wasmtime.__DATA and wasmtime.__DATA
Process 91548 exited with status = 0 (0x00000000)
This takes quite some time and my breakpoints are not respected. A subsequent r
may or may not have the same warning issued. Sometimes I need several attempts to get a clean run.
Is this a known problem? I am happy to raise an issue if not.
Yeah, I saw that on large code bases, but I cannot reproduce with a smaller test case. It is worth to open an issue and investigate that, yes.
Actually, it might be unrelated since yours looks intermittent (?)
Right, after a few false starts I can usually run. https://github.com/bytecodealliance/wasmtime/issues/2127
thanks for the report
Last updated: Nov 22 2024 at 16:03 UTC