VI dumps core for no reason

Alan Fargusson alan at drivax.UUCP
Fri Aug 16 06:42:01 AEST 1985


> 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



More information about the Net.bugs.usg mailing list