Bugzilla (bugzilla.redhat.com) will be under maintenance for infrastructure upgrades and will not be available on July 31st between 12:30 AM - 05:30 AM UTC. We appreciate your understanding and patience. You can follow status.redhat.com for details.
Bug 595270 - xrandr call crashes the X server
Summary: xrandr call crashes the X server
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: xorg-x11-drv-vmware
Version: 6.0
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Adam Jackson
QA Contact: desktop-bugs@redhat.com
Depends On: 595250
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
Last Closed: 2010-11-11 15:02:27 UTC
Target Upstream Version:

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.


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

Comment 8 Adam Jackson 2010-06-08 17:31:34 UTC
* Mon May 24 2010 Adam Jackson <ajax@redhat.com> 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)


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.