VirtualBox

Ticket #9275 (new defect)

Opened 3 years ago

Last modified 19 months ago

Guest is crashing after accessing usb-webcam

Reported by: TMcTrain Owned by:
Priority: major Component: USB
Version: VirtualBox 4.1.0 Keywords: webcam
Cc: tmctrain@… Guest type: other
Host type: Windows

Description

Host System
HP Laptop 6830s
Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz
6,00 GB RAM
Windows 7 x64 Professional (SP1)

USB-Device
HP WebCam (Chicony Electronics CKF7063)

The things I did ...

Guest Windows 7 x32 Professional (SP1):

  • Boot up guest
  • >> Dump VirtualBox.exe (before) <W7_VirtualBox_before.DMP>
  • link usb-device
  • start HP-Webcam Software -> blue LED on web-cam activates, system guest freezes, cpu up to 50%
  • >> Dump VirtualBox.exe(after) <W7_VirtualBox_after.DMP>
  • shutdown over acpi (no effect)
  • send ctrl+alt+entf (no effect)
  • taskmanager cancel process VirtualBox.exe -> guest window closes, process stayes active at 50%, LED off, signal of host system that usb-device is back, process VBoxSVC now 50% too, host system is almost innacessable.
  • >> Dump VirtualBox.exe (last) <W7_VirtualBox_last.DMP>
  • >> Dump VBoxSVC.exe (last) <W7_VBoxSVC_last.DMP>
  • >> Save LOG (last) <W7_VBox_last.log>
  • taskmanager cancel process VBoxSVC (success)
  • host system is responding again
  • process VirtualBox.exe still (50%)
  • taskmanager cancel process VirtualBox.exe (unsuccessful)

  • reboot host to get rid of process

Guest Debian Lenny (2.6.26-2-686):

Bus 002 Device 002: ID 04f2:b083 Chicony Electronics Co., Ltd

  • Boot up guest
  • >> Dump VirtualBox.exe (before) <DL_VirtualBox_before.DMP>
  • link usb-device
  • start cheese -> blue LED on web-cam activates, system guest freezes, cpu up to 50%
  • >> Dump VirtualBox.exe (after) <DL_VirtualBox_after.DMP>
  • shutdown over acpi (no effect)
  • send ctrl+alt+entf (no effect)
  • taskmanager cancel process VirtualBox.exe -> guest window closes, process stayes active at 50%, LED off, signal of host system that usb-device is back, process VBoxSVC now 50% too, host system is almost innacessable.
  • >> Dump VirtualBox.exe (last) <DL_VirtualBox_last.DMP>
  • >> Dump VBoxSVC.exe (last) <DL_VBoxSVC_last.DMP>
  • >> Save LOG (last) <DL_VBox_last.log>
  • taskmanager cancel process VBoxSVC (success)
  • host system is responding again
  • process VirtualBox.exe still (50%)
  • taskmanager cancel process VirtualBox.exe (unsuccessful)

  • reboot host to get rid of process

Attachments

W7_VBox.log Download (69.0 KB) - added by TMcTrain 3 years ago.
The logs of Windows 7 guest
DL_VBox_last.log Download (58.4 KB) - added by TMcTrain 3 years ago.
The logs of Linux guest
081711-26972-01.dmp Download (256.0 KB) - added by rodosp 3 years ago.
DumpFileWin7x64
VB_Ticket9275_add_Win7x64guest_situation.jpg Download (238.4 KB) - added by TMcTrain 3 years ago.
Screenshot of VBox-Window and Win 7 x64 guest, device manager
VB_Ticket9275_add_Win7x64host_situation.jpg Download (208.4 KB) - added by TMcTrain 3 years ago.
Screenshot of Host device manager
Windows 7Work-2011-08-30-18-05-18.log Download (55.9 KB) - added by mchuck 3 years ago.

Change History

Changed 3 years ago by TMcTrain

The logs of Windows 7 guest

Changed 3 years ago by TMcTrain

The logs of Linux guest

comment:1 in reply to: ↑ description ; follow-up: ↓ 2 Changed 3 years ago by TMcTrain

Please let me know which of the described Dump Files are needed.

Changed 3 years ago by rodosp

DumpFileWin7x64

comment:2 in reply to: ↑ 1 Changed 3 years ago by rodosp

Replying to TMcTrain:

Please let me know which of the described Dump Files are needed.

I have exactly the same problem. My host system: HP DV600 (laptop), 2GB ram, AMD Turion 64 X2 1.9GHz, Windows 7 x64 SP1

Mini Dump File Attachment of the host system because the virtual system does not generate

I hope to help and sorry for my English

comment:3 Changed 3 years ago by Wutje

I have exactly the same problem. I am running 4.1.2 with the Extension Pack

Host system A Windows 7 Professional x64 host running on an Intel i7.

Guest I have tested a 32-bit and a 64-bit Ubuntu version. Both crash as soon as I add the USB device I also tested a 32 bit XP guest.

comment:4 Changed 3 years ago by TMcTrain

Forgot to add ...

after update from VB4.1.0 to VB4.1.2 ; I got the same behavior as described in the ticket. The only difference was that the webcam wasn't listed with its name any more, only with its device ID in the USB-device selection box/drop down menu. As in the many version prior to VB4.1.0.

comment:5 Changed 3 years ago by TMcTrain

To quick ...

Please disregard my previous post.

I wanted to get trough all the steps described in the ticket, with VB4.1.2 and a Win7 x64 Guest, to confirm the previous post. As described, the usb-webcam device doesn't show on the selection menu any more. (like in the pre VB4.1.0 versions) But there was a item with the devices ID instead. I clicked on this item to assign the device to the guest and the guests started to access the HDD (assumed it recogniced my wish to do something) but even 15min later nothing happended. The device item in the usb menu is not yet checkmarked but shown as (gefangen / grabbed) inside VBox-Window. On Host side nothing has changed, the host OS still has the device in the device manager, nothing suggests that VB is working on the task to direct the usb-webcam to the Guest. On Guest side nothing happens either. No change after 30min inside the device manager on guest side. Even after closing VBox-Window, with fresh boot of the Guest VBox afterwards, still lists the device as (grabbed) and choosing it again leads to an error message that a previous task is still beeing processed! (45min later)

I added two screenshots

  1. VBox-Window with Win 7 - x64 Guest (device manager + menu from VBox-Window)
  2. Device Manager of the Win 7 - x64 Host

I also checked the other x32 VMs (after rebooting my Host) every one of them has the same behaviour when trying to access the usb-webcam.

Changed 3 years ago by TMcTrain

Screenshot of VBox-Window and Win 7 x64 guest, device manager

Changed 3 years ago by TMcTrain

Screenshot of Host device manager

comment:6 Changed 3 years ago by Powzzz

Can confirm this is happening with Win 7 x64 host (Vbox 4.1.2) - Win XP 32-bit guest. Different USB device (Logitech USB Headset). Process behavior in original bug is identical.

Boot up guest Pass usb device to guest. Guest attempts to install driver for device. Virtualbox.exe becomes unresponsive (100% usage on one core) and will not terminate. Same behavior from host system regarding device being returned to host system. Cannot terminate Virtualbox with any method. Reboot is required to stop process and use Virtualbox again.

The following settings had no effect regardless of how they were set: # of cpus VT (or not) EHCI support (or not)

comment:7 Changed 3 years ago by Powzzz

Did some tests to see where this appears in the stable release tree:

Can confirm that behavior is present in 4.1.0 and 4.1.2. 4.0.12 stable release does not present this behavior.

Tested with Win 7 x64 host - Win XP SP3 32-bit guest. USB device was Logitech Clearchat USB Headset w/Mic.

comment:8 Changed 3 years ago by mchuck

Can confirm similar behaviour with the following setup: VirtualBox - 4.1.2 with 4.1.2 extension pack Host - Windows 7 Enterprise - 64-bit Guest - Windows 7 Professional - 64-bit USB Device - Microsoft Oak USB Telephone (Audio device) USB Filter configured for the device

Tested with EHCI disabled and enabled, and USB 2.0 enabled and disabled. Same behaviour. Plug -in USB device - it is recognized by guest As soon as I access the device through one of the programs (MS Lync in this case) the following occurs: Guest Freezes VM VirtualBox Machine Manager Freezes Can end task both the guest and the Machine Manager - both disappear from the screen Virtualbox.exe on Host remains running and has a lock on the log file running at 50% Host reboot required

Changed 3 years ago by mchuck

comment:9 Changed 3 years ago by Zaniah

I have the same issue with the following setup: VirtualBox 4.1.2 or 4.1.4 and same level USB extension pack on Windows 7 Home Premium 64 bit running Windows XP SP3.

Trying to attach a Logitech USB Headset (ClearChat Comfort USB) will eventually freeze the VirtualBox Machine Manager. Host reboot is required as the Virtualbox.exe process cannot be killed.

The issue was not present when running VirtualBox 4.0.x on the same host.

comment:10 Changed 3 years ago by rodosp

In version 4.1.4 does not freeze over when trying to connect the webcam but neither the links, if then after connecting back to try get a busy error, below the attachment. The device name appears with its hardware id and other duplicated with the name "Chicony Electronics Co., Ltd. HP Webcam" Copy of error: Failed to connect the USB device Unknown Device 04F2: B015 [0606] to the virtual machine WinXPproSP3sp.

USB device '<unknown>' with UUID {c16fe695-631f-96ea-4b1f-} is busy f1ac36276bfa With A previous request. Please try again later.

Result Code: E_INVALIDARG (0x80070057) Component: HostUSBDevice Interface: {IHostUSBDevice 173b4b44-d268-4334-a00d-b6521c9a740a} Receiver: {1968b7d3-e3bf iConsole-4ceb-99e0-cb7c913317bb}

comment:11 Changed 2 years ago by positron96

Confirm this bug in 4.1.14. Host: Win XP SP3 x86 Guest: Debian squeeze x86

After attaching bluetooth usb to host (device filter in VB includes this dongle) VM window freezes, so do all vbox windows, process VirtualBox.exe (started from windows service) eats up 100% of 1 CPU core (kernel time) and fails to be killed from task manager.

comment:12 Changed 19 months ago by Danvy

I had the same error with a HP webcam: host Windows 7 on HP625 and Guest Windows 8 preview I need to restart now!

Last edited 19 months ago by Danvy (previous) (diff)
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use