You can catch most of the unhandled exceptions by registering an NSUncaughtExceptionHandler in your application delta.
Similarly, you can capture most of the signals using sigaction or signal
As you can see in both links above, you cannot catch signals like SIGKILL and SIGSTOP.
try to analyze your code for any possible reasons causing these signals.
source share