#8060 closed defect (fixed)
Sometimes Windows Server 2003 R2 (guest) cannot shutdown — 於 版本 8
回報者: | Edward Yang | 負責人: | |
---|---|---|---|
元件: | other | 版本: | VirtualBox 4.0.0 |
關鍵字: | 副本: | ||
Guest type: | Windows | Host type: | Windows |
描述 (由 作最後更新)
I installed a Windows Server 2003 R2 inside Virtual Box. I had observed several times that this guest OS could not shutdown properly - it stayed with a blank screen.
I'm 99% sure that it's a problem of Virtual Box because I have never had such a problem with other VMs (VPC, VMWare).
更動歷史 (12)
comment:2 14 年 前 由 編輯
No actually.
If you look at the most recent VBox.log, you will find the last 2 lines:
16:08:30.579 Changing the VM state from 'DESTROYING' to 'TERMINATED'. 16:08:32.647 ERROR [COM]: aRC=E_ACCESSDENIED (0x80070005) aIID={515e8e8d-f932-4d8e-9f32-79a52aead882} aComponent={Console} aText={The virtual machine is not powered up}, preserve=false
I think it's a very simple mistake in logic. The VM was indeed shutdown, but when it was changed from 'DESTROYING' to 'TERMINATED', program logic somehow thinks the VM is not powered up, which is true since it was destroying. But this should not be an error, instead program logic should consider 'DESTROYING' to 'TERMINATED' is valid.
comment:3 14 年 前 由 編輯
Moment. The line Changing the VM state from 'DESTROYING' to 'TERMINATED'. is independent from the next line and there is no sign that the VM was not properly terminated. But ok, in the description you say that the guest window stayed with a black screen. So it's definitely something wrong.
comment:4 14 年 前 由 編輯
I was installing the latest 4.0.4 addition in this guest OS and rebooting, and it seems the VM is dead. By examining the log file I see it's constantly appending the following same line to the log file:
00:27:44.756 ERROR [COM]: aRC=VBOX_E_IPRT_ERROR (0x80bb0005) aIID={09eed313-cd56-4d06-bd56-fac0f716b5dd} aComponent={Display} aText={Could not take a screenshot (VERR_TRY_AGAIN)}, preserve=fals
comment:5 14 年 前 由 編輯
And, again the guest window stayed with a blank (not black) screen - it's the screen just before powering off.
Unfortunately all 4 logs you attached show that the machine was shut down cleanly.