Re: [exim] Calling gdb from a transport?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Marcus Barczak
Date:  
À: exim-users
Sujet: Re: [exim] Calling gdb from a transport?
On 11/08/2006, at 11:37 PM, Gareth Hastings wrote:

> If I had a problem with a program that kept segfaulting and I was
> calling it in a transport. Would it be possible to somehow setup the
> transport to run gdb on the program capturing a backtrace?
>
> Any ideas?


If you enable core dumping (ie. don't have a 'limit coredumpsize=0'
set*) you can run gdb on the core file and backtrace from there to
see what caused the segfault.

Cheers,
Marcus

* checkout the 'limits' command