[Dovecot] While searching: Assertion failed (offset >= ctx->input->v_offset)

Patrick Nagel
Thu, 19 Jun 2008 06:46:48 -0000

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL:
<http://dovecot.org/pipermail/dovecot/attachments/20080619/cd3423d8/attachment-0002.bin>