VirtualBox

Ticket #8184 (new defect)

Opened 3 years ago

Last modified 2 years ago

Connecting USB webcam crashes VirtualBox

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

Description

  • 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

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

Change History

Changed 3 years ago by alphazo

Log file following the crash when connecting USB webcam

comment:1 Changed 3 years ago by alphazo

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?

Changed 3 years ago by seblu

crash with iphone4 transfer

comment:2 Changed 3 years ago by seblu

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 Changed 3 years ago by alphazo

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

comment:4 in reply to: ↑ description Changed 3 years ago by lweiss54@…

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 Changed 3 years ago by alphazo

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

comment:6 Changed 2 years ago by laurynas

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 2 years ago by laurynas (previous) (diff)
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use