0

ダンプ ファイルを分析しようとすると、次のエラーが発生します。

    0:000> !threads 
    The version of SOS does not match the version of CLR you are debugging.  
Please load the matching version of SOS for the version of CLR you are debugging.
CLR Version: 4.0.30319.1022 
SOS Version: 4.0.30319.34011 
Failed to load data access DLL, 0x80004005 Verify that 
1) you have a recent build of the debugger (6.2.14 or newer)
2) the file mscordacwks.dll that matches your version of clr.dll is 
   in the version directory or on the symbol path
3) or, if you are debugging a dump file, verify that the file 
   mscordacwks_<arch>_<arch>_<version>.dll is on your symbol path.
4) you are debugging on supported cross platform architecture as 
   the dump file. For example, an ARM dump file must be debugged
   on an X86 or an ARM machine; an AMD64 dump file must be
   debugged on an AMD64 machine.

You can also run the debugger command .cordll to control the debugger's load of mscordacwks.dll.  .cordll -ve -u -l will do a verbose reload. If that succeeds, the SOS command should work on retry.

If you are debugging a minidump, you need to make sure that your executable path is pointing to clr.dll as well.

正しいバージョンの WinDbg を使用しています。また、自分のマシンにある sos のバージョンが、ダンプ ファイルがキャプチャされたマシンのバージョンと異なることも知っています。そのため、正しいバージョンを取得して、問題が解決するかどうかを確認しています。ただし、私の問題は、DebugDiag Analyzer を介してこのダンプ ファイルを開くと、ダンプ ファイルを読み取って正しい結果を提供できることです。私のマシンに sos と mscordacwks のバージョンが一致しない場合、DebugDiag がこのダンプ ファイルを分析できるのは誰なのか知りたいのですが。

4

1 に答える 1

1

Debugdiag は psscor4 または類似のものを使用している可能性があります。通常、4.x フレームワークでは、一致するバージョンは必要ありません。バージョンは覚えていませんが、古い windbg を使用している場合、それは魅力的に機能します。この場合も、Sosex と psscor4 が役立ちます。

于 2014-10-17T16:19:12.870 に答える