From 64a2b7aaa303be0b407508747bfc96c1c656f1e2 Mon Sep 17 00:00:00 2001 From: Mike Crute Date: Thu, 12 Jan 2023 17:40:53 +0100 Subject: Log message before aborting Log message before aborting due to watchdog timeout. We have to use async-safe write to debug log, as it is done in signal handler. Minor changes from committer. --- sysdep/unix/io.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sysdep/unix/io.c') diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c index 810e782d..e131ca41 100644 --- a/sysdep/unix/io.c +++ b/sysdep/unix/io.c @@ -2128,6 +2128,8 @@ watchdog_sigalrm(int sig UNUSED) config->latency_limit = 0xffffffff; io_update_time(); + debug_safe("Watchdog timer timed out\n"); + /* We want core dump */ abort(); } -- cgit v1.2.3