Adding segfault handler to diagnose weird SIGSEGV problem on Codeship.