简体   繁体   English

WinDbg崩溃后无响应

[英]WinDbg Unresponsive After Crash

I am debugging a driver in a VirtualBox VM, with WinDbg attached to the target via COM port exposed to the host as a named pipe. 我正在VirtualBox VM中调试驱动程序,将WinDbg通过COM端口作为命名管道公开到主机,并将WinDbg附加到目标。

Debugging works fine - I can pause the target, set breakpoints, step through source files .etc 调试工作正常-我可以暂停目标,设置断点,逐步浏览源文件.etc

When my driver encounters a fatal error WinDbg dumps the following output to the console: 当我的驱动程序遇到致命错误时,WinDbg会将以下输出转储到控制台:

*** Fatal System Error: 0x00000050
                       (0xFFFFF88004126840,0x0000000000000001,0xFFFFF88003E12690,0x0000000000000000)

Driver at fault: 
***  MYDRIVER.sys - Address FFFFF88003E12690 base at FFFFF88003E12000, DateStamp 51249ae5
.
Break instruction exception - code 80000003 (first chance)

A fatal system error has occurred.
Debugger entered on first try; Bugcheck callbacks have not been invoked.

A fatal system error has occurred.

Connected to Windows 7 7601 x64 target at (Wed Feb 20 09:57:54.670 2013 (UTC + 0:00)), ptr64 TRUE
Loading Kernel Symbols
...............................................................
................................................................
..............
Loading User Symbols
.....
Loading unloaded module list
.....Unable to enumerate user-mode unloaded modules, Win32 error 0n30
Loading Wow64 Symbols
..........................................................
*******************************************************************************
*                                                                             *
*                        Bugcheck Analysis                                    *
*                                                                             *
*******************************************************************************

Use !analyze -v to get detailed debugging information.

BugCheck 50, {fffff88004126840, 1, fffff88003e12690, 0}

The little status box on the debugger command line is blank, and the debugger does not respond to the commands I type in. 调试器命令行上的小状态框为空白,并且调试器不响应我键入的命令。

I want to see the call stack and inspect the machine state, but the debugger remains unresponsive. 我想查看调用堆栈并检查机器状态,但是调试器仍然无响应。 Pressing BREAK/CONTINUE seems to have no effect. 按BREAK / CONTINUE似乎无效。

I don't understand - what is the state of the debugger at this point? 我不明白-此时调试器的状态是什么?

I have a suspicion that my whole debugging setup is just very, very slow. 我怀疑我的整个调试设置非常缓慢。

Debugging via com port is very slow, you must switch to virtualkd - http://virtualkd.sysprogs.org/ (its use shared memory between host and guest and much much faster). 通过com端口进行调试非常慢,您必须切换到virtualkd- http ://virtualkd.sysprogs.org/(它使用主机和来宾之间的共享内存,并且速度要快得多)。 And don`t press anything while you waiting, its slow down process a little bit more. 并且在等待时不要按任何东西,它的减慢过程会更多一些。 In general com is outdated and while debugging, without vm, all use firewire or usb interfaces. 通常,com已过时,并且在调试过程中,没有vm,它们都使用firewire或usb接口。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM