VirtualBox

Opened 9 years ago

Closed 5 years ago

#13899 closed defect (fixed)

"VboxNetNat.exe" Random crashes -> fixed in 6.0.4

Reported by: qidizi Owned by:
Component: network/NAT Version: VirtualBox 4.3.22
Keywords: NAT Cc: TechSalesDude
Guest type: Linux Host type: Windows

Description (last modified by Valery Ushakov)

host OS:window 7; host some software:avast!; noteBook:lenovo k27,intel I3,RAM 8G,ssd 128G; host network:LAN,or LAN wifi; guest OS:centos 7; guest network:NAT network,forwarding port(tcp127.0.0.1:22 => 10.0.2.5:22,tcp127.0.0.1:80=>10.0.2.5:80;tcp127.0.0.1:3306 => 10.0.2.5:3306),interface:Intel Pro/1000 MT server (82545EM) mixed mode is disabled; vm virtualbox VER:4.3.23-98520/4.3.22(test both )

when testing,only this guest OS is runing! my email is :qidizi&qq.com If you are using a NAT(not NAT network), this problem will become more serious, see the following https://www.centos.org/forums/viewtopic.php?f=50&t=51112 If you use the "bridging model", this problem would not have arisen; Possible causes:postfix(http://www.postfix.org,Install on CentOS systems) is runing,and A large number of mail is being delivered;and the browser on the host(window on "k27"), constantly refresh a PHP page,the "nginx/php" on Centos;then "VboxNetNat.exe" Random crashes,But I cannot determine what operation caused crash;

Attachments (18)

1.png (48.8 KB ) - added by qidizi 9 years ago.
They are normal
2.png (9.4 KB ) - added by qidizi 9 years ago.
3.png (75.2 KB ) - added by qidizi 9 years ago.
when crash;can ping www.qq.com;but forward port is suspended,ssh/80 be loading...until close the crash message window;
6.png (49.1 KB ) - added by qidizi 9 years ago.
7.png (27.6 KB ) - added by qidizi 9 years ago.
8.png (26.1 KB ) - added by qidizi 9 years ago.
but some time do not show this crash window,when it crashed;
4.png (64.4 KB ) - added by qidizi 9 years ago.
after close the crash message window,all "vboxnetnat.exe" is crash;
centos-7-info.txt (23.9 KB ) - added by qidizi 9 years ago.
Logs.rar (42.2 KB ) - added by qidizi 9 years ago.
install 4.3.20,clear logs,start vbox,run centos guest,crash,shutdown guest,exit vbox,winrar logs files
QQ五笔截图未命名.png (58.9 KB ) - added by qidizi 9 years ago.
4.3.20crash too,very soon.only connect ssh via "putty" tool.
vbox4.3.20-exception.png (19.4 KB ) - added by qidizi 9 years ago.
vbox4.3.20 crash by unknown software exception
vbox4.3.20-exception-donotCreateDumpFiles.png (48.2 KB ) - added by qidizi 9 years ago.
with 4.3.20,when crash,i do not get any dump files,but the regedit key/values is all right,so,i will reinstall vbox4.3.33(or VirtualBox test builds),and Have a look whether the use of stress testing tool, triggering the crash;get the dump files;
QQ五笔截图未命名.2.png (130.4 KB ) - added by qidizi 9 years ago.
crash before press ok
QQ五笔截图未命名2.png (72.7 KB ) - added by qidizi 9 years ago.
crash after press ok
2016-04-21 10_59_44-VBoxNetNAT.exe - Erreur d’application.png (10.0 KB ) - added by u309452 8 years ago.
VBox 5.0.18, 1 VM & 1 NATNet with forwarding crash
NatNetwork.zip (1.4 KB ) - added by par7133_2 7 years ago.
a crash log, with the test built
NatNetwork2.zip (17.2 KB ) - added by par7133_2 7 years ago.
an other log with test build
NatNetwork4.zip (17.0 KB ) - added by par7133_2 7 years ago.
a 4th crash log, with the test built

Download all attachments as: .zip

Change History (57)

by qidizi, 9 years ago

Attachment: 1.png added

They are normal

by qidizi, 9 years ago

Attachment: 2.png added

by qidizi, 9 years ago

Attachment: 3.png added

when crash;can ping www.qq.com;but forward port is suspended,ssh/80 be loading...until close the crash message window;

by qidizi, 9 years ago

Attachment: 6.png added

by qidizi, 9 years ago

Attachment: 7.png added

by qidizi, 9 years ago

Attachment: 8.png added

but some time do not show this crash window,when it crashed;

by qidizi, 9 years ago

Attachment: 4.png added

after close the crash message window,all "vboxnetnat.exe" is crash;

by qidizi, 9 years ago

Attachment: centos-7-info.txt added

comment:1 by Frank Mehnert, 9 years ago

Please attach a VBox.log file of such a VM session when the VM crashed. Also, did these crashes happen for you with VBox 4.3.20 as well?

comment:2 by Frank Mehnert, 9 years ago

Also, can you provide application crash dumps? See here (scroll down that page).

in reply to:  1 comment:3 by qidizi, 9 years ago

ok,i will post these here tomorrow,beijing time,at the 09:00.

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

by qidizi, 9 years ago

Attachment: Logs.rar added

install 4.3.20,clear logs,start vbox,run centos guest,crash,shutdown guest,exit vbox,winrar logs files

in reply to:  1 comment:4 by qidizi, 9 years ago

Replying to frank:

Please attach a VBox.log file of such a VM session when the VM crashed. Also, did these crashes happen for you with VBox 4.3.20 as well?

4.3.20crash too,very soon.only connect ssh via "putty" tool.

by qidizi, 9 years ago

Attachment: QQ五笔截图未命名.png added

4.3.20crash too,very soon.only connect ssh via "putty" tool.

by qidizi, 9 years ago

Attachment: vbox4.3.20-exception.png added

vbox4.3.20 crash by unknown software exception

by qidizi, 9 years ago

with 4.3.20,when crash,i do not get any dump files,but the regedit key/values is all right,so,i will reinstall vbox4.3.33(or VirtualBox test builds),and Have a look whether the use of stress testing tool, triggering the crash;get the dump files;

comment:5 by Frank Mehnert, 9 years ago

Still relevant with VBox 4.3.26?

comment:6 by qidizi, 9 years ago

So far, no longer occur.

maybe crash only when i do something Different?

When it happened, I'll send feedback.

comment:7 by qidizi, 9 years ago

now my VBox is 4.3.26 r98988; it is still crash;

1 runing centos on the vbox; 2 runing postfix; 3 send very much email via smtp to postfix; 4 then vbox net is crash every times; 5 but window 7 can't get any crash dump files; 6 the dump files get from process explorer(sysinternals.com);

7 you can get more infomation from my pc via teamview (https://www.teamviewer.com/zhCN/index.aspx) or QQ (http://im.qq.com/download/);

8 my email :qidizi$qq.com

by qidizi, 9 years ago

crash before press ok

by qidizi, 9 years ago

crash after press ok

comment:8 by qidizi, 9 years ago

the dump files is too big;i can't post here; please download it from http://share.weiyun.com/9cb8126b8d48e49ddc8db0b26d66cc36

comment:9 by VVP, 9 years ago

I can't download dump file from http://share.weiyun.com/9cb8126b8d48e49ddc8db0b26d66cc36. I was asked to scan QR code and about login\password. And it was in Chinese.

comment:10 by Valery Ushakov, 9 years ago

Description: modified (diff)

in reply to:  9 ; comment:11 by qidizi, 9 years ago

Replying to VVP:

I can't download dump file from http://share.weiyun.com/9cb8126b8d48e49ddc8db0b26d66cc36. I was asked to scan QR code and about login\password. And it was in Chinese.

please try this url http://pan.baidu.com/s/1gdnJEHP

and click "普通下载" or "下载(33.5)M"

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

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

Replying to qidizi:

Thanks, that worked.

comment:13 by clive darra, 9 years ago

same problem with a NAT Network of 192.168.168.0/24

comment:14 by Valery Ushakov, 8 years ago

Please, can you give recent test build a try? 103571+ for 5.x, 103575+ for 4.x.

comment:15 by Frank Mehnert, 8 years ago

Resolution: fixed
Status: newclosed

Hopefully fixed in VBox 5.0.10. Please reopen if necessary.

comment:16 by Porsche_maniak, 8 years ago

Resolution: fixed
Status: closedreopened

This bug is still there @ 5.0.14 version. The guest os is Windows XP x86 and the host is Windows 2008R2 x64 The guest os is sending large amounts of emails. Get this error https://forums.virtualbox.org/download/file.php at random times.

I will submit the windows dump in few days.

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

comment:17 by Valery Ushakov, 8 years ago

Please, provide a full crash dump of VBoxNetNAT.exe

by u309452, 8 years ago

VBox 5.0.18, 1 VM & 1 NATNet with forwarding crash

comment:18 by u309452, 8 years ago

Affected too, VBox 5.0.18, 1 VM with 1 NAT Network with 2 port forwarding (127.0.0.50:80 -> 10.0.56.50:80 & the same for port 443). I cannot provide crash dump sorry. Isn't #14774 related ?

comment:19 by Frank Mehnert, 8 years ago

Unfortunately without a crash dump there is nothing we can do as we cannot reproduce the problem.

comment:20 by aeichner, 8 years ago

Resolution: worksforme
Status: reopenedclosed

No response, closing. Please reopen if still relevant and you provided the requested crash dump of VBoxNetNAT.exe.

comment:21 by par7133_2, 7 years ago

Resolution: worksforme
Status: closedreopened

I'm using VirtualBox Version 5.1.6 r110634 (Qt5.5.1) on Windows 7 SP1 with Fedora 24 as guest and VBoxNetNAT.exe often stops working, sometimes crashes.

I'm using WiFi, with the DHCP and I setup "VBoxManage modifyvm 'VM name' --natdnshostresolver1 on".

To restore the Nat Network while running, I have to set the network adapter on "not attached" and then reset the Nat Network. This restarts VBoxNetNat.exe

I did a dump of the three processes after a stop (not a crash). I did them manually: from Task Manager, "Show processes from all users", right click on the single process, Create Dump file: https://1drv.ms/u/s!ArwJYLwiUJKMqTTAvupYx6MhCyzP

A second stop: https://1drv.ms/u/s!ArwJYLwiUJKMqTXmevmd-5GlOZkh

Last edited 7 years ago by par7133_2 (previous) (diff)

comment:22 by mr_raphael_martin, 7 years ago

Exactly the same intempestive crash : every 5 minutes.

Context : Windows 7 64bits 16Go RAM hosting 4 Virtual Ubuntu 16.04 linux servers.

VirtualBox version 5.1.6. Previously seen also on version 5.0.24

I have captured dumps of 3 VBoxNetNat.exe processes (~90mo). Where can I upload them ?

comment:23 by Frank Mehnert, 7 years ago

mr_raphael_martin, could you contact me via private e-mail at frank _dot_ mehnert _at_ oracle _dot_ com? Please refer to this ticket. I cannot provide you a server URL, perhaps you find a server and can pass me the URL via e-mail? Thank you!

comment:24 by par7133_2, 7 years ago

Continue from #comment:22

After a crash VBoxNetNat.exe doesn't run properly anymore also if I switch from "not attached" or I relaunch VirtualBox. When I tried with "Nat" is all okay.

The dump of the crash didn't happen after having set the registry settings published here and from Microsoft. So I made a dump of the faulty VBoxNetNat.exe as from the instructions in #comment:22 https://1drv.ms/u/s!ArwJYLwiUJKMqTZ-CPYxfZfT3Txd

When I went to reboot the pc, the shutdown blocked itself on the process VBoxSVC.exe "VirtualBox Interface" saying "VirtualBox Interface has some active connections". Something that I can't understand as VirtualBox was already closed down. Here the dump of VBoxSVC.exe: https://1drv.ms/u/s!ArwJYLwiUJKMqTcsTVkLs_kjO3QP

After the reboot of Windows, VBoxNetNat.exe started to run properly again.

Last edited 7 years ago by par7133_2 (previous) (diff)

in reply to:  24 ; comment:25 by Valery Ushakov, 7 years ago

Replying to par7133_2:

So I made a dump of the faulty VBoxNetNat.exe has from the instructions in #comment:22 https://1drv.ms/u/s!ArwJYLwiUJKMqTZ-CPYxfZfT3Txd

Are these dumps from live VBoxNetNat.exe processes (via "Create Dump File" in task manager or the like)?

in reply to:  25 comment:26 by par7133_2, 7 years ago

yes, via "Create Dump File" from Task Manager

Replying to vushakov:

Are these dumps from live VBoxNetNat.exe processes (via "Create Dump File" in task manager or the like)?

Last edited 7 years ago by par7133_2 (previous) (diff)

in reply to:  22 comment:27 by Valery Ushakov, 7 years ago

Replying to mr_raphael_martin:

I have captured dumps of 3 VBoxNetNat.exe processes (~90mo). Where can I upload them ?

Thanks for the dumps!

By Murphy's Law we could never reproduce the crash and this is the first dump we get where the stack of the relevant thread is not completely smashed, so I was able to finally get some clues as to what might be going wrong and that helps reducing the search space.

If you could kindly help by running a test build with extra instrumentation/logging I'll try to provide one some time next week.

comment:28 by Valery Ushakov, 7 years ago

Sorry for the delay. Please, can you give a try to a 5.1 test build r111559 or higher.

It will still crash, but it adds a bit of extra instrumentation to help confirm some hypotheses.

To enable the extra logs, you need to set these two environment variables:

VBOXNET_your_natnet_name_RELEASE_LOG="+nat_service.l2 -nat_service.restrict"
VBOXNET_your_natnet_name_RELEASE_LOG_FLAGS="thread timeprog"

The your_natnet_name portion of the variable names should be replaced with the name of your natnet. Use underscores for any characters in the natnet name that are not suitable for an identifier. E.g. for a network test-0 use VBOXNET_test_0_RELEASE_LOG.

It's probably easiest to set them globally via Window GUI. E.g. Control Panel -> System -> Advanced system settings -> Advanced -> Environment Variables.

The extra logging will be in %USERPROFILE%/.VirtualBox/your-natnet-name.log

If the environment vars are set correctly you should see

NAT_SERVICE LogRel2 enabled

near the beginning of that log to provide you immediate feedback.

by par7133_2, 7 years ago

Attachment: NatNetwork.zip added

a crash log, with the test built

comment:29 by par7133_2, 7 years ago

With the test build goes much better, few crashes.

However, here the attachment <<NatNetwork.zip>> with the log of a crash.

by par7133_2, 7 years ago

Attachment: NatNetwork2.zip added

an other log with test build

by par7133_2, 7 years ago

Attachment: NatNetwork4.zip added

a 4th crash log, with the test built

comment:30 by lewinbo, 7 years ago

still met this issue with latest VirtualBox: 5.1.22r 115126 (Win7 64bit)

comment:31 by Valery Ushakov, 7 years ago

Cc: TechSalesDude added

comment:32 by Omugile, 7 years ago

I also encounter VboxNetNat.exe silent crashes. By restarting the process with "VBoxManage.exe natnetwork start --netname NAT" network connectivity is restored.

I would like to help, so if you would like me to collect a dump please let me know. Could you then send me a link with instruction for collecting this dump?

comment:33 by Valery Ushakov, 7 years ago

You can find instructions on how to get a minidump under Windows here.

comment:34 by Rainer, 6 years ago

The silent crash of /usr/lib/virtualbox/VBoxNetDHCP and /usr/lib/virtualbox/VBoxNetNAT happens on VB 5.2 Beta3 too. I am seeing these crashes since I first started to use Virtualbox around VB4.

Host: Ubuntu 17.04, VB 5.2.0 Beta3 Guest: RHEL6 x86_64

I somehow get the impression it happens with RHEL6 guest more frequently than with for example RHEL7 guest.

comment:35 by Mihai Hanor, 6 years ago

-- edited Apparently the Google DNS servers return SERVFAIL, but I can only reproduce it in the VM with NAT Network. You can delete my reply.

Last edited 6 years ago by Mihai Hanor (previous) (diff)

in reply to:  35 comment:36 by Valery Ushakov, 6 years ago

Replying to MihaiH.:

I don't see the crashes, but I see the failed connections.

Interesting. But my first uneducated guess is that this is likely something completely unrelated. Please, can you file a new bug for this?

comment:37 by Chris Friesen, 6 years ago

I'm seeing VBoxNetNAT.exe crash on a Windows 10 Pro host with VirtualBox 5.2.12 r122591. The guest is running linux (a modified Centos 7), and it's not doing any sort of strenuous networking, just ssh console traffic. I'm using "NAT network".

Last edited 6 years ago by Chris Friesen (previous) (diff)

comment:38 by Valery Ushakov, 5 years ago

VirtualBox 6.0.4 and 5.2.26 should hopefully fix this. Please, give it a try.

comment:39 by Michael Thayer, 5 years ago

Resolution: fixed
Status: reopenedclosed
Summary: "VboxNetNat.exe" Random crashes"VboxNetNat.exe" Random crashes -> fixed in 6.0.4
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use