C Debugging and Debug-prevention Tools Techniques
Static analysis
Segfault analysis with GDB
Clean code
Safe-stack Stack corruptions
My C program ends with segfault - valgrind