[Bug]: VirtualBoxVM crashes on USB passthrough

Offen
#960 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 6 Tagen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
45/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
c, linux

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.
Vorherrschende Sprache
C
Sterne
1.4k
Forks
219
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus VirtualBox/virtualbox

Alle Issues in VirtualBox/virtualbox

Ähnliche Issues

Weitere Issues zu C

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.