[Dovecot] bug uni_utf8_str_is_valid(vname)

Jernej Porenta jernej.porenta at arnes.si
Mon Mar 19 15:27:06 EET 2012


On Mar 19, 2012, at 10:58 AM, Jernej Porenta wrote:

> Mar 19 10:56:35 server dovecot: imap-login: Login: user=<user>, method=PLAIN, rip=193.2.1.110, lip=193.2.1.83, mpid=14732, secured
> Mar 19 10:56:40 server dovecot: imap(user): Panic: file mail-storage.c: line 628 (mailbox_alloc): assertion failed: (uni_utf8_str_is_valid(vname))
> Mar 19 10:56:40 server dovecot: imap(user): Error: Raw backtrace: /opt/dovecot-2.1.2/lib/dovecot/libdovecot.so.0 [0x2b7a91610870] -> /opt/dovecot-2.1.2/lib/dovecot/libdovecot.so.0 [0x2b7a916108c6] -> /opt/dovecot-2.1.2/lib/dovecot/libdovecot.so.0 [0x2b7a9160fd83] -> /opt/dovecot-2.1.2/lib/dovecot/libdovecot-storage.so.0 [0x2b7a9134f0e5] -> /opt/dovecot-2.1.2/lib/dovecot/libdovecot-storage.so.0 [0x2b7a9135c6cc] -> /opt/dovecot-2.1.2/lib/dovecot/libdovecot-storage.so.0 [0x2b7a9135c846] -> /opt/dovecot-2.1.2/lib/dovecot/libdovecot-storage.so.0(fs_list_iter_init+0x4b1) [0x2b7a9135d241] -> /opt/dovecot-2.1.2/lib/dovecot/libdovecot-storage.so.0(mailbox_list_iter_init_multiple+0xec) [0x2b7a9135619c] -> dovecot/imap [0x40bbb6] -> dovecot/imap(cmd_list_full+0x520) [0x40c1f0] -> dovecot/imap(cmd_list+0xb) [0x40c3eb] -> dovecot/imap(command_exec+0x37) [0x410497] -> dovecot/imap [0x40f4ed] -> dovecot/imap [0x40f5a2] -> dovecot/imap(client_handle_input+0x3f) [0x40f6ef] -> dovecot/imap(client_input+0x62) [0x410072] -> /opt
> Mar 19 10:56:40 server dovecot: imap(user): Fatal: master: service(imap): child 14732 killed with signal 6 (core dumps disabled)
> 
> It is the same. We will try 2.1.3 today and report the results...


Same thing with 2.1.3 (. LIST "" "*"):
Mar 19 14:08:59 server dovecot: imap-login: Login: user=<username>, method=PLAIN, rip=193.2.1.110, lip=193.2.1.83, mpid=28438, secured
Mar 19 14:09:04 server dovecot: imap(username): Panic: file mail-storage.c: line 628 (mailbox_alloc): assertion failed: (uni_utf8_str_is_valid(vname))
Mar 19 14:09:04 server dovecot: imap(username): Error: Raw backtrace: /opt/dovecot-2.1.3/lib/dovecot/libdovecot.so.0 [0x2ae071811870] -> /opt/dovecot-2.1.3/lib/dovecot/libdovecot.so.0 [0x2ae0718118c6] -> /opt/dovecot-2.1.3/lib/dovecot/libdovecot.so.0 [0x2ae071810d83] -> /opt/dovecot-2.1.3/lib/dovecot/libdovecot-storage.so.0 [0x2ae0715500c5] -> /opt/dovecot-2.1.3/lib/dovecot/libdovecot-storage.so.0 [0x2ae07155d6ac] -> /opt/dovecot-2.1.3/lib/dovecot/libdovecot-storage.so.0 [0x2ae07155d826] -> /opt/dovecot-2.1.3/lib/dovecot/libdovecot-storage.so.0(fs_list_iter_init+0x4b1) [0x2ae07155e221] -> /opt/dovecot-2.1.3/lib/dovecot/libdovecot-storage.so.0(mailbox_list_iter_init_multiple+0xec) [0x2ae07155717c] -> dovecot/imap [0x40bbb6] -> dovecot/imap(cmd_list_full+0x520) [0x40c1f0] -> dovecot/imap(cmd_list+0xb) [0x40c3eb] -> dovecot/imap(command_exec+0x37) [0x410497] -> dovecot/imap [0x40f4ed] -> dovecot/imap [0x40f5a2] -> dovecot/imap(client_handle_input+0x3f) [0x40f6ef] -> dovecot/imap(client_input+0x62) [0x410072] -> /opt
Mar 19 14:09:04 server dovecot: imap(username): Fatal: master: service(imap): child 28438 killed with signal 6 (core dumps disabled)

The home directory of the username is tar.gzipped here: http://www2.arnes.si/~krklubsls13/username.tar.gz

# dovecot -n
# 2.1.3: /opt/dovecot-2.1.3/etc/dovecot/dovecot.conf
# OS: Linux 2.6.18-274.17.1.el5 x86_64 CentOS release 5.7 (Final) 
default_login_user = nobody
disable_plaintext_auth = no
login_greeting = Server ready.
login_trusted_networks = x.y.z.p/32
mail_location = mbox:~/:INBOX=%h/.mailbox:INDEX=/opt/dovecot2-indexes/%1u/%u
mail_plugins = quota
mail_privileged_group = dovecot
mbox_write_locks = fcntl
namespace inbox {
  inbox = yes
  location = 
  prefix = 
  separator = /
  type = private
}
passdb {
  args = session=yes dovecot
  driver = pam
}
plugin {
  quota = fs
}
protocols = imap pop3
service imap-login {
  inet_listener imap {
    port = 143
  }
  inet_listener imaps {
    ssl = no
  }
}
service pop3-login {
  inet_listener pop3 {
    port = 110
  }
  inet_listener pop3s {
    ssl = no
  }
}
ssl = no
userdb {
  driver = passwd
}
protocol imap {
  imap_client_workarounds = delay-newmail tb-extra-mailbox-sep
  mail_max_userip_connections = 15
  mail_plugins = quota imap_quota
}
protocol pop3 {
  pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
}

Regards, Jernej






More information about the dovecot mailing list