Look for one of the following possible causes of Segmentation Fault:
# buffer overflow
# using uninitialized pointers
# dereference NULL pointers
# attempt to access memory the program does not own
# attempt to alter memory the program does not own