Hi, I'm the one who filed this bug.

Sorry for the late reply; my laptop (the machine I encountered this
problem on) is a bit defunct, so I spent some time resurrecting it, and
installing Etch on it.

On Wed, Jun 20, 2007 at 08:45:52PM +0200, Brice Goglin wrote:
> About 2 years ago, you reported a bug to the Debian BTS regarding a
> crash of the X server when resizing a XV window on an ATI board. Did you
> reproduce this problem recently? With Xorg/Etch? With latest
> xserver-xorg-core and drivers? If not, I will close this bug in the next
> weeks.

I installed Debian Etch on it, and I was able to reproduce the crash
just like two years ago.

I also tried out Sergey's patch, but it still crashed on me. I did some
more experimenting; MPlayer allows resizing the window without keeping
the correct aspect ratio (at least, in the WM I tested with), but it
will not allow resizing to smaller than either 4 pixels horizontal or 4
pixels vertical.

When I reduce the width of the MPlayer window, Xorg won't crash, even at
4 pixels wide. But when I reduce the height of the MPlayer window, Xorg
will crash (with a SIGFPE, as always) as soon as I get below 16 pixels.

So I changed Sergey's lines to:

    if (DstW < 16 || DstH < 16)
        return BadValue;

And then I couldn't get Xorg to crash anymore (but obviously MPlayer
would crash with a BadValue error).

I have no idea why Xorg crashes for me on XV windows less than 16 pixels
high :/


Marcel Moreaux <[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to