VirtualBox

Ticket #2423 (closed defect: fixed)

Opened 6 years ago

Last modified 5 years ago

Assertion failure when changing CD

Reported by: pgimeno Owned by:
Priority: minor Component: other
Version: VirtualBox 2.0.2 Keywords:
Cc: Guest type: other
Host type: other

Description

This is happening using two live Linux CD ISO images as guests - I haven't tried other means. There's a hard disk attached as IDE Primary Master.

I boot one Linux ISO image and shoot down using Power off machine, with the "Revert to the current snapshot" option unchecked. Then I go to CD-DVD Rom for Dom1 to change to the other ISO image. As soon as I press OK, I get a window like this:

VirtualBox - Error
------------------

Failed to detach a hard disk image from device slot Master on channel Primary
of the IDE bus of the machine Dom1.

Assertion failed: [hd->children().size() == 0 && hd->machineId() ==
mData->mUuid] at '/home/vbox/vbox-2.0.2/src/VBox/Main/MachineImpl.cpp'
(1971) in virtual nsresult Machine::DetachHardDisk(PRUint32, PRInt32,
PRInt32).
Please contact the product vendor!.

Result Code:    NS_ERROR_FAILURE (0x80004005)
Component:      Machine
Interface:      IMachine {1e509de4-d96c-4f44-8b94-860194f710ac}

When I press OK I get a window like this:

VirtualBox - Error
------------------

Failed to attach a hard disk image with UUID
{f6c0403c-5018-455a-a799-de395bcd4396} to device slot Master on channel
Primary of the IDE bus of the machine Dom1.


Hard disk '/home/pgimeno/.VirtualBox/VDI/Dom1.vdi' is already attached to
device slot 0 on channel 0 of bus 1.


Result Code:    NS_ERROR_FAILURE (0x80004005)
Component:      Machine
Interface:      IMachine {1e509de4-d96c-4f44-8b94-860194f710ac}

After that, everything seems to work fine.

Change History

comment:1 Changed 6 years ago by pgimeno

Sorry, I think the title is wrong as I'm getting the same error every time I accept the settings dialog, no matter even whether I change anything or not.

comment:2 Changed 5 years ago by frank

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

Please reopen if this bug is still relevant. There were some related fixes some releases ago. Please check with VBox 2.2.4 or VBox 3.0.4.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use