Red Hat Bugzilla – Bug 461666
Crash in X.org server during a resolution change (monitor hotplug) in VirtualBox
Last modified: 2008-09-16 19:27:14 EDT
Description of problem: Dynamically changing resolution (this uses xrandr after a simulated monitor change) in a Fedora 9 guest inside VirtualBox 2.0.2 with guest additions can cause the X server to segfault. Fix below.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install Fedora 9 as a guest inside VirtualBox 2.0.2
2. Install the Guest Additions
3. Resize the VirtualBox window a few times, or switch into or out of seamless mode.
The X server crashes
The problem is in the function xf86SetScrnInfoModes() in xorg-server-18.104.22.1682/hw/xfree86/modes/xf86Crtc.c
Lines 1707-1709 of the file read:
for (mode = scrn->modes; mode; mode = mode->next)
if (xf86ModesEqual (mode, &crtc->desiredMode))
However, the value of crtc can be NULL. These lines should be prefixed with
Note that this bug is fixed in the release version of X.org server 1.5.0.
xorg-x11-server-1.5.0-1.fc9 has been pushed to the Fedora 9 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update xorg-x11-server'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-8032
xorg-x11-server-1.5.0-1.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.