https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234878
--- Comment #57 from Mario Lobo ---
I managed to compile VBox 6.1.6 yesterday without errors.
The GUI comes up OK with everything working (settings, preferences, media
manager, etc..).
When I start a VM, the initial console window shows up for about 10 secs but
the "PRESS F12 .." never shows. The window closes and a box with a
"NS_ERROR_FAILURE 0x80004005" shows. Bellow are the ending log lines in
chronological time of file creation:
- VBoxSVC.log
00:00:01.980290 nspr-2 Loading settings file
"/root/.VirtualBox/Machines/Windows/Win10/Win10.vbox" with version
"1.17-freebsd"
00:00:01.981326 nspr-2 VirtualBox: object created
00:00:07.032477 main VirtualBox: object deletion starts
00:00:07.033816 main ERROR [COM]: aRC=VBOX_E_OBJECT_IN_USE (0x80bb000c)
aIID={ad47ad09-787b-44ab-b343-a082a3f2dfb1} aComponent={MediumWrap}
aText={Medium '/Vmachines/Snow.vdi' cannot be closed because it is still
attached to 1 virtual machines}, preserve=false aResultDetail=0
00:00:07.035501 main ERROR [COM]: aRC=VBOX_E_OBJECT_IN_USE (0x80bb000c)
aIID={ad47ad09-787b-44ab-b343-a082a3f2dfb1} aComponent={MediumWrap}
aText={Medium '/Vmachines/Debian.vdi' cannot be closed because it is still
attached to 1 virtual machines}, preserve=false aResultDetail=0
00:00:07.036172 main ERROR [COM]: aRC=VBOX_E_OBJECT_IN_USE (0x80bb000c)
aIID={ad47ad09-787b-44ab-b343-a082a3f2dfb1} aComponent={MediumWrap}
aText={Medium '/Vmachines/Windows7Allen.vdi' cannot be closed because it is
still attached to 1 virtual machines}, preserve=false aResultDetail=0
00:00:07.036208 main ERROR [COM]: aRC=VBOX_E_OBJECT_IN_USE (0x80bb000c)
aIID={ad47ad09-787b-44ab-b343-a082a3f2dfb1} aComponent={MediumWrap}
aText={Medium '/Vmachines/Windows72Allen.vdi' cannot be closed because it is
still attached to 1 virtual machines}, preserve=false aResultDetail=0
00:00:07.036780 main ERROR [COM]: aRC=VBOX_E_OBJECT_IN_USE (0x80bb000c)
aIID={ad47ad09-787b-44ab-b343-a082a3f2dfb1} aComponent={MediumWrap}
aText={Medium '/Vmachines/Novell-5.vdi' cannot be closed because it is still
attached to 1 virtual machines}, preserve=false aResultDetail=0
00:00:07.037423 main ERROR [COM]: aRC=VBOX_E_OBJECT_IN_USE (0x80bb000c)
aIID={ad47ad09-787b-44ab-b343-a082a3f2dfb1} aComponent={MediumWrap}
aText={Medium '/Vmachines/Win98-Novell.vdi' cannot be closed because it is
still attached to 1 virtual machines}, preserve=false aResultDetail=0
00:00:07.037943 main ERROR [COM]: aRC=VBOX_E_OBJECT_IN_USE (0x80bb000c)
aIID={ad47ad09-787b-44ab-b343-a082a3f2dfb1} aComponent={MediumWrap}
aText={Medium '/Vmachines/Praieira_Server.vdi' cannot be closed because it is
still attached to 1 virtual machines}, preserve=false aResultDetail=0
00:00:07.038466 main ERROR [COM]: aRC=VBOX_E_OBJECT_IN_USE (0x80bb000c)
aIID={ad47ad09-787b-44ab-b343-a082a3f2dfb1} aComponent={MediumWrap}
aText={Medium '/Vmachines/Praieira_Client.vdi' cannot be closed because it is
still attached to 1 virtual machines}, preserve=false aResultDetail=0
00:00:07.038992 main ERROR [COM]: aRC=VBOX_E_OBJECT_IN_USE (0x80bb000c)
aIID={ad47ad09-787b-44ab-b343-a082a3f2dfb1} aComponent={MediumWrap}
aText={Medium '/Vmachines/Win8Allen.vdi' cannot be closed because it is still
attached to 1 virtual machines}, preserve=false aResultDetail=0
00:00:07.039022 main ERROR [COM]: aRC=VBOX_E_OBJECT_IN_USE (0x80bb000c)
aIID={ad47ad09-787b-44ab-b343-a082a3f2dfb1} aComponent={MediumWrap}
aText={Medium '/Vmachines/Win82Allen.vdi' cannot be closed because it is still
attached to 1 virtual machines}, preserve=false aResultDetail=0
00:00:07.039690 main ERROR [COM]: aRC=VBOX_E_OBJECT_IN_USE (0x80bb000c)
aIID={ad47ad09-787b-44ab-b343-a082a3f2dfb1} aComponent={MediumWrap}
aText={Medium '/Vmachines/OPNsense.vdi' cannot be closed because it is still
attached to 1 virtual machines}, preserve=false aResultDetail=0
00:00:07.040260 main ERROR [COM]: aRC=VBOX_E_OBJECT_IN_USE (0x80bb000c)
aIID={ad47ad09-787b-44ab-b343-a082a3f2dfb1} aComponent={MediumWrap}
aText={Medium '/Vmachines/xuDBServer.vdi' cannot be closed because it is still
attached to 1 virtual machines}, preserve=false aResultDetail=0
00:00:07.081253 main ERROR [COM]: aRC=VBOX_E_OBJECT_IN_USE (0x80bb000c)
aIID={ad47ad09-787b-44ab-b343-a082a3f2dfb1} aComponent={MediumWrap}
aText={Medium '/Vmachines/Harbour.vdi' cannot be closed because it is still
attached to 1 virtual machines}, preserve=false aResultDetail=0
00:00:07.082321 main ERROR [COM]: aRC=VBOX_E_OBJECT_IN_USE (0x80bb000c)
aIID={ad47ad09-787b-44ab-b343-a082a3f2dfb1} aComponent={MediumWrap}
aText={Medium '/Vmachines/Win764.vdi' cannot be closed because it is still
attached to 1 virtual machines}, preserve=false aResultDetail=0
00:00:07.082947 main ERROR [COM]: aRC=VBOX_E_OBJECT_IN_USE (0x80bb000c)
aIID={ad47ad09-787b-44ab-b343-a082a3f2dfb1} aComponent={MediumWrap}
aText={Medium '/Vmachines/Win7.vdi' cannot be closed because it is still
attached to