Adding SIGSEV catching