fremag / MemoScope.Net

Dump and analyze .Net applications memory ( a gui for WinDbg and ClrMd )
The Unlicense
691 stars 74 forks source link

Memory dump never finish loading #197

Closed artisticcheese closed 7 years ago

artisticcheese commented 7 years ago

Hello,

Just testing this app and can not load memory dump. It's just keep showing "Loading file ..." and never finishes.

fremag commented 7 years ago

Hi,

Thanks for your feedback.

I've modified the code so the call to LoadCrashDump file is now in a try/catch block. If something fails, we should have more information about it.

Could you try again to load your file with this version of MemoScope and tell me what happens ?

Or could you send me the dump file you're loading ?

artisticcheese commented 7 years ago

Here is what I got when I tried to load with debug version. Running memoscope as admin. Windows 10 x64. image

fremag commented 7 years ago

It looks like this exception is thrown by DbgHelp.dll, used by Memoscope to load the dump file. It may mean the dump file is corrupted (it may happen if the garbage collector was moving things during the dump) You can try to load the file with WinDbg to confirm. If WinDbg can't load your file, Memoscope won't be able to load it too.

Or you can dump again your application and try to load the new file ? I'm sorry I have no better answer at the moment.

artisticcheese commented 7 years ago

Yes. It was corrupt file.