fremag / MemoScope.Net

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

Failed to init module - Exception: Specified cast is not valid. #218

Open SSarver opened 4 years ago

SSarver commented 4 years ago

Greetings!

I just came across MemoScope.net today after getting frustrated trying to use windbg to analyze a memory dump someone sent me. Upon trying to open up the dump file in MemoScope (1.0.0.244 (x64)), I receive the following exception:

Failed to init module - Exception: Specified cast is not valid.

I've made sure the application is on the exception list for firewall rules and I'm running as administrator. Outside of sending you the actual dump file, is there anything I can do or look up to offer more detail on this?

Thanks, Scott

fremag commented 4 years ago

Hi,

Sorry for the late answer, I have some very busy weeks and not a lot time for Memoscope.

I see you're using the latest release. Could you send me (fremag.gh@gmail.com) the log file ? It should be there: C:\Users\\AppData\Roaming\MemoScope\log There is no secret in this file, just some information about user actions or exceptions / stack trace.

Where does the dump file comes from ? A .Net framework application or .Net Core ? What versions ?

Have you tried to open the dump file with WinDbg ?