When I get a "segmentation fault (core dumped)" error in a program, generally what should I guess happened and practically how do I find out further what is going wrong? What is the worst thing that can happen while debugging a programming error?