When receiving critical signals, additionally log backtraces to syslog/files
[strongswan.git] / src / charon / charon.c
index f4bd27d..812b762 100644 (file)
@@ -175,6 +175,7 @@ static void segv_handler(int signal)
 
        DBG1(DBG_DMN, "thread %u received %d", thread_current_id(), signal);
        backtrace = backtrace_create(2);
+       backtrace->log(backtrace, NULL, TRUE);
        backtrace->log(backtrace, stderr, TRUE);
        backtrace->destroy(backtrace);