I upgraded 2.1 -> 2.2 something like a week ago because I needed
INDEXPVT. Not sure if this crash started immediately or not, noticed it
today looking at journalctl.
Backtrace http://bpaste.net/raw/181944/ and pasted below.
This seems to crash on every IMAP connection made, so any ideas for a
possible client-level workaround are quite welcome until dovecot code
improves here.
root@server ~ $ dovecot -n
# 2.2.12: /etc/dovecot/dovecot.conf
# OS: Linux 3.4.54-vs2.3.3.5+pf64 x86_64 Gentoo Base System release 2.2 ext4
hostname = *hidden*
listen = 192.168.1.2
log_path = /dev/stderr
log_timestamp =
mail_gid = mail
mail_home = /secure/Maildir/%n
mail_location = Maildir:/secure/Maildir/%n
mail_plugins = acl
mail_privileged_group = mail
mail_uid = mail
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
namespace {
list = children
location =
maildir:/secure/Maildir/%%n:INDEXPVT=/secure/Maildir/%n/shared/%%n
prefix = Shared.%%n.
separator = .
subscriptions = no
type = shared
}
namespace {
location =
maildir:/secure/Maildir/projekt:INDEX=/secure/Maildir/%n/projekt
prefix = Projekt.
separator = .
subscriptions = no
type = public
}
namespace {
location = maildir:/secure/Maildir/rss:INDEX=/secure/Maildir/%n/rss
prefix = RSS.
separator = .
subscriptions = no
type = public
}
namespace inbox {
hidden = no
inbox = yes
list = yes
location =
mailbox Drafts {
special_use = \Drafts
}
mailbox Junk {
special_use = \Junk
}
mailbox Sent {
special_use = \Sent
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Trash {
special_use = \Trash
}
prefix =
separator = .
subscriptions = yes
type = private
}
passdb {
args = /etc/dovecot/dovecot-ldap.conf.ext
driver = ldap
}
plugin {
acl = vfile
acl_shared_dict = file:/secure/Maildir/shared-mailboxes.db
mail_log_events = mailbox_delete
sieve = /secure/Maildir/%n/dovecot-sieve
sieve_dir = /secure/Maildir/%n/sieve
sieve_global_path = /etc/dovecot/sieve/default.sieve
}
postmaster_address = postmaster
protocols = imap lmtp sieve
service auth {
unix_listener auth-userdb {
mode = 0600
user = mail
}
user = mail
}
service imap-login {
inet_listener imap {
port = 143
}
inet_listener imaps {
port = 993
ssl = yes
}
}
service managesieve-login {
inet_listener sieve {
port = 4190
}
}
ssl_cert = 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
}
#0 0x7f64da799535 in raise () from /lib64/libc.so.6
No symbol table info available.
#1 0x7f64da79a9b8 in abort () from /lib64/libc.so.6
No symbol table info available.
#2 0x7f64dab76dc5 in default_fatal_finish (type=,
status=status@entry=0) at failures.c:193
backtrace = 0xae54a8
"/usr/lib64/dovecot/libdovecot.so.0(+0x6adcf) [0x7f64dab76dcf] ->
/usr/lib64/dovecot/libdovecot.so.0(+0x6ae2e) [0x7f64dab76e2e] ->
/usr/lib64/dovecot/libdovecot.so.0(i_fatal+0) [0x7f64dab30d4e] -> /usr"...
#3 0x7f64dab76e2e in i_internal_fatal_handler (ctx=0x7fffb9d88d00,
format=, args=) at failures.c:657
status = 0
#4 0x7f64dab30d4e in i_panic (format=format@entry=0x7f64dae79848
"file %s: line %d (%s): assertion failed: (%s)") at failures.c:267
ctx = {type = LOG_TYPE_PANIC, exit_status = 0, timestamp = 0x0}
args = {{gp_offset = 40, fp_offset = 48, overflow_arg_area =
0x7fffb9d88df0, reg_save_area = 0x7fffb9d88d30}}
#5 0x7f64dae59fbc in mail_index_keywords_unref
(_keywords=) at mail-index.c:380
keywords =
__FUNCTION__ = "mail_index_keywords_unref"
#6 0x7f64dae22657 in mailbox_copy (_ctx=,
mail=mail@entry=0xbcf260) at mail-storage.c:2140
ctx = 0xbd3a80
t = 0xbcd580
keywords = 0xbd4a50
pvt_flags = 0
real_mail =
ret = -1
__FUNCTION__ = "mailbox_copy"
#7 0x7f64dae2270d in mailbox_move (_ctx=,
mail=0xbcf260) at mail-storage.c:2153
ctx = 0xbd3a80
#8 0x0040e72d in fetch_and_copy (copy_count_r=pointer>, src_uidset_r=, search_args=,
src_trans_r=0x7fffb9d88e88, t=0xbcd580, move=true, client=0xb0de50) at
cmd-copy.c:67
search_ctx = 0xbcefe0
src_trans = 0xbce2c0
srcset_ctx = {str = 0xae5320, first_uid = 0, last_uid = 4294967295}
ret = 1
save_ctx = 0x0
mail = 0xbcf260
copy_count = 1
src_uidset = 0xae5320
#9 cmd_copy_full (cmd=0xb0ea30, move=true) at cmd-copy.c:123
client = 0xb0de50
dest_storage =
destbox = 0xb87bf0
t = 0xbcd580
src_trans =
search_args = 0xb86be0
messageset = 0x