doveadm crash on import

Ralf Hildebrandt Ralf.Hildebrandt at charite.de
Tue Dec 1 14:33:10 EET 2020


% doveadm import -u restore at backup.invalid mdbox:/home/copymail2/mdbox '' mailbox INBOX header Reply-To gmail.com

results in:

doveadm(restore at backup.invalid): Panic: fcntl(/home/copymail2/mdbox/mailboxes/INBOX/dbox-Mails/dovecot.index.log, write-lock, F_SETLKW) locking failed: Resource deadlock avoided (WRITE lock held by pid 37462)
doveadm(restore at backup.invalid): Error: Raw backtrace:
/usr/lib/dovecot/libdovecot.so.0(backtrace_append+0x42) [0x7fb131662d22] ->
/usr/lib/dovecot/libdovecot.so.0(backtrace_get+0x1e) [0x7fb131662e3e] -> 
/usr/lib/dovecot/libdovecot.so.0(+0xed75e) [0x7fb13166d75e] ->
/usr/lib/dovecot/libdovecot.so.0(+0xed7a1) [0x7fb13166d7a1] ->
/usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7fb1315c2beb] ->
/usr/lib/dovecot/libdovecot.so.0(+0xf2932) [0x7fb131672932] ->
/usr/lib/dovecot/libdovecot.so.0(file_wait_lock_error+0x26) [0x7fb131672966] ->
/usr/lib/dovecot/libdovecot.so.0(file_wait_lock+0x20) [0x7fb131672a00] ->
/usr/lib/dovecot/libdovecot-storage.so.0(mail_transaction_log_file_lock+0x90)[0x7fb131a28050] ->
/usr/lib/dovecot/libdovecot-storage.so.0(mail_transaction_log_lock_head+0x3d)[0x7fb131a2d4dd] ->
/usr/lib/dovecot/libdovecot-storage.so.0(mail_transaction_log_append_begin+0x3e)[0x7fb131a26a8e] -> 
/usr/lib/dovecot/libdovecot-storage.so.0(+0xf52f2) [0x7fb131a202f2] ->
/usr/lib/dovecot/libdovecot-storage.so.0(mail_index_transaction_commit_full+0x76)[0x7fb131a20826] ->
/usr/lib/dovecot/libdovecot-storage.so.0(mail_index_transaction_commit+0x1c)[0x7fb131a208bc] -> 
/usr/lib/dovecot/libdovecot-storage.so.0(+0xdd619) [0x7fb131a08619] ->
/usr/lib/dovecot/libdovecot-storage.so.0(mail_cache_add+0x214) [0x7fb131a08f24] ->
/usr/lib/dovecot/libdovecot-storage.so.0(index_mail_parse_header+0x5a5) [0x7fb1319eaef5] -> 
/usr/lib/dovecot/libdovecot.so.0(+0xc5b13) [0x7fb131645b13] ->
/usr/lib/dovecot/libdovecot.so.0(i_stream_read_memarea+0x74) [0x7fb13167ab14] ->
/usr/lib/dovecot/libdovecot.so.0(i_stream_read+0x29) [0x7fb13167ae49] -> 
/usr/lib/dovecot/libdovecot.so.0(i_stream_read_data+0x3d) [0x7fb13167b7bd] ->
/usr/lib/dovecot/libdovecot.so.0(message_parse_header_next+0x68) [0x7fb13164c288] ->
/usr/lib/dovecot/libdovecot.so.0(message_parse_header+0x4f) [0x7fb13164cc5f] ->
/usr/lib/dovecot/libdovecot-storage.so.0(+0xc9f61) [0x7fb1319f4f61] -> 
/usr/lib/dovecot/libdovecot-storage.so.0(+0xcb214) [0x7fb1319f6214] ->
/usr/lib/dovecot/libdovecot-storage.so.0(index_storage_search_next_nonblock+0x10d)[0x7fb1319f69ed] ->
/usr/lib/dovecot/libdovecot-storage.so.0(mailbox_search_next_nonblock+0x22)[0x7fb131978df2] ->
/usr/lib/dovecot/libdovecot-storage.so.0(mailbox_search_next+0x3d)[0x7fb131978e5d] -> 
doveadm(+0x31c14) [0x557ac63f1c14] -> doveadm(+0x2c518) [0x557ac63ec518]


-- 
Ralf Hildebrandt
  Geschäftsbereich IT | Abteilung Netzwerk
  Charité - Universitätsmedizin Berlin
  Campus Benjamin Franklin
  Hindenburgdamm 30 | D-12203 Berlin
  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
  ralf.hildebrandt at charite.de | https://www.charite.de
	    


More information about the dovecot mailing list