[Dovecot] 2.2.12: Panic: file mail-index.c: line 380 (mail_index_keywords_unref): assertion failed: (keywords->refcount > 0)

Leho Kraav leho at kraav.com
Sun Feb 23 15:56:36 UTC 2014


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 at 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 = </etc/ssl/server.crt
ssl_key = </etc/ssl/server.key
userdb {
   args = /etc/dovecot/dovecot-ldap.conf.ext
   driver = ldap
}
protocol lda {
   mail_plugins = acl sieve acl
}
protocol imap {
   mail_max_userip_connections = 20
   mail_plugins = acl imap_acl
}
protocol sieve {
   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
}

#0  0x00007f64da799535 in raise () from /lib64/libc.so.6
No symbol table info available.
#1  0x00007f64da79a9b8 in abort () from /lib64/libc.so.6
No symbol table info available.
#2  0x00007f64dab76dc5 in default_fatal_finish (type=<optimized out>, 
status=status at 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  0x00007f64dab76e2e in i_internal_fatal_handler (ctx=0x7fffb9d88d00, 
format=<optimized out>, args=<optimized out>) at failures.c:657
         status = 0
#4  0x00007f64dab30d4e in i_panic (format=format at 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  0x00007f64dae59fbc in mail_index_keywords_unref 
(_keywords=<optimized out>) at mail-index.c:380
         keywords = <optimized out>
         __FUNCTION__ = "mail_index_keywords_unref"
#6  0x00007f64dae22657 in mailbox_copy (_ctx=<optimized out>, 
mail=mail at entry=0xbcf260) at mail-storage.c:2140
         ctx = 0xbd3a80
         t = 0xbcd580
         keywords = 0xbd4a50
         pvt_flags = 0
         real_mail = <optimized out>
         ret = -1
         __FUNCTION__ = "mailbox_copy"
#7  0x00007f64dae2270d in mailbox_move (_ctx=<optimized out>, 
mail=0xbcf260) at mail-storage.c:2153
         ctx = 0xbd3a80
#8  0x000000000040e72d in fetch_and_copy (copy_count_r=<synthetic 
pointer>, src_uidset_r=<synthetic pointer>, search_args=<optimized out>, 
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 = <optimized out>
         destbox = 0xb87bf0
         t = 0xbcd580
         src_trans = <optimized out>
         search_args = 0xb86be0
         messageset = 0xaf0b60 "2631"
         mailbox = 0xaf0b68 "Trash"
         src_uidset = <optimized out>
         sync_flags = (unknown: 0)
         imap_flags = (unknown: 0)
         changes = {pool = 0x7fffb9d88fb0, uid_validity = 3117977312, 
saved_uids = {arr = {buffer = 0xd, element_size = 140071145425344}, v = 
0xd, v_modifiable = 0xd}, ignored_modseq_changes = 11471704, changed = 
false, no_read_perm = false}
         copy_count = <optimized out>
         msg = <optimized out>
         ret = <optimized out>
         __FUNCTION__ = "cmd_copy_full"
#10 0x0000000000418e6c in command_exec (cmd=cmd at entry=0xb0ea30) at 
imap-commands.c:158
         hook = 0xaee0f0
         ret = <optimized out>
#11 0x0000000000417ed0 in client_command_input (cmd=0xb0ea30) at 
imap-client.c:780
         client = 0xb0de50
         command = <optimized out>
         __FUNCTION__ = "client_command_input"
#12 0x0000000000417f8a in client_command_input (cmd=0xb0ea30) at 
imap-client.c:841
         client = 0xb0de50
         command = <optimized out>
         __FUNCTION__ = "client_command_input"
#13 0x0000000000418245 in client_handle_next_command 
(remove_io_r=<synthetic pointer>, client=0xb0de50) at imap-client.c:879
No locals.
#14 client_handle_input (client=client at entry=0xb0de50) at imap-client.c:891
         _data_stack_cur_id = 3
         ret = 64
         remove_io = false
         handled_commands = false
         __FUNCTION__ = "client_handle_input"
#15 0x00000000004185f2 in client_input (client=0xb0de50) at 
imap-client.c:933
         cmd = <optimized out>
         output = 0xb0e880
         bytes = 26
         __FUNCTION__ = "client_input"
#16 0x00007f64dab873b6 in io_loop_call_io (io=0xb0e950) at ioloop.c:388
         ioloop = 0xaed740
         t_id = 2
#17 0x00007f64dab88237 in io_loop_handler_run 
(ioloop=ioloop at entry=0xaed740) at ioloop-epoll.c:220
         ctx = 0xaee3d0
         events = 0x0
         event = 0xaef1f0
         list = 0xaefdc0
         io = <optimized out>
         tv = {tv_sec = 4, tv_usec = 995201}
         events_count = <optimized out>
         msecs = <optimized out>
         ret = 1
         i = <optimized out>
         call = <optimized out>
         __FUNCTION__ = "io_loop_handler_run"
#18 0x00007f64dab86ec8 in io_loop_run (ioloop=0xaed740) at ioloop.c:412
         __FUNCTION__ = "io_loop_run"
#19 0x00007f64dab36033 in master_service_run (service=0xaed5d0, 
callback=callback at entry=0x4216a0 <client_connected>) at master-service.c:566
No locals.
#20 0x000000000040cc87 in main (argc=1, argv=0xaed390) at main.c:400
         set_roots = {0x429180 <imap_setting_parser_info>, 0x0}
         login_set = {auth_socket_path = 0xae5048 "\001", 
postlogin_socket_path = 0x0, postlogin_timeout_secs = 60, callback = 
0x421550 <login_client_connected>, failure_callback = 0x421260 
<login_client_failed>, request_auth_token = 1}
         service_flags = <optimized out>
         storage_service_flags = <optimized out>
         username = 0x0
         c = <optimized out>
#0  0x00007f64da799535 in raise () from /lib64/libc.so.6
No symbol table info available.
#1  0x00007f64da79a9b8 in abort () from /lib64/libc.so.6
No symbol table info available.
#2  0x00007f64dab76dc5 in default_fatal_finish (type=<optimized out>, 
status=status at 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  0x00007f64dab76e2e in i_internal_fatal_handler (ctx=0x7fffb9d88d00, 
format=<optimized out>, args=<optimized out>) at failures.c:657
         status = 0
#4  0x00007f64dab30d4e in i_panic (format=format at 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  0x00007f64dae59fbc in mail_index_keywords_unref 
(_keywords=<optimized out>) at mail-index.c:380
         keywords = <optimized out>
         __FUNCTION__ = "mail_index_keywords_unref"
#6  0x00007f64dae22657 in mailbox_copy (_ctx=<optimized out>, 
mail=mail at entry=0xbcf260) at mail-storage.c:2140
         ctx = 0xbd3a80
         t = 0xbcd580
         keywords = 0xbd4a50
         pvt_flags = 0
         real_mail = <optimized out>
         ret = -1
         __FUNCTION__ = "mailbox_copy"
#7  0x00007f64dae2270d in mailbox_move (_ctx=<optimized out>, 
mail=0xbcf260) at mail-storage.c:2153
         ctx = 0xbd3a80
#8  0x000000000040e72d in fetch_and_copy (copy_count_r=<synthetic 
pointer>, src_uidset_r=<synthetic pointer>, search_args=<optimized out>, 
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 = <optimized out>
         destbox = 0xb87bf0
         t = 0xbcd580
         src_trans = <optimized out>
         search_args = 0xb86be0
         messageset = 0xaf0b60 "2631"
         mailbox = 0xaf0b68 "Trash"
         src_uidset = <optimized out>
         sync_flags = (unknown: 0)
         imap_flags = (unknown: 0)
         changes = {pool = 0x7fffb9d88fb0, uid_validity = 3117977312, 
saved_uids = {arr = {buffer = 0xd, element_size = 140071145425344}, v = 
0xd, v_modifiable = 0xd}, ignored_modseq_changes = 11471704, changed = 
false, no_read_perm = false}
         copy_count = <optimized out>
         msg = <optimized out>
         ret = <optimized out>
         __FUNCTION__ = "cmd_copy_full"
#10 0x0000000000418e6c in command_exec (cmd=cmd at entry=0xb0ea30) at 
imap-commands.c:158
         hook = 0xaee0f0
         ret = <optimized out>
#11 0x0000000000417ed0 in client_command_input (cmd=0xb0ea30) at 
imap-client.c:780
         client = 0xb0de50
         command = <optimized out>
         __FUNCTION__ = "client_command_input"
#12 0x0000000000417f8a in client_command_input (cmd=0xb0ea30) at 
imap-client.c:841
         client = 0xb0de50
         command = <optimized out>
         __FUNCTION__ = "client_command_input"
#13 0x0000000000418245 in client_handle_next_command 
(remove_io_r=<synthetic pointer>, client=0xb0de50) at imap-client.c:879
No locals.
#14 client_handle_input (client=client at entry=0xb0de50) at imap-client.c:891
         _data_stack_cur_id = 3
         ret = 64
         remove_io = false
         handled_commands = false
         __FUNCTION__ = "client_handle_input"
#15 0x00000000004185f2 in client_input (client=0xb0de50) at 
imap-client.c:933
         cmd = <optimized out>
         output = 0xb0e880
         bytes = 26
         __FUNCTION__ = "client_input"
#16 0x00007f64dab873b6 in io_loop_call_io (io=0xb0e950) at ioloop.c:388
         ioloop = 0xaed740
         t_id = 2
#17 0x00007f64dab88237 in io_loop_handler_run 
(ioloop=ioloop at entry=0xaed740) at ioloop-epoll.c:220
         ctx = 0xaee3d0
         events = 0x0
         event = 0xaef1f0
         list = 0xaefdc0
         io = <optimized out>
         tv = {tv_sec = 4, tv_usec = 995201}
         events_count = <optimized out>
         msecs = <optimized out>
         ret = 1
         i = <optimized out>
         call = <optimized out>
         __FUNCTION__ = "io_loop_handler_run"
#18 0x00007f64dab86ec8 in io_loop_run (ioloop=0xaed740) at ioloop.c:412
         __FUNCTION__ = "io_loop_run"
#19 0x00007f64dab36033 in master_service_run (service=0xaed5d0, 
callback=callback at entry=0x4216a0 <client_connected>) at master-service.c:566
No locals.
#20 0x000000000040cc87 in main (argc=1, argv=0xaed390) at main.c:400
         set_roots = {0x429180 <imap_setting_parser_info>, 0x0}
         login_set = {auth_socket_path = 0xae5048 "\001", 
postlogin_socket_path = 0x0, postlogin_timeout_secs = 60, callback = 
0x421550 <login_client_connected>, failure_callback = 0x421260 
<login_client_failed>, request_auth_token = 1}
         service_flags = <optimized out>
         storage_service_flags = <optimized out>
         username = 0x0
         c = <optimized out>
#0  0x00007f64da799535 in raise () from /lib64/libc.so.6
No symbol table info available.
#1  0x00007f64da79a9b8 in abort () from /lib64/libc.so.6
No symbol table info available.
#2  0x00007f64dab76dc5 in default_fatal_finish (type=<optimized out>, 
status=status at 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  0x00007f64dab76e2e in i_internal_fatal_handler (ctx=0x7fffb9d88d00, 
format=<optimized out>, args=<optimized out>) at failures.c:657
         status = 0
#4  0x00007f64dab30d4e in i_panic (format=format at 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  0x00007f64dae59fbc in mail_index_keywords_unref 
(_keywords=<optimized out>) at mail-index.c:380
         keywords = <optimized out>
         __FUNCTION__ = "mail_index_keywords_unref"
#6  0x00007f64dae22657 in mailbox_copy (_ctx=<optimized out>, 
mail=mail at entry=0xbcf260) at mail-storage.c:2140
         ctx = 0xbd3a80
         t = 0xbcd580
         keywords = 0xbd4a50
         pvt_flags = 0
         real_mail = <optimized out>
         ret = -1
         __FUNCTION__ = "mailbox_copy"
#7  0x00007f64dae2270d in mailbox_move (_ctx=<optimized out>, 
mail=0xbcf260) at mail-storage.c:2153
         ctx = 0xbd3a80
#8  0x000000000040e72d in fetch_and_copy (copy_count_r=<synthetic 
pointer>, src_uidset_r=<synthetic pointer>, search_args=<optimized out>, 
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 = <optimized out>
         destbox = 0xb87bf0
         t = 0xbcd580
         src_trans = <optimized out>
         search_args = 0xb86be0
         messageset = 0xaf0b60 "2631"
         mailbox = 0xaf0b68 "Trash"
         src_uidset = <optimized out>
         sync_flags = (unknown: 0)
         imap_flags = (unknown: 0)
         changes = {pool = 0x7fffb9d88fb0, uid_validity = 3117977312, 
saved_uids = {arr = {buffer = 0xd, element_size = 140071145425344}, v = 
0xd, v_modifiable = 0xd}, ignored_modseq_changes = 11471704, changed = 
false, no_read_perm = false}
         copy_count = <optimized out>
         msg = <optimized out>
         ret = <optimized out>
         __FUNCTION__ = "cmd_copy_full"
#10 0x0000000000418e6c in command_exec (cmd=cmd at entry=0xb0ea30) at 
imap-commands.c:158
         hook = 0xaee0f0
         ret = <optimized out>
#11 0x0000000000417ed0 in client_command_input (cmd=0xb0ea30) at 
imap-client.c:780
         client = 0xb0de50
         command = <optimized out>
         __FUNCTION__ = "client_command_input"
#12 0x0000000000417f8a in client_command_input (cmd=0xb0ea30) at 
imap-client.c:841
         client = 0xb0de50
         command = <optimized out>
         __FUNCTION__ = "client_command_input"
#13 0x0000000000418245 in client_handle_next_command 
(remove_io_r=<synthetic pointer>, client=0xb0de50) at imap-client.c:879
No locals.
#14 client_handle_input (client=client at entry=0xb0de50) at imap-client.c:891
         _data_stack_cur_id = 3
         ret = 64
         remove_io = false
         handled_commands = false
         __FUNCTION__ = "client_handle_input"
#15 0x00000000004185f2 in client_input (client=0xb0de50) at 
imap-client.c:933
         cmd = <optimized out>
         output = 0xb0e880
         bytes = 26
         __FUNCTION__ = "client_input"
#16 0x00007f64dab873b6 in io_loop_call_io (io=0xb0e950) at ioloop.c:388
         ioloop = 0xaed740
         t_id = 2
#17 0x00007f64dab88237 in io_loop_handler_run 
(ioloop=ioloop at entry=0xaed740) at ioloop-epoll.c:220
         ctx = 0xaee3d0
         events = 0x0
         event = 0xaef1f0
         list = 0xaefdc0
         io = <optimized out>
         tv = {tv_sec = 4, tv_usec = 995201}
         events_count = <optimized out>
         msecs = <optimized out>
         ret = 1
         i = <optimized out>
         call = <optimized out>
         __FUNCTION__ = "io_loop_handler_run"
#18 0x00007f64dab86ec8 in io_loop_run (ioloop=0xaed740) at ioloop.c:412
         __FUNCTION__ = "io_loop_run"
#19 0x00007f64dab36033 in master_service_run (service=0xaed5d0, 
callback=callback at entry=0x4216a0 <client_connected>) at master-service.c:566
No locals.
#20 0x000000000040cc87 in main (argc=1, argv=0xaed390) at main.c:400
         set_roots = {0x429180 <imap_setting_parser_info>, 0x0}
         login_set = {auth_socket_path = 0xae5048 "\001", 
postlogin_socket_path = 0x0, postlogin_timeout_secs = 60, callback = 
0x421550 <login_client_connected>, failure_callback = 0x421260 
<login_client_failed>, request_auth_token = 1}
         service_flags = <optimized out>
         storage_service_flags = <optimized out>
         username = 0x0
         c = <optimized out>
#0  0x00007f64da799535 in raise () from /lib64/libc.so.6
No symbol table info available.
#1  0x00007f64da79a9b8 in abort () from /lib64/libc.so.6
No symbol table info available.
#2  0x00007f64dab76dc5 in default_fatal_finish (type=<optimized out>, 
status=status at 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  0x00007f64dab76e2e in i_internal_fatal_handler (ctx=0x7fffb9d88d00, 
format=<optimized out>, args=<optimized out>) at failures.c:657
         status = 0
#4  0x00007f64dab30d4e in i_panic (format=format at 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  0x00007f64dae59fbc in mail_index_keywords_unref 
(_keywords=<optimized out>) at mail-index.c:380
         keywords = <optimized out>
         __FUNCTION__ = "mail_index_keywords_unref"
#6  0x00007f64dae22657 in mailbox_copy (_ctx=<optimized out>, 
mail=mail at entry=0xbcf260) at mail-storage.c:2140
         ctx = 0xbd3a80
         t = 0xbcd580
         keywords = 0xbd4a50
         pvt_flags = 0
         real_mail = <optimized out>
         ret = -1
         __FUNCTION__ = "mailbox_copy"
#7  0x00007f64dae2270d in mailbox_move (_ctx=<optimized out>, 
mail=0xbcf260) at mail-storage.c:2153
         ctx = 0xbd3a80
#8  0x000000000040e72d in fetch_and_copy (copy_count_r=<synthetic 
pointer>, src_uidset_r=<synthetic pointer>, search_args=<optimized out>, 
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 = <optimized out>
         destbox = 0xb87bf0
         t = 0xbcd580
         src_trans = <optimized out>
         search_args = 0xb86be0
         messageset = 0xaf0b60 "2631"
         mailbox = 0xaf0b68 "Trash"
         src_uidset = <optimized out>
         sync_flags = (unknown: 0)
         imap_flags = (unknown: 0)
         changes = {pool = 0x7fffb9d88fb0, uid_validity = 3117977312, 
saved_uids = {arr = {buffer = 0xd, element_size = 140071145425344}, v = 
0xd, v_modifiable = 0xd}, ignored_modseq_changes = 11471704, changed = 
false, no_read_perm = false}
         copy_count = <optimized out>
         msg = <optimized out>
         ret = <optimized out>
         __FUNCTION__ = "cmd_copy_full"
#10 0x0000000000418e6c in command_exec (cmd=cmd at entry=0xb0ea30) at 
imap-commands.c:158
         hook = 0xaee0f0
         ret = <optimized out>
#11 0x0000000000417ed0 in client_command_input (cmd=0xb0ea30) at 
imap-client.c:780
         client = 0xb0de50
         command = <optimized out>
         __FUNCTION__ = "client_command_input"
#12 0x0000000000417f8a in client_command_input (cmd=0xb0ea30) at 
imap-client.c:841
         client = 0xb0de50
         command = <optimized out>
         __FUNCTION__ = "client_command_input"
#13 0x0000000000418245 in client_handle_next_command 
(remove_io_r=<synthetic pointer>, client=0xb0de50) at imap-client.c:879
No locals.
#14 client_handle_input (client=client at entry=0xb0de50) at imap-client.c:891
         _data_stack_cur_id = 3
         ret = 64
         remove_io = false
         handled_commands = false
         __FUNCTION__ = "client_handle_input"
#15 0x00000000004185f2 in client_input (client=0xb0de50) at 
imap-client.c:933
         cmd = <optimized out>
         output = 0xb0e880
         bytes = 26
         __FUNCTION__ = "client_input"
#16 0x00007f64dab873b6 in io_loop_call_io (io=0xb0e950) at ioloop.c:388
         ioloop = 0xaed740
         t_id = 2
#17 0x00007f64dab88237 in io_loop_handler_run 
(ioloop=ioloop at entry=0xaed740) at ioloop-epoll.c:220
         ctx = 0xaee3d0
         events = 0x0
         event = 0xaef1f0
         list = 0xaefdc0
         io = <optimized out>
         tv = {tv_sec = 4, tv_usec = 995201}
         events_count = <optimized out>
         msecs = <optimized out>
         ret = 1
         i = <optimized out>
         call = <optimized out>
         __FUNCTION__ = "io_loop_handler_run"
#18 0x00007f64dab86ec8 in io_loop_run (ioloop=0xaed740) at ioloop.c:412
         __FUNCTION__ = "io_loop_run"
#19 0x00007f64dab36033 in master_service_run (service=0xaed5d0, 
callback=callback at entry=0x4216a0 <client_connected>) at master-service.c:566
No locals.
#20 0x000000000040cc87 in main (argc=1, argv=0xaed390) at main.c:400
         set_roots = {0x429180 <imap_setting_parser_info>, 0x0}
         login_set = {auth_socket_path = 0xae5048 "\001", 
postlogin_socket_path = 0x0, postlogin_timeout_secs = 60, callback = 
0x421550 <login_client_connected>, failure_callback = 0x421260 
<login_client_failed>, request_auth_token = 1}
         service_flags = <optimized out>
         storage_service_flags = <optimized out>
         username = 0x0
         c = <optimized out>
#0  0x00007f64da799535 in raise () from /lib64/libc.so.6
No symbol table info available.
#1  0x00007f64da79a9b8 in abort () from /lib64/libc.so.6
No symbol table info available.
#2  0x00007f64dab76dc5 in default_fatal_finish (type=<optimized out>, 
status=status at 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  0x00007f64dab76e2e in i_internal_fatal_handler (ctx=0x7fffb9d88d00, 
format=<optimized out>, args=<optimized out>) at failures.c:657
         status = 0
#4  0x00007f64dab30d4e in i_panic (format=format at 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  0x00007f64dae59fbc in mail_index_keywords_unref 
(_keywords=<optimized out>) at mail-index.c:380
         keywords = <optimized out>
         __FUNCTION__ = "mail_index_keywords_unref"
#6  0x00007f64dae22657 in mailbox_copy (_ctx=<optimized out>, 
mail=mail at entry=0xbcf260) at mail-storage.c:2140
         ctx = 0xbd3a80
         t = 0xbcd580
         keywords = 0xbd4a50
         pvt_flags = 0
         real_mail = <optimized out>
         ret = -1
         __FUNCTION__ = "mailbox_copy"
#7  0x00007f64dae2270d in mailbox_move (_ctx=<optimized out>, 
mail=0xbcf260) at mail-storage.c:2153
         ctx = 0xbd3a80
#8  0x000000000040e72d in fetch_and_copy (copy_count_r=<synthetic 
pointer>, src_uidset_r=<synthetic pointer>, search_args=<optimized out>, 
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 = <optimized out>
         destbox = 0xb87bf0
         t = 0xbcd580
         src_trans = <optimized out>
         search_args = 0xb86be0
         messageset = 0xaf0b60 "2631"
         mailbox = 0xaf0b68 "Trash"
         src_uidset = <optimized out>
         sync_flags = (unknown: 0)
         imap_flags = (unknown: 0)
         changes = {pool = 0x7fffb9d88fb0, uid_validity = 3117977312, 
saved_uids = {arr = {buffer = 0xd, element_size = 140071145425344}, v = 
0xd, v_modifiable = 0xd}, ignored_modseq_changes = 11471704, changed = 
false, no_read_perm = false}
         copy_count = <optimized out>
         msg = <optimized out>
         ret = <optimized out>
         __FUNCTION__ = "cmd_copy_full"
#10 0x0000000000418e6c in command_exec (cmd=cmd at entry=0xb0ea30) at 
imap-commands.c:158
         hook = 0xaee0f0
         ret = <optimized out>
#11 0x0000000000417ed0 in client_command_input (cmd=0xb0ea30) at 
imap-client.c:780
         client = 0xb0de50
         command = <optimized out>
         __FUNCTION__ = "client_command_input"
#12 0x0000000000417f8a in client_command_input (cmd=0xb0ea30) at 
imap-client.c:841
         client = 0xb0de50
         command = <optimized out>
         __FUNCTION__ = "client_command_input"
#13 0x0000000000418245 in client_handle_next_command 
(remove_io_r=<synthetic pointer>, client=0xb0de50) at imap-client.c:879
No locals.
#14 client_handle_input (client=client at entry=0xb0de50) at imap-client.c:891
         _data_stack_cur_id = 3
         ret = 64
         remove_io = false
         handled_commands = false
         __FUNCTION__ = "client_handle_input"
#15 0x00000000004185f2 in client_input (client=0xb0de50) at 
imap-client.c:933
         cmd = <optimized out>
         output = 0xb0e880
         bytes = 26
         __FUNCTION__ = "client_input"
#16 0x00007f64dab873b6 in io_loop_call_io (io=0xb0e950) at ioloop.c:388
         ioloop = 0xaed740
         t_id = 2
#17 0x00007f64dab88237 in io_loop_handler_run 
(ioloop=ioloop at entry=0xaed740) at ioloop-epoll.c:220
         ctx = 0xaee3d0
         events = 0x0
         event = 0xaef1f0
         list = 0xaefdc0
         io = <optimized out>
         tv = {tv_sec = 4, tv_usec = 995201}
         events_count = <optimized out>
         msecs = <optimized out>
         ret = 1
         i = <optimized out>
         call = <optimized out>
         __FUNCTION__ = "io_loop_handler_run"
#18 0x00007f64dab86ec8 in io_loop_run (ioloop=0xaed740) at ioloop.c:412
         __FUNCTION__ = "io_loop_run"
#19 0x00007f64dab36033 in master_service_run (service=0xaed5d0, 
callback=callback at entry=0x4216a0 <client_connected>) at master-service.c:566
No locals.
#20 0x000000000040cc87 in main (argc=1, argv=0xaed390) at main.c:400
         set_roots = {0x429180 <imap_setting_parser_info>, 0x0}
         login_set = {auth_socket_path = 0xae5048 "\001", 
postlogin_socket_path = 0x0, postlogin_timeout_secs = 60, callback = 
0x421550 <login_client_connected>, failure_callback = 0x421260 
<login_client_failed>, request_auth_token = 1}
         service_flags = <optimized out>
         storage_service_flags = <optimized out>
         username = 0x0
         c = <optimized out>


More information about the dovecot mailing list