Subject: Re: vi core dump when dynamically linked.
To: Peter Seebach <seebs@plethora.net>
From: Simon Burge <simonb@netbsd.org>
List: port-alpha
Date: 07/10/2000 02:25:08
Peter Seebach wrote:

> In message <200006301610.CAA25080@balrog.supp.cpr.itg.telecom.com.au>, Simon Bu
> rge writes:
> >I've got a particular file that when I edit with vi and
> >type
> >
> >	/^Xad^J
> >
> >I get a core dump that gdb doesn't grok (Hit heuristic-fence-post
> >...). If I run from gdb, I get a stack trace that just loops on three
> >functions.  If I link vi statically, it works fine.
> >
> >Any ideas on where to start looking?
> 
> Can you reproduce it on anything but NetBSD-alpha?

I've reduced it to an unsigned char issue in the regex library.  So at
least nvi is off the hook :-)

Simon.