VirtualBox

Opened 2 years ago

Last modified 2 years ago

#21438 new defect

VirtualBox "forgetting" that an instance is running -> data corruption

Reported by: csillag Owned by:
Component: VM control Version: VirtualBox-7.0.6
Keywords: Cc:
Guest type: Linux Host type: Linux

Description

I have seen this many times.

I'm not sure how to reproduce this, but something must be fundamentally broken if this is can happen, so you should be able to figure this out my looking at the code.

Here is what happens.

I am working with guests. Suddenly, _something_ happens, which leaves the guest running, but gives VirtualBox the impression that it is not running any more.

So VirtualBox thinks that it's switched off.

This happens with both the GUI and if I use VBoxManager list runningvms.

Since it thinks it's off, clicking on it will start it again.

What happens then is that we get two instances running, with both having read-write access to the same underlying storage devices.

You can how this ends: with tears, blood and of course irrecoverable data corruption. (Two OSs writing to the same file system at the same time...)

This is messed up beyond words.

I am attaching a screenshot, which shows two instances of the UI, running on the same host, with the same user.

One shows the guest on, the other shows it off.

The only difference is that I have launched the other instance of the GUI a bit later, but there was no configuration change. There is no reason why would it show a different status.

You can also see the output of list runningvms on the same screenshot. (Empty.)

Btw the actual guest is only visible on the screen, which is showing another data corruption bug with virtio-scsi, about which I will open a separate bug report.

Attachments (5)

kapisztran-2023-01-28-00-09-06.log (102.3 KB ) - added by csillag 2 years ago.
Log file saved from the UI
screenshot.jpg (477.7 KB ) - added by csillag 2 years ago.
Screen show showing anomalous state
screenshot.2.jpg (477.7 KB ) - added by csillag 2 years ago.
Screen show showing anomalous state
screenshot.3.jpg (477.7 KB ) - added by csillag 2 years ago.
Screen show showing anomalous state
screenshot.4.jpg (477.7 KB ) - added by csillag 2 years ago.
Screen show showing anomalous state

Download all attachments as: .zip

Change History (7)

by csillag, 2 years ago

Log file saved from the UI

by csillag, 2 years ago

Attachment: screenshot.jpg added

Screen show showing anomalous state

by csillag, 2 years ago

Attachment: screenshot.2.jpg added

Screen show showing anomalous state

by csillag, 2 years ago

Attachment: screenshot.3.jpg added

Screen show showing anomalous state

by csillag, 2 years ago

Attachment: screenshot.4.jpg added

Screen show showing anomalous state

comment:1 by csillag, 2 years ago

My UI is currenty in Hungarian, but you should still be able to understand what it says.

  • "Fut" means running.
  • "Kikapcsolva" means switched off.

(These are the two statuses given for the same guest, in two instances of the UI.)

comment:2 by fth0, 2 years ago

Just adding a (somewhat useful) comment to "subscribe" to this ticket.

If you go to Preferences > Language in the VirtualBox Manager and change the Interface Language to English, the VirtualBox Manager immediately changes it in the UI. Helpful for further screenshots if necessary. ;)

Note: See TracTickets for help on using tickets.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette