Re: GetContextState failed

WinDbg

GetContextState failed


wahaha123 2011-10-12, 21:47 下午

分析一个蓝屏dump  windbg显示如下信息

Loading Dump File [E:\ftplocal\dump\MEMORY.DMP]
Kernel Summary Dump File: Only kernel address space is available

Symbol search path is: D:\mysymbols;D:\symbols;SRV*D:\symbols*http://msdl.microsoft.com/download/symbols
Executable search path is:
**************************************************************************
THIS DUMP FILE IS PARTIALLY CORRUPT.
KdDebuggerDataBlock is not present or unreadable.
**************************************************************************
Unable to read PsLoadedModuleList
**************************************************************************
THIS DUMP FILE IS PARTIALLY CORRUPT.
KdDebuggerDataBlock is not present or unreadable.
**************************************************************************
KdDebuggerData.KernBase < SystemRangeStart
Windows XP Kernel Version 2600 MP (2 procs) Free x86 compatible
Product: WinNt, suite: TerminalServer SingleUserTS
Machine Name:
Kernel base = 0x00000000 PsLoadedModuleList = 0x805644c0
Debug session time: Wed Oct 12 10:44:18.671 2011 (GMT+8)
System Uptime: 0 days 0:07:52.203
**************************************************************************
THIS DUMP FILE IS PARTIALLY CORRUPT.
KdDebuggerDataBlock is not present or unreadable.
**************************************************************************
Unable to read PsLoadedModuleList
**************************************************************************
THIS DUMP FILE IS PARTIALLY CORRUPT.
KdDebuggerDataBlock is not present or unreadable.
**************************************************************************
KdDebuggerData.KernBase < SystemRangeStart
Loading Kernel Symbols
Unable to read PsLoadedModuleList
GetContextState failed, 0xD0000147
GetContextState failed, 0xD0000147
CS descriptor lookup failed
GetContextState failed, 0xD0000147
GetContextState failed, 0xD0000147
GetContextState failed, 0xD0000147
GetContextState failed, 0xD0000147
Unable to get program counter
GetContextState failed, 0xD0000147
Unable to get current machine context, NTSTATUS 0xC0000147
GetContextState failed, 0xD0000147
GetContextState failed, 0xD0000147

关键信息都看不到了

?: kd> lm
start    end        module name
GetContextState failed, 0xD0000147
GetContextState failed, 0xD0000147
GetContextState failed, 0xD0000147

 这个蓝屏的原因应该是在高IRQL上访问分页内存导致的,是不是这个时候系统dump会失败呢?

Re: GetContextState failed


格蠹老雷 2011-10-13, 20:23 下午

文件的内容损坏了,可能有很多种原因,比如磁盘过滤驱动(全硬盘加密)干扰转储过程,传递过程损坏等...

Re: GetContextState failed


canterer 2016-05-07, 23:36 下午
今天写了一个 winform的程序,也是遇到这样的GetContextState  ... failed的情况,难道windbg不支持调试winform程序?

Powered by Community Server Powered by CnForums.Net