Discuss the 5.1.26 release

This is for discussing general topics about how to use VirtualBox.
Suprazz
Posts: 2
Joined: 28. Jul 2017, 14:34

Re: Discuss the 5.1.26 release

Post by Suprazz »

I had to downgrade to 5.1.24.

5.1.26 lost all usb fonctionnality. I tried to reboot vm, host, reinstall. Tried usb 1.1 controller and 2.0 and nothing worked.

Reinstalled 5.1.24 and everything work fine.

Host is windows 10, vm is windows 10 too.
frank
Oracle Corporation
Posts: 3362
Joined: 7. Jun 2007, 09:11
Primary OS: Debian Sid
VBox Version: PUEL
Guest OSses: Linux, Windows
Location: Dresden, Germany
Contact:

Re: Discuss the 5.1.26 release

Post by frank »

Very unlikely that the upgrade has anything to do with that. I'm not aware of any USB-related changes in 5.1.26. When you upgraded to 5.1.26, did you also upgrade the Extension Pack?
tonny
Posts: 20
Joined: 7. Jan 2010, 23:54
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows 7

Re: Discuss the 5.1.26 release

Post by tonny »

Since upgrading from 5.1.22 to 5.1.26 I also sometimes get the memory could not be read error.
error.png
error.png (21.28 KiB) Viewed 5959 times
It occurs randomly when starting a VM, and seems independent of the guest type (I had it on Windows XP but also on CentOS, Debian and openSUSE).
I could not find a clear way to reproduce it so far, but seems to occur more often if starting multiple VMs at the same time.
In the case of the log attached, I started 3 VMs a the same time, and the first one that started (openSUSE) is the only one that got the error.
Attachments
vboxlog.zip
(16.02 KiB) Downloaded 23 times
marcthin
Posts: 25
Joined: 18. Jul 2015, 09:43

Re: Discuss the 5.1.26 release

Post by marcthin »

I can confirm this. On al vm's on my virtueel box is there this problem.

The 5.1.24 release works perfect.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Discuss the 5.1.26 release

Post by mpack »

Those look like a hardening problems, not a release based issue. Please see FAQ: Diagnosing VirtualBox Hardening Issues.
mingle
Posts: 63
Joined: 6. Jun 2015, 07:55

Re: Discuss the 5.1.26 release

Post by mingle »

After the initial install I had a crash, then it worked a couple of times, now I get the crash each time I run my Linux Guest.

Reverted to 5.1.24 and all is fine again.

Mike.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Discuss the 5.1.26 release

Post by mpack »

No logs == no attention paid to problem.
tonny
Posts: 20
Joined: 7. Jan 2010, 23:54
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows 7

Re: Discuss the 5.1.26 release

Post by tonny »

Here's another crash log with the hardening log also included.

Maybe it's a wild guess, but if I disable audio in the VM I can no longer reproduce the error.
I did some trial and error startup of multiple VMs and from 10 runs with audio, at least one VM crashed in 5 of the runs.
Disabled audio in all these VMs and from 10 runs without audio, none crashed. All other settings were the same.

Edit: btw, if the issue is indeed hardening related, shouldn't it occur at any VM startup? Can it be hardening and occur randomly?
Attachments
vboxlog2.zip
(41.3 KiB) Downloaded 22 times
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Discuss the 5.1.26 release

Post by mpack »

Are all crashy VMs using the same audio settings, e.g. AC97?
tonny
Posts: 20
Joined: 7. Jan 2010, 23:54
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows 7

Re: Discuss the 5.1.26 release

Post by tonny »

Yes, all the ones I tested now are all AC97 with DirectSound host.
However, the first time I encountered this issue was starting an XP + Windows 7 and those had AC97 and HD Audio respectively. I have not tested that combination recently.
Should I try some combinations?

Come to think of it, the Windows 7 with HD Audio never crashed since upgrading to 5.1.26, only the XP and Linux VMs with AC97.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Discuss the 5.1.26 release

Post by mpack »

A modern guest OS should presumably support something more modern than AC'97 (which as the name implies is now 20 years old), so I think it would be particularly telling to try a different audio chipset in a VM which currently crashes. I.e. try Intel HD Audio.
tonny
Posts: 20
Joined: 7. Jan 2010, 23:54
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows 7

Re: Discuss the 5.1.26 release

Post by tonny »

I changed all 4 test VMs to HD Audio, ran 10 more group startups and the problem did not surface anymore.
So it seems to be AC97 related, though I don't have a VM that crashes consistently all the time to be able to say for sure.
Looking at the 5.1.26 release notes, maybe it's related to this change:
* Audio: implemented record gain registers for AC'97 emulation; those are needed for newer Ubuntu guests which rely on those when controlling gain and muting the recording (capturing) levels

Thanks for your help!
Suprazz
Posts: 2
Joined: 28. Jul 2017, 14:34

Re: Discuss the 5.1.26 release

Post by Suprazz »

Yes I upgraded everything. Twice.
frank wrote:Very unlikely that the upgrade has anything to do with that. I'm not aware of any USB-related changes in 5.1.26. When you upgraded to 5.1.26, did you also upgrade the Extension Pack?
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Discuss the 5.1.26 release

Post by socratis »

Suprazz wrote:Yes I upgraded everything. Twice.
There was a famous quote for the iPhone antenna problems: You're Holding It Wrong. ;)

Here's the "proper" installation procedure for VirtualBox. It has proven that it helps with hidden rejections from Windows due to the UAC, which is becoming more and more invasive. Pay special attention to the Run-As-Administrator. It is a completely different thing compared to being an administrator. Use the Run-As-Administrator even if you are the Administrator; the first one (Run-As-Administrator) is really important, being an Administrator is not:
  1. Uninstall VirtualBox. Your VMs are going to be untouched. Reboot.
  2. You may want to clean up your registry and/or filesystem at this point. CCleaner is a freeware utility that could help you. Mind the installation, it comes with "offers" from 3rd parties, known as "bundleware". Also, check out Device Cleanup to remove unused devices from your computer.
  3. Download (if you haven't already) the latest VirtualBox and its matching ExtPack. Store them in a common location, i.e. not on "Desktop", or "Documents", but to "Public/Downloads" for example.
  4. Locate the downloaded file in Windows Explorer. Right-click on the installer and select "Run-as-Administrator", even if you are the administrator. At the end of the installation, choose to "Start Oracle VM VirtualBox". Do not worry if your VMs do not show.
  5. If you're going to install the ExtPack, go to File » Preferences » Extensions. Click on the icon with the orange, down-pointing arrow on the right. Select the ExtPack from the previous steps.
  6. Quit VirtualBox. Re-start VirtualBox as you would normally, i.e. from the Desktop shortcut or the Start menu.
  7. Update the Guest Additions (GAs) in your guest(s), if the GAs are available for a specific guest.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
michaln
Oracle Corporation
Posts: 2973
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Any and all
Contact:

Re: Discuss the 5.1.26 release

Post by michaln »

There is a regression in 5.1.26 which can cause VMs with AC'97 audio configured to crash. So far the problem has only been seen on Windows hosts, and it's somewhat random (which means that some users will see it almost all the time and other users almost never).
Post Reply