Re: How do I get a coredump file from an application?

From: Kurt Hackenberg <kh_at_panix.com>
Date: Tue, 05 Oct 2021 19:55:14 UTC
On 2021/10/04 03:44, Odhiambo Washington wrote:

> I have my MTA (Exim) crushing, with the following message in its panic.log:
> 
> 2021-10-01 04:10:58 SIGSEGV (maybe attempt to write to immutable memory)
> 2021-10-01 04:11:26 SIGSEGV (maybe attempt to write to immutable memory)
> 2021-10-01 04:11:30 SIGSEGV (maybe attempt to write to immutable memory)
> 2021-10-01 04:11:35 SIGSEGV (maybe attempt to write to immutable memory)
> 
> I need to obtain a coredump file from the crashing process for debugging
> purposes.

Is that a file named "panic.log" that's written by Exim itself?

The default action for SIGSEGV is for the kernel to write the coredump 
file and end the process. If Exim receives that signal, logs it, and 
keeps running, Exim must handle the signal itself.

Have you checked Exim's documentation about this?