Subject: Re: Segmentation fault
To: None <tech-userlevel@netbsd.org>
From: Martin J. Laubach <mjl@nospam.office.emsi.priv.at>
List: tech-userlevel
Date: 09/27/2000 12:24:18
| 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.
| [..] 
| Would the UVM be involved in this?

  Very unlikely. 

  Much more probable is that running the program under gdb just
arranges memory differently, and you don't crash _out of sheer luck_.
It is still overwriting some innocent memory somewhere.

	mjl