         signal(SIGSEGV, handleSignal)
         signal(SIGSYS, handleSignal)
         signal(SIGPIPE, handleSignal)
+        signal(SIGTRAP, handleSignal)
     }
 
     static func unregister() {

        signal(SIGSEGV, SIG_DFL)
        signal(SIGSYS, SIG_DFL)
        signal(SIGPIPE, SIG_DFL)
    }

    static func addCrash(name: String, reason: String?) {

        LoggerCrash.addCrash(name: "SIGSYS", reason: nil)
    case SIGPIPE:
        LoggerCrash.addCrash(name: "SIGPIPE", reason: nil)
    case SIGTRAP:
        LoggerCrash.addCrash(name: "SIGTRAP", reason: nil)
    default: break
    }
}
