Opened 11 years ago
Closed 9 years ago
#13072 closed defect (obsolete)
EHCI may lock the WIN7 VM on Linux hosts
Reported by: | libx | Owned by: | |
---|---|---|---|
Component: | USB | Version: | VirtualBox 4.2.24 |
Keywords: | usb lock | Cc: | |
Guest type: | Windows | Host type: | Linux |
Description
Virtualbox 4.2.24 host on Ubuntu 12.04 server. There are 8 VMs, each of which has 2 cpu, 2048mb Memory, and 2 android mobile phones passthrough by USB2.0, OS is WIN7. I start the VMs using headless mode. I run a simple test on each VM: pushing a file into mobile phone thousands of times with adb. I hope the tests run a day without any VM down.
I do not know why but some VMs seem to be down when the tests have ran about an hour. I can not ping them, can not connect them with Remote Desktop. If I turn on VRDE, it just show a black screen. But The VBoxHeadLess processes are still there. I can not do anything with vboxmanage, it seems that VMs are locked. For example, I shutdown it with vboxmanage, wait a long time(about an hour), but vboxmanage has no response.
If I kill the VBoxHeadLess processes, the states of the VMs show that it is "Aborted". If I turn on the VMs again, Windows tell me I shutdown the system in abnormal way. Windows log has no errors before the VMs down, expect the abnormal shutdown warning.
I use gdb to attach the VM process. And then I found that the thread "EMT-1" may have a dead loop. The thread is always running between line 3093 to 3112 in file /mnt/tinderbox/extpacks-4.2/src/VBox/Devices/USB/DevEHCI.cpp.
Please reopen if still relevant with a recent VirtualBox release.