08-11-2009, 04:24 PM
|
#14 (permalink)
|
|
The Prestige
Join Date: Oct 2007
Location: Manchester, UK
Posts: 854
Thanks: 32
|
Well a segfault is when your program tries to access an area of memory out of the area of memory assigned to it, the kernel throws a wobbler and throws a segmentation fault.
If you ran an infinite recursive program eventually you would probably run out of stack space, thus get a segfault. I've not tried it (for obvious reasons).
The classic cause of a segfaults is de-referencing a null pointer, amongst other things.
__________________
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
|
|
|
|