[Dovecot] assertion with outlook

Guenther Sommer gue at rettung.at
Mon Jan 7 23:53:26 EET 2008


i saw two crashes in my syslog with dovecot, and google did not report 
any known problems. i have no problems using dovecot, thus bugreport is 
just for information.

following information:
ubuntu gutsy gibbon server
amd64
ext3

outlook 2003 & 2007, just retrieving mails. mails have been migrated via 
imapsync 2 days before to this server. dovecot is imap-server and LDA.

has been seen with two different users, following syslog entries:

Jan  7 18:27:01 siege dovecot: IMAP(userA): file strfuncs.c: line 165 
(p_strndup): assertion failed: (max_chars != (size_t)-1)
Jan  7 18:27:01 siege dovecot: IMAP(userA): Raw backtrace: imap 
[0x46372e] -> imap [0x46349c] -> imap(t_strndup+0) [0x470cf0] -> 
imap(cmd_create+0xd1) [0x4142c1] -> imap [0x4178f7] -> imap [0x417989] 
-> imap(_client_input+0x6d) [0x417fbd] -> 
imap(io_loop_handler_run+0x101) [0x468e61] -> imap(io_loop_run+0x18) 
[0x467f28] -> imap(main+0x3f2) [0x41f6c2] -> 
/lib/libc.so.6(__libc_start_main+0xf4) [0x2b974f225b44] -> imap [0x4132e9]
Jan  7 18:27:01 siege dovecot: child 27443 (imap) killed with signal 6

Jan  7 18:35:36 siege dovecot: IMAP(userB): file strfuncs.c: line 165 
(p_strndup): assertion failed: (max_chars != (size_t)-1)
Jan  7 18:35:36 siege dovecot: IMAP(userB): Raw backtrace: imap 
[0x46372e] -> imap [0x46349c] -> imap(t_strndup+0) [0x470cf0] -> 
imap(cmd_create+0xd1) [0x4142c1] -> imap [0x4178f7] -> imap [0x417989] 
-> imap(_client_input+0x6d) [0x417fbd] -> 
imap(io_loop_handler_run+0x101) [0x468e61] -> imap(io_loop_run+0x18) 
[0x467f28] -> imap(main+0x3f2) [0x41f6c2] -> 
/lib/libc.so.6(__libc_start_main+0xf4) [0x2ad667dfeb44] -> imap [0x4132e9]
Jan  7 18:35:36 siege dovecot: child 27902 (imap) killed with signal 6

user authentifaction is done against local unix users.

# 1.0.5: /etc/dovecot/dovecot.conf
log_timestamp: %Y-%m-%d %H:%M:%S
ssl_cert_file: /etc/ssl/certs/mail.pem
ssl_key_file: /etc/ssl/private/mail.key
login_dir: /var/run/dovecot/login
login_executable: /usr/lib/dovecot/imap-login
mail_extra_groups: mail
mail_location: maildir:~/Maildir
imap_client_workarounds: outlook-idle netscape-eoh tb-extra-mailbox-sep
namespace:
   type: private
   prefix: INBOX.
   inbox: yes
auth default:
   passdb:
     driver: pam
   userdb:
     driver: passwd
   socket:
     type: listen
     client:
       path: /var/spool/postfix/private/auth
       mode: 432
       user: postfix
       group: postfix


with kind regards, guenther sommer.


More information about the dovecot mailing list