Bug 748798

Summary: Xorg crashes when switching to console by Ctrl+Alt+Fn on RHEL 6 guests
Product: Red Hat Enterprise Linux 6 Reporter: Marian Krcmarik <mkrcmari>
Component: xorg-x11-drv-qxlAssignee: Søren Sandmann Pedersen <sandmann>
Status: CLOSED CURRENTRELEASE QA Contact: Desktop QE <desktop-qa-list>
Severity: high Docs Contact:
Priority: high    
Version: 6.3CC: cfergeau, jwest, kem, myllynen, pablo.iranzo, tlavigne, tpelka
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-27 00:06:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Xorg.log
none
X.log none

Description Marian Krcmarik 2011-10-25 12:11:56 UTC
Created attachment 530071 [details]
Xorg.log

Description of problem:
Xorg server crashes when switching to console by Ctrl+Alt+Fn shortcut on i386 guest. It does occur always when doing the switching first time after boot, after crash It does not occur on all guests always. Xorg.log in attachment. We had this problem some time ago and It was fixed that's why I consider it to be regression.

Version-Release number of selected component (if applicable):
xorg-x11-drv-qxl-0.0.14-10.el6.i686
Linux Guest - Linux localhost.localdomain 2.6.32-211.el6.i686 #1 SMP Tue Oct 18 15:55:38 EDT 2011 i686 i686 i386 GNU/Linux
spice-vdagent-0.8.1-2.el6.i686

How reproducible:
Always

Steps to Reproduce:
1. Connect with spice client to a Linux guest after booting the guest
2. Press Ctrl+Alt+Fn to switch into console.
  
Actual results:
Segfault

Expected results:
No segfault

Additional info:
On x86_64 I am not able to reproduce so far.

Comment 2 Christophe Fergeau 2012-02-28 10:30:53 UTC
Here are some more details about how to reproduce (I have only asked some clarifications on IRC, I haven't tried to reproduce this)

1. start a linux guest
2. connect to it with spicec on a linux client
3. switch to a VT in the guest by pressing Ctrl+Alt+Fn (press Alt for a few seconds so that it sticks, and then press Ctrl+Fn)

Result: x.org on the guest segfaults
Expected result: no segfaults

Comment 4 Marko Myllynen 2012-09-10 15:00:11 UTC
I'm seeing the same problem on RHEL 6.3 + latest errata on x86_64. After booting up the guest and switching to a console X starts crashing constantly.

I'll attach Xorg.log with the xorg nevr's appended.

Thanks.

Comment 5 Marko Myllynen 2012-09-10 15:01:58 UTC
Created attachment 611471 [details]
X.log

Comment 6 Marko Myllynen 2012-09-10 15:02:35 UTC
*** Bug 835881 has been marked as a duplicate of this bug. ***

Comment 8 Marko Myllynen 2012-09-11 08:58:52 UTC
(In reply to comment #7)
> This patch looks like it might be relevant:
> 
> http://cgit.freedesktop.org/xorg/driver/xf86-video-qxl/commit/src/
> qxl_surface.c?id=f838df1589c63fba8e99200238cf0b4e3acac6b1

Thanks a lot for the pointer, I've rebuilt xorg-x11-drv-qxl-0.0.14-13.el6_2 with the patch and it fixed this issue.