[Dovecot] dsync replication: assertion failed: (ibc->value_input == NULL)

Oli Schacher dovecot at lists.wgwh.ch
Mon Mar 25 09:31:35 EET 2013


current hg (33e78edac8f5)

Mar 25 07:47:27 fumailsynctest2 dovecot: dsync-remote(<munged>): Panic: file dsync-ibc-stream.c: line 527 (dsync_ibc_stream_input_next): assertion failed: (ibc->value_input == NULL)
Mar 25 07:47:27 fumailsynctest2 dovecot: dsync-remote(<munged>): Error: Raw backtrace: /usr/lib64/dovecot/libdovecot.so.0(+0x5ebea) [0x7f67d85ffbea] 
-> /usr/lib64/dovecot/libdovecot.so.0(+0x5ec36) [0x7f67d85ffc36] -> /usr/lib64/dovecot/libdovecot.so.0(+0x1fcea) [0x7f67d85c0cea] 
-> dovecot/doveadm-server() [0x4258ec] 
-> dovecot/doveadm-server() [0x4268f6] 
-> dovecot/doveadm-server(dsync_brain_sync_mails+0x426) [0x41aa66] 
-> dovecot/doveadm-server(dsync_brain_run+0x162) [0x4172a2] 
-> dovecot/doveadm-server() [0x417940] 
-> dovecot/doveadm-server() [0x428410] 
-> /usr/lib64/dovecot/libdovecot.so.0(io_loop_call_io+0x36) [0x7f67d860ed36] 
-> /usr/lib64/dovecot/libdovecot.so.0(io_loop_handler_run+0xa7) [0x7f67d860fde7] 
-> /usr/lib64/dovecot/libdovecot.so.0(io_loop_run+0x28) [0x7f67d860ecd8] 
-> dovecot/doveadm-server() [0x414fda] 
-> dovecot/doveadm-server() [0x40c71f] 
-> dovecot/doveadm-server() [0x41459a] 
-> /usr/lib64/dovecot/libdovecot.so.0(io_loop_call_io+0x36) [0x7f67d860ed36] 
-> /usr/lib64/dovecot/libdovecot.so.0(io_loop_handler_run+0xa7) [0x7f67d860fde7] 
-> /usr/lib64/dovecot/libdovecot.so.0(io_loop_run+0x28) [0x7f67d860ecd8] 
-> /usr/lib64/dovecot/libdovecot.so.0(master_service_run+0x13) [0x7f67d85c5743] 
-> dovecot/doveadm-server(main+0x121) [0x414ce1] 
-> /lib64/libc.so.6(__libc_start_main+0xfd) [0x3400a1ecdd] 
-> dovecot/doveadm-server() [0x40c109]                                                                              
Mar 25 07:47:27 fumailsynctest2 dovecot: dsync-remote(<munged>): Fatal: master: service(doveadm): child 27336 killed with signal 6 (core dumped)    


(gdb) bt full                                                                                                                                                                                                                                       
#0  0x0000003400a328a5 in raise () from /lib64/libc.so.6                                                                                                                                                                                            
No symbol table info available.                                                                                                                                                                                                                     
#1  0x0000003400a34085 in abort () from /lib64/libc.so.6                                                                                                                                                                                            
No symbol table info available.                                                                                                                                                                                                                     
#2  0x00007f67d85ffbf8 in default_fatal_finish (type=<value optimized out>, status=0) at failures.c:191                                                                                                                                             
        backtrace = 0x1baf510 "/usr/lib64/dovecot/libdovecot.so.0(+0x5ebea) [0x7f67d85ffbea] -> /usr/lib64/dovecot/libdovecot.so.0(+0x5ec36) [0x7f67d85ffc36] -> /usr/lib64/dovecot/libdovecot.so.0(+0x1fcea) [0x7f67d85c0cea] -> dovec"...         
#3  0x00007f67d85ffc36 in i_internal_fatal_handler (ctx=0x7ffffc4466c0, format=<value optimized out>, args=<value optimized out>) at failures.c:652                                                                                                 
        status = 0                                                                                                                                                                                                                                  
#4  0x00007f67d85c0cea in i_panic (format=0x6ac8 <Address 0x6ac8 out of bounds>) at failures.c:263                                                                                                                                                  
        ctx = {type = LOG_TYPE_PANIC, exit_status = 0, timestamp = 0x0}                                                                                                                                                                             
        args = {{gp_offset = 40, fp_offset = 48, overflow_arg_area = 0x7ffffc446790, reg_save_area = 0x7ffffc4466d0}}                                                                                                                               
#5  0x00000000004258ec in dsync_ibc_stream_input_next (ibc=0x1bda990, item=ITEM_MAILBOX_ATTRIBUTE, decoder_r=0x7ffffc446808) at dsync-ibc-stream.c:527                                                                                              
        line_item = ITEM_NONE                                                                                                                                                                                                                       
        line = <value optimized out>                                                                                                                                                                                                                
        error = <value optimized out>                                                                                                                                                                                                               
        i = <value optimized out>                                                                                                                                                                                                                   
        __FUNCTION__ = "dsync_ibc_stream_input_next"                                                                                                                                                                                                
#6  0x00000000004268f6 in dsync_ibc_stream_recv_mailbox_attribute (_ibc=0x1bda990, attr_r=0x7ffffc446878) at dsync-ibc-stream.c:1311                                                                                                                
        ibc = 0x1bda990                                                                                                                                                                                                                             
        pool = 0x1bdabc0                                                                                                                                                                                                                            
        decoder = <value optimized out>                                                                                                                                                                                                             
        attr = 0x1bdabe0                                                                                                                                                                                                                            
        value = <value optimized out>                                                                                                                                                                                                               
        ret = <value optimized out>                                                                                                                                                                                                                 
        __FUNCTION__ = "dsync_ibc_stream_recv_mailbox_attribute"                                                                                                                                                                                    
#7  0x000000000041aa66 in dsync_brain_recv_mailbox_attribute (brain=0x1bdc890) at dsync-brain-mails.c:68                                                                                                                                            
        attr = <value optimized out>                                                                                                                                                                                                                
        input = <value optimized out>                                                                                                                                                                                                               
        ret = <value optimized out>                                                                                                                                                                                                                 
#8  dsync_brain_sync_mails (brain=0x1bdc890) at dsync-brain-mails.c:316                                                                                                                                                                             
        changed = false                                                                                                                                                                                                                             
        __FUNCTION__ = "dsync_brain_sync_mails"                                                                                                                                                                                                     
#9  0x00000000004172a2 in dsync_brain_run_real (brain=0x1bdc890, changed_r=0x7ffffc44698f) at dsync-brain.c:423                                                                                                                                     
        changed = false                                                                                                                                                                                                                             
        ret = true                                                                                                                                                                                                                                  
#10 dsync_brain_run (brain=0x1bdc890, changed_r=0x7ffffc44698f) at dsync-brain.c:452                                                                                                                                                                
        _data_stack_cur_id = 5                                                                                                                                                                                                                      
        ret = true                                                                                                                                                                                                                                  
#11 0x0000000000417940 in dsync_brain_run_io (context=0x1bdc890) at dsync-brain.c:41                                                                                                                                                                
        brain = 0x1bdc890                                                                                                                                                                                                                           
        changed = false                                                                                                                                                                                                                             
        try_pending = true                                                                                                                                                                                                                          
#12 0x0000000000428410 in dsync_ibc_stream_input (ibc=0x1bda990) at dsync-ibc-stream.c:194                                                                                                                                                          
No locals.                                                                                                                                                                                                                                          
#13 0x00007f67d860ed36 in io_loop_call_io (io=0x1bc9f30) at ioloop.c:387                                                                                                                                                                            
        ioloop = 0x1bb5720                                                                                                                                                                                                                          
        t_id = 4                                                                                                                                                                                                                                    
#14 0x00007f67d860fde7 in io_loop_handler_run (ioloop=<value optimized out>) at ioloop-epoll.c:215                                                                                                                                                  
        ctx = 0x1bb8550                                                                                                                                                                                                                             
        events = <value optimized out>                                                                                                                                                                                                              
        event = 0x1bb85c0                                                                                                                                                                                                                           
---Type <return> to continue, or q <return> to quit---                                                                                                                                                                                              
        list = 0x1bbe320                                                                                                                                                                                                                            
        io = <value optimized out>                                                                                                                                                                                                                  
        tv = {tv_sec = 4, tv_usec = 891617}                                                                                                                                                                                                         
        msecs = <value optimized out>                                                                                                                                                                                                               
        ret = 1                                                                                                                                                                                                                                     
        i = <value optimized out>                                                                                                                                                                                                                   
        call = <value optimized out>                                                                                                                                                                                                                
        __FUNCTION__ = "io_loop_handler_run"                                                                                                                                                                                                        
#15 0x00007f67d860ecd8 in io_loop_run (ioloop=0x1bb5720) at ioloop.c:406                                                                                                                                                                            
No locals.                                                                                                                                                                                                                                          
#16 0x0000000000414fda in cmd_dsync_server_run (_ctx=0x1bcb560, user=0x1bd49b0) at doveadm-dsync.c:862                                                                                                                                              
        ctx = 0x1bcb560                                                                                                                                                                                                                             
        ibc = 0x1bda990                                                                                                                                                                                                                             
        brain = 0x1bdc890                                                                                                                                                                                                                           
        temp_prefix = 0x1baf378                                                                                                                                                                                                                     
#17 0x000000000040c71f in doveadm_mail_next_user (ctx=0x1bcb560, input=<value optimized out>, error_r=0x7ffffc446ae0) at doveadm-mail.c:309                                                                                                         
        error = <value optimized out>                                                                                                                                                                                                               
        ret = 0                                                                                                                                                                                                                                     
        __FUNCTION__ = "doveadm_mail_next_user"
#18 0x000000000041459a in doveadm_mail_cmd_server_run (conn=0x1bbe510) at client-connection.c:115
        error = 0x7f67d85a1000 "\177ELF\002\001\001"
        ret = <value optimized out>
#19 client_handle_command (conn=0x1bbe510) at client-connection.c:217
        ctx = 0x1bcb560
        flags = <value optimized out>
        cmd_name = <value optimized out>
        input = {module = 0x0, service = 0x42ce7c "doveadm", username = 0x1bad569 "<munged>", session_id = 0x0, local_ip = {family = 0, u = {ip6 = {__in6_u = {__u6_addr8 = '\000' <repeats 15 times>, __u6_addr16 = {0, 0, 0, 
                    0, 0, 0, 0, 0}, __u6_addr32 = {0, 0, 0, 0}}}, ip4 = {s_addr = 0}}}, remote_ip = {family = 0, u = {ip6 = {__in6_u = {__u6_addr8 = '\000' <repeats 15 times>, __u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {0, 0, 0, 
                    0}}}, ip4 = {s_addr = 0}}}, local_port = 0, remote_port = 0, userdb_fields = 0x0, flags_override_add = 0, flags_override_remove = 0, no_userdb_lookup = 0}
        argc = 2
#20 client_connection_input (conn=0x1bbe510) at client-connection.c:317
        args = 0x1bad5b0
        _data_stack_cur_id = 3
        line = <value optimized out>
        ok = true
#21 0x00007f67d860ed36 in io_loop_call_io (io=0x1bbe2d0) at ioloop.c:387
        ioloop = 0x1bb5720
        t_id = 2
#22 0x00007f67d860fde7 in io_loop_handler_run (ioloop=<value optimized out>) at ioloop-epoll.c:215
        ctx = 0x1bb8550
        events = <value optimized out>
        event = 0x1bb85c0
        list = 0x1bbe320
        io = <value optimized out>
        tv = {tv_sec = 2147483, tv_usec = 0}
        msecs = <value optimized out>
        ret = 1
        i = <value optimized out>
        call = <value optimized out>
        __FUNCTION__ = "io_loop_handler_run"
#23 0x00007f67d860ecd8 in io_loop_run (ioloop=0x1bb5720) at ioloop.c:406
---Type <return> to continue, or q <return> to quit---
No locals.
#24 0x00007f67d85c5743 in master_service_run (service=0x1bb55c0, callback=<value optimized out>) at master-service.c:550
No locals.
#25 0x0000000000414ce1 in main (argc=1, argv=0x1bb53a0) at main.c:91
        set_roots = {0x42cc00, 0x0}
        error = 0x0


More information about the dovecot mailing list