Re: [exim] Calling gdb from a transport?

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Marcus Barczak
Dátum:  
Címzett: exim-users
Tárgy: 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