我在VirtualBox VM中以调试模式运行Windows 7。
我已在VM目标上配置了一个COM端口调试服务器,该服务器作为命名管道公开给Windows 7主机。
VM自行启动很好,但是当我尝试使用调试器启动时会导致目标崩溃。
以下是我要采取的步骤:
完整的WinDbg会话输出如下。任何帮助表示赞赏!
Microsoft (R) Windows Debugger Version 6.12.0002.633 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.
Waiting for pipe \\.\pipe\SlaveDebugPipe
Waiting to reconnect...
Connected to Windows 7 7601 x64 target at (Thu Feb 7 12:58:54.482 2013 (UTC + 0:00)), ptr64 TRUE
Kernel Debugger connection established.
Symbol search path is: srv*c:\symbols*http://msdl.microsoft.com/download/symbols
Executable search path is:
Windows 7 Kernel Version 7601 MP (1 procs) Free x64
Built by: 7601.17944.amd64fre.win7sp1_gdr.120830-0333
Machine Name:
Kernel base = 0xfffff800`0265d000 PsLoadedModuleList = 0xfffff800`028a1670
System Uptime: not available
*** Fatal System Error: 0x00000124
(0x0000000000000000,0x0000000000000000,0x0000000000000000,0x0000000000000000)
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 (Thu Feb 7 12:59:48.476 2013 (UTC + 0:00)), ptr64 TRUE
Loading Kernel Symbols
..................................................
Loading User Symbols
*******************************************************************************
* *
* Bugcheck Analysis *
* *
*******************************************************************************
Use !analyze -v to get detailed debugging information.
BugCheck 124, {0, 0, 0, 0}
Probably caused by : hardware
Followup: MachineOwner
---------
nt!DbgBreakPointWithStatus:
fffff800`026d3df0 cc int 3
答案 0 :(得分:2)
此问题是由VM配置为使用多个CPU引起的。
使用VirtualBox实例配置窗口的“系统”面板中的滑块将CPU计数设置为 1 。
在此之后,系统将在连接调试器的情况下正常启动。
我们讨论了这个问题here。