Thales interview question

How do you solve segmentation fault problems?