16 May
2006
16 May
'06
4:56 p.m.
On Tue, 16 May 2006, Rob Shepherd wrote:
Please tell me how to produce a backtrace if one is needed if this is an actual bug.....
Hi, First, make sure that:
mail_drop_priv_before_exec = yes
is set in your dovecot.conf file so you get core dumps. If you have one, maybe you did this already. Then do a "file core" to find out what process caused the core, eg imap.
What I do is move the core file to the same directory as the executable, and run gdb:
gdb imap core backtrace
following by further poking around with gdb. I compile dovecot with gcc, but the idea is the same.
Jeff Earickson Colby College