Bug 101276 - X server dies when video mode changing fails
Summary: X server dies when video mode changing fails
Alias: None
Product: Fedora
Classification: Fedora
Component: XFree86 (Show other bugs)
(Show other bugs)
Version: rawhide
Hardware: All Linux
Target Milestone: ---
Assignee: Mike A. Harris
QA Contact: David Lawrence
URL: http://bugs.xfree86.org/show_bug.cgi?...
Depends On:
TreeView+ depends on / blocked
Reported: 2003-07-30 15:54 UTC by Pekka Pietikäinen
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-11-05 20:03:20 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2003:406 normal SHIPPED_LIVE Updated XFree86 packages are available 2003-12-11 05:00:00 UTC

Description Pekka Pietikäinen 2003-07-30 15:54:48 UTC
Description of problem:

If something tries to use XF86VidMode while the machine is in another VC
(e.g. if you kill a SDL game that has a video mode restoring thing when
you exit it), XFree86 segfaults and dies. This has already been reported and fixed
upstream (bug number 381 in XFree86 bugzilla), reporting it here just to be
complete and hopefully get a fixed version in rpm format at some point :-)

The bug is probably as old as the vidmode extension, so older Red Hat releases
are affected as well.

Comment 1 Mike A. Harris 2003-08-01 10:22:31 UTC
I think a patch for this is in my patch queue, but I'll have to check when
I return home.  Good to track it here anyway nonetheless.

Thanks Pekka

Comment 2 Pekka Pietikäinen 2003-10-26 12:43:43 UTC
wink wink, nudge nudge (bug still present in latest rawhide XFree86 :-) )

Comment 3 Mike A. Harris 2003-10-26 15:17:46 UTC
Say no more, say no more!  ;o)

Seriously though...  I've been swamped with many other high priority things
and never did get much time to go through the huge queue of patches for
review.  ;o(   I just looked at the upstream report though, and also
XFree86 CVS patchsets, and this patch didn't get committed alone, but
rather it got committed along with about 20 other major fixes all at once
by Egbert.  I hate it when stuff gets committed all at once in one huge
atomic commit upstream.  I think Egbert does his work in a separate CVS
repository then merges changes between the two repos occasionally.

Comment 4 Mike A. Harris 2003-10-26 15:18:54 UTC
I'm going to diff 4.3.0 to CVS head for that file, and analyze all bug fixes
at once, and consider for inclusion in future erratum.

Comment 5 Mike A. Harris 2003-10-30 07:58:30 UTC
XFree86-4.3.0-vidmode-SEGV-fix-from-CVS-HEAD.patch has been commited to
4.3.0-42.2 and later builds which will appear in rawhide and on my ftp/yum
space on ftp://people.redhat.com/mharris/testing/unstable soon.

Changing bug to MODIFIED state.  Please confirm bug is fixed and close
as "RAWHIDE" if it is now fixed for you, or ASSIGNED if bug is still present
in new rpms.


Comment 6 Pekka Pietikäinen 2003-11-05 20:03:20 UTC
Bug is fixed in 4.3.0-43.

Comment 7 Jay Turner 2004-01-16 16:58:41 UTC
An errata has been issued which should help the problem described in this bug report. 
This report is therefore being closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, please follow the link below. 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.