[Bug]: VirtualBoxVM crashes on USB passthrough

未關閉
#960 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 6 天內回覆

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
45/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
c, linux

研究方向

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.

由索引模型根據 Issue 內容生成。

描述

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.
主要語言
C
星號
1.4k
分支
219
PR 合併指標
30 天內沒有已合併 PR

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

VirtualBox/virtualbox 的其他 Issue

查看 VirtualBox/virtualbox 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。