Bug 679132 - Xorg -configure crashes when running in VM
Summary: Xorg -configure crashes when running in VM
Keywords:
Status: CLOSED DUPLICATE of bug 680865
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: xorg-x11-drv-qxl
Version: 6.0
Hardware: Unspecified
OS: Linux
medium
high
Target Milestone: rc
: ---
Assignee: Søren Sandmann Pedersen
QA Contact: desktop-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-21 17:18 UTC by Matěj Cepl
Modified: 2014-06-18 09:14 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-11 15:38:21 UTC
Target Upstream Version:


Attachments (Terms of Use)
virsh dumpxml santiago (2.95 KB, text/plain)
2011-02-21 17:20 UTC, Matěj Cepl
no flags Details
/var/log/Xorg.0.log with the backtrace (11.56 KB, text/plain)
2011-02-21 17:22 UTC, Matěj Cepl
no flags Details

Description Matěj Cepl 2011-02-21 17:18:13 UTC
Description of problem:
When I setup qxl as the graphics card of RHEL-6.0 VM (originally installed with cirrus), remove /etc/X11/xorg.conf, and run Xorg -configure, Xorg crashes with this backtrace (when run in gdb via ssh):

Program received signal SIGSEGV, Segmentation fault.
qxl_pre_init (pScrn=0x250dad0, flags=<value optimized out>)
    at qxl_driver.c:1313
1313	    pScrn->monitor = pScrn->confScreen->monitor;
(gdb) t a a bt

Thread 1 (Thread 0x7f9ef3b7d840 (LWP 1502)):
#0  qxl_pre_init (pScrn=0x250dad0, flags=<value optimized out>)
    at qxl_driver.c:1313
#1  0x0000000000520c2e in DoConfigure () at xf86Configure.c:832
#2  0x000000000047e6f6 in InitOutput (pScreenInfo=0x7db060, argc=2, 
    argv=0x7fffeec023a8) at xf86Init.c:621
#3  0x0000000000421eef in main (argc=<value optimized out>, 
    argv=0x7fffeec023a8, envp=<value optimized out>) at main.c:204
(gdb) 


Version-Release number of selected component (if applicable):
xorg-x11-server-Xorg-1.7.7-26.el6.x86_64
xorg-x11-drv-qxl-0.0.12-2.1.el6_0.1.x86_64

How reproducible:
100% (5 out of 5 attempts)

Steps to Reproduce:
1.remove /etc/X11/xorg.conf, setup qxl as the graphics card
2.Xorg -configure
3.
  
Actual results:
crash

Expected results:
no crash, good working configuration for qxl

Comment 1 Matěj Cepl 2011-02-21 17:20:15 UTC
Created attachment 479962 [details]
sosrerport of the virtual machine

Comment 2 Matěj Cepl 2011-02-21 17:20:38 UTC
Created attachment 479963 [details]
virsh dumpxml santiago

Comment 3 Matěj Cepl 2011-02-21 17:22:39 UTC
Created attachment 479964 [details]
/var/log/Xorg.0.log with the backtrace

Comment 5 Matěj Cepl 2011-02-21 17:34:35 UTC
Asked by alon for this:

(gdb) info locals
i = <value optimized out>
scrnIndex = 0
qxl = 0x12de060
clockRanges = 0x0
mode = <value optimized out>
max_x = 0
max_y = 0
(gdb) up
(gdb) info locals
ScreenPtr = <value optimized out>
i = <value optimized out>
j = <value optimized out>
screennum = <value optimized out>
home = <value optimized out>
filename = "/root/xorg.conf.new\000\006\000\000\000\360S\235\306\377\177\000\000\360S\235\306\377\177\000\000\340S\235\306\377\177\000\000!\000\000\000\000\000\000\000`U\235\306\377\177\000\000\030)a\235P\177\000\000\373\230\067\233P\177", '\000' <repeats 18 times>, "RT\000\237m\257\000\000\001\000\000\000\000\000\000\000\377\377\000\000`\000\a\000\a\000\000\000\000\000\000\000\374\275\003\b\366II\000\320R\235\306\377\177\000\000\000\000\000\000\000\000\000\000xS\235\306\377\177\000\000XS\235\306\377\177\000\000\000\000\000\000\000\000\000\000\374(a\235P\177\000\000<S\235\306\377\177", '\000' <repeats 22 times>"\274, \000\027\000\000\000\000\000\000\000\000\000\300N\235\306\377\177\000\000\240T\235\306\377\177\000\000\031\000\000\000\000\000\000\000\250R\235\306\377\177\000\000\342tX\000\000\000\000\000\060S\235\306\377\177\000\000\000\000\000\000\247R\235\306\024"...
addslash = <value optimized out>
xf86config = 0x12cb870
vlist = <value optimized out>
vl = <value optimized out>
dev2screen = 0x12dd8b0
(gdb) up
#2  0x000000000047e6f6 in InitOutput (pScreenInfo=0x7db060, argc=2, 
    argv=0x7fffc69d5f68) at xf86Init.c:621
621		DoConfigure();
(gdb) info locals
i = <value optimized out>
j = <value optimized out>
k = <value optimized out>
scr_index = <value optimized out>
modulelist = <value optimized out>
optionlist = <value optimized out>
layout = <value optimized out>
screenpix24 = <value optimized out>
pix24 = <value optimized out>
pix24From = X_DEFAULT
pix24Fail = 0
autoconfig = 0
configured_device = <value optimized out>
(gdb) up
#3  0x0000000000421eef in main (argc=<value optimized out>, 
    argv=0x7fffc69d5f68, envp=<value optimized out>) at main.c:204
204		InitOutput(&screenInfo, argc, argv);
(gdb) info locals
i = <value optimized out>
alwaysCheckForInput = {0, 1}
(gdb)

Comment 6 Søren Sandmann Pedersen 2011-03-11 15:29:47 UTC
Can you try reproducing with RHEL 6.1? Ie., xorg-x11-drv-qxl-0.0.12-5 or later.

Comment 7 Søren Sandmann Pedersen 2011-03-11 15:38:21 UTC
680865

*** This bug has been marked as a duplicate of bug 680865 ***


Note You need to log in before you can comment on or make changes to this bug.