Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Resizing a display of a virtual machine with multiple displays using multiple PCI devices causes *X* to crash
A bug in the *QXL* driver (_xorg-x11-drv-qxl_) causes the *X.Org* display server on a virtual machine to crash upon display resize if the virtual machine has multiple displays configured to use multiple PCI devices. Make sure guest virtual machines running Red Hat Enterprise Linux with multiple monitors are configured to use a single PCI device. In Red Hat Virtualization, this setting is controlled by the `Single PCI Device` check box under `Edit` -> `Console`, and is enabled by default.
Description of problem:
If display of VM guest is resized, then Xorg is killed by SIGABRT and subsequently Xorg server crashes.
Version-Release number of selected component (if applicable):
Client/Host:
qemu-kvm-1.5.3-132.el7.x86_64
spice-server-0.12.8-1.el7.x86_64
virt-viewer-2.0-13.el7.x86_64
Guest:
spice-vdagent-0.14.0-14.el7.x86_64
xorg-x11-drv-qxl-0.1.5-2.el7.x86_64
Kernel: Linux 3.10.0-578.el7.x86_64
How reproducible: always
Steps to Reproduce:
1. Boot Guest VM, connect to it with remote-viewer and login to Guest
2. resize window of remote-viewer with Guest
Actual results:
Xorg killed by SIGABRT. Then either GDM login screen appears or system freezes.
Expected results:
Resize of guest display without crash.
Additional info: see backtrace at attachement
(In reply to Dave Airlie from comment #6)
> Created attachment 1261031[details]
> patch for xf86-video-qxl
>
> possible fix for qxl.
Hey Dave,
would it be please possible prepare a build that Radek could try?
Thanks
-Tom
Comment 8Christophe Fergeau
2017-03-08 09:15:01 UTC
(In reply to Jonathon Jongsma from comment #10)
> It looks like it is too late to get into 7.4, but there is a potential fix
> available. Dave, is this the patch that you think should go upstream?
Being not a new feature should not be backported as bugfix anyway?
Comment 13Christophe Fergeau
2017-06-19 12:43:19 UTC
I would say this started crashing after some Xorg rebase, before Xorg was at least starting up. So fixing that crash would be a bugfix.
Hello.
> [0] https://cgit.freedesktop.org/xorg/driver/xf86-video-qxl/commit/
I found this patch works only when qemu-guest-agent in not added to the VM, otherwise crash happens all the times while login. It shows the window which informs that ksmserver is crashed and if to click "okay", it quits to sddm login screen on my Kubuntu 18.04 (dev branch). Also it applies from *ubuntu 16.04.02 till 18.04.
Can someone test with qemu-ga added in VM?
Thanks.
Hi Eugene,
I tested this with rhel7.5 VM with qemu-guest-agent 10:2.8.0-2.el7 installed.
1. Create VM with multiple displays and single multiple PCI
2. start it, connect with remote-viewer and resize guest's display by resizing remote-viewer's window.
The crash still happens.
Actually - why we do not use patch from comment #8? (https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=12711357).
It worked for me (as stated in comment #7).
Comment 28Christophe Fergeau
2018-03-16 09:58:57 UTC
(In reply to Radek Duda from comment #27)
> Hi Eugene,
>
> I tested this with rhel7.5 VM with qemu-guest-agent 10:2.8.0-2.el7
> installed.
> 1. Create VM with multiple displays and single multiple PCI
> 2. start it, connect with remote-viewer and resize guest's display by
> resizing remote-viewer's window.
>
> The crash still happens.
>
> Actually - why we do not use patch from comment #8?
> (https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=12711357).
> It worked for me (as stated in comment #7).
Hello, Radek.
Actually I didn't understood you. What did you meant when you first said that crash still happens but then that it worked for you as in state in comment #7 which is telling about attached patch.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2018:3059