VirtualBox

Ticket #6521 (new defect)

Opened 4 years ago

Last modified 4 years ago

Intentional Triple Fault causes guru meditation

Reported by: SirDzstic Owned by:
Priority: minor Component: other
Version: VirtualBox 3.1.6 Keywords:
Cc: Guest type: other
Host type: other

Description

I am working on a toy kernel which I test in VirtualBox. If that matters, I use GRUB to boot the kernel. To initiate a reboot, I cause a triple fault with the following code:

mov eax, 0
lidt [eax]
int 1

When I run this code natively, the machine reboots, as intended. In Virtualbox, the VM crashes with a "Guru Meditation" error message.

Attachments

VBox.log Download (115.5 KB) - added by SirDzstic 4 years ago.
Log file

Change History

Changed 4 years ago by SirDzstic

Log file

comment:1 Changed 4 years ago by sandervl73

  • Priority changed from major to minor
  • Summary changed from Intentional Triple Fault causes crash to Intentional Triple Fault causes guru meditation

Triple faults are not handled correctly. They don't cause a crash, but an assertion. Needs to be fixed, but it has a rather low priority.

comment:2 Changed 4 years ago by klaus

Technically speaking the exact reaction to a triple fault is not specified. The Intel/AMD CPU specs say that it triggers a CPU shutdown. It's the job of the other parts of the system (the chipset) to decide what to do, and the usual reaction of the silicon is triggering a system reset. The latter is not done by VirtualBox right now as mentioned before.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use