segfault in dict_transaction_rollback() on doveadm quota recalc -u

Timo Sirainen tss at iki.fi
Mon Jan 4 18:53:41 UTC 2016


On 30 Dec 2015, at 11:35, Lazy <lazy404 at gmail.com> wrote:
> 
>> dict {
>>  quota = redis:host=127.0.0.1:prefix=user/
>> }
>> 
>> plugin {
>> 
>>  quota = dict:User quota::proxy::quota
>> 
>> }
>> 
>> Redis server is behind haproxy working in tcp mode.
>> 
>> doveadm quota recalc -u user always couses dict process segfault (called
>> from imap backend or director host), otherwise quota is working correctly.
>> 
>> 
>> #0  dict_transaction_rollback (_ctx=_ctx at entry=0xea5fd0) at dict.c:194
>> 194             ctx->dict->v.transaction_rollback(ctx);

This should fix it: https://github.com/dovecot/core/commit/f6d8250f99520eac003da742a5f34abd2b537c38



More information about the dovecot mailing list