I tried Dovecot 1.2.beta1 yesterday. I had been using 1.1.11. I started getting "Panic: POP3(xxx): Trying to allocate 0 bytes"
There are two kinds of pop3 users. In the attached log.txt file, user u1 is using a pop3 MUA. For users u2, u3, u4 and u5 fetchmail is coming through an ssh tunnel and retrieving their mail. u1 is able to interact normally with dovecot, but the fetchmail users encountered the panics in the log. dovecot -n is attached as dovecot-n.txt. At first I thought it was a locking issue as .lock files were being left behind, so I changed pop3_lock_session to no, and restarted dovecot, but this didn't help so I reverted to 2.1.11. -- Mark Sapiro <m...@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Feb 10 17:31:52 sbh16 dovecot: Dovecot v1.2.beta1 starting up (core dumps disabled) Feb 10 17:32:35 sbh16 dovecot: pop3-login: Login: user=<u1>, method=APOP, rip=68.183.193.239, lip=72.52.113.16, TLS Feb 10 17:32:35 sbh16 dovecot: POP3(u1): Disconnected: Logged out top=0/0, retr=1/5832, del=0/285, size=5554299 Feb 10 17:32:36 sbh16 dovecot: pop3-login: Login: user=<u1>, method=APOP, rip=68.183.193.239, lip=72.52.113.16, TLS Feb 10 17:32:36 sbh16 dovecot: POP3(u1): Disconnected: Logged out top=0/0, retr=0/0, del=0/285, size=5554299 Feb 10 17:35:38 sbh16 dovecot: Panic: POP3(u2): Trying to allocate 0 bytes Feb 10 17:35:38 sbh16 dovecot: pop3-login: Login: user=<u2>, method=PLAIN, rip=72.52.113.36, lip=72.52.113.36, secured Feb 10 17:35:38 sbh16 dovecot: POP3(u2): Raw backtrace: pop3 [0x80d72e0] -> pop3 [0x80d733a] -> pop3 [0x80d6c3c] -> pop3 [0x80e14b8] -> pop3(i_malloc+0x1b) [0x80db9eb] -> pop3(client_create+0x56a) [0x805c6da] -> pop3(main+0x410) [0x805e2c0] -> /lib/libc.so.6(__libc_start_main+0xdc) [0x4614cdec] -> pop3 [0x805b921] Feb 10 17:35:38 sbh16 dovecot: child 21405 (pop3) killed with signal 6 Feb 10 17:35:39 sbh16 dovecot: pop3-login: Login: user=<u3>, method=PLAIN, rip=72.52.113.36, lip=72.52.113.36, secured Feb 10 17:35:39 sbh16 dovecot: Panic: POP3(u3): Trying to allocate 0 bytes Feb 10 17:35:39 sbh16 dovecot: POP3(u3): Raw backtrace: pop3 [0x80d72e0] -> pop3 [0x80d733a] -> pop3 [0x80d6c3c] -> pop3 [0x80e14b8] -> pop3(i_malloc+0x1b) [0x80db9eb] -> pop3(client_create+0x56a) [0x805c6da] -> pop3(main+0x410) [0x805e2c0] -> /lib/libc.so.6(__libc_start_main+0xdc) [0x4614cdec] -> pop3 [0x805b921] Feb 10 17:35:39 sbh16 dovecot: child 21406 (pop3) killed with signal 6 Feb 10 17:35:39 sbh16 dovecot: pop3-login: Login: user=<u4>, method=PLAIN, rip=72.52.113.36, lip=72.52.113.36, secured Feb 10 17:35:39 sbh16 dovecot: Panic: POP3(u4): Trying to allocate 0 bytes Feb 10 17:35:39 sbh16 dovecot: POP3(u4): Raw backtrace: pop3 [0x80d72e0] -> pop3 [0x80d733a] -> pop3 [0x80d6c3c] -> pop3 [0x80e14b8] -> pop3(i_malloc+0x1b) [0x80db9eb] -> pop3(client_create+0x56a) [0x805c6da] -> pop3(main+0x410) [0x805e2c0] -> /lib/libc.so.6(__libc_start_main+0xdc) [0x4614cdec] -> pop3 [0x805b921] Feb 10 17:35:39 sbh16 dovecot: child 21407 (pop3) killed with signal 6 Feb 10 17:35:39 sbh16 dovecot: pop3-login: Login: user=<u5>, method=PLAIN, rip=72.52.113.36, lip=72.52.113.36, secured Feb 10 17:35:39 sbh16 dovecot: Panic: POP3(u5): Trying to allocate 0 bytes Feb 10 17:35:39 sbh16 dovecot: POP3(u5): Raw backtrace: pop3 [0x80d72e0] -> pop3 [0x80d733a] -> pop3 [0x80d6c3c] -> pop3 [0x80e14b8] -> pop3(i_malloc+0x1b) [0x80db9eb] -> pop3(client_create+0x56a) [0x805c6da] -> pop3(main+0x410) [0x805e2c0] -> /lib/libc.so.6(__libc_start_main+0xdc) [0x4614cdec] -> pop3 [0x805b921] Feb 10 17:35:39 sbh16 dovecot: child 21414 (pop3) killed with signal 6 Feb 10 17:37:36 sbh16 dovecot: pop3-login: Login: user=<u1>, method=APOP, rip=68.183.193.239, lip=72.52.113.16, TLS
# 1.2.beta1: /usr/local/etc/dovecot.conf # OS: Linux 2.6.18-8.1.14.el5 i686 CentOS release 5 (Final) ext3 protocols: pop3 pop3s ssl_cert_file: /etc/postfix/grizz-cert.pem ssl_key_file: /etc/postfix/grizz-key.pem login_dir: /usr/local/var/run/dovecot/login login_executable: /usr/local/libexec/dovecot/pop3-login mail_access_groups: mail mail_location: /var/spool/mail/%u mbox_write_locks: fcntl dotlock mail_executable: /usr/local/libexec/dovecot/pop3 mail_plugin_dir: /usr/local/lib/dovecot/pop3 pop3_lock_session: yes auth default: mechanisms: plain apop login worker_max_count: 5 passdb: driver: passwd-file args: /usr/local/etc/dovecot.passwd passdb: driver: pam userdb: driver: passwd socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix