Re: What causes segmentation faults?

2001-12-18 Thread Vineet Kumar
* Seneca Cunningham ([EMAIL PROTECTED]) [011218 18:59]: > [what causes segmentation faults?] The short answer is: "a bug in the program." A correctly-written program should never die with a segmentation violation. If you're just a user, and not a programmer, that's probab

Re: What causes segmentation faults?

2001-12-18 Thread dman
On Tue, Dec 18, 2001 at 09:59:19PM -0500, Seneca Cunningham wrote: [what causes a segmentation fault] A segmentation fault (also called a seg fault, or SEGV) occurs when a program tries to access memory it is not allowed to access. For example dereferencing a null pointer, or dereferencing a poin

What causes segmentation faults?

2001-12-18 Thread Seneca Cunningham
On my machine, two or three different programs have given me segmentation faults. The two that I remember are Enlightenment and bwBASIC. The segmentation fault in Enlightenment only happened once, and Enlightenment was removed soon thereafter. In bwBASIC, however, I was able to reproduce the fault