Opened 8 years ago
#16620 new defect
Crash when removing USB device
Reported by: | mgrzegor | Owned by: | |
---|---|---|---|
Component: | USB | Version: | VirtualBox 5.1.18 |
Keywords: | USB, crash, Windows | Cc: | |
Guest type: | Linux | Host type: | Windows |
Description
I have a USB Wi-Fi dongle which I occasionally use from my virtual Linux guest (besides an ordinary Ethernet connection via the Windows host). I got into the habit of removing it virtually (i.e making it invisible to the guest via the VirtualBox pop-up menu → Devices → USB, then unchecking the relevant device) before saving the state of the virtual machine, because if I don’t do that I occasionally get my Linux guest’s system log spammed with error messages when I restore the virtual machine.
In 5.0.32 (and at least a couple of earlier versions) it worked without a hitch, but in 5.1.18 the guest crashes when I do it. Specifically, I get a Windows pop-up (and an entry in Windows application log) with a message like this:
VirtualBox.exe - Application Error : The instruction at 0x00007FFD56EA7D70 referenced memory at 0x00000000000000E8. The memory could not be read.
If I do not close the pop-up, the virtual machine crashes soon anyway. In one case, it crashed when I tried to save its state; in another, it crashed as soon as I tried to sync the filesystem in the Linux guest (via the sync command).
As the bug is a deal-breaker to me, I have returned to 5.0.32.
Host: Windows 10 Pro 64-bit
Guest: Ubuntu 14.04.5 LTS 64-bit with Guest Additions installed
Logs of the two crashes decribed in the report