Re: [Dovecot] While searching: Assertion failed (offset > = ctx- >input->v_offset)
On Fri, 2008-06-20 at 09:42 +0200, Diego Liziero wrote:
On 6/20/08, Patrick Nagel patrick.nagel@star-group.net wrote:
Hi, [..]
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) [..]
Patrick.
Timo, here is an anonymized mbox file that causes it at every body search (tested with rc12).
Did you test it without index files? I couldn't reproduce the crash. Do you use 32bit or 64bit Dovecot?
On Friday 20 June 2008, Timo Sirainen wrote:
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) [..]
Patrick.
Timo, here is an anonymized mbox file that causes it at every body search (tested with rc12).
Did you test it without index files? I couldn't reproduce the crash. Do you use 32bit or 64bit Dovecot?
For me it's the 32bit version (atrpms.net RPM package).
Do you mean I should try again after deleting the index files?
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 Fri, 2008-06-20 at 16:21 +0800, Patrick Nagel wrote:
On Friday 20 June 2008, Timo Sirainen wrote:
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) [..]
Patrick.
Timo, here is an anonymized mbox file that causes it at every body search (tested with rc12).
Did you test it without index files? I couldn't reproduce the crash. Do you use 32bit or 64bit Dovecot?
For me it's the 32bit version (atrpms.net RPM package).
Do you mean I should try again after deleting the index files?
I mostly meant it for Diego since he's able to reproduce it but I'm not. But do you mean you can also reproduce it? If so, sure, try if deleting index helps.
On Fri, 2008-06-20 at 11:23 +0300, Timo Sirainen wrote:
On Fri, 2008-06-20 at 16:21 +0800, Patrick Nagel wrote:
On Friday 20 June 2008, Timo Sirainen wrote:
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) [..]
Fixed the assert-crash: http://hg.dovecot.org/dovecot-1.1/rev/ca97501642c5
It now reports "Broken MIME parts for mail" errors instead.
At least in Diego's case it was clearly caused by the broken v1.1.rc8 release which added empty lines to headers and caused the MIME structures to be cached wrong.
I don't know about Patrick though. Hopefully also caused by a bug that was fixed in newer versions. :)
On Friday 20 June 2008, Timo Sirainen wrote:
On Fri, 2008-06-20 at 09:42 +0200, Diego Liziero wrote:
Timo, here is an anonymized mbox file that causes it at every body search (tested with rc12).
Did you test it without index files? I couldn't reproduce the crash.
Deleting index files solved the crash. I sent broken index files privately to Timo.
Diego.
participants (3)
-
Diego Liziero
-
Patrick Nagel
-
Timo Sirainen