Timo Sirainen wrote:
On Thu, 2008-02-14 at 13:07 +0200, Tomi Vainio wrote:
Feb 14 11:52:33 dovecot: [ID 107833 mail.crit] IMAP(tomppa): file message-parser.c: line 674:
assertion failed: (ctx->part->physical_pos >= ctx->input->v_offset)
Any idea how I could reproduce this? I've been running my IMAP stress
test for a while now waiting for this assert to fail, but so far it
hasn't. Maybe it needs some special kind of a mail or some other
specific condition.
Anyway I did some fixes, do these change the crash to an error message?
http://hg.dovecot.org/dovecot-1.1/rev/a6c066f50877
http://hg.dovecot.org/dovecot-1.1/rev/8cfa61f98e32
http://hg.dovecot.org/dovecot-1.1/rev/289765861d66
This problem don't occur very often. So far only seven times since Jan
31 and everytime I have done something which fixes it magically.
Yesterday it was a mail which had only base64 encoded data in it. I was
able to move that mail to another folder and back using thunderbird.
I've no idea why have the problem has appeared more frequently during
the last couple of days. Here are the timestamps when it happened and
first and last log entry. Altogether 315 cores so far. I started to
use 1.1 b14 Jan 23 so it took a while before it happened. I'm the only
one using this environment.
Jan 31 14:16:10 [kern.notice] NOTICE: core_log: imap[3416] core dumped:
/v/tmp/core.imap.3416
Jan 31 14:16:58 [kern.notice] NOTICE: core_log: imap[13449] core dumped:
/v/tmp/core.imap.13449
Feb 4 09:24:03 [kern.notice] NOTICE: core_log: imap[20972] core dumped:
/v/tmp/core.imap.20972
Feb 4 09:25:01 [kern.notice] NOTICE: core_log: imap[14911] core dumped:
/v/tmp/core.imap.14911
Feb 5 18:37:32 [kern.notice] NOTICE: core_log: imap[16454] core dumped:
/v/tmp/core.imap.16454
Feb 5 18:37:39 [kern.notice] NOTICE: core_log: imap[16679] core dumped:
/v/tmp/core.imap.16679
Feb 12 21:36:06 [kern.notice] NOTICE: core_log: imap[7172] core dumped:
/v/tmp/core.imap.7172
Feb 12 21:40:52 [kern.notice] NOTICE: core_log: imap[7731] core dumped:
/v/tmp/core.imap.7731
Feb 13 11:52:03 [kern.notice] NOTICE: core_log: imap[4618] core dumped:
/v/tmp/core.imap.4618
Feb 13 11:52:43 [kern.notice] NOTICE: core_log: imap[620] core dumped:
/v/tmp/core.imap.620
Feb 13 12:50:23 [kern.notice] NOTICE: core_log: imap[648] core dumped:
/v/tmp/core.imap.648
Feb 13 12:50:41 [kern.notice] NOTICE: core_log: imap[759] core dumped:
/v/tmp/core.imap.759
Feb 14 11:43:07 [kern.notice] NOTICE: core_log: imap[5528] core dumped:
/v/tmp/core.imap.5528
Feb 14 11:52:47 [kern.notice] NOTICE: core_log: imap[5999] core dumped:
/v/tmp/core.imap.5999
Tomppa