[Bug]: VirtualBoxVM crashes on USB passthrough

Aperta
#960 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 6 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
c, linux

Direzione di ricerca

Start with the attached coredump.txt and usb-device-info.txt, then trace the USB passthrough path for handling duplicate bAlternateSetting entries with different wMaxPacketSize. Reproduce by starting a VM and passing through the Bluetooth dongle; the issue is resolved when passthrough no longer crashes with this device.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug
Version

7.2.18

Host OS Type

Linux

Host OS name + version

OpenSuse Tumbleweed

Host Architecture

x86

Guest OS Type

Linux

Guest Architecture

x86

Guest OS name + version

Lubuntu 18.4

Component

USB and Serial Ports

What happened?

The virtual machine crashes on turning on USB passthrough of Bluetooth dongle. The problem is only with specific dongle, and does not occur if other devices are passed through.

coredump.txt

The difference between this USB dongle (which causes crash) and other devices (which do not cause crash) is duplicate bAlternateSetting with different wMaxPacketSize. I am not sure that this is a cause of the crash, but who knows.

usb-device-info.txt

It does not matter which OS is a guest OS. The bug can be reproduced with any guest OS. Also, it does not matter which USB controller is selected in settings: ECHI or OCHI.

How can we reproduce this?
  • Start the VirtualBox
  • Start the Lubuntu virtual machine
  • Insert the dongle to the USB port
  • Start passthrough using the menu
Did you upload all of your necessary log files, screenshots, etc.?
  • Yes, I've uploaded all pertinent files to this issue.
Lingua principale
C
Stelle
1.4k
Fork
219
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di VirtualBox/virtualbox

Tutte le issue di VirtualBox/virtualbox

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.