Just installed the latest (Dec. 12) CVS version and one user keeps getting this assertion failure.
Todd
dovecot: Dec 13 15:53:01 Error: 29718 imap(username): mbox sync: UID inserted in the middle of mailbox /mailhome/new/o/h/username/mbox (4863 > 3417, seq=780, idx_msgs=1913)
dovecot: Dec 13 15:53:06 Error: 29718 imap(username): file mail-index-transaction.c: line 129 (mail_index_buffer_convert_to_uids): assertion failed: (*seq != 0)
dovecot: Dec 13 15:53:07 Error: child 29718 (imap) killed with signal 6
(gdb) bt full #0 0xffffe410 in ?? () No symbol table info available. #1 0xbffff418 in ?? () No symbol table info available. #2 0x00000006 in ?? () No symbol table info available. #3 0x00007416 in ?? () No symbol table info available. #4 0xb7ef1d41 in raise () from /lib/tls/libc.so.6 No symbol table info available. #5 0xb7ef3529 in abort () from /lib/tls/libc.so.6 No symbol table info available. #6 0x080a17ba in i_internal_panic_handler ( fmt=0x6
, args=0x7416 ) at failures.c:375 No locals. #7 0x080a1be4 in i_panic ( format=0x80af28c "file %s: line %d (%s): assertion failed: (%s)") at failures.c:173 No locals. #8 0x08089491 in mail_index_buffer_convert_to_uids (t=0x80e4b88, array=0x80e4ba0, range=1) at mail-index-transaction.c:129 view = (struct mail_index_view *) 0x80e3668 rec = Variable "rec" is not available.(gdb) p *seq
$1 = 0
(gdb) p *view
$2 = {refcount = 2, methods = {close = 0x808df20 <_view_close>,
get_messages_count = 0x808d7b0 <_view_get_messages_count>,
get_header = 0x808d7c0 <_view_get_header>,
lookup_full = 0x808e500 <_view_lookup_full>,
lookup_uid = 0x808e480 <_view_lookup_uid>,
lookup_uid_range = 0x808e350 <_view_lookup_uid_range>,
lookup_first = 0x808e210 <_view_lookup_first>,
lookup_ext_full = 0x808d9a0 <_view_lookup_ext_full>,
get_header_ext = 0x808e140 <_view_get_header_ext>}, index = 0x80ce000,
log_view = 0x80e2e58, indexid = 1122493952, map = 0x80cf020, new_map = 0x0,
map_refs = 0x0, hdr = {major_version = 7 '\a', minor_version = 0 '\0',
base_header_size = 120, header_size = 200, record_size = 40,
compat_data = "\001\b\004", indexid = 1122493952, flags = 0,
uid_validity = 1130429256, next_uid = 5142, messages_count = 1913,
recent_messages_count = 0, seen_messages_count = 1452,
deleted_messages_count = 0, first_recent_uid_lowwater = 0,
first_unseen_uid_lowwater = 1149, first_deleted_uid_lowwater = 0,
log_file_seq = 16, log_file_int_offset = 22028,
log_file_ext_offset = 22028, sync_size = 101978714,
sync_stamp = 1134159156, day_stamp = 1134277200, day_first_uid = {4781,
4779, 4779, 0, 0, 0, 0, 0}}, log_file_seq = 16, log_file_offset = 22028,
log_syncs = 0x0, transactions = 1, lock_id = 0, inconsistent = 0,
syncing = 0}
(gdb) p *t
$3 = {refcount = 1, view = 0x80e3668, appends = {buffer = 0x80e9320,
element_size = 8}, first_new_seq = 1914, last_new_seq = 2478, expunges = {
buffer = 0x80e8000, element_size = 8}, updates = {buffer = 0x80e8020,
element_size = 12}, last_update_idx = 0,
pre_hdr_change = '\0'