Apple interview question

How do you debug segmentation fault?

Interview Answer

Anonymous

6 Mar 2019

Segmentation fault is usually caused by accessing nonallocated memory; use gdb and backtrace