Subject: Re: lib/36702: vi crashes on window resizes due to bug in curses
To: None <lib-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Eric Haszlakiewicz <erh@swapsimple.com>
List: netbsd-bugs
Date: 08/03/2007 19:20:05
The following reply was made to PR lib/36702; it has been noted by GNATS.

From: Eric Haszlakiewicz <erh@swapsimple.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: lib/36702: vi crashes on window resizes due to bug in curses
Date: Fri, 3 Aug 2007 14:17:47 -0500

 On Thu, Aug 02, 2007 at 01:35:02PM +0000, Julian Coleman wrote:
 > The following reply was made to PR lib/36702; it has been noted by GNATS.
 > 
 > From: Julian Coleman <jdc@coris.org.uk>
 > To: gnats-bugs@NetBSD.org, erh@swapsimple.com
 > Cc: 
 > Subject: Re: lib/36702: vi crashes on window resizes due to bug in curses
 > Date: Thu, 2 Aug 2007 14:33:45 +0100
 > 
 >  I think I know the problem - it looks like LINES and COLS being changed
 >  between wresize() calls in tstp.c:__restartwin().  Can you try the attached
 >  patch, please?
 
 Well, it doesn't crash, but I can't get it to crash without the patch either.
 (I did, however, get xterm to crash a few times.  It appears to not like
 having the bottom edge of the window quickly moved above the top edge :) )
 I'll try again when my machine is a bit more heavily loaded, but so far, 
 so good.
 
 eric