本文介绍了阅读WinDbg中.NET 4.0转储文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

我熟悉WinDbg的范例。在审查了大量的使用WinDBG的x64版本的转储文件。在大多数情况下转储文件是.NET 2.0的应用程序和psscor2.dll。我使用当前WinDBG的版本是6.12.0002.633。最近,我一直在试图打开使用psscor4.dll一个.NET 4.0的应用程序池所产生的x64转储IIS转储文件。我跑回报的任何命令,无法获取信息

I'm familiar with the WinDBG paradigm. Been reviewing a lot of dump files using WinDBG x64 version. For the most part dump files were .NET 2.0 applications and psscor2.dll. Current WinDBG version I am using is 6.12.0002.633. Recently, I've been trying to open x64 dump IIS dump files generated from a .NET 4.0 application pool using psscor4.dll. Any command I run returns, "Failed to request information"

  1. 在我有mscordacwks.dll从C:\ WINDOWS \ Microsoft.NET \ Framework64 \ v4.0.30319在服务器上
  2. 更名为mscordackwks_AMD64_AMD64_4.0.30319.xxxx.dll。 XXXX文件中匹配编译的版本
  3. 开启WinDBG中,打开转储文件,并添加路径上面的DLL exepath
  4. 运行一个基本的命令!eeversion检查一切都很好,我得到的 GC堆没有初始化,所以GC模式尚未确定在垃圾收集计划阶段
  5. 接下来,我型!线程和​​得到的,的无法要求ThreadStore
  6. 下一页!线程池和我,无法要求ThreadpoolMgr信息
  1. I've mscordacwks.dll from c:\Windows\Microsoft.NET\Framework64\v4.0.30319 on the server
  2. Renamed to mscordackwks_AMD64_AMD64_4.0.30319.xxxx.dll. xxxx matches the compiled version in the file
  3. Open WinDBG, open the dump file and add the path to the above DLL to exepath
  4. Run a basic command !eeversion to check all is fine and I get GC Heap not initialized, so GC mode is not determined yet In plan phase of garbage collection
  5. Next I type !threads and get, Failed to request ThreadStore
  6. Next !threadpool and I get, Failed to request ThreadpoolMgr information

我做了一些基本的谷歌搜索与这些错误消息,它们都指向没有在WinDbg中86 WinDbg中的x64或x64文件的正确mscordacwks.dll或开放的x86文件。没声音与我有关

I done some basic google search with these error messages and they all point to not having the correct mscordacwks.dll or opening x86 files in WinDBG x64 or x64 files in WinDBG x86. Didn't sound relevant to me

任何帮助/指导,多AP preciated

Any help/guidance is much appreciated

推荐答案

该版本号4.0.30319.17929是一个.NET 4.5版本号。 PSSCOR4不会调试4.5。你需要使用一个4.0 SOS和/或SOSEX,它适用于所有版本的.NET 2.0-4.5。

The build number 4.0.30319.17929 is a .NET 4.5 build number. PSSCOR4 will not debug 4.5. You need to use a 4.0 SOS and/or SOSEX, which works for all version of .NET 2.0-4.5.

这篇关于阅读WinDbg中.NET 4.0转储文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-07 13:22