Page 1 of 1

x64 Guest Kernel Debugging causes BSOD with 2 or more CPUs

Posted: 9. Jul 2011, 20:14
by confusedsushi
Hello,

I am used to debug a Windows driver with help of VirtualBox, for that I set up a com port as a host pipe and connect with WinDbg to it as described in several tutorials.

This works fine with 32 bit guests, single and multi core, also with 64 bit guests as long it has not more than one CPU.

When I enable the kernel debugging and the guest has more than one core, Windows is crashing with a bluescreen during startup (I think during booting the other cpus).

Debugging works fine with only one guest CPU. Also the guest is booting fine with more than one CPU when debugging is disabled.

Does anyone else experienced something like this? Exists there a solution?

Thanks in advance.

Re: x64 Guest Kernel Debugging causes BSOD with 2 or more CPUs

Posted: 23. Jul 2011, 23:06
by ntoskr
I have the exact same issue.

Guest OS 64bit Win7 + 2 guest CPUs gives me BSOD saying hardware malfunction when WinDbg is attached. WinDbg breaks at the bugcheck.

Setting guest CPU number to 1 solves the problem, but I really need the multi-core environment.

:(