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

Roland Smith rsmith at
Wed Aug 2 09:30:27 UTC 2006

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

From: Roland Smith <rsmith at>
To: Yar Tikhiy <yar at>
Cc: FreeBSD-gnats-submit at
Subject: Re: amd64/101248: vi(1) can crash in ncurses(3) on amd64
Date: Wed, 2 Aug 2006 11:27:05 +0200

 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 On Wed, Aug 02, 2006 at 08:50:47AM +0000, Yar Tikhiy wrote:
 > >Number:         101248
 > >Category:       amd64
 > >Synopsis:       vi(1) can crash in ncurses(3) on amd64
 > >Environment:
 > System: FreeBSD 7.0-CURRENT FreeBSD 7.0-CURRENT #741: =
 Tue Aug 1 14:17:00 UTC 2006 root at
 e/SLEDGE amd64
 > >How-To-Repeat:
 > 	In the following typescript, vi(1) was built with debugging symbols.
 > -bash-2.05b$ yes | head -100 > 100.txt
 > -bash-2.05b$ ./nvi +101 100.txt
 I could not reproduce this crash on 6-STABLE amd64 (FreeBSD slackbox.xs4all=
 =2Enl 6.1-STABLE FreeBSD 6.1-STABLE #0: Tue May  9 22:46:51 CEST 2006     r=
 smith at  amd64):
 slackbox:~$ yes | head -100 > 100.txt
 slackbox:~$ nvi +101 100.txt=20
 -c option, 1: Illegal address: only 100 lines in the file
 Press Enter to continue:=20
 Note that this is the standard nvi, not a debugging version.
 [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
 pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 Version: GnuPG v1.4.5 (FreeBSD)

More information about the freebsd-amd64 mailing list