What causes a SIGSEGV

Wikipedia has the answer, along with a number of other sources. A segfault basically means you did something bad with pointers. This is probably a segfault: char *c = NULL; … *c; // dereferencing a NULL pointer Or this: char *c = “Hello”; … c[10] = ‘z’; // out of bounds, or in this case, … Read more