Re: xorg-server fix for Gamma crashes when screensaver starts
- To: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>, Brice Goglin <Brice.Goglin@ens-lyon.org>
- Cc: Jakob Lell <jakob@cs.tu-berlin.de>, andy <andrew@diatribes.org>, Sebastien Risso <sebastien.risso@wanadooportails.com>, Philippe Teuwen <phil@teuwen.org>, Sebastien Dinot <sebastien.dinot@c-s.fr>, Martin Gollowitzer <gollo@fsfe.org>, Samuel Hym <samuel.hym@gmail.com>, Debian X Strike Force <debian-x@lists.debian.org>, 554450@bugs.debian.org
- Subject: Re: xorg-server fix for Gamma crashes when screensaver starts
- From: Keith Packard <keithp@keithp.com>
- Date: Fri, 26 Feb 2010 08:31:35 -0800
- Message-id: <[🔎] yunsk8onel4.fsf@aiko.keithp.com>
- In-reply-to: <[🔎] 20100226082323.GB16847@pengutronix.de>
- References: <[🔎] 4B8704C2.50301@ens-lyon.org> <[🔎] 20100226082323.GB16847@pengutronix.de>
On Fri, 26 Feb 2010 09:23:23 +0100, Uwe Kleine-König <u.kleine-koenig@pengutronix.de> wrote:
> The Symptoms for me are that if gnome-screensaver locks the screen
> X reproducibly segfaults. But if I changed once to another console and
> back (i.e. press Ctrl+Alt+F1, Alt+F7) the problems are gone and
> gnome-screensaver can lock the screen just fine.
I think the issue here is that the 'compat_output' points at something
which doesn't have a crtc associated, and that switching the VT causes
that to be re-computed and set to something which will work.
> So checking for crtc being NULL is right, but AFAICT it shouldn't be
> NULL before the console switch in the first place.
Depends on what compat_output got set to.
Please give it a try.
--
keith.packard@intel.com
Attachment:
pgp1pOE5RE6TW.pgp
Description: PGP signature
Reply to: