Sorry, I'm tired as anything. I don't know why I keep doing my gdb's wrong. I'm usually NO WHERE near this bad. I'll fix it and get back to you.
On Thu, 18 Aug 2005, Timo Sirainen wrote:
On 18.8.2005, at 20:23, Matt Juszczak wrote:
pid 91923 (pop3), uid 25039: exited on signal 6
What about the error message why it dies? Dovecot writes to logs the reason why it kills itself when it dies with signal 6.
Debugging these require that you get a core dump to the user's home directory (Dovecot logs show what user's process crashed). Setting mail_drop_priv_before_exec = yes in config file hopefully does that. Then you'll need to get a backtrace from it against pop3 binary.
pid 653 (dovecot-auth), uid 0: exited on signal 6 (core dumped)
Also dovecot-auth writes the reason why it crashes to log file.
orion# gdb /usr/local/libexec/dovecot/imap dovecot-auth.core
Sorry, wrong again :) dovecot-auth binary against dovecot-auth.core file. pop3 binary against core files created by pop3.
Also your previous backtrace for dovecot-auth was somewhat broken too.. Probably because the binaries were stripped. Did you use some binary package or compile by hand? Those backtraces would be a lot better if the debugging info wasn't stripped away..