VirtualBox

Opened 14 years ago

Closed 12 years ago

#6223 closed defect (fixed)

guest windows 7 (32 or 64 bit) almost hangs when changing guest network card settings => fixed in svn

Reported by: Mihai Hanor Owned by:
Component: other Version: VirtualBox 3.1.4
Keywords: guest hangs windows 7 network 82540EM Cc:
Guest type: Windows Host type: Windows

Description (last modified by Frank Mehnert)

Host: XP SP3 32 bit, fully updated, E6400, 2GB RAM
Guest: Windows 7 RTM, 32 bit unpatched, 64 bit unpatched, then patched; all clean install, no guest additions, no other programs/drivers; VT enabled, 1 virtual cpu, 512MB guest RAM, 2D/3D acceleration disabled, two Intel 82540EM network adapters enabled (or more), all in bridged mode; audio set to null, usb off

Steps to reproduce:

  1. You need a clean install; by default, the network adapters have all network protocols enabled and tcp/ip is set to auto (dhcp enabled).
  2. Access the Properties window of one adapter (Local Area Connection)
  3. Uncheck all the following protocols: Client for Microsoft Networks, QoS Packet Scheduler, File and Printer Sharing for Microsoft Networks, Internet Protocol Version 6, Link Layer Topology Discovery IO Driver, Link Layer Topology Discovery Responder. Don't close the window yet.
  4. Access the Internet Protocol Version 4 Properties windows and manually set an IP address and a gateway (eg. 192.168.0.123, 255.255.255.0)
  5. Click OK, then Close. After clicking Close, the guest could hang. If it doesn't, try the same steps with the following adapter. If that doesn't work, reset the settings of all the adapters (TCP/IP V4 to DHCP auto, and recheck all protocols), shutdown the VM, then restart it.

If the guest hangs occurs, the VirtualBox.exe host process consumes all processing time of one CPU core. The process is one of those listed as MSVCR71.dll!endthreadex+0x31. See the attached file. The VM will respond to input (keyboard and mouse) every few seconds or tens of seconds, for a fraction of a second. Several times I've managed to recover the VM, by starting the guest's task manager with ctrl+shift+esc, although that could be a coincidence.

Attachments (1)

314.zip (22.5 KB ) - added by Mihai Hanor 14 years ago.
3.1.4 final log+minidump while hanged

Download all attachments as: .zip

Change History (10)

by Mihai Hanor, 14 years ago

Attachment: 314.zip added

3.1.4 final log+minidump while hanged

comment:1 by Mihai Hanor, 14 years ago

btw, I can reproduce it (almost) every time, tell me if you require additional info

comment:2 by Mihai Hanor, 14 years ago

"The process is one of those listed as MSVCR71.dll!endthreadex+0x31"

what I meant to say was the process's thread that eats CPU time

comment:3 by Mihai Hanor, 14 years ago

I can reproduce it on a 2nd host machine: Athlon64 3500+ single core, XP SP3 32 bit, AMD-V and NX enabled, no audio, no usb, no 2D and no 3D acceleration, no guest additions, two 82540EM network adapters (bridged), guest Windows 7 Ultimate 64 bit

comment:4 by Mihai Hanor, 14 years ago

VB 3.1.6 hangs too...

More readable instructions:

  1. You need a clean guest install and at least two 82540EM guest adapters; by default, the network adapters have all network protocols enabled and tcp/ip is set to auto (dhcp enabled).
  2. Access the Properties window of one adapter (Local Area Connection)
  3. Uncheck all the following protocols: Client for Microsoft Networks, QoS Packet Scheduler, File and Printer Sharing for Microsoft Networks, Internet Protocol Version 6, Link Layer Topology Discovery IO Driver, Link Layer Topology Discovery Responder. Don't close the window yet.
  4. Access the Internet Protocol Version 4 Properties windows and manually set an IP address and a gateway (eg. 192.168.0.123, 255.255.255.0)
  5. Click OK, then Close. After clicking Close, the guest could hang. If it doesn't, try the same steps with the following adapter. If that doesn't work, reset the settings of all the adapters (TCP/IP V4 to DHCP auto, and recheck all protocols), then try again. Restarting or shutting down the guest isn't really necessary

comment:5 by Mihai Hanor, 14 years ago

it's the same thing with VB 3.2.0 beta1

comment:6 by Mihai Hanor, 14 years ago

idem 3.2.2.r62321
it only occurs if both virtual 82540EM cards are attached to the same network interface of the host machine

comment:7 by Frank Mehnert, 14 years ago

Description: modified (diff)

comment:8 by Klaus Espenlaub, 12 years ago

Summary: guest windows 7 (32 or 64 bit) almost hangs when changing guest network card settingsguest windows 7 (32 or 64 bit) almost hangs when changing guest network card settings => fixed in svn

Reproduced, and fixed in the svn tree. Most likely the first release with this fix will be 4.0.14, but plans might change.

comment:9 by Frank Mehnert, 12 years ago

Resolution: fixed
Status: newclosed

Fix is part of VBox 4.1.6.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use