[Bug]: VirtualBox Manager hangs and leaks memory when opening Port Forwarding settings on Windows 11

未关闭
#959 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 6 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
c

调研方向

Start by reviewing the attached VBoxSVC.log and Windows Error Reporting files alongside the VirtualBox Manager logs to identify where opening NAT Port Forwarding stalls. Then trace the relevant settings and port forwarding code paths; the issue does not name source files or tests. Done means the settings remain responsive and do not grow memory usage when all VMs are powered off.

由索引模型根据 Issue 内容生成。

描述

bug

VirtualBox_WER_AppHang_reports_20261106.zip
Users_huyvo_.VirtualBox_VBoxSVC.log

Version

7.2.22

Host OS Type

Windows

Host OS name + version

Windows 11, build 10.0.26200.9711

Host Architecture

x86

Guest OS Type

Linux

Guest Architecture

ARM

Guest OS name + version

No response

Component

Unspecified

What happened?

VirtualBox Manager becomes unresponsive when opening a VM's Settings dialog, especially when accessing Network > NAT > Port Forwarding.

The issue also occurs when all virtual machines are powered off. At the time of the failure, VBoxManage list runningvms returns no running VMs, but VirtualBox.exe stops responding while VBoxSVC.exe remains running.

Windows reports an AppHangXProcB1 event involving VirtualBox.exe and VBoxSVC.exe. The VirtualBox Manager process grows significantly in memory usage before becoming unresponsive.

Expected behavior:
The Settings dialog should open normally and allow the VM configuration and port forwarding rules to be viewed or edited, regardless of whether the VM is running.

Environment:

  • VirtualBox 7.2.22 r175245
  • Windows 11, build 10.0.26200.9711
  • Lenovo ThinkPad P15 Gen 2i
  • No VirtualBox Extension Pack installed
  • Affected VMs use NAT networking

The complete VBoxSVC.log, selectorwindow.log, VirtualBox Manager logs, and Windows Error Reporting files are attached.

How can we reproduce this?
  1. Install VirtualBox 7.2.22 r175245 on Windows 11.
  2. Create or import one or more virtual machines using NAT networking.
  3. Power off all virtual machines.
  4. Start VirtualBox Manager.
  5. Right-click a VM and select Settings.
  6. Open the Network section.
  7. Select NAT and open Port Forwarding.
  8. Wait until the Settings dialog or VirtualBox Manager becomes unresponsive.
  9. Check the process state in Windows Task Manager.
  10. Run VBoxManage list runningvms and verify that no VMs are running.

Observed result:
VirtualBox Manager may stop responding while VBoxSVC.exe remains running. Windows may record an AppHangXProcB1 event identifying VBoxSVC.exe in the hang report.

Expected result:
The Settings and Port Forwarding dialogs should open and remain responsive when all VMs are powered off.

The attached logs were collected immediately after reproducing the issue.

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 摘要。