[Bug]: VirtualBoxVM crashes on USB passthrough

Aberta
#960 3 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 6 dias

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
45/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
c, linux

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.
Linguagem predominante
C
Estrelas
1.4k
Forks
219
Métricas de merge de PRs
Nenhum PR com merge em 30d

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de VirtualBox/virtualbox

Todas as issues de VirtualBox/virtualbox

Issues semelhantes

Mais issues de C

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.