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 pointer that points beyond the memory in the system. This is a common occurence in (buggy or in-development) C and C++ programs. If you look at 'man kill" you will see the signal SEGV (aka SIGSEGV) defined. If you want a process to get a segmentation fault, "kill -SEGV <pid>" will do it. HTH, -D -- In my Father's house are many rooms; if it were not so, I would have told you. I am going there to prepare a place for you. And if I go and prepare a place for you, I will come and take you to be with me that you also may be where I am. John 14:2-3