Re: [exim] Calling gdb from a transport?

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Marcus Barczak
Datum:  
To: exim-users
Betreff: 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