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

Đang mở
#959 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 6 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
c
Lĩnh vực
desktop, networking

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
C
Star
1.4k
Fork
219
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của VirtualBox/virtualbox

Tất cả issue của VirtualBox/virtualbox

Issue tương tự

Thêm issue về C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.