amd64/101248: vi(1) can crash in ncurses(3) on amd64

Yar Tikhiy yar at comp.chem.msu.su
Wed Aug 2 09:40:17 UTC 2006


The following reply was made to PR amd64/101248; it has been noted by GNATS.

From: Yar Tikhiy <yar at comp.chem.msu.su>
To: Roland Smith <rsmith at xs4all.nl>
Cc: FreeBSD-gnats-submit at freebsd.org
Subject: Re: amd64/101248: vi(1) can crash in ncurses(3) on amd64
Date: Wed, 2 Aug 2006 13:37:42 +0400

 On Wed, Aug 02, 2006 at 11:27:05AM +0200, Roland Smith wrote:
 > On Wed, Aug 02, 2006 at 08:50:47AM +0000, Yar Tikhiy wrote:
 > 
 > I could not reproduce this crash on 6-STABLE amd64 (FreeBSD slackbox.xs4all.nl 6.1-STABLE FreeBSD 6.1-STABLE #0: Tue May  9 22:46:51 CEST 2006     rsmith at slackbox.xs4all.nl:/usr/obj/usr/src/sys/RFS  amd64):
 
 Indeed, this problem doesn't manifest itself in STABLE -- I forgot
 to tell this.  Thanks for adding this to the audit trail!
 
 > slackbox:~$ yes | head -100 > 100.txt
 > slackbox:~$ nvi +101 100.txt 
 > 
 > -c option, 1: Illegal address: only 100 lines in the file
 > Press Enter to continue: 
 > 
 > Note that this is the standard nvi, not a debugging version.
 
 /usr/bin/vi crashes, too, when the problem is there, i.e., in CURRENT.
 I used a debugging version just to make the stack trace look more
 clear.
 
 -- 
 Yar


More information about the freebsd-amd64 mailing list