Ticket #11635 (closed defect: fixed)

Opened 5 years ago

Last modified 4 years ago

INATEngine (vboxjws) addRedirect causes crash (0x80004004) -> fixed in svn

Reported by: Ringo89 Owned by:
Priority: major Component: network/NAT
Version: VirtualBox 4.2.10 Keywords: NAT, INATEngine, redirect, port, forward, addRedirect
Cc: Guest type: Linux
Host type: Mac OS X



I am using the latest vboxjws.jar to use VirtualBox within a Java application.

The relevant machine is in saved state before modifying the redirects. While deleting all existing redirects and adding all new redirects with the code below, there is no exception.


natEngine.addRedirect("", NATProtocol.TCP, "", hostPort, "", guestPort);

Starting the machine afterwards, the gui pops up and is terminated immediately again. While waiting until the progress returns completed, the 0x80004004 exception is thrown.


IProgress startProgress = machine.launchVMProcess(session, "gui", null);

Any attempt to read the machine state after the exception during the startup causes a new 0x800706BE exception.

Using a workaround and calling "VBoxManage modifyvm" to delete and add the NAT redirects works perfectly.


VBox.log Download (3.6 KB) - added by Ringo89 5 years ago.
log of testrun

Change History

Changed 5 years ago by Ringo89

log of testrun

comment:1 follow-up: ↓ 2 Changed 4 years ago by Hachiman

Could you please verify that  build fixes issue for you?

comment:2 in reply to: ↑ 1 Changed 4 years ago by Ringo89

Replying to Hachiman:

Could you please verify that  build fixes issue for you?

Today I was finally able to run the tests again. The execution finished several times without any exception. It seems as if the build did fix the issue.

Thank you very much for the quick fix!

comment:3 Changed 4 years ago by Hachiman

Thank you for feedback and testing.

comment:4 Changed 4 years ago by Hachiman

  • Summary changed from INATEngine (vboxjws) addRedirect causes crash (0x80004004) to INATEngine (vboxjws) addRedirect causes crash (0x80004004) -> fixed in svn

comment:5 Changed 4 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

Fix is part of VBox 4.2.12.

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use