VB Bug: linux guest crashes when 3D acceleration enabled

Discussions related to using VirtualBox on Windows hosts.
HaroldFinch
Posts: 25
Joined: 22. Sep 2014, 01:33

VB Bug: linux guest crashes when 3D acceleration enabled

Post by HaroldFinch »

Host = Win 7 Pro 64 bit running on top of a Dell Precision T1700 with NO video card (using integrated Intel HD Graphics P4600/P4700)
VirtualBox = 4.3.22 r98236
Guest = Xubuntu 14.10

I just created a new VM today, installed Xubuntu 14.10 into it, performed all Xubuntu updates (restarted when done), and then installed VirtualBox Guest Additions (shut down when done).

I then went in VirtualBox and changed a few of that VM's Settings, including
Display --> Video -->
 	Video Memory: 12 MB --> 64 MB
	Extended Features: Enable 3D Acceleration
When I restarted the Xubuntu VM, some things like opening a Terminal emulator work fine, but if I launch a web browser (Firefox is the install default), I get this error dialog:
Image
(Text, in case that image hosting site drops the image: "The instruction at 0x80440033 referenced memory at 0xb0177468 The memory could not be read. Click on OK to terminate program."
EDIT: this forum refuses to display the image. Anyone know of a solution? Its URL = http://postimg.org/image/wkf4xq7c7/)

If I turn off 3D acceleration, then this bug disappears.

A web search found some related bugs: link1 and link2.

link1 had quite different symptoms, but the problem also seems to have been caused by enabling 3D acceleration.

link2 also had different symptoms, but the problem seems to have been caused by an unsigned Nvidia driver, which fails in the latest security hardened VirtualBox. I can rule out this issue on my box: following the procedure described here (i.e. run Microsoft's sigverif.exe tool), I found that my host has zero unsigned system files.

I am attaching 2 Xubuntu logs, plus all 4 VirtualBox logs, if that helps anyone to diagnose. (Both had to be packaged inside separate zip files to work around this forum's attachment size limits.)

Thanks in advance!
Attachments
vbLogs.zip
(86.46 KiB) Downloaded 8 times
xubuntuLogs.zip
(128.18 KiB) Downloaded 7 times
HaroldFinch
Posts: 25
Joined: 22. Sep 2014, 01:33

Re: VB Bug: linux guest crashes when 3D acceleration enabled

Post by HaroldFinch »

No one has responded to this post with any feedback, like a workaround.

Should I file a bug report with VirtualBox at this point?
c99a
Posts: 4
Joined: 6. Feb 2015, 21:20

Re: VB Bug: linux guest crashes when 3D acceleration enabled

Post by c99a »

Do you have and AMD video card ?
It's a known issue with the driver.
Please read ticket 12772 and 13671
HaroldFinch
Posts: 25
Joined: 22. Sep 2014, 01:33

Re: VB Bug: linux guest crashes when 3D acceleration enabled

Post by HaroldFinch »

c99a wrote:Do you have and AMD video card ?
It's a known issue with the driver.
Please read ticket 12772 and 13671
Nope.

As I mentioned in my first post: "Host = ... running on top of a Dell Precision T1700 with NO video card (using integrated Intel HD Graphics P4600/P4700)"

To be precise, my CPU = Xeon E3-1245 v3 (Quad Core HT, 3.40GHz Turbo, 8MB, w/ HD Graphics P4600).

Any known problems with integrated Intel HD Graphics?

Aside: I love the latest integrated Intel HD Graphics on my Xeon, by the way. Given that I do not game, I will never ever buy a video card again! The current capabilities more than my meet my needs. For example, my Xeon can drive at least one (if not 2?) 4K monitors.
mhanor
Volunteer
Posts: 321
Joined: 7. Oct 2009, 12:40
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: various

Re: VB Bug: linux guest crashes when 3D acceleration enabled

Post by mhanor »

You should update the Intel video drivers. Go to intel.com
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: VB Bug: linux guest crashes when 3D acceleration enabled

Post by loukingjr »

Code: Select all

00:00:08.828075 Guest Additions information report: Version 4.3.18 r96516 '4.3.18_Ubuntu'
Try updating your guest additions to 4.3.22.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
HaroldFinch
Posts: 25
Joined: 22. Sep 2014, 01:33

Re: VB Bug: linux guest crashes when 3D acceleration enabled

Post by HaroldFinch »

loukingjr wrote:

Code: Select all

00:00:08.828075 Guest Additions information report: Version 4.3.18 r96516 '4.3.18_Ubuntu'
Try updating your guest additions to 4.3.22.
loukingjr: good catch.

After I installed Xubuntu into my VM, I ran

Code: Select all

sudo apt-get install virtualbox-guest-dkms
thinking that that would pull down the current Guest Additions. I never looked at the version number. Obviously, it only pulled down 4.3.18 instead of 4.3.22.

It looks like 4.3.18 is not only the latest, but is the ONLY Guest Additions available in the standard Ubuntu repositories:

Code: Select all

harold@haroldBox:~$ apt-show-versions virtualbox-guest-dkms
virtualbox-guest-dkms:all/utopic-security 4.3.18-dfsg-2ubuntu1 uptodate
So, do I need to pull down the 4.3.22 Guest Additions from some other repository? Any advice on the easiest and most reliable way to do this? (Apologies: I am both a linux and VirtualBox newbie.)
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: VB Bug: linux guest crashes when 3D acceleration enabled

Post by loukingjr »

actually you shouldn't be using the guest additions from the Ubuntu repos at all. You should remove any VirtualBox files from your guest and install the ones that came with VirtualBox by selecting "Insert Guest Additions CD image..." from the VirtualBox Devices menu or whatever it says and install them from there.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
HaroldFinch
Posts: 25
Joined: 22. Sep 2014, 01:33

Re: VB Bug: linux guest crashes when 3D acceleration enabled

Post by HaroldFinch »

loukingjr wrote:actually you shouldn't be using the guest additions from the Ubuntu repos at all. You should remove any VirtualBox files from your guest and install the ones that came with VirtualBox by selecting "Insert Guest Additions CD image..." from the VirtualBox Devices menu or whatever it says and install them from there.
That's another good catch. I read some bad advice on an older Ubuntu forum to install Guest Additions using apt-get.

Following the official documentation, I did these steps:

Code: Select all

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install dkms

REBOOT guest

Insert the VBoxGuestAdditions.iso CD file into your Linux guest's virtual CD-ROM drive
	--the "Devices" menu in the virtual machine's menu bar has a handy menu item named "Insert Guest Additions CD image" which mounts the Guest Additions ISO file inside your virtual machine

Open a terminal in the directory where your CD-ROM drive is mounted:
	--the previous operation caused Xubuntu to open a window that displayed the ISO contents, and that window had a File menu with an option named "Open Terminal Here" which does the trick

Execute: sudo sh ./VBoxLinuxAdditions.run

REBOOT guest
On the plus side, I now have the latest Guest Additions installed.

Unfortunately, enabling 3D Acceleration still causes the exact same fatal error: "The instruction at 0x80440033 referenced memory at 0xb0177468 The memory could not be read. Click on OK to terminate program.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: VB Bug: linux guest crashes when 3D acceleration enabled

Post by loukingjr »

edited by moi.
Last edited by loukingjr on 2. Mar 2015, 15:53, edited 2 times in total.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: VB Bug: linux guest crashes when 3D acceleration enabled

Post by mpack »

I have to say that the linked page looks like a scam to me. No way I'd download their tool - it simply isn't possible to provide one fix for all bad reference at 0xnnnnn errors. That makes it snake oil or malware. Or try this other link which tells you the tool is ok? Yeah, right.

The individual cause of the error has to be fixed. In this case the advice to update the host graphics drivers sounded good to me.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: VB Bug: linux guest crashes when 3D acceleration enabled

Post by loukingjr »

It pays to be cautious but I didn't see an indication it was a scam. Better safe than sorry I suppose.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: VB Bug: linux guest crashes when 3D acceleration enabled

Post by loukingjr »

then again…
The domain cdnrep.reimage.com is registered by proxy through GODADDY.COM, LLC and was originally registered in August of 1997. This domain has been known to host and distribute adware as well as other potentially unwanted software. The hosted servers are located in Morgan, Utah within the United States.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Martin
Volunteer
Posts: 2562
Joined: 30. May 2007, 18:05
Primary OS: Fedora other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: XP, Win7, Win10, Linux, OS/2

Re: VB Bug: linux guest crashes when 3D acceleration enabled

Post by Martin »

The manual fix instruction on that page is "Goto System Tools / System restore, select the most recent system restore point"
But then:
Note: The manual fix of The Instruction At 0x Referenced Memory At error is Only recommended for advanced computer users.Download the automatic repair tool instead.
:mrgreen: :mrgreen: :mrgreen:
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: VB Bug: linux guest crashes when 3D acceleration enabled

Post by loukingjr »

Yes, yes, I already deleted it but anything much beyond turning a PC on seems to be an advanced skill for many. :wink:
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Post Reply