gpt4 book ai didi

.net - windbg 和 SciTech 探查器 : Failed to load data access DLL for x64 memory dump

转载 作者:行者123 更新时间:2023-12-02 22:19:59 36 4
gpt4 key购买 nike

我知道这个问题已经被问过很多次了,但是,我已经阅读了所有内容,但未能解决问题。

基本上,我有一个在 Azure 中作为 Web 角色运行的 IIS 7.0 x64 w3wp.exe 进程的内存转储。我有多个转储,但无法在 windbg 或 SciTech .Net Memory Profiler 中加载其中任何一个。对于两者,问题似乎是找到正确的 mscordacwks.dll。

我已经从机器上获得了 x64 和 x86 mscordacwks.dll,但无法加载其中任何一个。

所以当我想在 windbg 中查看托管线程等时,我会遇到熟悉的错误:

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.551
SOS Version: 4.0.30319.17929
CLRDLL: Unable to get version info for 'D:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscordacwks.dll', Win32 error 0n87
DBGHELP: C:\Program Files\Debugging Tools for Windows (x64)\sym\mscordacwks_AMD64_AMD64_4.0.30319.551.dll\4F191DB4964000\mscordacwks_AMD64_AMD64_4.0.30319.551.dll - OK
CLRDLL: Loaded DLL C:\Program Files\Debugging Tools for Windows (x64)\sym\mscordacwks_AMD64_AMD64_4.0.30319.551.dll\4F191DB4964000\mscordacwks_AMD64_AMD64_4.0.30319.551.dll
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.

所以我在这里看到了 2 个奇怪的地方:

  1. Windows 部署在 Azure 的 D:\驱动器上(这会导致问题吗?)
  2. CLR 版本:4.0.30319.551 但 SOS 版本:4.0.30319.17929

那会不会是17929的SOS版本?服务器上的mscordacwks.dll肯定是551

我已经运行了几乎所有你能想到的命令行,但没有解决问题。

提前致谢

最佳答案

Microsoft 的 PSSCOR4.dll 是 SOS.dll 的超集,适用于 .NET 4.5 之前的所有 .NET 4 框架版本。感谢 Steve Johnson 澄清它不适用于 .NET 4.5。

psscor4.dll 可以从here 下载

关于.net - windbg 和 SciTech 探查器 : Failed to load data access DLL for x64 memory dump,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13875467/

36 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com