Panic: file mail-index-transaction-finish.c: line 185

Arkadiusz Miśkiewicz arekm at maven.pl
Thu Sep 15 04:57:48 UTC 2022


On 29.12.2021 10:26, Aki Tuomi wrote:
> 
>> On 29/12/2021 11:20 tobisworld at gmail.com wrote:
>>
>>   
>> Hi list
>>
>> I have weird issue with my Dovecot 2.3.17.1 (476cd46418)
>> When deleting a certain amount of messages from my INBOX via my MUA
>> (Evolution) all over sudden dovecot starts to panic
>>
>> Panic: file mail-index-transaction-finish.c: line 185
>> (mail_index_transaction_get_uid): assertion failed: (seq <= t->view-
>>> map->hdr.messages_count)
>>
>> imap(REDACTED)<24075><P0/vLkXUNt4KQmMB>: Error: Raw backtrace:
>> /usr/lib64/dovecot/libdovecot.so.0(backtrace_append+0x42)
>> [0x7f09274d4142] ->
>> /usr/lib64/dovecot/libdovecot.so.0(backtrace_get+0x1e) [0x7f09274d424e]
>> -> /usr/lib64/dovecot/libdovecot.so.0(+0xf72fe) [0x7f09274e22fe] ->
>> /usr/lib64/dovecot/libdovecot.so.0(+0xf73a1) [0x7f09274e23a1] ->
>> /usr/lib64/dovecot/libdovecot.so.0(i_fatal+0) [0x7f0927430e38] ->

I also sometimes see this on 2.3.19.1:

Sep 15 05:05:43 mbox dovecot: imap(marek): pid=<14897> 
session=<JOBjha7oCsVR1Y7+>, Panic: file mail-index-transaction-finish.c: 
line 185 (mail_index_transaction_get_uid): assertion failed: (seq <= 
t->view->map->hdr.messages_count)
Sep 15 05:05:43 mbox dovecot: imap(marek): pid=<14897> 
session=<JOBjha7oCsVR1Y7+>, Error: Raw backtrace: #0 
t_askpass[0x7f16bf8658e0] -> #1 backtrace_append[0x7f16bf865b50] -> #2 
backtrace_get[0x7f16bf865cb0] -> #3 
i_syslog_error_handler[0x7f16bf8727d0] -> #4 
i_syslog_fatal_handler[0x7f16bf872900] -> #5 i_panic[0x7f16bf7c62d6] -> 
#6 mail_index_sync_set_corrupted[0x7f16bf996d27] -> #7 
mail_transaction_expunge_guid_cmp[0x7f16bfa43fe0] -> #8 
mail_index_transaction_finish[0x7f16bfa44550] -> #9 
mail_index_transaction_unref[0x7f16bfa48c30] -> #10 
mail_index_transaction_commit_full[0x7f16bfa49110] -> #11 
mail_index_transaction_commit[0x7f16bfa491f0] -> #12 
mail_cache_set_seq_corrupted_reason[0x7f16bf993a4f] -> #13 
mail_set_mail_cache_corrupted[0x7f16bf9ae690] -> #14 
maildir_keywords_idx_char[0x7f16bf9d2a50] -> #15 
maildir_keywords_idx_char[0x7f16bf9d2de0] -> #16 
mail_get_physical_size[0x7f16bf99b770] -> #17 [unw_get_proc_name() 
failed: -10] -> #18 notify_contexts_mail_copy[0x7f16bead94b0] -> #19 
notify_plugin_deinit[0x7f16beada440] -> #20 
quota_plugin_deinit[0x7f16bf4b9350] -> #21 
acl_mailbox_right_lookup[0x7f16bf4d7720] -> #22 
mailbox_save_begin[0x7f16bf9ac880] -> #23 mailbox_copy[0x7f16bf9aca00] 
-> #24 cmd_close[0x55978a0b0980] -> #25 command_exec[0x55978a0bf220] -> 
#26 client_handle_unfinished_cmd[0x55978a0bd2b0] -> #27 
client_handle_unfinished_cmd[0x55978a0bd2b0] -> #28 
client_handle_unfinished_cmd[0x55978a0bd2b0] -> #29 
client_handle_input[0x55978a0bd630] -> #30 client_input[0x55978a0bdca0] 
-> #31 io_loop_call_io[0x7f16bf888850] -> #32 
io_loop_handler_run_internal[0x7f16bf889e90] -> #33 
io_loop_handler_run[0x7f16bf888910] -> #34 io_loop_run[0x7f16bf888ae0] 
-> #35 master_service_run[0x7f16bf7fbe70] -> #36 main[0x55978a0ae9f0] -> 
#37 __libc_init_first[0x7f16bf5a34d0] -> #38 
__libc_start_main[0x7f16bf5a3580] -> #39 _start[0x55978a0aefa0]
Sep 15 05:05:43 mbox dovecot: imap(marek): pid=<14897> 
session=<JOBjha7oCsVR1Y7+>, Fatal: master: service(imap): child 14897 
killed with signal 6 (core dumps disabled - 
https://dovecot.org/bugreport.html#coredumps)

No NFS involved here (linux + xfs).


-- 
Arkadiusz Miśkiewicz, arekm / ( maven.pl | pld-linux.org )



More information about the dovecot mailing list