[Solved] Error VBOX_E_OBJECT_IN_USE (0x80BB000C) (#17531)

This is for discussing general topics about how to use VirtualBox.
WoBo
Posts: 10
Joined: 7. Feb 2018, 19:18

Re: Error VBOX_E_OBJECT_IN_USE (0x80BB000C) (#17531)

Post by WoBo »

That seems to have worked! Thanks a lot! At least, I could power up the VM and shut it down again with no problems. Thanks also for the advice about keeping the virtual drives empty.

Best regards,
WoBo
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Error VBOX_E_OBJECT_IN_USE (0x80BB000C) (#17531)

Post by socratis »

Glad you got it going. Marking as [Solved].
Could you please do the same for the ticket?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
WoBo
Posts: 10
Joined: 7. Feb 2018, 19:18

Re: [Solved] Error VBOX_E_OBJECT_IN_USE (0x80BB000C) (#17531)

Post by WoBo »

Thanks once more for your quick response.
I'd love to change the status of the ticket but couldn't find how to do this.
Could you please help me out again with a brief hint?
Thanks a lot and best regards,
WoBo
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: [Solved] Error VBOX_E_OBJECT_IN_USE (0x80BB000C) (#17531)

Post by socratis »

Oh, you simply add a comment that after the discussion, the situation was resolved, the ticket can now be closed. Leave the dirty work of actually closing the tickets to the admins... ;)
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
WoBo
Posts: 10
Joined: 7. Feb 2018, 19:18

Re: [Solved] Error VBOX_E_OBJECT_IN_USE (0x80BB000C) (#17531)

Post by WoBo »

Done - thanks again.

Best regards,
WoBo
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: [Solved] Error VBOX_E_OBJECT_IN_USE (0x80BB000C) (#17531)

Post by socratis »

Thanks, I saw the e-mail notification ;)
Glad we got it going...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
heis2201
Posts: 8
Joined: 6. Jul 2017, 17:00

Re: Error VBOX_E_OBJECT_IN_USE (0x80BB000C) (#17531)

Post by heis2201 »

socratis wrote:You had two CDs in your "recipe", both of them loaded with a non-existent VirtualBox Guest Additions ISO. Now you have one empty CD drive. Keep it empty when you don't need something in the virtual drive.
I am picking up this thread to report that I had the same issue with a Win7 guest on a Fedora Linux host. Somehow, my .vbox file [1] had two DVD drives attached to IDE1 (with same UUID).
Last time I used the machine I added an optical drive to insert the GA (there was none showing in Settings, but I needed one).
Apparently, there already was one with the same UUID but that wasn't showing - neither in GUI Settings nor the guest. I can see how having a second drive with the same UUID causes some problem for VBox. But isn't that somehow a bug? You add a drive that ends up with the same UUID than existing one?

I resolved the issue by removing the drive on the second IDE port ( <AttachedDevice passthrough="false" type="DVD"...>)

[1]: https://paste.gnome.org/pk5hh68us#line-106
ProfMac
Posts: 13
Joined: 30. Jun 2012, 23:50

Re: Error VBOX_E_OBJECT_IN_USE (0x80BB000C) (#17531)

Post by ProfMac »

socratis wrote:Look at your snapshots. You have a snapshot which includes the Guest Additions (GAs) ISO as a mounted CD/DVD. When you update VirtualBox, it's best if 1) your VMs are shutdown (not paused or saved) and 2) you don't have any mounted media, like the GAs. You have a saved stated that includes the GAs. You need to discard that saved state.
It is not obvious how to discard a saved state when the VirtualboxManager (Linux Xenial 16.04 host, version 5.2.12 r122591) has absolutely all buttons related to that virtualbox greyed out.

It is particularly frustrating when a virtualbox on an ongoing project fails with no obvious way of recovery when the software is upgraded. It would be better easier on the users if the software issued warnings so that problematic states cannot be saved, or a recovery method was provided.
aware91
Posts: 3
Joined: 13. Oct 2019, 19:31

Re: [Solved] Error VBOX_E_OBJECT_IN_USE (0x80BB000C) (#17531)

Post by aware91 »

Can you look at my code. I dont want to have to re-install this again and have it crash on me a third time.
Attachments
Xubuntu.zip
(1.58 KiB) Downloaded 21 times
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: [Solved] Error VBOX_E_OBJECT_IN_USE (0x80BB000C) (#17531)

Post by socratis »

Replace the following with your "Xubuntu.vbox" after making a backup:

Code: Select all

<?xml version="1.0"?>
<!--
** DO NOT EDIT THIS FILE.
** If you make changes to this file while any VirtualBox related application
** is running, your changes will be overwritten later, without taking effect.
** Use VBoxManage or the VirtualBox Manager GUI to make changes.
-->
<VirtualBox xmlns="http://www.virtualbox.org/" version="1.16-windows">
  <Machine uuid="{af25f06b-845b-4bc6-a077-6c5746920288}" name="Xubuntu" OSType="Ubuntu_64" snapshotFolder="Snapshots" lastStateChange="2019-10-13T14:58:50Z">
    <MediaRegistry>
      <HardDisks>
        <HardDisk uuid="{16ad2fed-2fa2-4f9f-bfd6-3d9959c67917}" location="Xubuntu.vdi" format="VDI" type="Normal"/>
      </HardDisks>
    </MediaRegistry>
    <ExtraData>
      <ExtraDataItem name="GUI/Fullscreen" value="true"/>
      <ExtraDataItem name="GUI/LastGuestSizeHint" value="958,966"/>
      <ExtraDataItem name="GUI/LastNormalWindowPosition" value="1601,31,958,1008"/>
    </ExtraData>
    <Hardware>
      <CPU count="2">
        <PAE enabled="false"/>
        <LongMode enabled="true"/>
        <X2APIC enabled="true"/>
        <HardwareVirtExLargePages enabled="true"/>
      </CPU>
      <Memory RAMSize="2048"/>
      <HID Pointing="USBTablet"/>
      <Display controller="VMSVGA" VRAMSize="16"/>
      <VideoCapture file="." fps="25"/>
      <BIOS>
        <IOAPIC enabled="true"/>
      </BIOS>
      <USB>
        <Controllers>
          <Controller name="OHCI" type="OHCI"/>
        </Controllers>
      </USB>
      <Network>
        <Adapter slot="0" enabled="true" MACAddress="080027775055" type="82540EM">
          <NAT/>
        </Adapter>
      </Network>
      <AudioAdapter codec="AD1980" driver="DirectSound" enabled="true" enabledIn="false"/>
      <RTC localOrUTC="UTC"/>
      <Clipboard mode="Bidirectional"/>
      <GuestProperties>
        <GuestProperty name="/VirtualBox/GuestAdd/HostVerLastChecked" value="6.0.12" timestamp="1570978273727349900" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Revision" value="133076" timestamp="1570978236149006506" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Version" value="6.0.12" timestamp="1570978236149006504" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/VersionExt" value="6.0.12" timestamp="1570978236149006505" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/OS/Product" value="Linux" timestamp="1570978236149006500" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/OS/Release" value="5.0.0-31-generic" timestamp="1570978236149006501" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/OS/Version" value="#33~18.04.1-Ubuntu SMP Tue Oct 1 10:20:39 UTC 2019" timestamp="1570978236149006502" flags=""/>
        <GuestProperty name="/VirtualBox/HostInfo/GUI/LanguageID" value="en_US" timestamp="1570978730481547900" flags=""/>
      </GuestProperties>
    </Hardware>
    <StorageControllers>
      <StorageController name="IDE" type="PIIX4" PortCount="2" useHostIOCache="true" Bootable="true">
        <AttachedDevice passthrough="false" type="DVD" hotpluggable="false" port="1" device="0"/>
      </StorageController>
      <StorageController name="SATA" type="AHCI" PortCount="1" useHostIOCache="false" Bootable="true" IDE0MasterEmulationPort="0" IDE0SlaveEmulationPort="1" IDE1MasterEmulationPort="2" IDE1SlaveEmulationPort="3">
        <AttachedDevice type="HardDisk" hotpluggable="false" port="0" device="0">
          <Image uuid="{16ad2fed-2fa2-4f9f-bfd6-3d9959c67917}"/>
        </AttachedDevice>
      </StorageController>
    </StorageControllers>
  </Machine>
</VirtualBox>
What I did was to delete lines 14-17:

Code: Select all

      <DVDImages>
        <Image uuid="{9368df3c-f2b1-4f86-b2fc-1c03d9bed89c}" location="C:/Users/newai/Downloads/xubuntu-18.04.3-desktop-amd64.iso"/>
        <Image uuid="{312e9301-b253-4ca7-b8ab-66585944df8e}" location="C:/Program Files/Oracle/VirtualBox/VBoxGuestAdditions.iso"/>
      </DVDImages>
and remove your 2nd CD drive and all references of the Guest Additions ISO, lines 64-69, from:

Code: Select all

        <AttachedDevice passthrough="false" type="DVD" hotpluggable="false" port="1" device="0">
          <Image uuid="{312e9301-b253-4ca7-b8ab-66585944df8e}"/>
        </AttachedDevice>
        <AttachedDevice passthrough="false" type="DVD" hotpluggable="false" port="0" device="0">
          <Image uuid="{312e9301-b253-4ca7-b8ab-66585944df8e}"/>
        </AttachedDevice>
to:

Code: Select all

        <AttachedDevice passthrough="false" type="DVD" hotpluggable="false" port="1" device="0"/>
Just remember to always eject the GAs ISO once you're done with their installation.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
aware91
Posts: 3
Joined: 13. Oct 2019, 19:31

Re: [Solved] Error VBOX_E_OBJECT_IN_USE (0x80BB000C) (#17531)

Post by aware91 »

I am sorry. I am really new to this and dont know who to change get the log to change the code from your help. Can you please tell me how to get to it so I can change it.
Thanks a lot.
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: [Solved] Error VBOX_E_OBJECT_IN_USE (0x80BB000C) (#17531)

Post by scottgus1 »

The instructions from Socratis replace your guest's .vbox recipe file with a new recipe that doesn't have the Guest Additions CD loaded anymore, and has only one empty CD drive.

The first "Code" box in Socratis' answer is the new recipe file, and the rest of the Code boxes show the changes that were made.

Since the Code box's "select all" link doesn't actually 'select all' on my workstation (have to check into that), here is the contents of the Code box in "Xubuntu.vbox", zipped:
Xubuntu.zip
(1.45 KiB) Downloaded 18 times
Save this file to your desktop and unzip it. Reboot your host PC so there are no Virtualbox windows or processes running. Check that you have deactivated any auto-start Virtualbox guests, you must have no Virtualbox anything running anywhere on the host.

Go to your Xubuntu guest folder. There should be a "Xubuntu.vbox" file there. Rename it to "Xubuntu.vboxOLD". Copy the desktop "Xubuntu.vbox" into the Xubuntu guest folder.

Start the guest. Everything should be good now. Post back if something goes wrong.
aware91
Posts: 3
Joined: 13. Oct 2019, 19:31

Re: [Solved] Error VBOX_E_OBJECT_IN_USE (0x80BB000C) (#17531)

Post by aware91 »

Thank you so much. You guys are the best.
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: [Solved] Error VBOX_E_OBJECT_IN_USE (0x80BB000C) (#17531)

Post by socratis »

Great. And now that we've solved the problem of 'aware91', and since the original (20 months ago) issue was already [Solved], I'm locking this to prevent more "me too" posts...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Locked