Page 1 of 1

crash with mdmp file

Posted: 10 Apr 2007, 07:00
by lav_coyote25
ok - on a newly minted map - i had this crash... and what the heck do you need to read that mdmp file.

Re: crash with mdmp file

Posted: 10 Apr 2007, 08:44
by Watermelon
lav_coyote25 wrote: ok - on a newly minted map - i had this crash... and what the heck do you need to read that mdmp file.

you need windbg,which is available for download from microsoft's site,you'll have to load the minidump,then load the corresponding symbols(usually the same exe which produced the crash dump),windbg will eventually translate the 'map' into useful debug info/callstack function names.

Re: crash with mdmp file

Posted: 10 Apr 2007, 16:26
by DevUrandom
windbg didn't help for me. I think it cannot read GCC's debug symbols.

Re: crash with mdmp file

Posted: 10 Apr 2007, 17:24
by Watermelon
DevUrandom wrote: windbg didn't help for me. I think it cannot read GCC's debug symbols.
I kept forgeting about the official windows binaries are not compiled using MSVC express 2005 anymore...though I dont think windows user will be able to use the linux equivalent 'winedbg' to pinpoint the problem under windows...

Re: crash with mdmp file

Posted: 10 Apr 2007, 21:57
by DevUrandom
No he won't be able to do that.
If you know a debug format that is supported by GCC and GDB and that even Windows understands, then you are welcome.

Re: crash with mdmp file

Posted: 11 Apr 2007, 10:16
by Giel
DevUrandom wrote: No he won't be able to do that.
If you know a debug format that is supported by GCC and GDB and that even Windows understands, then you are welcome.
So I'm wondering what do you need to read those minidump files generated by GCC compiled Windows binaries?

Re: crash with mdmp file

Posted: 11 Apr 2007, 15:49
by DevUrandom
winedbg works fine.
If windbg is able to extract the stack, you could also use addr2line from the binutils package to turn it into something meaningful.