Windbg分析托管代码dump文件没有找到相应版本的mscordacwks.dll
2010-07-28 16:54
417 查看
用Windbg 分析一个托管代码的dump文件:
0:013> .loadby sos mscorwks
0:013> !clrstack
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 mscorwks.dll is
in the version directory
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 the same architecture as the dump file.
For example, an IA64 dump file must be debugged on an IA64
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 mscorwks.dll as well.
0:013> .cordll
CLR DLL status: ERROR: Unable to load DLL mscordacwks_x86_x86_2.0.50727.3607.dll, Win32 error 0n2
从上面提示信息可以看出,windbg没有找到对应的版本mscordacwks.dll, 检查一下该文件本机的版本号2.0.50727.4927。碰到这种问题时,最好从产生这个dump文件的计算机上复制mscordacwks.dll到windbg目录下,重命名为mscordacwks_x86_x86_2.0.50727.3607.dll。然后执行如下命令,后面就可以正常分析。
0:013> .cordll -ve -u -l
CLR DLL status: No load attempts
0:013> .loadby sos mscorwks
0:013> !clrstack
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 mscorwks.dll is
in the version directory
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 the same architecture as the dump file.
For example, an IA64 dump file must be debugged on an IA64
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 mscorwks.dll as well.
0:013> .cordll
CLR DLL status: ERROR: Unable to load DLL mscordacwks_x86_x86_2.0.50727.3607.dll, Win32 error 0n2
从上面提示信息可以看出,windbg没有找到对应的版本mscordacwks.dll, 检查一下该文件本机的版本号2.0.50727.4927。碰到这种问题时,最好从产生这个dump文件的计算机上复制mscordacwks.dll到windbg目录下,重命名为mscordacwks_x86_x86_2.0.50727.3607.dll。然后执行如下命令,后面就可以正常分析。
0:013> .cordll -ve -u -l
CLR DLL status: No load attempts
相关文章推荐
- 解决WinDbg调试Dump文件不同环境mscordacwks.dll版本问题
- windbg调试多个CLR runtime dump文件,自动加载最新版mscordacwks.dll 的问题
- "该如让32位windbg找到正确的mscorwks mscordacwks sos?"
- vs2010调试时为什么会出现clr.dll与mscordacwks.dll版本不匹配
- 如何处理源dump文件的mscordacwks.dll文件与调试机上的版本不一致问题而无法使用extension cmd的问题
- vs2012调试时为什么会出现clr.dll与mscordacwks.dll版本不匹配
- 两台机器.net版本一样,但是抓的包里mscordacwks.dll却不一样?
- windbg调试minidump加载mscordacwks.dll 0×80004005失败
- The version of SOS does not match the version of CLR you are debugging; SOS.dll版本不匹配; Dump文件不同环境mscordacwks.dll版本问题
- WinDbg分析Dump文件的基础用法
- 浅析Dos下运行php.exe,出现没有找到php_mbstring.dll 错误的解决方法
- 电脑启动出现没有找到iertutil.dll因此这个应用程序未能启用
- OpenCv中没有找到tbb_debug.dll的解决办法
- .NET / Rotor源码分析5 - 开始使用WinDbg+SOS调试,sscoree.dll,加载SOS并设置JIT断点
- .NET / Rotor源码分析5 - 开始使用WinDbg+SOS调试,sscoree.dll,加载SOS并设置JIT断点
- WinDbg x 64 使用 SOS: 无法找到运行时 DLL (clr.dll)
- .NET / Rotor源码分析5 - 开始使用WinDbg+SOS调试,sscoree.dll,加载SOS并设置JIT断点
- OpenCv中没有找到tbb_debug.dll的解决办法(问题总结)
- 显示和结束进程提示没有找到framedyn.dll的解决方法
- 如何用windbg分析64位机上32位程序的dump文件