VirtualBox

Opened 9 years ago

Closed 8 years ago

#13987 closed defect (fixed)

VBox 4.3.26 NAT Network unstable

Reported by: tkvb Owned by:
Component: network/NAT Version: VirtualBox 4.3.26
Keywords: NAT Network Cc:
Guest type: Linux Host type: Windows

Description

VBox 4.3.26 running on Windows 8.1 x64 host 2 Ubuntu 14.04.2 VMs configured to use a NAT network

After a while (maybe under heavy network load between the 2 VMs?) the NAT network stops passing traffic to the outside world. The 2 VMs can still talk to each other but not with the outside world until they are both rebooted.

This started with the upgrade to 4.3.26, the same setup worked OK before.

Attachments (9)

NAT_10.0.5.0.log (934 bytes ) - added by tkvb 9 years ago.
VBoxNATCrash.jpg (20.5 KB ) - added by tkvb 9 years ago.
VBoxSVC.log.1 (2.1 KB ) - added by GoodGodd 9 years ago.
VBoxSVC.log.2 (670 bytes ) - added by GoodGodd 9 years ago.
VBoxSVC.log.3 (3.9 KB ) - added by GoodGodd 9 years ago.
vbox.PNG (10.1 KB ) - added by GoodGodd 9 years ago.
NatNetwork.leases (199 bytes ) - added by GoodGodd 9 years ago.
NatNetwork.leases-prev (199 bytes ) - added by GoodGodd 9 years ago.
error.PNG (17.3 KB ) - added by GoodGodd 8 years ago.
Vbox error

Download all attachments as: .zip

Change History (28)

comment:1 by Valery Ushakov, 9 years ago

Please, can you attach the log file for the NAT Network (.VirtualBox/$netname.log).

by tkvb, 9 years ago

Attachment: NAT_10.0.5.0.log added

comment:2 by tkvb, 9 years ago

I attached the log file with the VMs in the broken state, but there isn't much in the log file to go by. Is there a way to bump up the log level to get more info?

comment:3 by tkvb, 9 years ago

I just got the following VBoxNetNAT.exe crash, but there isn't any more info in the log file than before.

by tkvb, 9 years ago

Attachment: VBoxNATCrash.jpg added

in reply to:  description comment:4 by Valery Ushakov, 9 years ago

This started with the upgrade to 4.3.26, the same setup worked OK before.

What was the previous release that you used. I don't think NAT Network had any non-trivial changes on 4.3 branch since last August.

Is there a way to bump up the log level to get more info?

Not without using a debug build.

I just got the following VBoxNetNAT.exe crash

Is this reproducible? If it is, please, could you provide a minidump?

comment:5 by tkvb, 9 years ago

I used 4.3.22 and NAT worked fine (though that version had other issues non-NAT related). Then I upgraded to 4.3.24 and NAT also worked but DNS was broken (see ticket #13915). Now this problem in .26

I'm sorry but I disagree with the statement that only trivial changes are made in minor releases. It's more like 1 step forward, 2 backwards. I haven't been able to find a stable version of VBox in a long time, where the features I use just work.

(As a side note, another non-trivial change that was made in a patch release, I believe from .20 to .22, was to completely ignore %HOME% on Windows -- you simply don't make such changes in a patch release. See http://semver.org/)

As for the crash, I haven't found a pattern to reproduce it. The error window is very rare, but the NAT network stops working often and there's no new info added to the log file.

If you can provide a debug build or a build with a way to turn on/off verbose NAT logging, I'm more than willing to run it and help you find the issue.

comment:6 by Valery Ushakov, 9 years ago

Keywords: NAT Network added; nat removed
Summary: VBox 4.3.26 NAT unstableVBox 4.3.26 NAT Network unstable

comment:7 by Reiner Brodbeck, 9 years ago

I also experience NATnetwork stop working in VBox 4.3.26

I use a Win7 SP1 host. I have a total of 7 VMs configured into two different NATnetworks. It seems that, if after stopping a VM there is no VM left in one of the NATnetworks, both NATnetworks stop working, i.e. a ping to the router (usually address x.x.x.1) does no longer work.

After stopping all VMs and restarting them all works fine again.

This configuration worked without any problem in VBox 4.3.22. I did not use 4.3.24 because of the DNS problem.

in reply to:  7 comment:8 by Valery Ushakov, 9 years ago

Replying to ReinerB:

I also experience NATnetwork stop working in VBox 4.3.26

It seems that, if after stopping a VM there is no VM left in one of the NATnetworks, both NATnetworks stop working, i.e. a ping to the router (usually address x.x.x.1) does no longer work.

Please, can you file this as a separate bug report? I can reproduce this issue, but this bug report is about VBoxNetNAT.exe crash. Thanks.

in reply to:  5 comment:9 by Valery Ushakov, 9 years ago

Replying to tkvb:

If you can provide a debug build or a build with a way to turn on/off verbose NAT logging, I'm more than willing to run it and help you find the issue.

Any luck with getting a minidump?

Having at least the first idea about where the crash might be would be helpful. Carpet-bombing with full debug logs is a bit of an overkill.

comment:10 by tkvb, 9 years ago

I have not seen the crash lately, as mentioned before it's rare, but NAT networking still stops frequently. When it does I looked at the running processes and there are still 3 VBoxNetNAT processes running, so they have not crashed.

in reply to:  10 comment:11 by Valery Ushakov, 9 years ago

Replying to tkvb:

I have not seen the crash lately, as mentioned before it's rare, but NAT networking still stops frequently. When it does I looked at the running processes and there are still 3 VBoxNetNAT processes running, so they have not crashed.

May be you can use task manager or Process Explorer to forcibly obtain a dump of the NAT network process that appears stuck like that? Of the 3 processes you want the grandchild, the one with the largest memory.

comment:12 by tkvb, 9 years ago

I created a full dump of the process in the state where it's not passing any traffic to the outside world, but it's 84MB big, can you please contact me for a way to get it to you? Not sure I want to post it in the public, I don't know what private info there may be in there.

comment:13 by Valery Ushakov, 9 years ago

Thanks. You can reach me at valery dot ushakov at oracle dot com

comment:14 by tkvb, 9 years ago

Sent you an email, thanks.

comment:15 by GoodGodd, 9 years ago

Hi there, Virtualbox 5.0 im using, host Windows 7 64bit and guest Windows server 2003. Im getting problem with my natnetwork its give me an error every 2 or last time 4 days, than its crash and people can't login to my server witch im running in VM. People who did'd logout they can still play but new players can't login to server.

I did use this option VBoxManage setextradata global VBoxInternal2/HostDNSSuffixesIgnore 1 from https://www.virtualbox.org/ticket/13839 its stop crashes for now. but it's for NAT so will have to go back now to previous setting. It's removed Natnetwork crash but now disconnecting players. Logs for it are NatNetwork.leases. There is also error im getting in w7 host machine vbox.pmg file attached. If you can have a look in this please. I know there is a lot of this but its form many months i try fix it my self and i give up for now. Many thanks in advance.

Last edited 9 years ago by GoodGodd (previous) (diff)

by GoodGodd, 9 years ago

Attachment: VBoxSVC.log.1 added

by GoodGodd, 9 years ago

Attachment: VBoxSVC.log.2 added

by GoodGodd, 9 years ago

Attachment: VBoxSVC.log.3 added

by GoodGodd, 9 years ago

Attachment: vbox.PNG added

by GoodGodd, 9 years ago

Attachment: NatNetwork.leases added

by GoodGodd, 9 years ago

Attachment: NatNetwork.leases-prev added

in reply to:  10 comment:16 by Valery Ushakov, 9 years ago

Replying to tkvb:

I have not seen the crash lately, as mentioned before it's rare, but NAT networking still stops frequently. When it does I looked at the running processes and there are still 3 VBoxNetNAT processes running, so they have not crashed.

When your NAT Netowrk is stuck, please, can you do netstat -n -A inet -A inet6 in all your guests connected to that network?

I suspect you are exceeding the limit of simultaneous TCP connections. E.g. gvfsd-http apparently likes to keep around a lot of connections in CLOSE_WAIT (launchpad bugs 571970 and 760344).

by GoodGodd, 8 years ago

Attachment: error.PNG added

Vbox error

comment:17 by GoodGodd, 8 years ago

Hi, hope anyone can help! We having this error few months now.

I'm getting same error, my Nat Network crash every 2 or 7 days. It's like this. We running game server on VBox 5, Host Windows 7 and guest Win Server 2003 and one of our software is for connection players to the server (gate soft - only for login to game using credentials). When we have 20+ people connected in one time NAT crashes every up to 7 days but when we having 40+ people connected in one time it crashes every 2 days. Please have a look on attached file error.png

So i wonder if we can fix it somehow. Many thanks in advance.

Regards Maciej

Last edited 8 years ago by GoodGodd (previous) (diff)

comment:18 by Valery Ushakov, 8 years ago

Please, can you give a recent test build a try? Revision 103571+ for 5.0, 103575+ for 4.3.

comment:19 by Frank Mehnert, 8 years ago

Resolution: fixed
Status: newclosed

No response, closing.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use