From eserte@cs.tu-berlin.de  Wed Oct  7 15:55:06 1998
Received: from mail.cs.tu-berlin.de (mail.cs.tu-berlin.de [130.149.17.13])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA14384
          for <FreeBSD-gnats-submit@freebsd.org>; Wed, 7 Oct 1998 15:54:59 -0700 (PDT)
          (envelope-from eserte@cs.tu-berlin.de)
Received: (from eserte@localhost)
	by mail.cs.tu-berlin.de (8.9.1/8.9.1) id AAA22136;
	Thu, 8 Oct 1998 00:50:01 +0200 (MET DST)
Received: (from eserte@localhost) by cabulja.herceg.de (8.8.8/8.6.12) id AAA04997; Thu, 8 Oct 1998 00:30:57 +0200 (CEST)
Message-Id: <199810072230.AAA04997@cabulja.herceg.de>
Date: Thu, 8 Oct 1998 00:30:57 +0200 (CEST)
From: Slaven Rezic <eserte@cs.tu-berlin.de>
Reply-To: eserte@cs.tu-berlin.de
To: FreeBSD-gnats-submit@freebsd.org
Subject: ee dumps core on window resize
X-Send-Pr-Version: 3.2

>Number:         8195
>Category:       bin
>Synopsis:       ee dumps core on window resize
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct  7 16:00:00 PDT 1998
>Closed-Date:    Sun Jun 4 13:32:58 PDT 2000
>Last-Modified:  Sun Jun 04 13:34:09 PDT 2000
>Originator:     Slaven Rezic
>Release:        FreeBSD 2.2.7-RELEASE i386
>Organization:
Private FreeBSD site, Berlin, Germany
>Environment:

	LANG=de_DE.ISO8859-1
	XFree86 3.3.2
	The same error also occurs with 2.2.6

>Description:

	ee segfaults if the window is resized.

>How-To-Repeat:

	Run ee in a xterm window. Resize the window by one row. Hit
	cursor up --- ee quits with a segmentation fault.

>Fix:
	
	From a quick look with gdb, it seems that ncurses only set
	`LINES' and `COLUMNS' on a resize, but not `lines' and
	`columns'. I tried to fix this problem, but then there was
	a segfault in another line. So I leave it to you curses
	experts. Maybe there is a newer ncurses version with this bug
	fixed? 


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: nrahlstr 
State-Changed-When: Sun Jun 4 13:32:58 PDT 2000 
State-Changed-Why:  
I was unable to reproduce this problem.  If it is still a problem  
we can re-open this PR. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=8195 
>Unformatted:
