Panic mbox_sync_handle_header

Igor Russkih irusskih at gmail.com
Sun Oct 25 13:41:15 EET 2020


Hello all,

I'm getting a very often panic on my local dovecot setup when accessing
some of the local folders.

Error message is always

Oct 25 14:34:50 imap(irusskikh): Panic: file mbox-sync.c: line 665
(mbox_sync_handle_header): assertion failed: (mail_ctx->mail.from_offset +
move_diff != 1 && mail_ctx->mail.from_offset + move_diff != 2)
Oct 25 14:34:50 imap(irusskikh): Error: Raw backtrace:
/usr/lib/dovecot/libdovecot.so.0(+0xa05a2) [0x7f05e40005a2] ->
/usr/lib/dovecot/libdovecot.so.0(+0xa069a) [0x7f05e400069a] ->
/usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7f05e3f901d8] ->
/usr/lib/dovecot/libdovecot-storage.so.0(+0x8b1d7) [0x7f05e432b1d7] ->
/usr/lib/dovecot/libdovecot-storage.so.0(mbox_sync+0x48) [0x7f05e432bbf8]
-> /usr/lib/dovecot/libdovecot-storage.so.0(mbox_storage_sync_init+0x3b)
[0x7f05e432bd3b] ->
/usr/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x44)
[0x7f05e42eb704] ->
/usr/lib/dovecot/libdovecot-storage.so.0(mailbox_sync+0x37)
[0x7f05e42eb7a7] ->
/usr/lib/dovecot/libdovecot-storage.so.0(index_storage_get_status+0x31)
[0x7f05e43663c1] ->
/usr/lib/dovecot/libdovecot-storage.so.0(mailbox_get_status+0x31)
[0x7f05e42ebb51] -> dovecot/imap(imap_status_get+0x77) [0x7f05e4c25017] ->
dovecot/imap(cmd_status+0x19e) [0x7f05e4c171de] ->
dovecot/imap(command_exec+0x5c) [0x7f05e4c1ce0c] -> dovecot/imap(+0x1b382)
[0x7f05e4c1b382] -> dovecot/imap(+0x1b41c) [0x7f05e4c1b41c] ->
dovecot/imap(client_handle_input+0x18d) [0x7f05e4c1b7dd] ->
dovecot/imap(client_input+0xac) [0x7f05e4c1bd2c] ->
/usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x52) [0x7f05e4016642] ->
/usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0x12e)
[0x7f05e4017cee] ->
/usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x36) [0x7f05e40166d6]
-> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x38) [0x7f05e4016888] ->
/usr/lib/dovecot/libdovecot.so.0(master_service_run+0x13) [0x7f05e3f9aa83]
-> dovecot/imap(main+0x329) [0x7f05e4c0e139] ->
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f05e3b81b97] ->
dovecot/imap(_start+0x2a) [0x7f05e4c0e2ca]
Oct 25 14:34:50 imap(irusskikh): Fatal: master: service(imap): child 12785
killed with signal 6 (core dumped)


# 2.2.33.2 (d6601f4ec): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.21 (92477967)
# OS: Linux 4.4.0-17763-Microsoft x86_64 Ubuntu 18.04.4 LTS

Running now on WSL, but have the same badness on generic ubuntu setup as
well.

Could somebody guide me if thats something known, or me doing bad things?

I'm not on the list, so please CC me.

  Igor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20201025/b6263da3/attachment.html>


More information about the dovecot mailing list