ok so I know I've asked this before, but @Peter Huene can you remind me how to debug the .NET extension?
https://github.com/bytecodealliance/wasmtime/pull/1415 is hitting a ton of concurrent panics and then a segfault in dotnet test
on Linux for me
so I'm basically trying to get things serialized so there's no concurrency, and then get a backtrace of where the panic happens
I forget where to start though in terms of debugging :(
Ok I figured out the source of the error (rebase conflict meant header differed from Rust implementation
although knowing how to debug would probably still be good :D
I use the SOS extension on macOS and Linux: https://github.com/dotnet/diagnostics/blob/master/documentation/sos.md
specifically these instructions: https://github.com/dotnet/diagnostics/blob/master/documentation/installing-sos-instructions.md
the clrstack
command will display a "mixed mode" stack to resolve the .NET JIT frames to their symbolic names
I'm reviewing the C API refactoring changes now.
ok cool thanks! I'll hopefully remember this for next time
Last updated: Nov 22 2024 at 16:03 UTC