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)
Gilles Chauvin
gilles.chauvin at univ-rouen.fr
Fri Oct 28 12:36:02 UTC 2016
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)
2016-10-28T14:09:43.237441+02:00 server01 dovecot:
dsync-server(someuser): Error: Raw backtrace:
/usr/local/lib/dovecot/libdovecot.so.0(+0x8f7e0) [0x7f3d9318d7e0] ->
/usr/local/lib/dovecot/libdovecot.so.0(+0x8f8be) [0x7f3d9318d8be] ->
/usr/local/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7f3d9312b9be] ->
dovecot/doveadm-server [10.0.0.2 someuser
slave_recv_mailbox](dsync_brain_sync_mailbox_deinit+0x163) [0x438243] ->
dovecot/doveadm-server [10.0.0.2 someuser
slave_recv_mailbox](dsync_brain_slave_recv_mailbox+0x277) [0x438da7] ->
dovecot/doveadm-server [10.0.0.2 someuser
slave_recv_mailbox](dsync_brain_run+0x5fe) [0x4368be] ->
dovecot/doveadm-server [10.0.0.2 someuser slave_recv_mailbox]()
[0x436c71] -> dovecot/doveadm-server [10.0.0.2 someuser
slave_recv_mailbox]() [0x44becf] ->
/usr/local/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x4c)
[0x7f3d931a0c3c] ->
/usr/local/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0xe7)
[0x7f3d931a1fd7] ->
/usr/local/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x25)
[0x7f3d931a0cc5] ->
/usr/local/lib/dovecot/libdovecot.so.0(io_loop_run+0x38)
[0x7f3d931a0e78] -> dovecot/doveadm-server [10.0.0.2 someuser
slave_recv_mailbox]() [0x41fc7e] -> dovecot/doveadm-server [10.0.0.2
someuser slave_recv_mailbox]() [0x421256] -> dovecot/doveadm-server
[10.0.0.2 someuser slave_recv_mailbox]() [0x433654] ->
/usr/local/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x4c)
[0x7f3d931a0c3c] ->
/usr/local/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0xe7)
[0x7f3d931a1fd7] ->
/usr/local/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x25)
[0x7f3d931a0cc5] ->
/usr/local/lib/dovecot/libdovecot.so.0(io_loop_run+0x38)
[0x7f3d931a0e78] ->
/usr/local/lib/dovecot/libdovecot.so.0(master_service_run+0x13)
[0x7f3d93131a23] -> dovecot/doveadm-server [10.0.0.2 someuser
slave_recv_mailbox](main+0x197) [0x413c87] ->
/lib64/libc.so.6(__libc_start_main+0xf5) [0x7f3d92d5db15] ->
dovecot/doveadm-server [10.0.0.2 someuser slave_recv_mailbox]() [0x413d25]
2016-10-28T14:09:43.238013+02:00 server01 dovecot:
dsync-server(someuser): Fatal: master: service(doveadm): child 96390
killed with signal 6 (core dumps disabled)
2016-10-28T14:09:43.505098+02:00 server01 dovecot:
dsync-server(someuser): Error: read(server02.localdomain) failed:
read(size=5807) failed: Connection reset by peer (last
sent=mailbox_state, last recv=mailbox_state)
Regards,
Gilles.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3086 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20161028/87658e81/attachment.p7s>
More information about the dovecot
mailing list