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 595270 - xrandr call crashes the X server
Summary: xrandr call crashes the X server
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: xorg-x11-drv-vmware
Version: 6.0
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Adam Jackson
QA Contact: desktop-bugs@redhat.com
URL:
Whiteboard:
Depends On: 595250
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-05-24 08:53 UTC by Ales Kozumplik
Modified: 2014-09-30 23:39 UTC (History)
6 users (show)

Fixed In Version: xorg-x11-drv-vmware-1.7.6-6
Doc Type: Bug Fix
Doc Text:
Clone Of: 595250
Environment:
Last Closed: 2010-11-11 15:02:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
X.log with teh crash on rhel6 (21.43 KB, text/plain)
2010-05-24 08:55 UTC, Ales Kozumplik
no flags Details

Description Ales Kozumplik 2010-05-24 08:53:57 UTC
I am also seeing this on rhel6.

+++ This bug was initially created as a clone of Bug #595250 +++

This happens with rawhide anaconda boot, but I perhaps it could be reproduced on any rawhide installation.

Steps to Reproduce:
1. boot the installer
2. scp-in rawhide version of xrandr
3. xrandr -d :1 -s 640x480
  
Actual results:
X server crashes with sigsegv.

Expected results:
definitely not a sigsegv.

Additional info:
log attached.

Comment 2 Ales Kozumplik 2010-05-24 08:55:20 UTC
Created attachment 416061 [details]
X.log with teh crash on rhel6

Comment 3 Ray Strode [halfline] 2010-05-24 18:25:28 UTC
So you're running xrandr when X isn't on the foreground vt?

does adding a "sleep 10;" in front of your command, then manually switching to the display in that 10 second interval and waiting work? or does that also a trigger a crash?

Comment 4 Ales Kozumplik 2010-05-25 05:55:19 UTC
Hi Ray,

yes, that works.

Some additional information:
- I can only see the SEGV on a vmware virtual machine. When I switch to the X vt, the resolution changes nicely.
- On a physical x86_64 machine, attempting the mode switch from the command line outputs "Failed to change the screen configuration!". Again, it works when X is in the foreground.

Ales

Comment 5 Ray Strode [halfline] 2010-05-25 14:36:52 UTC
okay so this may be some weird interaction with the vmware driver and X.  I imagine running xrandr on a display that isn't active is fairly untested territory.

Comment 6 Matěj Cepl 2010-05-26 13:55:59 UTC
Thanks for the bug report.  We have reviewed the information you have provided above, and there is some additional information we require that will be helpful in our diagnosis of this issue.

Please add drm.debug=0x04 to the kernel command line, restart computer, and attach

* your X server config file (/etc/X11/xorg.conf, if available),
* output of the dmesg command,
* system log (/var/log/messages), and
* X server log file (/var/log/Xorg.*.log)

to the bug report as individual uncompressed file attachments using the bugzilla file attachment link above.

We will review this issue again once you've had a chance to attach this information.

Thanks in advance.

Comment 7 RHEL Program Management 2010-06-07 16:16:30 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 8 Adam Jackson 2010-06-08 17:31:34 UTC
* Mon May 24 2010 Adam Jackson <ajax> 1.7.6-6
- xserver-1.7.6-randr-vt-switch.patch: Fix crash when trying to change RANDR
  config while VT switched away. (#586926)
- xserver-1.1.1-pam.patch: Port the PAM enablement from EL5. (#582710)

MODIFIED

Comment 12 Ales Kozumplik 2010-11-10 13:37:25 UTC
I am helping Tomas Pelka verify this bug: just tried with RC4 RHEL6. I can confirm that calling 'xrandr -d :1 -s 640x480' from the command line no longer crashes X, although it outputs "Failed to change the screen configuration!" and does not change the resolution (which could be the desired behavior on vmware).

Comment 13 Tomas Pelka 2010-11-10 13:44:48 UTC
Big kudos to Ales, moving to VERIFIED on xorg-x11-drv-vmware-10.16.7-2.1.el6.

Comment 14 releng-rhel@redhat.com 2010-11-11 15:02:27 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.