Subject: Re: Segmentation fault
To: None <tech-userlevel@netbsd.org>
From: Ignatios Souvatzis <is@beverly.kleinbus.org>
List: tech-userlevel
Date: 09/27/2000 19:29:00
On Wed, Sep 27, 2000 at 08:21:38AM +0200, Lucio De Re wrote:
> I explained a couple of days ago that I could get a program to execute
> correctly only after running it once under gdb.  Otherwise, I got
> "Segmentation fault" errors without fail.

I didn't follow closely... if you have source to the program, could you link
it with electric_fence, please (both ways)? This catches out-of-malloc-accesses
very effectively.

Regards,
	-is