[Dovecot] 2.1.10 crashes at login (buf->used <= buf->alloc)

Eugene Paskevich eugene at raptor.kiev.ua
Wed Sep 19 19:13:13 EEST 2012


On Wed, 19 Sep 2012 18:02:07 +0300, Timo Sirainen <tss at iki.fi> wrote:

> On Wed, 2012-09-19 at 17:59 +0300, Timo Sirainen wrote:
>> On 19.9.2012, at 17.55, interfaSys sàrl wrote:
>>
>> >> Did you recompile antispam plugin? Is it the latest antispam? This  
>> line doesn't seem to match the current code.
>> >
>> > You are correct, it had not been compiled in a while. Here is a new
>> > backtrace:
>> ..
>> > #6  0x00000000105e7a6a in buffer_write () from
>> > /usr/lib/dovecot/libdovecot.so.0
>> > No symbol table info available.
>> > #7  0x00000000105ce9f9 in array_idx_set_i () from
>> > /usr/lib/dovecot/libdovecot.so.0
>> > No symbol table info available.
>> > #8  0x0000000010e2a1b5 in antispam_user_created (user=0x10a83040) at
>> > user.c:96
>> >        _module_tmp = (void *) 0x10a84d18
>> >        asu = (struct antispam_user *) 0x10a84d18
>> >        tmp = Variable "tmp" is not available.
>>
>> This still looks some kind of a version mismatch. Did you compile  
>> antispam against v2.1.10 headers? /usr/lib/dovecot/libdovecot.so.0 is  
>> also really from v2.1.10?
>
> Attached a helpful antispam patch.

Erm... Am I missing something?
http://hg.dovecot.org/dovecot-antispam-plugin/annotate/7f94cc6b4d8e/src/antispam-plugin.c
line 26, or actually line 32 given
http://hg.dovecot.org/dovecot-antispam-plugin/annotate/e902fcd40d1d/antispam-plugin.c#l32

-- 
Eugene Paskevich             |   *==)-----------   |     Plug me into
eugene at raptor.kiev.ua        |   -----------(==*   |      The Matrix


More information about the dovecot mailing list