windbg配置问题汇总

.loadby sos.dll mscorwks
.symfix c:\windows\symbols

windbg配置问题汇总

1、Failed to find runtime DLL (clr.dll), 0x80004005

  必须加载正确的.net sos版本

0:000> !clrstack
Failed to find runtime DLL (clr.dll), 0x80004005
Extension commands need clr.dll in order to have something to do.
0:000> .load C:\Windows\Microsoft.NET\Framework\v2.0.50727\sos.dll
0:000> !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.

2、Failed to load data access DLL, 0x80004005

mscordacwks.dll的版本不正确,必须加载正确的mscordacwks.dll版本

0:000> !DumpHeap -stat
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.

3、mscordacwks.dll版本不匹配
0:000> .cordll -ve -u -l
CLR DLL status: No load attempts
0:000> .exepath+ C:\Windows\Microsoft.NET\Framework\v2.0.50727
Executable image search path is: C:\Windows\Microsoft.NET\Framework\v2.0.50727
Expanded Executable image search path is: c:\windows\microsoft.net\framework\v2.0.50727
0:000> !DumpHeap -stat
CLRDLL: C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscordacwks.dll:2.0.50727.5420 f:0
doesn‘t match desired version 2.0.50727.5472 f:0
CLRDLL: Unable to find mscordacwks_x86_x86_2.0.50727.5472.dll by mscorwks search
CLRDLL: Unable to find ‘mscordacwks_x86_x86_2.0.50727.5472.dll‘ on the path
CLRDLL: Unable to get version info for ‘c:\windows\symbols\mscorwks.dll\5174DD695ad000\mscordacwks_x86_x86_2.0.50727.5472.dll‘, Win32 error 0n87
CLRDLL: ERROR: Unable to load DLL mscordacwks_x86_x86_2.0.50727.5472.dll, Win32 error 0n87
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.

看到下面的路径,将以下两个文件(长的那个为短的改了名字)复制到指定目录:mscordacwks.dll,mscordacwks_x86_x86_2.0.50727.5472.dll

windbg配置问题汇总

时间: 2024-08-09 11:10:37

windbg配置问题汇总的相关文章

VM CentOS7 网络配置问题汇总

0. 前言 在进行配置之前,我们首先需要明确几个概念: I. VM的网络连接方式 ①. 桥接模式(Bridge) ??此模式下,VM centOS 在网络中作为一台独立主机存在,它可以访问网络中的任何一台设备,地位等同宿主机器(如下图,使用VMnet0虚拟网卡,不支持DHCP). ??由于VM作为一台独立主机存在,因此具备自己的TCP/IP地址和子网掩码等,你可以手动配置(必须与宿主机器处于同一个网段),它可以实现通过局域网的网关/路由器直接访问互联网. ??使用桥接模式的虚拟系统和宿主机器的关

Azure Linux 虚机图像化配置之四:配置问题汇总

1.使用rdp连接配置好xrdp的ubuntu时遇到vnc error,如下图该问题根源在于tightvnc,出现问题的版本跟X字体有冲突,导致连接Xserver出错.解决方法:=====ubuntu OS下:======代码:apt-get purge tightvnc xrdpapt-get install tightvncserver xrdp2.suse安装rdp时,报错找不到rpm文件如下图出现该错误主要是因为rdp版本更新了,相应的rpm安装包也跟着更新了.所以需要到http://d

winDBG排错小记

去年底,公司一个上线了近一年的系统逐渐出现访问缓慢,操作超时的问题.本人使用winDBG工具对抓下来的内存映象进行了诊断,虽最后没有查出什么原因,但在过程中也学到了不少东西,现记录如下 一. “Failed to load data access DLL, 0x80004005”错误 这个错误还有另外一种提示:“The version of SOS does not match the version of CLR you are debugging”. 从原理上讲,象winDBG等非托管调试工

Nagios学习实践系列

其实上篇Nagios学习实践系列--基本安装篇只是安装了Nagios基本组件,虽然能够打开主页,但是如果不配置相关配置文件文件,那么左边菜单很多页面都打不开,相当于只是一个空壳子.接下来,我们来学习研究一下Nagios的配置,了解一下基本的配置和了解各类配置文件. Nagios配置目录 Nagios的配置文件位于etc目录下(/usr/local/nagios/etc)如下图所示: 配置文件简介 配置文件名 功能描述 cgi.cfg 控制CGI访问的配置文件 nagios.cfg 主配置文件:主

Eclipse-Hadoop开发配置详解

Eclipse_Hadoop开发详解 html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,l

第五章:MySQL主从复制

目录 1. 主从MySQL主从复制介绍... 1 2. MySQL主从复制的企业应用场景... 3 3. 实现MySQL主从读写分离的方案... 5 4. MySQL主从复制原理... 7 5. 主从复制实战... 8 5.1 MySQL主从配置... 8 5.2 MySQL数据库级联配置... 12 5.3 MySQL主从复制配置步骤小结... 15 5.4 主从配置表示成功后的关键参数说明... 15 5.5 MySQL主从复制配置问题汇总... 16 6. MySQL主从复制更多应用技巧.

Windbg and resources leaks in .NET applications 资源汇总

Windows Forms Leaks 1.http://blogs.msdn.com/b/tess/archive/2008/02/04/net-debugging-demos-information-and-setup-instructions.aspx 2.http://www.codeproject.com/Articles/31382/Memory-Leak-Detection-Using-Windbg 3.http://www.cnblogs.com/liangshi/archive

Windbg路径的配置问题

windbg是调试驱动的工具,其实原来已经配置过他了,可以通过vm进行远程调试,但是那个过程忘记了,好像当初也是乱搞,然后突然发现好了,可是原来系统重装了,结果又要重新配置过了,结果现在,连symbol都出现问题,找了一些资料,终于搞定了.把这个过程写下来,以免忘记. 我在“symbol File Path”中设置“reload”,出现下面的问题: lkd> .reloadUnable to read head of debugger data listConnected to Windows

Windbg DUMP分析(原创汇总)

1. 引入篇 1.1 下载安装 1.2 调试器 1.3 操作界面2. 命令篇 2.1 按照来源划分 2.1.1 基本命令 2.1.2 元命令 2.1.3 扩展命令 2.2 按照功能划分 2.2.1 系统信息 2.2.2 进程 2.2.3 模块 2.2.4 符号 2.2.5 线程 2.2.6 内存 2.2.7 事件3. 探讨篇 3.1方法内联 3.2 字符串驻留池 1. 引入篇 引入篇 1.1 下载安装 1.2 调试器 1.3 操作界面 所谓技术分享,其实是一个自我总结和相互学习.不断成长的过程.