Hide Forgot
Description of problem: Run RHEL6.1 guest in qemu-kvm with -vga qxl. Xorg will crash and restart itself in less than 10 seconds. Version-Release number of selected component (if applicable): qemu-kvm-0.12.1.2-2.147.el6.x86_64 spice-server-0.7.2-4.el6.x86_64 How reproducible: Steps to Reproduce: 1. qemu-kvm -vga qxl -spice port=3001,disable-ticketing -m 1024 /yourguest 2. spicec -h localhost -p 3001 3. login to gdm 4. run few applications like soffice, firefox, gnome-system-monitor Actual results: Xorg crashes in 10-20 seconds after X startup Expected results: Xorg won't crash Additional info: It does happen with -spice ... -vga qxl and guest driver {qxl,vesa} (Xorg will not even start with vesa ... could be a separate bug ...) It does not happen -spice port=3001,... (but without -vga qxl) It does not happen with vnc
Created attachment 480767 [details] switching to console after crash.
Switching to console after the crash cause lots of defects on the canvas
Just before this crash, when I typed arrow up into gnome-terminal, the terminal printed "A", then it printed "B" for arrow down.
What's the qxl version in the guest? package xorg-x11-drv-qxl. What is in /var/log/Xorg.0.log?
We are not sure if that bug is a duplicate of #678208 or a bug on its own. We asked QE to test if they can reproduce this bug with the fix (scratch build) for 678208.
(In reply to comment #7) > We are not sure if that bug is a duplicate of #678208 or a bug on its own. > We asked QE to test if they can reproduce this bug with the fix (scratch build) > for 678208. We (QE) consider this to be a bug and not a duplicate of #678208. Two of us tested for several hours with scratch build for qemu-kvm and Xorg crash appears quite often while we haven't got the hang reported in 678208 at all. Tried 3 different RHEL6.1 64/32bit guests and all the same - seen Xorg crash and no hang of qemu-kvm. Moreover I tried uri's scratch build of qxl https://brewweb.devel.redhat.com/taskinfo?taskID=3175820 and unfortunately I still get Xorg crash on RHEL6.1 32/64 bit.
Note that according to https://bugzilla.redhat.com/show_bug.cgi?id=678208#c12 there exists a workaround: yum downgrade to xorg-x11-drv-qxl-0.0.12-2.1
Please try this: - log in to the guest remotely - Run gdb --pid <pid of X server> - Get X to crash - Type bt into gdb. Also, as Alon said, please attach the log file, /var/log/Xorg.0.log produced by a crashing X server.
Created attachment 486069 [details] backtrace of crashing Xorg
Created attachment 486070 [details] Xorg.log
Attached Xorg.log and bt (hopefully) above.
Bad bpp: 1 (1) Zero width or height Bad bpp: 1 (1) Out of memory allocating 16384020 bytes Out of mem - stats As I have mentioned before, we need to increase the amount of video memory available to the qxl device ; otherwise, it will sometimes do this. I believe the command line option that should be given to qemu is something like this: -global qxl.vram_size=268435456
Can you attach your xorg.conf please?
(In reply to comment #16) > Can you attach your xorg.conf please? In case the question is related to my configuration I attach Xorg -configure. Otherwise I use built-in configuration.
Created attachment 486328 [details] Xorg -configure
Fixed in 0.0.12-6.el6
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0756.html