[Dovecot] While searching: Assertion failed (offset >= ctx->input->v_offset)
Hi,
while a user is searching through his (1.2 GB, >150000) mails, I get a lot of these messages in the log, and the search (with Thunderbird) doesn't finish:
Jun 19 14:35:45 stshamail1 dovecot: Panic: IMAP(username): file message-parser.c: line 620 (preparsed_parse_body_init): assertion failed: (offset >= ctx->input->v_offset)
Jun 19 14:35:45 stshamail1 dovecot: IMAP(username): Raw backtrace: imap [0x80ce9f4] -> imap [0x80ce60c] -> imap [0x80c83f4] -> imap(message_parser_parse_next_block+0x1d) [0x80c802d] -> imap(message_search_msg+0x5f) [0x80c9a7f] -> imap [0x8098e0b] -> imap [0x809e42b] -> imap(mail_search_args_foreach+0x40) [0x809e540] -> imap(index_storage_search_next_nonblock+0x256) [0x80989f6] -> imap [0x805dc96] -> imap [0x805e0d6] -> imap(io_loop_handle_timeouts+0x80) [0x80d59c0] -> imap(io_loop_handler_run+0x82) [0x80d6522] -> imap(io_loop_run+0x28) [0x80d5828] -> imap(main+0x4ac) [0x806809c] -> /lib/libc.so.6(__libc_start_main+0xdc) [0x4003adec] -> imap [0x805a021]
Jun 19 14:35:45 stshamail1 dovecot: child 30070 (imap) killed with signal 6
What's wrong here? How to proceed with debugging?
Thanks, Patrick.
-- STAR Software (Shanghai) Co., Ltd. http://www.star-group.net/ Phone: +86 (21) 3462 7688 x 826 Fax: +86 (21) 3462 7779
PGP key: https://stshacom1.star-china.net/keys/patrick_nagel.asc Fingerprint: E09A D65E 855F B334 E5C3 5386 EF23 20FC E883 A005
On Thu, 2008-06-19 at 14:46 +0800, Patrick Nagel wrote:
Jun 19 14:35:45 stshamail1 dovecot: Panic: IMAP(username): file message-parser.c: line 620 (preparsed_parse_body_init): assertion failed: (offset >= ctx->input->v_offset)
What Dovecot version? (Didn't I fix this a few weeks ago?)
Hi Timo,
On Thursday 19 June 2008, Timo Sirainen wrote:
On Thu, 2008-06-19 at 14:46 +0800, Patrick Nagel wrote:
Jun 19 14:35:45 stshamail1 dovecot: Panic: IMAP(username): file message-parser.c: line 620 (preparsed_parse_body_init): assertion failed: (offset >= ctx->input->v_offset)
What Dovecot version? (Didn't I fix this a few weeks ago?)
sorry, forgot that vital information :(
Version 1.1.rc5 (RPM package from atrpms.net) I'll upgrade to 1.1.rc10 this evening and check again.
Patrick.
-- STAR Software (Shanghai) Co., Ltd. http://www.star-group.net/ Phone: +86 (21) 3462 7688 x 826 Fax: +86 (21) 3462 7779
PGP key: https://stshacom1.star-china.net/keys/patrick_nagel.asc Fingerprint: E09A D65E 855F B334 E5C3 5386 EF23 20FC E883 A005
Hi,
On Thursday 19 June 2008, Patrick Nagel wrote:
On Thursday 19 June 2008, Timo Sirainen wrote:
On Thu, 2008-06-19 at 14:46 +0800, Patrick Nagel wrote:
Jun 19 14:35:45 stshamail1 dovecot: Panic: IMAP(username): file message-parser.c: line 620 (preparsed_parse_body_init): assertion failed: (offset >= ctx->input->v_offset)
What Dovecot version? (Didn't I fix this a few weeks ago?)
sorry, forgot that vital information :(
Version 1.1.rc5 (RPM package from atrpms.net) I'll upgrade to 1.1.rc10 this evening and check again.
Patrick.
Now I get this with 1.1.rc10:
Jun 20 11:53:53 stshamail1 dovecot: Panic: IMAP(username): file message-parser.c: line 770 (message_parser_parse_next_block): assertion failed: (ctx->input->eof || ctx->input->closed || ctx->input->stream_errno != 0) Jun 20 11:53:53 stshamail1 dovecot: IMAP(username): Raw backtrace: imap [0x80cfbb0] -> imap [0x80cfc0a] -> imap [0x80cf4ac] -> imap [0x80c8d1a] -> imap(message_search_msg+0x5f) [0x80ca61f] -> imap [0x8098a8b] -> imap [0x809f3ab] -> imap(mail_search_args_foreach+0x40) [0x809f4c0] -> imap(index_storage_search_next_nonblock+0x256) [0x8098666] -> imap [0x805dfe6] -> imap [0x805e426] -> imap(io_loop_handle_timeouts+0x80) [0x80d6880] -> imap(io_loop_handler_run+0x82) [0x80d7492] -> imap(io_loop_run+0x28) [0x80d6688] -> imap(main+0x4ac) [0x806847c] -> /lib/libc.so.6(__libc_start_main+0xdc) [0x4003adec] -> imap [0x805a271] Jun 20 11:53:53 stshamail1 dovecot: child 32672 (imap) killed with signal 6
Patrick.
-- STAR Software (Shanghai) Co., Ltd. http://www.star-group.net/ Phone: +86 (21) 3462 7688 x 826 Fax: +86 (21) 3462 7779
PGP key: https://stshacom1.star-china.net/keys/patrick_nagel.asc Fingerprint: E09A D65E 855F B334 E5C3 5386 EF23 20FC E883 A005
participants (2)
-
Patrick Nagel
-
Timo Sirainen