Panic: file istream.c: line 167 with 2.2.13 + istream.c/.h from dovecot-2-2-dffc6dd2be0d
Toni Mattila
toni at solu.fi
Sun Jul 6 18:07:08 UTC 2014
Hi,
On 6.7.2014 20:23, Timo Sirainen wrote:
>> Jul 6 08:11:52 dovecot: imap(user at domain.tld): Panic: file istream.c: line 167 (i_stream_read): assertion failed: (old_size <= _stream->pos - _stream->skip)
> This isn't intended, but I can't seem to be able to reproduce the crash. What's your doveconf -n output?
auth_mechanisms = plain apop
auth_verbose = yes
auth_verbose_passwords = plain:5
default_client_limit = 5000
default_process_limit = 1000
default_vsz_limit = 384 M
disable_plaintext_auth = no
first_valid_uid = 89
imap_idle_notify_interval = 6 mins
mail_location = maildir:~/Maildir
mail_plugins = " mail_log notify"
mailbox_list_index = yes
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope
encoded-character vacation subaddress comparator-i;ascii-numeric
relational regex imap4flags copy include variables body enotify
environment mailbox date ihave duplicate
mbox_write_locks = fcntl
namespace inbox {
inbox = yes
location =
mailbox Drafts {
auto = subscribe
special_use = \Drafts
}
mailbox Junk {
special_use = \Junk
}
mailbox Sent {
auto = subscribe
special_use = \Sent
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Spam {
auto = subscribe
special_use = \Junk
}
mailbox Trash {
auto = subscribe
special_use = \Trash
}
prefix = INBOX.
separator = .
}
passdb {
driver = vpopmail
}
plugin {
mail_log_events = mailbox_delete mailbox_rename
sieve = ~/.dovecot.sieve
sieve_dir = ~/sieve
sieve_max_script_size = 5M
}
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
pop3_uidl_format = %f
protocols = imap pop3 lmtp sieve
service imap-login {
inet_listener imap {
address = 0.0.0.0
port = 143
}
inet_listener imaps {
address = 0.0.0.0
port = 993
}
}
service managesieve-login {
inet_listener sieve {
address = 0.0.0.0
port = 4190
}
service_count = 1
}
service managesieve {
process_limit = 1024
}
service pop3-login {
inet_listener pop3 {
address = 0.0.0.0
port = 110
}
inet_listener pop3s {
address = 0.0.0.0
port = 995
}
}
ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
ssl_cipher_list = RC4-SHA:AES256-SHA:AES128-SHA:DES-CBC3-SHA
ssl_key = </etc/pki/dovecot/private/dovecot.pem
ssl_prefer_server_ciphers = yes
userdb {
args = quota_template=quota_rule=*:backend=%q
driver = vpopmail
}
protocol lda {
mail_plugins = " mail_log notify sieve"
}
protocol imap {
mail_max_userip_connections = 50
}
protocol sieve {
mail_max_userip_connections = 10
}
>> These can of course be fixed with maildir-size-fix.pl and deleting dovecot index files, but there are thousands like these. Dovecot 1.2 didn't have any issues with these old maildirs transfered over from courierimap.
> maildir_broken_filename_sizes=yes restores the old behavior.
Ok will try that too.
I have now enabled coredumps just to see if I can get more info. This
32bit Centos 5.
Thanks,
Toni
More information about the dovecot
mailing list