[Dovecot] Dovecot-1.1.2 assertion failure in preparsed_parse_next_header_init
Panic: IMAP(user): file message-parser.c: line 684
(preparsed_parse_next_header_init): assertion failed: (ctx->part-
physical_pos >= ctx->input->v_offset)
Linux 2.6.24-19-386 Maildir on ext3
Looks similar to but different from http://dovecot.org/list/dovecot/2008-June/031523.html .
#0 0xb7faf410 in __kernel_vsyscall ()
#1 0xb7e6f085 in raise () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7e70a01 in abort () from /lib/tls/i686/cmov/libc.so.6
#3 0x080d2b65 in default_fatal_finish (type=<value optimized out>,
status=0)
at failures.c:149
#4 0x080d2bba in i_internal_fatal_handler (type=LOG_TYPE_PANIC,
status=0,
fmt=0x80e5fec "file %s: line %d (%s): assertion failed: (%s)",
args=0xbfb4b1d4 "\017L\017\b?\002") at failures.c:423
#5 0x080d246c in i_panic (
format=0x80e5fec "file %s: line %d (%s): assertion failed: (%s)")
at failures.c:190
#6 0x080cc246 in preparsed_parse_next_header_init (ctx=0x812b650,
block_r=0xbfb4b24c) at message-parser.c:684
#7 0x080cbc0d in message_parser_parse_next_block (ctx=0x812b650,
block_r=0xbfb4b24c) at message-parser.c:753
#8 0x080cbd5e in message_parser_parse_body (ctx=0x812b650,
hdr_callback=0x80968a0
688,
header_size = {physical_size = 90, virtual_size = 93, lines = 0},
body_size = {physical_size = 505, virtual_size = 514, lines = 9},
flags = 72, context = 0x0}
(gdb) p *ctx->input
$6 = {v_offset = 759, stream_errno = 0, mmaped = 0, blocking = 1,
closed = 0,
seekable = 1, eof = 0, real_stream = 0x81135f0}
On Fri, 2008-08-29 at 15:03 -0500, Mike Abbott wrote:
Panic: IMAP(user): file message-parser.c: line 684
(preparsed_parse_next_header_init): assertion failed: (ctx->part-physical_pos >= ctx->input->v_offset) .. (gdb) p *ctx $4 = {parser_pool = 0x812b638, part_pool = 0x0, input = 0x8113618, .. broken = 1}
Ah, they were already detected to be broken. This should help then: http://hg.dovecot.org/dovecot-1.1/rev/1d8bd4bc3038
participants (2)
-
Mike Abbott
-
Timo Sirainen