首页 > 其他分享 >windbg配置问题汇总(记录)

windbg配置问题汇总(记录)

时间:2023-10-11 09:46:04浏览次数:35  
标签:debugger windbg dump 记录 mscordacwks 汇总 dll file x86

.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

转载:https://www.cnblogs.com/kissdodog/p/3922228.html

标签:debugger,windbg,dump,记录,mscordacwks,汇总,dll,file,x86
From: https://www.cnblogs.com/kangao/p/17756293.html

相关文章

  • 记录python语言的数组去重并输出
    deffind_duplicates(arr):seen=set()duplicates=[]fornuminarr:ifnuminseen:duplicates.append(num)seen.add(num)returnduplicatesarr=['1000223453','1000227458','1000223......
  • 记录--`ElementUI` 中的奇技淫巧
    这里给大家分享我在网上总结出来的一些知识,希望对大家有所帮助在ElementUI的世界中,不仅有基础的组件和功能,还有一些让你眼前一亮、*得不能再*的高级技巧和窍门。本文将揭示这些技巧,让你在前端开发的舞台上独领风骚。无论你是一个勇敢的创新者还是一个喜欢调皮捣蛋的开发者,这些......
  • Linux学习记录(六):系统安装与配置
    一、系统安装安装Linux系统(Ubuntu16.04/18.04LTS)LTSmeansLong-termsupport虚拟机安装:VMWare+ISO系统镜像文件WSL(WindowsSubsystemforLinux)二、系统配置可选项:更换软件源安装依赖项安装gcc和cmakeforcpp安装依赖项forCV三、SSH使用场景:本地VSCode......
  • linux学习记录(thrift) 10.10
       做一个游戏匹配系统1、定义接口2、server3、cilentthrift:跨语言的服务部署框架,rpc框架,远程函数调用 任务:实现游戏节点,匹配节点(两个服务,match_system文件,game文件,thrift文件存所有thrift接口)游戏节点到匹配系统的有向边(实现match_client端、实现match_server端)......
  • 多线程使用场景二(数据汇总)
       ......
  • 单机10万TCP连接测试记录
    转自:https://www.cnblogs.com/fuhua/p/16904864.html单机10万TCP连接测试记录 目录前言准备工作安装DotNet6环境服务端代码客户端代码编译测试记录失败尝试1(Linux可用端口范围限制)解决Linux端口范围限制查看端口范围修改端口范围失败尝试2(可用端口耗尽......
  • 练习记录-cf-Educational Codeforces Round 156 (Rated for Div. 2)(A-C)
    好久没打了还是就出了三道不过还好没掉分A.SumofThree就是问能不能把一个数拆成三个不同的且都不能被三整除的数我的思路就是拆成1+2+一个大于等于4的数如果拆了后另一个数是%3==0那么我拆成1+4它肯定就不被整除然后判下相同#include<bits/stdc++.h>#defineclose......
  • 中医学习记录8-《伤寒论》
    中医学习记录8-《伤寒论》一、要义经典处方,黄金比例二、核心六经辨证同证同治对症下药三、太阳病中风:桂枝汤伤寒:麻黄汤温病:葛根汤 ......
  • 牛客刷Java记录第6天
    第一题一个文件中的字符要写到另一个文件中,首先需要()。ASystem.out.print(buffer[i]);BFileOutputStreamfout=newFileOutputStream(this.filename);CFileInputStreamfin=newFileInputStream(this.filename);DSystem.in.read(buffer);关键词:首先文件A->内......
  • 记录打印PDF门牌按照固定比例
    html2canvas(document.getElementById("previewTable2"),{scale:3,useCORS:true,logging:false}).then(function(canvas){varpageData=canvas.toDataURL('image/jpeg',1.0);//eslint-disable-next......