Panic: file dsync-brain-mailbox.c: line 358 (dsync_brain_sync_mailbox_deinit): assertion failed: (brain->failed || brain->sync_type == DSYNC_BRAIN_SYNC_TYPE_CHANGED)

Timo Sirainen tss at iki.fi
Fri Oct 28 14:28:58 UTC 2016


On 28 Oct 2016, at 15:36, Gilles Chauvin <gilles.chauvin at univ-rouen.fr> wrote:
> 
> Hello,
> 
> Here is a Panic that happened while doing some testing with two servers both running Dovecot v2.2.26 on CentOS 7.
> 
> These are test servers owning 32 accounts whose data were copied from our production server.
> 
> 
> What I've done is:
> 
> server01# doveadm force-resync -A '*'
> server01# doveadm replicator replicate -f '*'
> 
> 
> For 5 accounts I obtained the following crash:
> 
> 2016-10-28T14:09:43.236946+02:00 server01 dovecot: dsync-server(someuser): Panic: file dsync-brain-mailbox.c: line 358 (dsync_brain_sync_mailbox_deinit): assertion failed: (brain->failed || brain->sync_type == DSYNC_BRAIN_SYNC_TYPE_CHANGED)

This code hasn't changed for quite a long time. So I don't think this is a new bug in 2.2.26. Can you try reproduce it easily? If yes, could you try if the attached patch fixes it?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff
Type: application/octet-stream
Size: 594 bytes
Desc: not available
URL: <http://dovecot.org/pipermail/dovecot/attachments/20161028/2efb1c95/attachment.obj>
-------------- next part --------------




More information about the dovecot mailing list