Re: segmentation fault




"John Doe" <jdoe@xxxxxxxxxxx> wrote in message
news:1jcrf.36257$XJ5.4434@xxxxxxxxxxxxxxxxxxxxxxx
> Mr Hrundi V Bakshi wrote:
>
> >What's a segmentation fault? Is it a geo event?, a holiday thingy, or
> >you're Cosine Cheng?
> >
> >
> >
> It does seem a rather non-descriptive error message to me. Why don't
> they just spit out a "something bad happened in your program" message.
>
>

In the Wonderland of Windows, the term 'segmentation fault' is foreign and
meaningless: there it's a programmer's fault. Fortran is ostensibly OS
neutral and BION, the term 'segmentation fault' means squat!

Anyways, it usually means that an error on your part has caused the OS to
loosen its bowels and is often, but not exclusively the result of
attempting to access memory that's not in your processes' namespace. It's
indicative of ones' less than perfect command of the program at hand, by no
means the end of the world, happens to everyone, including moi, but sure
beats constipation, IMNHO.

Step through your program via a debugger and double check any unwitting
assumptions on your part.

--
Good luck,
Hrundi V.B.




.