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.

Bug 961297

Summary: Crashes when disabling and enabling back first monitor
Product: Red Hat Enterprise Linux 6 Reporter: Marc-Andre Lureau <marcandre.lureau>
Component: spice-vdagentAssignee: Hans de Goede <hdegoede>
Status: CLOSED NOTABUG QA Contact: Desktop QE <desktop-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.5CC: acathrow, cfergeau, dblechte, dyasny
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-13 12:13:33 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:
Bug Depends On:    
Bug Blocks: 958550, 973660    

Description Marc-Andre Lureau 2013-05-09 11:24:05 UTC
Description of problem:

spice-vdagent X error

Version-Release number of selected component (if applicable):

current git

How reproducible:

100%

Steps to Reproduce:
1. using vv with https://www.redhat.com/archives/virt-tools-list/2013-May/msg00017.html patch
2. disable 1st monitor
3. enable 1st monitor
  
Putting severity high, because restarting vdagent isn't possible after that.

Actual results:


disable monitor:

spice-vdagent[3616]: 0x144f010 received monitors config, arg1: 0, arg2: 0, size 328
spice-vdagent[3616]: from guest: 16, 1
spice-vdagent[3616]: received monitor 1 config 656x521+0+0
spice-vdagent[3616]: after zeroing: 2, 1
spice-vdagent[3616]: received monitor 1 config 656x521+0+0
spice-vdagent[3616]: Deleting mode 1024x768-0
spice-vdagent[3616]: Changing screen size to 656x521
spice-vdagent[3616]: Root size of screen 0 changed to 1680x768 send 0
spice-vdagent[3616]: Root size of screen 0 changed to 1680x521 send 0
spice-vdagent[3616]: Root size of screen 0 changed to 656x521 send 0
spice-vdagent[3616]: Screen 0 0x0+0+0
spice-vdagent[3616]: Screen 1 656x521+0+0
spice-vdagent[3616]: 0x144f010 sent guest xorg resolution, arg1: 656, arg2: 521, size 32
spice-vdagent[3616]: Root size of screen 0 changed to 1024x768 send 1
spice-vdagent[3616]: Screen 0 0x0+0+0
spice-vdagent[3616]: Screen 1 1024x768+0+0
spice-vdagent[3616]: 0x144f010 sent guest xorg resolution, arg1: 1024, arg2: 768, size 32
spice-vdagent[3616]: 0x144f010 received monitors config, arg1: 0, arg2: 0, size 328
spice-vdagent[3616]: from guest: 16, 1
spice-vdagent[3616]: received monitor 1 config 1024x768+0+0
spice-vdagent[3616]: after zeroing: 2, 1
spice-vdagent[3616]: received monitor 1 config 1024x768+0+0
spice-vdagent[3616]: Screen 0 0x0+0+0
spice-vdagent[3616]: Screen 1 1024x768+0+0
spice-vdagent[3616]: 0x144f010 sent guest xorg resolution, arg1: 1024, arg2: 768, size 32




enable monitor:


spice-vdagent[3616]: 0x144f010 received monitors config, arg1: 0, arg2: 0, size 328
spice-vdagent[3616]: from guest: 16, 1
spice-vdagent[3616]: received monitor 0 config 1024x768+0+0
spice-vdagent[3616]: received monitor 1 config 1024x768+1024+0
spice-vdagent[3616]: after zeroing: 2, 1
spice-vdagent[3616]: received monitor 0 config 1024x768+0+0
spice-vdagent[3616]: received monitor 1 config 1024x768+1024+0
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  149 (RANDR)
  Minor opcode of failed request:  21 (RRSetCrtcConfig)
  Serial number of failed request:  348
  Current serial number in output stream:  348


Expected results:

no crash

Additional info:

qxl driver 0.0.17

Comment 1 Hans de Goede 2013-05-13 12:13:33 UTC
(In reply to comment #0)
> Additional info:
> 
> qxl driver 0.0.17

And there you likely have your problem. Multi-head support first got added to the agent in 6.4, and the official qxl drv in 6.4 is: xorg-x11-drv-qxl-0.1.0-4.el6

I tried to reproduce this with the official 6.4 agent + qxl driver, and failed -> closing.

Feel free to re-open if you can reproduce with the 6,4 qxl drv,