VirtualBox

#21087 closed defect (invalid)

VM aborted due to kernel general protection fault on Ubuntu

Reported by: Chris Friesen Owned by:
Component: other Version: VirtualBox 6.1.36
Keywords: abort Cc:
Guest type: Linux Host type: Linux

Description

I'm running VirtualBox 6.1.36 r152435 on Ubuntu 20.04.4 and while creating a number of VMs one of them aborted.

The kernel logs (via "dmesg") show the following:

[1457153.269626] traps: CharIo[101741] general protection fault ip:7fad060547dc sp:7facca1f6c88 error:0 in VBoxRT.so[7fad05ee5000+1ca000]

I had seen VM aborts due to kernel issues like this relatively frequently with the version of vbox packaged for Ubuntu 20.04, the frequency went down when I upgraded to 6.1.36 from Oracle, but now it's showed up again.

Change History (4)

comment:1 by Chris Friesen, 21 months ago

Just hit this again, this time the kernel log was: [1458785.627975] traps: CharIo[149036] general protection fault ip:7f545cf5c7dc sp:7f541d8ffc88 error:0 in VBoxRT.so[7f545cded000+1ca000]

The VM log ends as follows:

00:00:07.240980 VMMDev: Guest Log: BIOS: Booting from Hard Disk...
00:00:12.548416 VMMDev: Guest Log: BIOS: KBD: unsupported int 16h function 03
00:00:12.548577 VMMDev: Guest Log: BIOS: AX=0305 BX=0000 CX=0000 DX=0000 
00:00:12.701691 GIM: KVM: VCPU  0: Enabled system-time struct. at 0x0000000087401000 - u32TscScale=0xaaaabfaf i8TscShift=-1 uVersion=2 fFlags=0x1 uTsc=0x8acc0f9da uVirtNanoTS=0x2e440ae74 TscKHz=2999994
00:00:12.701798 TM: Switching TSC mode from 'VirtTscEmulated' to 'RealTscOffset'
00:00:12.896134 GIM: KVM: Enabled wall-clock struct. at 0x0000000087400000 - u32Sec=1662052495 u32Nano=541242119 uVersion=2
00:00:12.992294 PIT: mode=2 count=0x4a9 (1193) - 1000.15 Hz (ch=0)
00:00:12.992998 APIC0: Switched mode to x2APIC
00:00:13.000842 IEM: rdmsr(0x4e) -> #GP(0)
00:00:13.107690 PIT: mode=0 count=0x10000 (65536) - 18.20 Hz (ch=0)
00:00:13.115805 APIC1: Switched mode to x2APIC
00:00:13.115751 GIM: KVM: VCPU  1: Enabled system-time struct. at 0x0000000087401040 - u32TscScale=0xaaaabfaf i8TscShift=-1 uVersion=2 fFlags=0x1 uTsc=0x8f6ca8733 uVirtNanoTS=0x2fcee8b47 TscKHz=2999994
00:00:13.120804 APIC2: Switched mode to x2APIC
00:00:13.120837 GIM: KVM: VCPU  2: Enabled system-time struct. at 0x0000000087401080 - u32TscScale=0xaaaabfaf i8TscShift=-1 uVersion=2 fFlags=0x1 uTsc=0x8f7af5e3d uVirtNanoTS=0x2fd3ad2fe TscKHz=2999994
00:00:13.121795 IEM: rdmsr(0x4e) -> #GP(0)
00:00:13.125193 APIC3: Switched mode to x2APIC
00:00:13.125189 GIM: KVM: VCPU  3: Enabled system-time struct. at 0x00000000874010c0 - u32TscScale=0xaaaabfaf i8TscShift=-1 uVersion=2 fFlags=0x1 uTsc=0x8f878378b uVirtNanoTS=0x2fd7dc620 TscKHz=2999994
00:00:13.126207 IEM: rdmsr(0x4e) -> #GP(0)
00:00:13.117310 IEM: rdmsr(0x4e) -> #GP(0)
00:00:14.022349 IEM: rdmsr(0x48) -> #GP(0)
00:00:14.022359 IEM: rdmsr(0x10f) -> #GP(0)
00:00:14.022362 IEM: rdmsr(0x123) -> #GP(0)
00:00:14.022365 IEM: rdmsr(0xc0011020) -> #GP(0)
00:00:14.686945 AHCI#0: Reset the HBA
00:00:14.686962 VD#0: Cancelling all active requests
00:00:14.686965 VD#1: Cancelling all active requests
00:00:14.686967 VD#2: Cancelling all active requests
00:00:14.700543 AHCI#0: Port 0 reset
00:00:14.715281 VD#0: Cancelling all active requests
00:00:15.275826 AHCI#0: Port 1 reset
00:00:15.277104 VD#1: Cancelling all active requests
00:00:17.385451 AHCI#0: Port 2 reset
00:00:17.386596 VD#2: Cancelling all active requests
00:00:20.981724 Changing the VM state from 'RUNNING' to 'SUSPENDING'
00:00:21.007642 PDMR3Suspend: 25 826 118 ns run time
00:00:21.007642 Changing the VM state from 'SUSPENDING' to 'SUSPENDED'
00:00:21.007642 Changing the VM state from 'SUSPENDED' to 'RESUMING'
00:00:21.012281 Changing the VM state from 'RESUMING' to 'RUNNING'
00:00:21.014142 Changing the VM state from 'RUNNING' to 'SUSPENDING'
00:00:21.112893 PDMR3Suspend: 98 674 632 ns run time
00:00:21.112919 Changing the VM state from 'SUSPENDING' to 'SUSPENDED'
00:00:21.114740 DrvTCP: 41000, server
00:00:21.114959 ************************* CFGM dump *************************
00:00:21.114962 [/Devices/serial/0/] (level 0)
00:00:21.114966   Trusted <integer> = 0x0000000000000001 (1)
00:00:21.114971 
00:00:21.114971 [/Devices/serial/0/Config/] (level 1) (restricted root)
00:00:21.114975   IOBase   <integer> = 0x00000000000003f8 (1 016)
00:00:21.114978   IRQ      <integer> = 0x0000000000000004 (4)
00:00:21.114980   UartType <string>  = "16550A" (cb=7)
00:00:21.114982 
00:00:21.114983 [/Devices/serial/0/LUN#0/] (level 1)
00:00:21.114986   Driver <string>  = "Char" (cb=5)
00:00:21.114987 
00:00:21.114988 [/Devices/serial/0/LUN#0/AttachedDriver/] (level 2)
00:00:21.114990   Driver <string>  = "TCP" (cb=4)
00:00:21.114992 
00:00:21.114992 [/Devices/serial/0/LUN#0/AttachedDriver/Config/] (level 3) (restricted root)
00:00:21.114995   IsServer <integer> = 0x0000000000000001 (1)
00:00:21.114997   Location <string>  = "41000" (cb=6)
00:00:21.114998 
00:00:21.114999 [/Devices/serial/0/LUN#0/Config/] (level 2) (restricted root)
00:00:21.115002 
00:00:21.115003 ********************* End of CFGM dump **********************
00:00:21.115268 Changing the VM state from 'SUSPENDED' to 'RESUMING'
00:00:21.116500 Changing the VM state from 'RESUMING' to 'RUNNING'

comment:2 by Chris Friesen, 21 months ago

Got another variant:

[1459269.934982] VirtualBox[3159321]: segfault at 10b9 ip 00007f109d3de9f8 sp 00007ffd5b6113a8 error 4 in libQt5Gui.so.5.12.8[7f109d389000+41d000]

[1459269.935012] Code: ff e8 2c ec fa ff e9 4c ff ff ff 0f 1f 80 00 00 00 00 48 89 de e8 98 e9 fa ff eb c7 66 0f 1f 44 00 00 f3 0f 1e fa 48 8b 47 08 <48> 83 78 78 00 0f 94 c0 c3 90 66 66 2e 0f 1f 84 00 00 00 00 00 0f

comment:3 by aeichner, 18 months ago

Can you please upload a complete VBox.log here? You see mto be switching the serial port attachment during runtime, from what attachment do you switch to?

comment:4 by aeichner, 18 months ago

Resolution: invalid
Status: newclosed

Please reopen when you've attached the complete log file.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use