[Dovecot] dovecot 1.1.rc3 assertion failed at index_mailbox_set_recent_uid while deleting message with thunderbird.
Diego Liziero
diegoliz at gmail.com
Mon Mar 10 14:17:56 EET 2008
On Mon, Mar 10, 2008 at 9:05 AM, Diego Liziero <diegoliz at gmail.com> wrote:
> To some users happens this assertion failure while deleting a message.
>
> dovecot: Mar 10 08:40:44 Panic: IMAP(user): file index-sync.c: line 39
> (index_mailbox_set_recent_uid): assertion failed: (seq_range_exists
> (&ibox->recent_flags, uid))
36 void index_mailbox_set_recent_uid(struct index_mailbox *ibox, uint32_t uid)
37 {
38 if (uid <= ibox->recent_flags_prev_uid) {
39 i_assert(seq_range_exists(&ibox->recent_flags, uid));
40 return;
41 }
42 ibox->recent_flags_prev_uid = uid;
Here, when assert fails:
uid=1041
ibox->recent_flags_prev_uid = 4557
ibox->recent_flags->arr->element_size = 8
**ibox->recent_flags->v = {seq1 = 4557, seq2 = 4557}
(struct seq_range)(ibox->recent_flags->arr->buffer->data) = {seq1 =
143455672, seq2 = 8}
(gdb) print *ibox
$16 = {box = {name = 0x88ca8f8 "Trash", storage = 0x88b6c80, v =
{is_readonly = 0x809a750 <index_storage_is_readonly>,
allow_new_keywords = 0x809a770
<index_storage_allow_new_keywords>, close = 0x8077d50
<mbox_storage_mailbox_close>,
get_status = 0x809a620 <index_storage_get_status>,
list_index_has_changed = 0, list_index_update_sync = 0,
sync_init = 0x80826e0 <mbox_storage_sync_init>, sync_next =
0x809bf00 <index_mailbox_sync_next>,
sync_deinit = 0x809bc30 <index_mailbox_sync_deinit>, sync_notify
= 0, notify_changes = 0x8077d10 <mbox_notify_changes>,
transaction_begin = 0x809c6b0 <index_transaction_begin>,
transaction_commit = 0x809c650 <index_transaction_commit>,
transaction_rollback = 0x809c630 <index_transaction_rollback>,
keywords_create = 0x809a880 <index_keywords_create>,
keywords_free = 0x809a790 <index_keywords_free>, get_uids =
0x80934d0 <index_storage_get_uids>,
mail_alloc = 0x8094320 <index_mail_alloc>, header_lookup_init =
0x8095d40 <index_header_lookup_init>,
header_lookup_deinit = 0x8095c90 <index_header_lookup_deinit>,
search_init = 0x8099140 <index_storage_search_init>,
search_deinit = 0x8098b50 <index_storage_search_deinit>,
search_next_nonblock = 0x8097e40 <index_storage_search_next_nonblock>,
search_next_update_seq = 0x8097c10
<index_storage_search_next_update_seq>, save_init = 0x807cab0
<mbox_save_init>,
save_continue = 0x807c740 <mbox_save_continue>, save_finish =
0x807c300 <mbox_save_finish>,
save_cancel = 0x807c530 <mbox_save_cancel>, copy = 0x809cbd0
<mail_storage_copy>,
is_inconsistent = 0x809aa00 <index_storage_is_inconsistent>},
pool = 0x88ca750, transaction_count = 0, private_flags_mask = 0,
file_create_mode = 384, dir_create_mode = 448, file_create_gid =
4294967295, notify_min_interval = 0, notify_callback = 0,
notify_context = 0x0, module_contexts = {arr = {buffer =
0x88ca900, element_size = 4}, v = 0x88ca900, v_modifiable =
0x88ca900},
opened = 1, mailbox_deleted = 0}, view_module_ctx = {reg = 0x0},
storage = 0x88b6c80, open_flags = 14, index = 0x88c09a8,
view = 0x88c3988, cache = 0x88caf50, mail_vfuncs = 0x810aa20,
md5hdr_ext_idx = 2, notify_to = 0x0, notify_files = 0x0,
notify_ios = 0x0, notify_last_check = 0, notify_last_sent = 0,
next_lock_notify = 1205134826,
last_notify_type = MAILBOX_LOCK_NOTIFY_NONE, commit_log_file_seq =
7, commit_log_file_offset = 20544, keyword_names = 0x88c0a84,
cache_fields = 0x88bf5d8, mail_cache_min_mail_count = 0,
recent_flags = {arr = {buffer = 0x88d3758, element_size = 8}, v =
0x88d3758,
v_modifiable = 0x88d3758}, recent_flags_prev_uid = 4557,
recent_flags_count = 1, sync_last_check = 0, readonly = 0, keep_recent
= 1,
keep_locked = 0, sent_diskspace_warning = 0,
sent_readonly_flags_warning = 0, notify_pending = 0, move_to_memory =
0, fsync_disable = 0}
--
Diego
More information about the dovecot
mailing list