VirtualBox saved VM resume causes SEGFAULT in i965_dri.so

Bug #1307093 reported by Mark Jackson
48
This bug affects 9 people
Affects Status Importance Assigned to Milestone
Virtualbox
New
Unknown
virtualbox (Debian)
Fix Released
Unknown
virtualbox (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Ubuntu 12.04 guest on Ubuntu 14.04 host

If I start a new VM and suspend at the login prompt, I can resume the VM without any problem.

If I start a new VM but login and then suspend, the VM segfaults when I resume:-

Apr 13 10:03:56 mpfj-home kernel: [ 3218.031723] ShCrOpenGL[14361]: segfault at 54 ip 00007f8258f99600 sp 00007f825a23f510 error 4 in i965_dri.so[7f8258e21000+4ed000]

VirtualBox also shows the following error message:-
----
Failed to open a session for the virtual machine Ubuntu (NanoBone).

No error info.

Result Code: NS_ERROR_CALL_FAILED (0x800706BE)
Component: ProgressProxy
Interface: IProgress {c20238e4-3221-4d3f-8891-81ce92d9f913}
----

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: virtualbox 4.3.10-dfsg-1
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Sun Apr 13 10:03:25 2014
InstallationDate: Installed on 2014-03-19 (24 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140318)
SourcePackage: virtualbox
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Mark Jackson (mpfj) wrote :
summary: - VirtualBox saved VM crashes on resume
+ VirtualBox saved VM resume causes SEGFAULT in i965_dri.so
description: updated
Revision history for this message
Mark Jackson (mpfj) wrote :

If it's any help, if I disable 3D support in the guest, the issue is fixed.

information type: Public → Private
information type: Private → Public
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in virtualbox (Ubuntu):
status: New → Confirmed
Revision history for this message
Arno Teigseth (arnotixe) wrote :

I believe this is a related crash, I also have i915, but it segfaults on resuming a saved linux mint 17 guest in linux mint 17 host with this single line in syslog:

Sep 18 20:58:44 teramint kernel: [95437.093687] ShCrOpenGL[19205]: segfault at 4c ip 00007fc414532f20 sp 00007fc4165b4560 error 4 in libdricore9.2.1.so.1.0.0[7fc4143ac000+3be000]

Revision history for this message
Arno Teigseth (arnotixe) wrote :

... and disabling 3d accel "fixes" the issue for me too, but video playback on guest is obviously crappy. Videos/Resuming XP machines on the same host yields NO problems.

Changed in virtualbox:
status: Unknown → New
Revision history for this message
Mark Jackson (e-ubuntu-w) wrote :

FYI ... I've also tried installing an Ubuntu 14.04 guest (as opposed to the original 12.04 guest) and it does the same thing.

Changed in virtualbox (Debian):
status: Unknown → New
Revision history for this message
Mark Jackson (e-ubuntu-w) wrote :

I also performed another test ... if I leave the guest at the "login" prompt, I can suspend / resume without any problems.

It's only when I actually login (so that the Unity launcher is visible) that it segfaults when I suspend / resume.

Revision history for this message
Rocko (rockorequin) wrote :

I'm experiencing this bug with VBox 4.3.20-96996 in an Ubuntu 14.10 host when trying to run an Ubuntu 15.04 guest.

Revision history for this message
Luis Antolin (luis-antolin) wrote :

Same thing same sympthoms. Host: Debian 8, guest: Debian 7, virtualbox: 4.2.26-r95022.

This is really disruptive, I work with VMs on a daily basis and now I have to close all my tasks and windows and poweroff the guests, really anoying.

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

I guess the bug is related to this thread
https://forums.virtualbox.org/viewtopic.php?f=7&t=52414

can you please try the suggested solution{,s}?

Revision history for this message
Luis Antolin (luis-antolin) wrote :

I do not follow. As far as I can see the solution suggested on that thread is to turn off 3D acceleration. This has already been suggested here. It makes the problem go away, but it is not a solution because you cannot use any recent desktop manager at the guest.

There are other suggestions at the thread but are related to Win guests, do not apply to Linux guests.

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

the "solution" is also to see the upstream ticked, login and try to followup there.

Unfortunately this seems to be an upstream issue, and I don't think debian/ubuntu has enough manpower to fix this kind of issues.

Revision history for this message
Jon (jonpad) wrote :

Possible dup bug on VirtualBox: https://www.virtualbox.org/ticket/11938

I believe I have fixed this by updating the BIOS on my Dell XPS 13 ultrabook - machines using 3D acceleration now can be resumed without crashing, and several machines can be run in parallel. I'll update here if I experience any problems, but for now this seems to have fixed it for me.

Thus the problem is not VB but the underlying graphics system?

Revision history for this message
Jon (jonpad) wrote :

(Addendum to previous comment: tested on a Mint 17 Cinnamon host with Mint 16/17 and Ubuntu 12 LTS guests).

Revision history for this message
Arno Teigseth (arnotixe) wrote :

Not reproducible in Linux mint 17.3. Probably OK to close the bug. I see strange behaviour with screenshots, but it is related to the Host graphics acceleration.

Changed in virtualbox (Ubuntu):
status: Confirmed → Fix Released
Changed in virtualbox (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.