Replication between different versions of dovecot

Dmitry Nezhevenko dion at dion.org.ua
Tue Oct 17 21:12:53 EEST 2017


Hi,

Can't find any notes about this  in documentation. Is replication supposed
to work between different versions of dovecot?

I've just found that dovecot 2.2.33.1 was uploaded to debian unstable and
it crashes on every replication with older dovecot 2.2.27. (version
2.2.32.1 was probably ok)

Summary:
	- 2.2.33.1 crashes when replicating from/to 2.2.27
	- 2.2.32.1 probably ok when replicating from/to 2.2.27

I was able to capture backtrace of crashed doveadm-server:

Program terminated with signal SIGSEGV, Segmentation fault.
#0  i_stream_next_line (stream=stream at entry=0x0) at istream.c:428
428     istream.c: No such file or directory.
(gdb) bt
#0  i_stream_next_line (stream=stream at entry=0x0) at istream.c:428
#1  0x00007f60244306df in i_stream_read_next_line (stream=0x0) at istream.c:449
#2  0x0000560304f22e79 in server_connection_print_log (conn=0x560305e930f8) at server-connection.c:305
#3  0x0000560304f238af in server_connection_input_one (conn=<optimized out>) at server-connection.c:405
#4  server_connection_input (conn=<optimized out>) at server-connection.c:390
#5  0x00007f602443a572 in io_loop_call_io (io=0x560305e81e30) at ioloop.c:600
#6  0x00007f602443bc1e in io_loop_handler_run_internal (ioloop=ioloop at entry=0x560305e59ad0) at ioloop-epoll.c:223
#7  0x00007f602443a606 in io_loop_handler_run (ioloop=ioloop at entry=0x560305e59ad0) at ioloop.c:649
#8  0x00007f602443a7b8 in io_loop_run (ioloop=0x560305e59ad0) at ioloop.c:624
#9  0x0000560304f0de5a in dsync_connect_tcp (ctx=ctx at entry=0x560305e7e9e8, mail_set=mail_set at entry=0x560305e8ad50, target=0x560305e8b94c "inhex.vpn.local:9993", ssl=ssl at entry=false, 
    error_r=error_r at entry=0x7fff8e40b9e8) at doveadm-dsync.c:850
#10 0x0000560304f0fbe3 in parse_location (error_r=0x7fff8e40b9e8, remote_cmd_args_r=0x7fff8e40b858, location=<optimized out>, mail_set=0x560305e8ad50, ctx=0x560305e7e9e8) at doveadm-dsync.c:875
#11 cmd_dsync_prerun (_ctx=0x560305e7e9e8, service_user=<optimized out>, error_r=0x7fff8e40b9e8) at doveadm-dsync.c:947
#12 0x0000560304f10891 in doveadm_mail_next_user (ctx=ctx at entry=0x560305e7e9e8, cctx=cctx at entry=0x7fff8e40b9f0, error_r=error_r at entry=0x7fff8e40b9e8) at doveadm-mail.c:414
#13 0x0000560304f11473 in doveadm_mail_single_user (ctx=ctx at entry=0x560305e7e9e8, cctx=cctx at entry=0x7fff8e40b9f0, error_r=error_r at entry=0x7fff8e40b9e8) at doveadm-mail.c:460
#14 0x0000560304f262fb in doveadm_mail_cmd_server_run (cctx=0x7fff8e40b9f0, mctx=0x560305e7e9e8, conn=0x560305e7a878) at client-connection.c:246
#15 doveadm_cmd_handle (cctx=0x7fff8e40b9f0, argv=<optimized out>, argc=<optimized out>, cmd_name=<optimized out>, conn=0x560305e7a878) at client-connection.c:329
#16 client_handle_command (args=<optimized out>, conn=0x560305e7a878) at client-connection.c:399
#17 client_connection_input (conn=<optimized out>) at client-connection.c:541
#18 0x00007f602443a572 in io_loop_call_io (io=0x560305e58c40) at ioloop.c:600
#19 0x00007f602443bc1e in io_loop_handler_run_internal (ioloop=ioloop at entry=0x560305e529a0) at ioloop-epoll.c:223
#20 0x00007f602443a606 in io_loop_handler_run (ioloop=ioloop at entry=0x560305e529a0) at ioloop.c:649
#21 0x00007f602443a7b8 in io_loop_run (ioloop=0x560305e529a0) at ioloop.c:624
#22 0x00007f60243bf893 in master_service_run (service=0x560305e52840, callback=<optimized out>) at master-service.c:719
#23 0x0000560304f011d5 in main (argc=<optimized out>, argv=<optimized out>) at main.c:143

-- 
WBR, Dmitry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://dovecot.org/pipermail/dovecot/attachments/20171017/026c0684/attachment-0001.sig>


More information about the dovecot mailing list