This website collects cookies to deliver better user experience
Debugging a Crash in Unsafe Rust with Windbg
Debugging a Crash in Unsafe Rust with Windbg
Lately, I had a crash in my Rust project on Windows. It is hard to get any clue from the console messages, because it is a segmentfault crash related to unsafe rust code.
error: process didn't exit successfully: `target\debug\rustdesk.exe` (exit code: 0xc0000374, STATUS_HEAP_CORRUPTION)
I am familiar with Linux debugging tools like GDB and Valgrind. So I attempted to use Windbg.