VirtualBox

Ticket #3571 (closed defect: fixed)

Opened 5 years ago

Last modified 4 years ago

VirtualBox segfaults with Harmony Software when accessing USB devices (Windows Vista on Linux host) => Fixed in SVN/3.1.6

Reported by: dejan Owned by:
Priority: major Component: USB
Version: VirtualBox 3.0.10 Keywords:
Cc: Guest type: other
Host type: Linux

Description (last modified by frank) (diff)

I'm trying to use a Vista VM to update Harmony remote controls and when the update is about to finish on one of the devices the machine simply segfaults - here are the lines in /var/log/messages before and after the crash:

Mar 19 13:07:25 T61 kernel: usb 5-2: new full speed USB device using uhci_hcd and address 2
Mar 19 13:07:26 T61 kernel: usb 5-2: configuration #1 chosen from 1 choice
Mar 19 13:07:26 T61 kernel: usb 5-2: New USB device found, idVendor=046d, idProduct=c114
Mar 19 13:07:26 T61 kernel: usb 5-2: New USB device strings: Mfr=1, Product=1, SerialNumber=0
Mar 19 13:07:26 T61 kernel: usb 5-2: Product: Harmony IrExtender 0-2.5.1
Mar 19 13:07:26 T61 kernel: usb 5-2: Manufacturer: Harmony IrExtender 0-2.5.1
Mar 19 13:08:22 T61 kernel: usb 5-2: USB disconnect, address 2
Mar 19 13:08:23 T61 kernel: VirtualBox[24559]: segfault at 2d8 ip 0590becf sp b7911f40 error 4 in VBoxDD.so[58e6000+1b4000]
Mar 19 13:08:23 T61 kernel: device wlan0 left promiscuous mode
Mar 19 13:08:23 T61 kernel: usb 5-2: new full speed USB device using uhci_hcd and address 3
Mar 19 13:08:23 T61 kernel: usb 5-2: configuration #1 chosen from 1 choice
Mar 19 13:08:23 T61 kernel: usb 5-2: New USB device found, idVendor=046d, idProduct=c114
Mar 19 13:08:23 T61 kernel: usb 5-2: New USB device strings: Mfr=1, Product=1, SerialNumber=0
Mar 19 13:08:23 T61 kernel: usb 5-2: Product: Harmony IrExtender 0-2.5.1
Mar 19 13:08:23 T61 kernel: usb 5-2: Manufacturer: Harmony IrExtender 0-2.5.1

The update causes the disconnect and the disconnect causes the crash (I believe).

I'll also attach the VBox.log file from the Virtual machine.

Attachments

VBox.log Download (41.1 KB) - added by dejan 5 years ago.
messages Download (1.2 KB) - added by dejan 5 years ago.
The lines from /var/log/messages

Change History

Changed 5 years ago by dejan

Changed 5 years ago by dejan

The lines from /var/log/messages

comment:1 Changed 5 years ago by dejan

I can reproduce this by simply unplugging the USB cable without doing anything else with the Vista VM running, it immediately crashes.

comment:2 Changed 5 years ago by frank

  • Description modified (diff)

comment:3 Changed 5 years ago by kpsimm

Exact same symptom here as well. VirtualBox 2.2.4r47978. Fedora 11 64bit host. Vista 32bit, SP2 client. Harmony Remote software v7.5.0.

comment:4 Changed 5 years ago by kpsimm

This continues to be a problem with VirtualBox 3.0.0r49315. And yes, simply unplugging the remote causes a segfault.

comment:5 Changed 4 years ago by joolz

Same with 3.0.10

comment:6 Changed 4 years ago by frank

  • Version changed from VirtualBox 2.1.4 to VirtualBox 3.0.10

comment:7 Changed 4 years ago by JanDoo

Same problem here with 3.0.12 r54655 and Windows 7 on Ubuntu 9.10 64-bit.

While unplugging the harmony without disabling it in the USB filter, the virtual machine crashes with a segfault.

Jan 15 22:18:50 aspire kernel: [ 9479.040079] usb 7-2: USB disconnect, address 10 Jan 15 22:18:51 aspire kernel: [ 9479.614249] VirtualBox[5865]: segfault at 370 ip 00007feb789e9878 sp 00007feb7cb8cc10 error 4 in VBoxDD.so[7feb789d3000+1bd000]

comment:8 Changed 4 years ago by jimduchek

Reproducible on Arch Linux 64-bit host, Windows 7 32-bit guest. Virtualbox 3.1.4. Possibly an issue with 64 bit guests? I can verify it happens with either the remote itself or the IR extender.

comment:9 Changed 4 years ago by jimduchek

Also, possibly a similar problem to bug #5089, which was fixed? Symptoms appear the same, and the kernel log shows it to be a 64 bit host as well.

comment:10 Changed 4 years ago by Jorix

The same problem with windows 7 guest, kubuntu 9.04 host and virtualbox 3.1.4.

comment:11 Changed 4 years ago by kpsimm

This issue is now over one year old and it has not been assigned, Does anyone know the process for this? What can we do to help get this resolved?

comment:12 Changed 4 years ago by jimduchek

It doesn't help that the USB code isn't open source, as far as I know.

comment:13 Changed 4 years ago by frank

Guys, please could you reproduce this problem while core dumps enabled (see  here), then provide me the core dump? Please contact me via frank _dot_ mehnert _at_ sun _dot_ com.

comment:14 Changed 4 years ago by dejan

Frank, I managed to reproduce the issue and I'm in the process of uploading the core dump so that I can send you a link to download it. Even compressed it's still 200MB so email is not an option. Once the upload is done I'll e-mail you a link.

comment:15 Changed 4 years ago by frank

Sent a test build to two reporters. I believe that the crash is now fixed.

comment:16 Changed 4 years ago by frank

  • Summary changed from VirtualBox segfaults with Harmony Software when accessing USB devices (Windows Vista on Linux host) to VirtualBox segfaults with Harmony Software when accessing USB devices (Windows Vista on Linux host) => Fixed in SVN/3.1.6

comment:17 Changed 4 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use