I’ve rebuilt Dovecot 2.2.21 with that patch (and the other one) now and will be having a look at the core-dump directory the coming days :-)
- Peter — [Lı.U] SysAdmin KITVS-IFM & ITI-NET IT.LiU.SE +46-13-28 2786 > On 16 Dec 2015, at 14:39, Timo Sirainen <t...@iki.fi> wrote: > > On 15 Dec 2015, at 17:52, Peter Eriksson <pe...@ifm.liu.se> wrote: >> >> Just got another core-dump from Dovecot's imap process on our mail server. >> >> Dec 14 10:58:12 mail dovecot: [ID 583609 mail.crit] imap(oling): Panic: file >> imap-fetch.c: line 554: assertion failed: (ctx->client->output_cmd_lock == >> NULL || ctx->client->output_cmd_lock == cmd) > > I think this is an old bug, and I've never been able to reproduce it. But > looking at the code, this should fix it: > > https://github.com/dovecot/core/commit/15307c2c91854e766bd9fb095d611a29b3f7572e > >