目 录CONTENT

文章目录

mscordacwks.dll doesn't match desired version

DevWiki
2020-07-01 / 0 评论 / 0 点赞 / 25 阅读 / 0 字 / 正在检测是否收录...
温馨提示:
本文最后更新于2024-03-30,若内容或图片失效,请留言反馈。 部分素材来自网络,若不小心影响到您的利益,请联系我们删除。

今天debug 一个 dump 文件 在输入: .cordll -ve -l 时出现:

0:093> .cordll -ve -l
CLRDLL: C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscordacwks.dll:4.8.4180.00 f:8
doesn't match desired version 4.7.3416.00 f:8

说是不匹配版本, 需要对应的版本. 查询 windbg 官网得 : 下载用于调试的 Windows 符号包 - Windows drivers | Microsoft Docs

每个版本的符号表 都存在windows 服务器中, 需要时可以远程加载. 设置方式如下:

// 设置路径
0:093> .symfix D:\Mocrosoft\SymbolCache
*** WARNING: Unable to verify timestamp for ntdll.dll
//查看设置
0:093> .sympath 
Symbol search path is: srv*
Expanded Symbol search path is: SRV*D:\Mocrosoft\SymbolCache*https://msdl.microsoft.com/download/symbols

************* Path validation summary **************
Response                         Time (ms)     Location
Deferred                                       srv*

然后再执行: .cordll -ve -l

0:093> .cordll -ve -l
CLRDLL: C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscordacwks.dll:4.8.4180.00 f:8
doesn't match desired version 4.7.3416.00 f:8
CLRDLL: Loaded DLL D:\Mocrosoft\SymbolCache\mscordacwks_x86_x86_4.7.3416.00.dll\5CABFD2C6ef000\mscordacwks_x86_x86_4.7.3416.00.dll
----------------------------------------------------------------------------
The user dump currently examined is a minidump. Consequently, only a subset
of sos.dll functionality will be available. If needed, attaching to the live
process or debugging a full dump will allow access to sos.dll's full feature
set.
To create a full user dump use the command: .dump /ma <filename>
----------------------------------------------------------------------------
Automatically loaded SOS Extension
CLR DLL status: Loaded DLL D:\Mocrosoft\SymbolCache\mscordacwks_x86_x86_4.7.3416.00.dll\5CABFD2C6ef000\mscordacwks_x86_x86_4.7.3416.00.dll

会自动下载对应的符号表, 但:

##特别说明

如果提示下载失败 或者 timeout 请设置使用梯子

0
  1. 支付宝打赏

    qrcode alipay
  2. 微信打赏

    qrcode weixin
博主关闭了所有页面的评论