| Summary: | Xorg -configure crashes when running in VM | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Matěj Cepl <mcepl> | ||||||
| Component: | xorg-x11-drv-qxl | Assignee: | Søren Sandmann Pedersen <sandmann> | ||||||
| Status: | CLOSED DUPLICATE | QA Contact: | desktop-bugs <desktop-bugs> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 6.0 | CC: | kem, sandmann, tpelka | ||||||
| Target Milestone: | rc | Keywords: | Triaged | ||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2011-03-11 15:38:21 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Attachments: |
|
||||||||
Created attachment 479962 [details]
sosrerport of the virtual machine
Created attachment 479963 [details]
virsh dumpxml santiago
Created attachment 479964 [details]
/var/log/Xorg.0.log with the backtrace
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)
Can you try reproducing with RHEL 6.1? Ie., xorg-x11-drv-qxl-0.0.12-5 or later. 680865 *** This bug has been marked as a duplicate of bug 680865 *** |
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