VirtualBox

Opened 2 years ago

Last modified 17 months ago

#20824 new defect

Reproducible split lock / freeze

Reported by: tmcqueen Owned by:
Component: other Version: VirtualBox 6.1.32
Keywords: Cc:
Guest type: Windows Host type: Linux

Description

When attempting to install Visual Studio in a Windows 7 x64 or Windows 10 x64 guest with Ubuntu 20.04.1 w/ hwe host, installer freezes during file extraction and VM is unresponsive and cannot be recovered without killing the VM.

The origin of the error is a split lock, for example:

Feb  9 08:23:09 Laptop2021 kernel: [333455.818444] Split lock detected
Feb  9 08:23:09 Laptop2021 kernel: [333455.818444] : 0000 [#1] SMP NOPTI
Feb  9 08:23:09 Laptop2021 kernel: [333455.818450] CPU: 1 PID: 1510081 Comm: EMT Tainted: P           O      5.13.0-28-generic #31~20.04.1-Ubuntu
Feb  9 08:23:09 Laptop2021 kernel: [333455.818452] Hardware name: Dell Inc. XPS 13 9310 2-in-1/0W6MV0, BIOS 2.7.0 12/11/2021
Feb  9 08:23:09 Laptop2021 kernel: [333455.818453] RIP: 0010:0xffffa4346aa02680
Feb  9 08:23:09 Laptop2021 kernel: [333455.818456] Code: 89 02 c3 cc cc cc cc 53 49 89 ca 49 89 d3 41 8b 1b 41 8b 4b 04 9c 41 8b 02 83 24 24 bf 83 e0 40 48 09 04 24 9d 8b 06 8b 56 04 <f0> 0f c7 0f 89 06 89 56 04 9c 41 5b 41 8b 02 83 e0 bf 41 83 e3 40
Feb  9 08:23:09 Laptop2021 kernel: [333455.818458] RSP: 0018:ffffa43448393928 EFLAGS: 00010206
Feb  9 08:23:09 Laptop2021 kernel: [333455.818460] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
Feb  9 08:23:09 Laptop2021 kernel: [333455.818461] RDX: 0000000000000000 RSI: ffffa43448393948 RDI: ffff93cf3a781e7c
Feb  9 08:23:09 Laptop2021 kernel: [333455.818462] RBP: ffffa43448486000 R08: ffffa43448393838 R09: 0000000000000000
Feb  9 08:23:09 Laptop2021 kernel: [333455.818463] R10: ffffa4344839393c R11: ffffa43448393958 R12: 0000000000000000
Feb  9 08:23:09 Laptop2021 kernel: [333455.818463] R13: ffffa43448393b38 R14: ffffa43448486000 R15: ffffa43448475000
Feb  9 08:23:09 Laptop2021 kernel: [333455.818464] FS:  00007f5e75dfb700(0000) GS:ffff93d27f680000(0000) knlGS:fffff80002a2c000
Feb  9 08:23:09 Laptop2021 kernel: [333455.818466] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Feb  9 08:23:09 Laptop2021 kernel: [333455.818467] CR2: 000000006e0c096c CR3: 00000003e3316001 CR4: 0000000000772ee0
Feb  9 08:23:09 Laptop2021 kernel: [333455.818468] PKRU: 55555554
Feb  9 08:23:09 Laptop2021 kernel: [333455.818469] Call Trace:
Feb  9 08:23:09 Laptop2021 kernel: [333455.818470]  <TASK>
Feb  9 08:23:09 Laptop2021 kernel: [333455.818472]  ? sched_clock+0x9/0x10
Feb  9 08:23:09 Laptop2021 kernel: [333455.818476]  ? sched_clock_cpu+0x11/0xb0
Feb  9 08:23:09 Laptop2021 kernel: [333455.818478]  ? newidle_balance+0x1e9/0x3f0
Feb  9 08:23:09 Laptop2021 kernel: [333455.818481]  ? schedule_hrtimeout_range_clock+0xa0/0x110
Feb  9 08:23:09 Laptop2021 kernel: [333455.818484]  ? hrtimer_init_sleeper+0x80/0x80
Feb  9 08:23:09 Laptop2021 kernel: [333455.818486]  ? finish_wait+0x5c/0x70
Feb  9 08:23:09 Laptop2021 kernel: [333455.818494]  ? rtR0SemEventMultiLnxWait.isra.0+0x283/0x3c0 [vboxdrv]
Feb  9 08:23:09 Laptop2021 kernel: [333455.818509]  ? wait_woken+0x80/0x80
Feb  9 08:23:09 Laptop2021 kernel: [333455.818512]  ? SUPR0GetCurrentGdtRw+0xe/0x10 [vboxdrv]
Feb  9 08:23:09 Laptop2021 kernel: [333455.818519]  ? VBoxHost_RTThreadCtxHookEnable+0x31/0x50 [vboxdrv]
Feb  9 08:23:09 Laptop2021 kernel: [333455.818531]  ? supdrvIOCtlFast+0x66/0xb0 [vboxdrv]
Feb  9 08:23:09 Laptop2021 kernel: [333455.818539]  ? VBoxDrvLinuxIOCtl_6_1_32+0x56/0x260 [vboxdrv]
Feb  9 08:23:09 Laptop2021 kernel: [333455.818546]  ? __x64_sys_ioctl+0x91/0xc0
Feb  9 08:23:09 Laptop2021 kernel: [333455.818549]  ? do_syscall_64+0x61/0xb0
Feb  9 08:23:09 Laptop2021 kernel: [333455.818552]  ? do_syscall_64+0x6e/0xb0
Feb  9 08:23:09 Laptop2021 kernel: [333455.818553]  ? syscall_exit_to_user_mode+0x27/0x50
Feb  9 08:23:09 Laptop2021 kernel: [333455.818555]  ? do_syscall_64+0x6e/0xb0
Feb  9 08:23:09 Laptop2021 kernel: [333455.818557]  ? do_syscall_64+0x6e/0xb0
Feb  9 08:23:09 Laptop2021 kernel: [333455.818558]  ? asm_sysvec_apic_timer_interrupt+0xa/0x20
Feb  9 08:23:09 Laptop2021 kernel: [333455.818564]  ? entry_SYSCALL_64_after_hwframe+0x44/0xae
Feb  9 08:23:09 Laptop2021 kernel: [333455.818566]  </TASK>
Feb  9 08:23:09 Laptop2021 kernel: [333455.818567] Modules linked in: snd_usb_audio snd_usbmidi_lib r8153_ecm cdc_ether usbnet r8152 mii vboxnetadp(O) vboxnetflt(O) vboxdrv(O) ccm rfcomm cmac algif_hash algif_skcipher af_alg bnep binfmt_misc nls_iso8859_1 snd_sof_pci_intel_tgl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_hda_codec_hdmi snd_soc_hdac_hda snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi soundwire_bus snd_ctl_led snd_hda_codec_realtek snd_hda_codec_generic snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine snd_hda_intel snd_intel_dspcfg mei_hdcp snd_intel_sdw_acpi snd_hda_codec intel_rapl_msr snd_hda_core snd_hwdep snd_pcm snd_seq_midi uvcvideo snd_seq_midi_event videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev snd_rawmidi mc btusb btrtl dell_laptop snd_seq ledtrig_audio dell_smm_hwmon btbcm btintel intel_tcc_cooling snd_seq_device x86_pkg_temp_thermal snd_timer
Feb  9 08:23:09 Laptop2021 kernel: [333455.818615]  intel_powerclamp coretemp bluetooth kvm_intel snd dell_wmi iwlmvm kvm mac80211 intel_cstate ecdh_generic ecc hid_sensor_magn_3d libarc4 input_leds dell_smbios efi_pstore dcdbas iwlwifi serio_raw dell_wmi_sysman dell_wmi_descriptor wmi_bmof hid_sensor_als hid_sensor_incl_3d hid_sensor_rotation hid_sensor_custom_intel_hinge hid_sensor_accel_3d hid_sensor_gyro_3d hid_sensor_trigger soundcore industrialio_triggered_buffer kfifo_buf hid_sensor_iio_common industrialio cfg80211 intel_pmt_telemetry hid_multitouch processor_thermal_device mei_me mei processor_thermal_rfim joydev processor_thermal_mbox processor_thermal_rapl intel_pmt_class intel_rapl_common cros_ec_ishtp cros_ec intel_soc_dts_iosf ucsi_acpi typec_ucsi typec intel_hid int3403_thermal soc_button_array int340x_thermal_zone sparse_keymap acpi_pad mac_hid acpi_tad int3400_thermal acpi_thermal_rel sch_fq_codel sunrpc msr parport_pc ppdev lp parport ip_tables x_tables autofs4 zfs(PO) zunicode(PO) zzstd(O) zlua(O) zavl(PO)
Feb  9 08:23:09 Laptop2021 kernel: [333455.818649]  icp(PO) zcommon(PO) znvpair(PO) spl(O) dm_crypt hid_sensor_custom hid_sensor_hub intel_ishtp_loader intel_ishtp_hid wacom usbhid hid_generic i915 crct10dif_pclmul crc32_pclmul i2c_algo_bit ghash_clmulni_intel drm_kms_helper aesni_intel syscopyarea rtsx_pci_sdmmc sysfillrect crypto_simd nvme sysimgblt i2c_i801 fb_sys_fops cryptd intel_lpss_pci intel_lpss i2c_smbus intel_ish_ipc cec psmouse rc_core nvme_core rtsx_pci idma64 i2c_hid_acpi xhci_pci intel_ishtp drm i2c_hid thunderbolt xhci_pci_renesas intel_pmt wmi hid pinctrl_tigerlake video
Feb  9 08:23:09 Laptop2021 kernel: [333455.818672] ---[ end trace e310c2a1fbafbaa6 ]---
Feb  9 08:23:09 Laptop2021 kernel: [333456.044605] RIP: 0010:0xffffa4346aa02680
Feb  9 08:23:09 Laptop2021 kernel: [333456.044612] Code: 89 02 c3 cc cc cc cc 53 49 89 ca 49 89 d3 41 8b 1b 41 8b 4b 04 9c 41 8b 02 83 24 24 bf 83 e0 40 48 09 04 24 9d 8b 06 8b 56 04 <f0> 0f c7 0f 89 06 89 56 04 9c 41 5b 41 8b 02 83 e0 bf 41 83 e3 40
Feb  9 08:23:09 Laptop2021 kernel: [333456.044614] RSP: 0018:ffffa43448393928 EFLAGS: 00010206
Feb  9 08:23:09 Laptop2021 kernel: [333456.044616] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
Feb  9 08:23:09 Laptop2021 kernel: [333456.044617] RDX: 0000000000000000 RSI: ffffa43448393948 RDI: ffff93cf3a781e7c
Feb  9 08:23:09 Laptop2021 kernel: [333456.044618] RBP: ffffa43448486000 R08: ffffa43448393838 R09: 0000000000000000
Feb  9 08:23:09 Laptop2021 kernel: [333456.044619] R10: ffffa4344839393c R11: ffffa43448393958 R12: 0000000000000000
Feb  9 08:23:09 Laptop2021 kernel: [333456.044619] R13: ffffa43448393b38 R14: ffffa43448486000 R15: ffffa43448475000
Feb  9 08:23:09 Laptop2021 kernel: [333456.044620] FS:  00007f5e75dfb700(0000) GS:ffff93d27f680000(0000) knlGS:fffff80002a2c000
Feb  9 08:23:09 Laptop2021 kernel: [333456.044621] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Feb  9 08:23:09 Laptop2021 kernel: [333456.044622] CR2: 000000006e0c096c CR3: 00000003e3316002 CR4: 0000000000772ee0
Feb  9 08:23:09 Laptop2021 kernel: [333456.044623] PKRU: 55555554

Other split_lock traces have different detailed call stacks, but the reproducer below causes a split_lock 100% of the time.

Steps to reproduce:

Hardware: XPS 9310, Ubuntu 20.04.1 w/ HWE kernel host, Virtualbox 6.1.32

  1. Install Windows 10 x64 20H2 in virtualbox (all default options).
  1. Download the visual studio tools installer in guest: https://aka.ms/vs/15/release/vs_buildtools.exe
  1. Attempt installation:

vs_buildtools.exe --wait --norestart --nocache modify --installPath "%ProgramFiles%\Microsoft Visual Studio\2017\BuildTools" --add Microsoft.VisualStudio.Workload.MSBuildTools --add Microsoft.VisualStudio.Workload.VCTools --lang en-US

This occurs independent of video driver (VMSVGA, VBoxSVGA).

Attachments (2)

VBox.log (102.4 KB ) - added by mauricev1 17 months ago.
syslog.zip (60.2 KB ) - added by mauricev1 17 months ago.

Download all attachments as: .zip

Change History (4)

comment:1 by mauricev1, 17 months ago

I can confirm this bug is present in 7.0.4 under Mint 21. Similar to https://www.virtualbox.org/ticket/20888 as well.

by mauricev1, 17 months ago

Attachment: VBox.log added

by mauricev1, 17 months ago

Attachment: syslog.zip added

comment:2 by mauricev1, 17 months ago

nosplit_lock_detect doesn't stop the split lock crash or even the detection of it.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use