Bug 1428340
Summary: | Xorg killed by SIGABRT after resize of VM display when multiple PCI device in use | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Radek Duda <rduda> | ||||||||
Component: | xorg-x11-drv-qxl | Assignee: | Default Assignee for SPICE Bugs <rh-spice-bugs> | ||||||||
Status: | CLOSED ERRATA | QA Contact: | SPICE QE bug list <spice-qe-bugs> | ||||||||
Severity: | high | Docs Contact: | Petr Bokoc <pbokoc> | ||||||||
Priority: | unspecified | ||||||||||
Version: | 7.4 | CC: | airlied, ayadav, cfergeau, dblechte, fziglio, jjongsma, ken20001, michal.skrivanek, pasik, rduda, spice-qe-bugs, tpelka, xiaodwan, yafu | ||||||||
Target Milestone: | rc | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | xorg-x11-drv-qxl-0.1.5-4.el7 | Doc Type: | Known Issue | ||||||||
Doc Text: |
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.
|
Story Points: | --- | ||||||||
Clone Of: | |||||||||||
: | 1475320 (view as bug list) | Environment: | |||||||||
Last Closed: | 2018-10-30 08:01:02 UTC | Type: | Bug | ||||||||
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
Radek Duda
2017-03-02 11:07:02 UTC
Created attachment 1259087 [details]
backtrace
The crash happens only when using multiple pci device (Single PCI checkbox in rhv->edit->Console is not checked) Please attach /var/log/Xorg.0.log file. Created attachment 1260730 [details]
Xorg log
Created attachment 1261031 [details]
patch for xf86-video-qxl
possible fix for qxl.
(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 https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=12711357 is a 7.4 build with the patch from Dave. Ok I tried the build - it fixes the problem 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? Pushed upstream as https://cgit.freedesktop.org/xorg/driver/xf86-video-qxl/commit/?id=ee8f904ab0d590c741e640e9548c472e6a58b3cc (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? 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). (In reply to Radek Duda from comment #27) > 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). Ugh, yes, this missed the cut for 7.5 :-/ (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. there is no crash after resize of VM display now (tested rhel7.6 guest with xorg-x11-drv-qxl-0.1.5-4.el7.1.x86_64) 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 As per https://bugzilla.redhat.com/show_bug.cgi?id=1428340#c17 and https://bugzilla.redhat.com/show_bug.cgi?id=1428340#c19 could you open RFE Michale? > As per https://bugzilla.redhat.com/show_bug.cgi?id=1428340#c17 and > https://bugzilla.redhat.com/show_bug.cgi?id=1428340#c19 > could you open RFE Michale? see https://bugzilla.redhat.com/show_bug.cgi?id=1555304#c2 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |