On Tue, 2003-04-15 at 15:43, Warren Togami wrote:
Simultaneously this appears in my /var/log/maillog: Apr 15 01:44:50 server dovecot: child 20328 (imap) killed with signal 11
If I attempt to keep reading mail, it logs in again to dovecot and works normally until I attempt to read that spam again. Evolution displays the error popup again though I don't see another signal 11 in maillog. After this point I am unable to log back into dovecot without restarting the daemon.
OK, thanks, fixed. Dovecot crashed with "FETCH nnn BODY[n.MIME]", so pretty much any multipart mail crashed with Evolution.
Here's the strange part... I browsed the same IMAP folder from KMail, and kmail has no problem reading that spam message. dovecot's [imap] process does not segmentation fault.
KMail doesn't fetch MIME headers separately. I think it fetches whole message at once.
Bug #3 kernel?
This is an unrelated bug and perhaps not the fault of dovecot. When I attempted to use strace to get some debugging info on the [imap] process, this happened:
[root@server /]# strace -p 20486 trace: ptrace(PTRACE_SYSCALL, ...): Operation not permitted detach: ptrace(PTRACE_DETACH, ...): Operation not permitted [root@server /]#
I have no problem stracing. I don't think Dovecot does anything that should prevent it. Or, well, it might be because it's thought of as setuid process, but root should be able to strace it.