Subject: bin/2613: vi(1) dumps core
To: None <gnats-bugs@NetBSD.ORG>
From: None <tage@ACM.org>
List: netbsd-bugs
Date: 07/10/1996 01:40:41
>Number: 2613
>Category: bin
>Synopsis: vi(1) dumps core at :ta
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jul 10 04:20:01 1996
>Last-Modified:
>Originator: Tage Stabell-Kulo
>Organization:
//// Tage Stabell-Kuloe | e-mail: Tage@ACM.org ////
/// Department of Computer Science/IMR | Phone : +47-776-44032 ///
// 9037 University of Tromsoe, Norway | Fax : +47-776-44580 //
/ "'oe' is '\o' in TeX" | URL:http://www.cs.uit.no/~tage/
>Release: 1.2_ALPHA
>Environment:
System: NetBSD tagenb 1.2_ALPHA NetBSD 1.2_ALPHA (TAGENB) #1: Tue Jun 25 16:29:31 MET DST 1996 tage@tagenb:/usr/src/sys/arch/i386/compile/TAGENB i386
>Description:
Sometimes, when using vi with a large tags-file, vi dumps core when asked
(by means of :ta) to jump from a modified file to a tag in a non-loaded file.
This is what is left on the screen:
Segmentation fault (core dumped)e write; write or use ! to override
One can see that vi first wrote
File modified since last complete write; write or use ! to override
then dumped core.
I am sorry to repeat: sometimes; it seems to depend on the contents of the
tags-file, but it might also be the size of it.
>How-To-Repeat:
ctags *.[ch] in a large directory
vi main.c
[ edit the file ]
:ta foo
(where foo is a valid tag)
>Fix:
>Audit-Trail:
>Unformatted: