[Dovecot] possible bug leading to lmtp crashes

Timo Sirainen tss at iki.fi
Tue Jun 7 15:18:47 EEST 2011


On Mon, 2011-06-06 at 22:57 -0600, Trever L. Adams wrote:
> On 05/19/2011 07:20 AM, Trever L. Adams wrote:
> >
> > May 17 04:01:02 dovecot: auth: Panic: file ../../src/lib/array.h: line
> > 189 (array_idx_i): assertion failed: (idx * array->element_size <
> > array->buffer->used)
> >
> > This is usually repeated 2 or more times near a crash. On the machine
> > that doesn't crash, I NEVER see this. On the machines that crash, there
> > isn't (or doesn't seem to be) a 1:1 correlation. ** THERE IS A 1:1 FOUND LATER **
> >
> > Trever
> Ok, I think I have figured out the cause, but no the problem in the
> code. There were three machines TS, PP, ST. TS and ST had identical
> configurations with auth_username_format = %Lu. PP had it = %u. PP
> started crashing when I changed it to %Lu.

I don't see why that would matter, but I think this will help:
http://hg.dovecot.org/dovecot-2.0/rev/c0734f08b3f3




More information about the dovecot mailing list