问题描述
我有我的一些应用程序的问题。这是一个基于WCF的应用程序在Windows 2003服务器(x86)的IIS6下运行:
I'm having a problem with some of my apps. It's a wcf-based app running under IIS6 in Windows 2003 Server (x86):
In Event Log I get such an error from "W3SVC-WP" source (EventID=2262):
ISAPI 'C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll' reported itself as unhealthy for the following reason: 'Deadlock detected'.
我想搞清楚是怎么回事。我设置了创建转储孤立工作进程在本 KB 描述。当死锁发生在创建转储。
然后,我借此转储,试图了解发生了什么事。下面是我坚持。
I'm trying figuring out what's going on. I've set up creating dump for Orphan Worker Process as described in this KB.When an deadlock occured a minidump is created.
Then I take this minidump to try to understand what's happened. Here's I'm stuck.
我跑的WinDbg 86,打开我的转储,然后:
I run WinDbg x86, open my dump and then:
0:037> .loadby sos clr
0:037> .sympath SRV*c:\temp\symbols*http://msdl.microsoft.com/download/symbols
Symbol search path is: SRV*c:\temp\symbols*http://msdl.microsoft.com/download/symbols
Expanded Symbol search path is: srv*c:\temp\symbols*http://msdl.microsoft.com/download/symbols
0:037> !clrstack
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.1
SOS Version: 4.0.30319.235
CLRDLL: C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\mscordacwks.dll:4.0.30319.235 f:8 doesn't match desired version 4.0.30319.01 f:8
CLRDLL: Loaded DLL c:\temp\symbols\mscordacwks_x86_x86_4.0.30319.01.dll\4BA1D9EF66f000\mscordacwks_x86_x86_4.0.30319.01.dll
OS Thread Id: 0x690 (37)
Unable to walk the managed stack. The current thread is likely not a managed thread.
You can run !threads to get a list of managed threads in the process
如何处理此错误? - SOS的版本不匹配CLR正在调试的版本
What to do with this error - "The version of SOS does not match the version of CLR you are debugging" ?
同样的错误,当我打开VS2010的转储我得到(SOS的版本不CLR正在调试的版本匹配)。
The same error ("The version of SOS does not match the version of CLR you are debugging") I'm getting when I open the minidump in VS2010.
我读过这篇文章 - http://tech-thinker.com/Forums/tabid/62/forumid/12/postid/471/scope/posts/Default.aspx,并试图安装 KB2518870 。它并不能帮助。
I've read this post - http://tech-thinker.com/Forums/tabid/62/forumid/12/postid/471/scope/posts/Default.aspx, and tried installing KB2518870. It doesn't help.
推荐答案
WinDbg中不能使用的调试适配器mscordacwks.dll,除非是同一版本从原来的机器之一。你可以从中产生的转储到您的Windows调试工具目录下的目标机器复制该DLL来解决这个错误。
WinDbg will not be able to use the debugging adapter mscordacwks.dll unless it is the same version as the one from the original machine. You can get around this error by copying this DLL from the target machine which generated the dump to your Debugging Tools for Windows directory.
我们调试.NET 2.0应用程序的WinDbg。我们会不断地得到这对于mscordacwks_x86_x86_2.0.50727.3615.dll同样的错误。我只好从服务器上将该文件复制到我的客户,并把它放在C:\ Program Files文件\ Windows调试工具(x86)的\文件夹中。 WinDbg的停止之后抱怨。
We debug .NET 2.0 applications with WinDbg. We would continually get this same error regarding mscordacwks_x86_x86_2.0.50727.3615.dll. I had to copy this file from the server onto my client and put it in the C:\Program Files\Debugging Tools for Windows (x86)\ folder. WinDbg stopped complaining after that.
如果一切都失败了,你可以从中检索到的崩溃转储在同一台服务器上的尝试与WinDbg的调试。
If all else fails, you can try debugging with WinDbg on the same server from which you retrieved the crash dump.
这篇关于做什么用" SOS的版本不匹配CLR正在调试及QUOT的版本; WinDbg中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!