windbg

c0000005 Exception in C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\sos.threads debugger extension

岁酱吖の 提交于 2019-12-06 16:15:40
I'm experiencing an exception in the first run of any SOS extension commands when the load by command is use to load the extension. However if I use the load command the exception is not presented. Below is a step through the process I use. can someone explain why this happens and a possible resolution. 0:007> .chain Extension DLL search Path: C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x86\WINXP;C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x86\winext;C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x86\winext\arcade;C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x86\pri;C:

How to get the content of a Section object in a kernel dump

一世执手 提交于 2019-12-06 14:12:34
The section object from a 3thParty vendor is named rpsPdf10.mutex and it's intended use is to mimic a semaphore by writing a Boolean flag to it. Using LiveKd and with a lot of help from SO, I've issued following command's trying to get detailed info of this Section object. 0: kd>!process 0 0 3thParty.exe ... PROCESS fffffa800ea80060 SessionId: 0 Cid: 0a00 Peb: fffdf000 ParentCid: 014c DirBase: 99349000 ObjectTable: fffff8a004448bf0 HandleCount: 338. Image: 3thParty.exe ... 0: kd> !handle 0 7 fffffa800ea80060 ... 08 fffff8a012e26710 Section rpsPdf10.mutex ... 0: kd> !object fffff8a012e26710

Mscordacwks.dll/SOS.dll 调试归档

淺唱寂寞╮ 提交于 2019-12-06 13:59:01
找到个好东西 为什么要归档 此存档提供帮助,并可能提供对以下问题的答案 是否可以使WinDBG在符号存储中找到mscordacwks.dll?, Windbg需要不同版本的mscordacwks.dll,如何下载mscordacwks和mscorwks的正确版本?, WinDbg要求mscordacwks.dll的特定版本。我在哪能找到这个?, WinDbg x64:无法调试崩溃转储-未能加载数据访问DLL和 在哪里可以找到和下载不同版本的mscorwks.dll和mscordacwks.dll? 下载mscordacwks和SOS Name Last modified Size x64/ 2017-11-05 15:32 - x86/ 2017-11-05 15:31 - sos.zip 2017-11-05 15:33 124M 来源: https://www.cnblogs.com/yilang/p/11988241.html

WinDbg常用命令系列---.cordll (控制CLR调试)

霸气de小男生 提交于 2019-12-06 13:48:38
.cordll (控制CLR调试) 简介 .cordell命令控制托管代码调试和Microsoft.NET公共语言运行库(CLR)。 使用形式 .cordll [Options] 参数 Options 使用以下 一个或多个以下选项: -l (小写的 L) 加载 CLR 调试模块。 -I Module (大写的 i) 指定的名称或要进行调试的 CLR 模块的基址。 -u 卸载 CLR 调试模块。 -e 启用 CLR 调试。 -d 禁用 CLR 调试。 -D 禁用 CLR 调试和卸载 CLR 调试模块。 -N 重新加载 CLR 调试模块。 -lp Path 指定 CLR 调试模块的目录的路径。 -se 通过使用 CLR 调试模块的短名称,启用 mscordacwks.dll。 -sd 禁用使用CLR调试模块的短名称mscordacwks.dll。相反,调试器使用CLR调试模块的长名称mscordacwks_<spec>.dll。如果担心不匹配,禁用短名称使用可以避免使用本地CLR。 -ve 打开CLR模块加载的详细模式。 -vd 关闭CLR模块加载的详细模式。 支持环境 模式 用户模式下,内核模式 目标 实时、 崩溃转储 平台 全部 备注 要调试托管应用程序,调试器必须加载与应用程序加载的CLR相对应的数据访问组件(DAC)。但是,在某些情况下,应用程序加载多个CLR。在这种情况下

Reading .NET 4.0 dump files in WinDBG

限于喜欢 提交于 2019-12-06 13:24:56
问题 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" I've mscordacwks.dll from c:\Windows\Microsoft.NET\Framework64\v4.0.30319 on the server

Determine version of Eclipse from crash dump

旧街凉风 提交于 2019-12-06 12:42:10
I have a crash dump of Eclipse and want to report a bug. For the bug report, I'd like to specify the version of Eclipse that crashed, since it might be related to the problem. Unfortunately, my usual way does not work, lm vm does not show version information: 0:048> lm vm eclipse start end module name 00000000`00400000 00000000`0044f000 eclipse (deferred) Image path: C:\Program Files\eclipse\eclipse.exe Image name: eclipse.exe Timestamp: Wed Feb 04 14:12:28 2015 (54D21ABC) CheckSum: 00050686 ImageSize: 0004F000 File version: 0.0.0.0 Product version: 0.0.0.0 File flags: 0 (Mask 0) File OS: 0

See lots of clr!CLRSemaphore::Wait in call stack

荒凉一梦 提交于 2019-12-06 11:28:22
We see lots of callstack like the below, may I know what's conditions \situation would happens this? OS Thread Id: 0x48654 (559) Current frame: ntdll!NtWaitForSingleObject+0xa Child-SP RetAddr Caller, Callee 00000020a76cf480 00007fffd4ea1118 KERNELBASE!WaitForSingleObjectEx+0x94, calling ntdll!NtWaitForSingleObject 00000020a76cf520 00007fffce50ce66 clr!CLRSemaphore::Wait+0x8a, calling kernel32!WaitForSingleObjectEx 00000020a76cf5e0 00007fffce50d247 clr!ThreadpoolMgr::UnfairSemaphore::Wait+0x109, calling clr!CLRSemaphore::Wait 00000020a76cf620 00007fffce50d330 clr!ThreadpoolMgr:

WinDbg slow when debugging local process (step over)

拟墨画扇 提交于 2019-12-06 08:53:17
问题 This is really driving me crazy. I am using WinDbg as my primary debugger. It is used to debug local service (WinDbg running locally, debugging service on the same machine). The PDB files are stored on local hard drive. Source code is accessed via SMB share. Debugging works in bursts, sometimes it flow well, most of the time I keep seeing the unbelievably annoying "*BUSY*" message, this happens almost every time when I perform a "step-over". Any ideas what I could do to speed things up?

How do identify STATUS_INVALID_CRUNTIME_PARAMETER exception

左心房为你撑大大i 提交于 2019-12-06 07:31:12
Platform is Windows 7 SP1. I recently spent some time debugging an issue that was caused because a code was passing an invalid parameter to one of the "safe" CRT functions. As a result my application was aborted right away with no warning or anything -- not even a crash dialog. At first, I tried to figure this out by attaching Windbg to my application. However when the crash happened, by the time the code broke into Windbg pretty much every thread had been killed save for ONE thread on which Windbg had to break into. There was no clue as to what was wrong. So, I attached Visual Studio as a

WinDbg says “.dll” was not found in the image list

前提是你 提交于 2019-12-06 05:39:45
I'm trying to load a dll in WinDbg and got this error. Here goes the detail. Build A.dll using VisualC++ express. Place A.pdb and A.dll in d:\test\ directory. Set the image path and symbol path to d:\test .sympath gives OK D:\test try loading by using the following command .reload /f A.dll and it gives "A.dll" was not found in the image list. Debugger will attempt to load "A.dll" at given base 00000000. Please provide the full image name, including the extension (i.e. kernel32.dll) for more reliable results.Base address and size overrides can be given as .reload <image.ext>=<base>,<size>.