Aborting a core dump on a fatal signal

From: Raymond Jennings
Date: Mon Sep 25 2017 - 07:10:37 EST


Would there be any benefit to allowing an in-progress core dump to be
aborted if the dumping process receives a fatal signal?

Example:

Process segfaults, starts dumping core, but it has a lot of virtual
memory allocated so it promptly leads to a queue-clogging deluge of I/O
that takes in some cases several minutes to finish.

In between the time where it snags the crash signal and the time when
it finishes dumping and terminates, I'd like to be able to send it a
SIGKILL or something to abort the core dump.