Opened 8 years ago
Closed 8 years ago
#15623 closed defect (fixed)
Starting Virtual Machine Returns VERR_MAIN_CONFIG_CONSTRUCTOR_COM_ERROR
Reported by: | ckwoedy | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 5.1.0 |
Keywords: | VERR Main Config Constructor COM Error | Cc: | |
Guest type: | other | Host type: | other |
Description
When starting the SAS University Edition virtual application, VirtualBox 5.1 returns a VERR_MAIN_CONFIG_CONSTRUCTOR_COM_ERROR error. This error did not occur on 5.0.24 and earlier. This error appears to only be effecting Windows 10 64-bit and Mac OS X so far.
Attachments (2)
Change History (9)
by , 8 years ago
Attachment: | Windows10-SAS-University-Edition-2016-07-15-11-22-20 VBox.log added |
---|
comment:1 by , 8 years ago
The issue seems to be that the ovf file has an adapter without a MAC address:
<Adapter slot="0" type="82540EM" enabled="true" cable="true">
This worked in previous releases of VirtualBox just fine. In this version however, it does not.
According to the docs, if the MACAddress is null or empty, it will generate a unique MAC address:
https://www.virtualbox.org/sdkref/interface_i_network_adapter.html#a5c4f1d58ebd782183dbe2d5ff21aab5e
However, even when I tried modifying the adapter line to include MACAddress="", it failed.
comment:2 by , 8 years ago
Right, that's a bug. How was the OVF file created? With VirtualBox or some other application?
comment:3 by , 8 years ago
The OVF was created using this code:
If the OVF is incorrect please let me know.
FWIW, I think this was broken in SVN r61009:
but I'm guessing you already knew that and since this was a major cleanup/rewrite of config parsing, it is also probably not something that would be reverted.
I've posted the entire OVF file here:
https://gist.github.com/anonymous/f2f7da7638b7cf81a47a127d64662844
This OVF works well in version 5.0 and earlier.
comment:4 by , 8 years ago
Interesting approach for creating the OVF file, but I don't see an issue with that. By including the XML config specifically for VirtualBox you get more precise VM creation results. It should be possible to create a reasonably similar config with a 'usual' OVF file. If not we'd like to know what issue you're running into.
The 5.1.2 maintenance release will have a fix for the issue with the missing MAC address generation.
comment:5 by , 8 years ago
That's great, thanks so much. Can you tell me a rough idea when that might be out? Should I expect days, weeks or months? :)
Windows 10 vbox log