Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site drivax.UUCP
Path: utzoo!linus!decvax!tektronix!hplabs!amdahl!drivax!alan
From: alan@drivax.UUCP (Alan Fargusson)
Newsgroups: net.bugs.usg
Subject: Re: VI dumps core for no reason
Message-ID: <207@drivax.UUCP>
Date: Thu, 15-Aug-85 16:42:01 EDT
Article-I.D.: drivax.207
Posted: Thu Aug 15 16:42:01 1985
Date-Received: Mon, 19-Aug-85 22:14:52 EDT
References: <106@rruxu.UUCP>
Organization: Digital Research, Monterey, CA
Lines: 17

> Has anyone out there encountered problems with VI and certain terminals
> that cause VI to dump core? I use an HP 2392A, and on occasion (this
> is one of those nasty intermittent bugs) when I invoke VI, as soon as I'm
> in and type any character, I get the "memory fault - core dumped"
> message we all know and love and VI quits.

Yes, I have seen VI dump core. We had lots of problems dumping core on the 
286 when we were porting it. There is a lot of questionable code in VI in
the area of memory allocation, and there a several places where it dereferences
NULL (contents are zero) pointers. This works most of the time on a VAX, but
never on a 286. I didn't port it, and I don't know exactly where to look to
fix it.
-- 

Alan Fargusson.

{ ihnp4, amdahl, mot }!drivax!alan