After a lot of searching, I still could not resolve the issue.
I have a mdmp file. The call stack shows that it is using mscorlib.ni.dll. Therefore, in order to get information about the function, I need to get the pdb file.
The version of mscorlib.ni.dll is 2.0.50727.3655. I believe this comes from the .Net Framework 3.5.
Since mscorlib.ni.dll is the native optimized dll that ngen.exe generates, so I need to use ngen.exe createpdb to generate pdf for this dll.
ngen.exe createpdb "C:\Windows\assembly\...\mscorlib.ni.dll" "C:\SymbolCache"
Here is the result:
- I can not find ngen.exe in the folder "C: \ Windows \ Microsoft.NET \ Framework64 \ v3.5"
- I can find ngen.exe in the folder "C: \ Windows \ Microsoft.NET \ Framework64 \ v2", but it does not have the createpdb option.
- I can find ngen.exe in the folder "C: \ Windows \ Microsoft.NET \ Framework64 \ v4.0.30319" and it supports the createpdb parameter, but it reports an error.
Microsoft (R) CLR native image generator - version 4.0.30319.18408 Copyright (c) Microsoft Corporation. All rights reserved. Disabled header found in native image "C: \ Windows \ assembly \ NativeImages_v2.0.507 7_64 \ mscorlib \ 5cd1c2848ff40eb0a8c149706ee394fa \ mscorlib.ni.dll. Unspecified error (Exception from HRESULT: 0x80004005) E
So, I do not know how to get pdb for this mscorlib.ni.dll Net Framework 3.5.
Any idea?
Buzz
source share