A segmentation fault is the kernel telling you that your process touched memory it does not own. It is not a mystery, and it is not something you should chase with scattered printf calls. With three tools that are already on almost every Linux box (GDB, core dumps and...








