Panic: file index-mail-binary.c

grupo correo grupodecorreo10 at gmail.com
Mon Oct 23 15:11:34 EEST 2017


Hi,

i have Dovecot Director and Dovecot Backends with 2.2.32.

i have found a email that my web server send with only one character "=" in
the body of the email and it generate a log error in Dovecot log like this:

Oct 23 13:16:50 dovecot_2.2.32 dovecot: imap(user at domain): Panic: file
index-mail-binary.c: line 358 (blocks_count_lines): assertion failed:
(block_count == 0 || block_idx+1 == block_count)
Oct 23 13:16:50 dovecot_2.2.32 dovecot: imap(user at domain): Error: Raw
backtrace: /usr/local/lib/dovecot/libdovecot.so.0(+0x9a340)
[0x7fc22c186340] -> /usr/local/lib/dovecot/libdovecot.so.0(+0x9a41e)
[0x7fc22c18641e] -> /usr/local/lib/dovecot/libdovecot.so.0(i_fatal+0)
[0x7fc22c11c04b] ->
/usr/local/lib/dovecot/libdovecot-storage.so.0(+0xaeaab) [0x7fc22c4c4aab]
->
/usr/local/lib/dovecot/libdovecot-storage.so.0(index_mail_get_binary_stream+0x3c2)
[0x7fc22c4c4f32] ->
/usr/local/lib/dovecot/libdovecot-storage.so.0(mail_get_binary_size+0x4b)
[0x7fc22c45349b] ->
/usr/local/lib/dovecot/libdovecot-storage.so.0(imap_msgpart_size+0x70)
[0x7fc22c504ca0] -> dovecot/imap() [0x41d6ea] -> dovecot/imap() [0x41b8d2]
-> dovecot/imap(imap_fetch_more+0x35) [0x41cbf5] ->
dovecot/imap(cmd_fetch+0x2fb) [0x40f76b] -> dovecot/imap(command_exec+0x5c)
[0x41a4ac] -> dovecot/imap() [0x418c6f] -> dovecot/imap() [0x418cff] ->
dovecot/imap(client_handle_input+0x175) [0x419085] ->
dovecot/imap(client_input+0x72) [0x419552] ->
/usr/local/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x52)
[0x7fc22c19a432] ->
/usr/local/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0xe7)
[0x7fc22c19b977] ->
/usr/local/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x3c)
[0x7fc22c19a4cc] ->
/usr/local/lib/dovecot/libdovecot.so.0(io_loop_run+0x38) [0x7fc22c19a688]
-> /usr/local/lib/dovecot/libdovecot.so.0(master_service_run+0x13)
[0x7fc22c125eb3] -> dovecot/imap(main+0x2e7) [0x40cb37] ->
/lib64/libc.so.6(__libc_start_main+0xf5) [0x7fc22bd4cb15] -> dovecot/imap()
[0x40ccb9]
Oct 23 13:16:50 dovecot_2.2.32 dovecot: imap(user at domain): Fatal: master:
service(imap): child 1636 killed with signal 6 (core dumps disabled)
Oct 23 13:16:50 imapintranetmol1v dovecot: imap-login: proxy(user at domain):
disconnecting 10.1.21.253 (Disconnected by server(0s idle, in=303,
out=869)): user=<user at domain>, method=PLAIN, rip=xxx.xxx.xxx.xxx,
lip=xxx.xxx.xxx.xxx, TLS, session=<fJRD8zRc4PwKARX9>

The error happens when the client sends this comnand to the Director or to
the Backends directly:

C: 34 UID FETCH 7059 (BINARY.PEEK[1] BINARY.SIZE[1])

Thank you


More information about the dovecot mailing list