From: Jens Axboe Date: Wed, 7 Feb 2007 12:55:38 +0000 (+0100) Subject: [PATCH] Remove SIGSEGV handler X-Git-Tag: fio-1.12~126 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=97b601c1ef3520e87e26fe2eea2446076ae1eab3 [PATCH] Remove SIGSEGV handler We don't catch segfaults anymore, so remove that bit from the signal handler. Signed-off-by: Jens Axboe --- diff --git a/fio.c b/fio.c index 127314e3..355c9d4e 100644 --- a/fio.c +++ b/fio.c @@ -82,11 +82,6 @@ static void sig_handler(int sig) disk_util_timer_arm(); print_thread_status(); break; - case SIGSEGV: - fprintf(stderr, "fio: got segfault, aborting\n"); - terminate_threads(TERMINATE_ALL, 1); - fio_abort = 1; - exit(0); default: printf("\nfio: terminating on signal %d\n", sig); fflush(stdout);