Bug#417529: libgtk2.0-0: GDK segfaults if XineramaQueryScreens fails
Loïc Minier
lool at dooz.org
Tue Apr 3 13:58:42 UTC 2007
Simon,
On Tue, Apr 03, 2007, Simon McVittie wrote:
> This can sometimes be provoked by using the X server and i810 driver from
> experimental, together with the XRandR 1.2 extension. It often seems to
> happen when I go from VGA-out + laptop screen to just the laptop, but isn't
> completely reproducible. I don't think I've ever seen it happen in other
> mode changes. I'm going to investigate the XRandR Xinerama implementation
> next - it's possible that there's a brief period of time in which no screens
> exist, and the XineramaQueryScreens failure is because GDK is unlucky
> enough to query it at precisely the wrong time.
>
> This could also be considered a flaw in XineramaQueryScreens, that it
> should write 0 out to num_monitors if no monitors are found. Since it
> doesn't appear to come with any documentation, it's anyone's guess what
> the error behaviour is meant to be.
I've committed your fix upstream and would appreciate if you could
report the XineramaQueryScreens() flaw upstream or against the
corresponding Debian package which you think is the source of the bug.
I can clone the bug for you if you tell me which package is presumably
responsible for returning 0 in num_monitors.
Thanks,
--
Loïc Minier
More information about the pkg-gnome-maintainers
mailing list