VirtualBox

Opened 13 years ago

Closed 4 years ago

#8184 closed defect (obsolete)

Connecting USB webcam crashes VirtualBox

Reported by: alphazo Owned by:
Component: USB Version: VirtualBox 4.0.2
Keywords: Cc:
Guest type: Windows Host type: Linux

Description (last modified by Frank Mehnert)

  • Hardware: Lenovo X201, i5 based, 4GB RAM
  • Host: ArchLinux 64-bit
  • Kernel: 2.6.37
  • Guest: Windows XP SP3 + Guest Addons
  • Oracle VM VirtualBox Extension: 4.0.2r69518

I tried both the USB internal Webcam (Chicony Integrated Camera) and the USB Guillemot Corporation DualPix HD720p and they both badly crashe VirtualBox. On the other hand USB high-speed flash drives work fine.

When connecting the DualPix HD720p, the VM crashes and shows as aborted but some processes keep running:

# ps aux | grep irtual
alpha 8403 5.4 1.4 565524 56288 ? Sl 22:22 0:21 /usr/lib/virtualbox/VirtualBox
alpha 8421 0.2 0.0 45568 3760 ? S 22:22 0:01 /usr/lib/virtualbox/VBoxXPCOMIPCD
alpha 8429 0.5 0.2 146384 9040 ? Sl 22:22 0:02 /usr/lib/virtualbox/VBoxSVC --auto-shutdown
alpha 8951 0.0 0.0 10484 1012 pts/0 S+ 22:29 0:00 grep --color=auto irtual

Log file is attached. I followed the instruction to enable the generation of a core dump but no core.{pid} file was generated.

Attachments (2)

vbox.log (88.7 KB ) - added by alphazo 13 years ago.
Log file following the crash when connecting USB webcam
5.png (25.5 KB ) - added by Seblu 13 years ago.
crash with iphone4 transfer

Download all attachments as: .zip

Change History (13)

by alphazo, 13 years ago

Attachment: vbox.log added

Log file following the crash when connecting USB webcam

comment:1 by alphazo, 13 years ago

Could that be related to the fact that the USB webcam might only support EHCI?

It crashes the same way when I remove oracle-extension-pack package. When I install the virtualbox-ext-oracle I do see it under Extension but I no longer see any EHCI settings under USB panel. Is this normal? How can I check that EHCI is running fine?

VBox log only mentions EHCI once at the beginning.

00:00:02.380 PDM/Devices/VBoxEhci/ (level 3) 00:00:02.380 Path <string> = "/usr/lib/virtualbox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/linux.amd64/VBoxEhciR3.so" (cb=97) 00:00:02.380 R0SearchPath <string> = "/usr/lib/virtualbox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/linux.amd64" (cb=83) 00:00:02.380 RCSearchPath <string> = "/usr/lib/virtualbox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/linux.amd64" (cb=83) 00:00:02.380 00:00:02.380 PDM/Drivers/ (level 2)

But when I connect a USB flash drive, VBox log says: 00:00:31.944 VUSB: attached '00007f1a34046ad0[proxy 090c:1000]' to port 1 00:00:31.948 OHCI: USB Operational 00:00:41.907 PCNet#0: Init: ss32=1 GCRDRA=0x0669d420[64] GCTDRA=0x0669d020[64] 00:00:42.945 PIT: mode=2 count=0x4ad (1197) - 996.81 Hz (ch=0) 00:01:09.988 Switching Gl mode on 00:01:10.024 Switching Gl mode off 00:01:10.385 Switching Gl mode on 00:01:10.422 Switching Gl mode off 00:05:53.113 USB: Successfully reset device pProxyDev=00007f1a34046ad0[proxy 090c:1000]

And when I connect the webcam I get: 00:05:53.880 OHCI: USB Suspended 00:06:17.830 VUSB: attached '00007f1a35ac3f60[proxy 06f8:300b]' to port 1 00:06:17.836 OHCI: USB Operational

None of them say EHCI. Is this normal?

by Seblu, 13 years ago

Attachment: 5.png added

crash with iphone4 transfer

comment:2 by Seblu, 13 years ago

i'm in the same situation OS Host and Guest. During an usb transfer with iphone4 to a shared folder i've a bsod.

comment:3 by alphazo, 13 years ago

When disabling VT-x the VM crashes instantly when connecting the USB 2.0 High speed device. The last lines of the log say:

00:00:42.236 VUSB: attached '00000000019e4c40[proxy 06f8:300b]' to port 1 00:00:42.243 OHCI: USB Operational

in reply to:  description comment:4 by lweiss54@…, 13 years ago

Replying to alphazo:

  • Hardware: Lenovo X201, i5 based, 4GB RAM
  • Host: ArchLinux 64-bit
  • Kernel: 2.6.37
  • Guest: Windows XP SP3 + Guest Addons
  • Oracle VM VirtualBox Extension: 4.0.2r69518

I tried both the USB internal Webcam (Chicony Integrated Camera) and the USB Guillemot Corporation DualPix HD720p and they both badly crashe VirtualBox. On the other hand USB high-speed flash drives work fine.

When connecting the DualPix HD720p, the VM crashes and shows as aborted but some processes keep running:

# ps aux | grep irtual
alpha 8403 5.4 1.4 565524 56288 ? Sl 22:22 0:21 /usr/lib/virtualbox/VirtualBox
alpha 8421 0.2 0.0 45568 3760 ? S 22:22 0:01 /usr/lib/virtualbox/VBoxXPCOMIPCD
alpha 8429 0.5 0.2 146384 9040 ? Sl 22:22 0:02 /usr/lib/virtualbox/VBoxSVC --auto-shutdown
alpha 8951 0.0 0.0 10484 1012 pts/0 S+ 22:29 0:00 grep --color=auto irtual

Log file is attached. I followed the instruction to enable the generation of a core dump but no core.{pid} file was generated.

I have the same problem, suse 11.2, I finally got everything working but the logitech c500 camera. It crashes XP everytime I try to connect it, usb printers and mem sticks seem to work OK. The mouse is also a bit jumpy but I can live with that. There is definitely a bug somewhere that needs to be fixed asap. Skype is useless without a camera. Is anyone working on this issue??

Len

comment:5 by alphazo, 13 years ago

I'm have the exact same issue with 4.0.4_OSE r70112. This is getting very frustrating.

comment:6 by laurynas, 12 years ago

The same issue for me. Host machine is win7 and on virtual box is Ubuntu 11.10. When I attach usb web cam to virtualbox and start using it with skype or any other software it freezes virtualbox and I cant even kill it via task manager. I have to restart my laptop then.

Virtualbox version is 4.1.12r77245

this is what I get on dmesg before crash. [ 550.352345] usb 1-1: new high speed USB device number 2 using ehci_hcd [ 551.188535] Linux video capture interface: v2.00 [ 551.214951] uvcvideo: Found UVC 1.00 device Laptop_Integrated_Webcam_FHD1bcf:2802) [ 551.294481] input: Laptop_Integrated_Webcam_FHD as /devices/pci0000:000000:00:0b.0/usb1/1-1/1-1:1.0/input/input8 [ 551.294633] usbcore: registered new interface driver uvcvideo [ 551.294639] USB Video Class driver (v1.1.0)

Last edited 12 years ago by laurynas (previous) (diff)

comment:7 by Karasu, 10 years ago

I'm having the same issue with a win7 x64 host and my virtualbox 4.3.10 on Ubuntu 14.04.

comment:8 by pdu, 9 years ago

I have just made my camera working with my guest machine.

Host : Ubuntu Linux 14.04 Guest : Windows 7 x64 Camera : A4Tech USB Camera HD 1080P

I only changed the USB Filter settings in my guest configuration. I deleted all USB filters and added a null filer without any value in it. After I start the guest, I choose the menu item Device->Camera->A4Tech ..... to add the camera to the guest. The guest will immediately find a device called VirtualBox Camera xxxxx. The drivers will be automatically installed. After that, the camera can be used normally in all my applications. The crashes are gone.

comment:9 by DeKi, 8 years ago

Same issue here with VirtualBox 4.3.32. This ticket is five years old. Please let me know if further information is needed for analysis.

comment:10 by Frank Mehnert, 8 years ago

Description: modified (diff)

DeKi, we would need the corresponding VBox.log file as well as a core dump. If you can provide the latter you probably should contact me via private e-mail at frank _dot_ mehnert _at_ oracle _dot_ com. I cannot provide you a server for uploading the core dump so please find a server and tell me the URL.

comment:11 by aeichner, 4 years ago

Resolution: obsolete
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use