doveadm-server core dump

FUSTE Emmanuel emmanuel.fuste at thalesgroup.com
Fri Jun 16 17:19:12 EEST 2017


Hello,

coredump found after a force-resync and a replicate

Emmanuel.
(dovecot-ee 2.2.30.2-1)

[New LWP 17168]
Core was generated by `dovecot/doveadm-server'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007fa334127c37 in __GI_raise (sig=sig at entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#0  0x00007fa334127c37 in __GI_raise (sig=sig at entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
         resultvar = 0
         pid = 17168
         selftid = 17168
#1  0x00007fa33412b028 in __GI_abort () at abort.c:89
         save_stage = 2
         act = {__sigaction_handler = {sa_handler = 0x20d2b48, sa_sigaction = 0x20d2b48}, sa_mask = {__val = {34255104, 0, 140338942616871, 1, 0, 181, 140338929827120, 140725975364353, 0, 0, 140338942645461, 0, 140338930777984, 140338937001888, 34203576, 140725975364140}}, sa_flags = 0, sa_restorer = 0x7ffd51c5b1c8}
         sigs = {__val = {32, 0 <repeats 15 times>}}
#2  0x00007fa334546766 in default_fatal_finish (type=<optimized out>, status=status at entry=0) at failures.c:201
         backtrace = 0x209df68 "/usr/lib/dovecot/libdovecot.so.0(+0x8d770) [0x7fa334546770] -> /usr/lib/dovecot/libdovecot.so.0(+0x8d84e) [0x7fa33454684e] -> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7fa3344dcffb] -> dovecot/do"...
#3  0x00007fa33454684e in i_internal_fatal_handler (ctx=0x7ffd51c5b3b0, format=<optimized out>, args=<optimized out>) at failures.c:670
         status = 0
#4  0x00007fa3344dcffb in i_panic (format=format at entry=0x4530f8 "file %s: line %d (%s): assertion failed: (%s)") at failures.c:275
         ctx = {type = LOG_TYPE_PANIC, exit_status = 0, timestamp = 0x0, timestamp_usecs = 0}
         args = {{gp_offset = 40, fp_offset = 48, overflow_arg_area = 0x7ffd51c5b4a0, reg_save_area = 0x7ffd51c5b3e0}}
#5  0x000000000043a1eb in dsync_brain_sync_mailbox_deinit (brain=brain at entry=0x20d2b48) at dsync-brain-mailbox.c:371
         last_common_uid = 0
         last_messages_count = 0
         last_common_modseq = 4428091
         changes_during_sync = 0x0
         last_common_pvt_modseq = 140725975364904
         require_full_resync = false
         error = MAIL_ERROR_NONE
         __FUNCTION__ = "dsync_brain_sync_mailbox_deinit"
#6  0x000000000043adc6 in dsync_brain_slave_recv_mailbox (brain=brain at entry=0x20d2b48) at dsync-brain-mailbox.c:841
         dsync_box = 0x20d0878
         local_dsync_box = {mailbox_guid = "\344B\277\017j\022\271T\002\253\000\000\367\362\265", <incomplete sequence \346>, mailbox_lost = false, have_guids = true, have_save_guids = true, have_only_guid128 = false, uid_validity = 1497621508, uid_next = 10, messages_count = 9, first_recent_uid = 1, highest_modseq = 3, highest_pvt_modseq = 0, cache_fields = {arr = {buffer = 0x209d208, element_size = 24}, v = 0x209d208, v_modifiable = 0x209d208}}
         box = 0x20e0f88
         errstr = 0x2f <error: Cannot access memory at address 0x2f>
         resync_reason = 0x466b58 "UIDVALIDITY changed during a stateful sync, need to restart"
         error = MAIL_ERROR_NONE
         ret = <optimized out>
         resync = 255
         __FUNCTION__ = "dsync_brain_slave_recv_mailbox"
#7  0x00000000004387db in dsync_brain_run_real (changed_r=0x7ffd51c5b67f, brain=0x20d2b48) at dsync-brain.c:651
         ret = true
         orig_state = DSYNC_STATE_SLAVE_RECV_MAILBOX
         orig_box_recv_state = DSYNC_BOX_STATE_MAILBOX
         orig_box_send_state = DSYNC_BOX_STATE_MAILBOX
         changed = false
#8  dsync_brain_run (brain=brain at entry=0x20d2b48, changed_r=changed_r at entry=0x7ffd51c5b67f) at dsync-brain.c:687
         _data_stack_cur_id = 5
#9  0x0000000000438ae1 in dsync_brain_run_io (context=0x20d2b48) at dsync-brain.c:110
         brain = 0x20d2b48
         changed = false
         try_pending = true
#10 0x000000000044cc7f in dsync_ibc_stream_input (ibc=0x20c1a10) at dsync-ibc-stream.c:230
         ibc = 0x20c1a10
#11 0x00007fa33455a802 in io_loop_call_io (io=0x20becc0) at ioloop.c:599
         ioloop = 0x20a9f20
         t_id = 4
         __FUNCTION__ = "io_loop_call_io"
#12 0x00007fa33455bd47 in io_loop_handler_run_internal (ioloop=ioloop at entry=0x20a9f20) at ioloop-epoll.c:223
         ctx = 0x20ab100
         list = 0x20c14f0
         io = <optimized out>
         tv = {tv_sec = 4, tv_usec = 999912}
         events_count = <optimized out>
         msecs = <optimized out>
         ret = 1
         i = 0
         call = <optimized out>
         __FUNCTION__ = "io_loop_handler_run_internal"
#13 0x00007fa33455a89c in io_loop_handler_run (ioloop=ioloop at entry=0x20a9f20) at ioloop.c:648
No locals.
#14 0x00007fa33455aa58 in io_loop_run (ioloop=0x20a9f20) at ioloop.c:623
         __FUNCTION__ = "io_loop_run"
#15 0x000000000042065e in cmd_dsync_server_run (_ctx=0x20b6168, user=<optimized out>) at doveadm-dsync.c:1169
         ctx = 0x20b6168
         ibc = 0x20c1a10
         brain = 0x20d2b48
         temp_prefix = 0x209cb68
         state_str = 0x0
         sync_type = <optimized out>
         name = 0x20a9f00 "10.33.207.136"
         process_title_prefix = 0x209cb40 "10.33.207.136 "
         mail_error = MAIL_ERROR_NONE
#16 0x0000000000421f96 in doveadm_mail_next_user (ctx=ctx at entry=0x20b6168, cctx=cctx at entry=0x7ffd51c5b8e0, error_r=error_r at entry=0x7ffd51c5b8d8) at doveadm-mail.c:416
         input = {module = 0x0, service = 0x4592b0 "doveadm", username = 0x209b5e1 "T0146937", session_id = 0x0, session_id_prefix = 0x0, session_create_time = 0, local_ip = {family = 2, u = {ip6 = {__in6_u = {__u6_addr8 = "\n!χ", '\000' <repeats 11 times>, __u6_addr16 = {8458, 34767, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {2278498570, 0, 0, 0}}}, ip4 = {s_addr = 2278498570}}}, remote_ip = {family = 2, u = {ip6 = {__in6_u = {__u6_addr8 = "\n!ψ", '\000' <repeats 11 times>, __u6_addr16 = {8458, 35023, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {2295275786, 0, 0, 0}}}, ip4 = {s_addr = 2295275786}}}, local_port = 12345, remote_port = 55819, userdb_fields = 0x0, flags_override_add = (unknown: 0), flags_override_remove = (unknown: 0), no_userdb_lookup = 0, debug = 0}
         error = 0x20 <error: Cannot access memory at address 0x20>
         ip = <optimized out>
         ret = <optimized out>
         __FUNCTION__ = "doveadm_mail_next_user"
#17 0x0000000000422909 in doveadm_mail_single_user (ctx=ctx at entry=0x20b6168, cctx=cctx at entry=0x7ffd51c5b8e0, error_r=error_r at entry=0x7ffd51c5b8d8) at doveadm-mail.c:447
         __FUNCTION__ = "doveadm_mail_single_user"
#18 0x0000000000435484 in doveadm_mail_cmd_server_run (cctx=0x7ffd51c5b8e0, mctx=0x20b6168, conn=0x20b1d48) at client-connection.c:164
         error = 0x0
         ret = <optimized out>
#19 doveadm_cmd_handle (cctx=0x7ffd51c5b8e0, argv=0x209b618, argc=3, cmd_name=<optimized out>, conn=0x20b1d48) at client-connection.c:247
         ioloop = 0x20a9f20
         mail_cmd = 0x20aa138
         mctx = 0x20b6168
         cmd_ver2 = <optimized out>
         prev_ioloop = 0x20a39d0
         cmd = 0x0
#20 client_handle_command (args=<optimized out>, conn=0x20b1d48) at client-connection.c:315
         cctx = {cmd = 0x0, argc = 0, argv = 0x0, username = 0x209b5e1 "T0146937", cli = false, tcp_server = true, local_ip = {family = 2, u = {ip6 = {__in6_u = {__u6_addr8 = "\n!χ", '\000' <repeats 11 times>, __u6_addr16 = {8458, 34767, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {2278498570, 0, 0, 0}}}, ip4 = {s_addr = 2278498570}}}, remote_ip = {family = 2, u = {ip6 = {__in6_u = {__u6_addr8 = "\n!ψ", '\000' <repeats 11 times>, __u6_addr16 = {8458, 35023, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {2295275786, 0, 0, 0}}}, ip4 = {s_addr = 2295275786}}}, local_port = 12345, remote_port = 55819, conn = 0x20b1d48}
         flags = <optimized out>
         cmd_name = <optimized out>
         argc = <optimized out>
#21 client_connection_input (conn=0x20b1d48) at client-connection.c:432
         args = <optimized out>
         _data_stack_cur_id = 3
         line = <optimized out>
         ok = true
#22 0x00007fa33455a802 in io_loop_call_io (io=0x20a8660) at ioloop.c:599
         ioloop = 0x20a39d0
         t_id = 2
         __FUNCTION__ = "io_loop_call_io"
#23 0x00007fa33455bd47 in io_loop_handler_run_internal (ioloop=ioloop at entry=0x20a39d0) at ioloop-epoll.c:223
         ctx = 0x20af660
         list = 0x20a35c0
         io = <optimized out>
         tv = {tv_sec = 2147483, tv_usec = 0}
         events_count = <optimized out>
         msecs = <optimized out>
         ret = 1
         i = 0
         call = <optimized out>
         __FUNCTION__ = "io_loop_handler_run_internal"
#24 0x00007fa33455a89c in io_loop_handler_run (ioloop=ioloop at entry=0x20a39d0) at ioloop.c:648
No locals.
#25 0x00007fa33455aa58 in io_loop_run (ioloop=0x20a39d0) at ioloop.c:623
         __FUNCTION__ = "io_loop_run"
#26 0x00007fa3344e6e43 in master_service_run (service=0x20a3870, callback=callback at entry=0x437690 <client_connected>) at master-service.c:666
No locals.
#27 0x0000000000413ff7 in main (argc=1, argv=0x20a35e0) at main.c:143
         set_roots = {0x464b40 <doveadm_setting_parser_info>, 0x0}
         input = {roots = 0x7ffd51c5ba60, config_path = 0x0, preserve_environment = false, preserve_user = false, preserve_home = false, never_exec = false, use_sysexits = false, parse_full_config = false, module = 0x4592b0 "doveadm", service = 0x4592b0 "doveadm", username = 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_name = 0x0}
         output = {specific_services = 0x0, service_uses_local = 0, service_uses_remote = 0, used_local = 0, used_remote = 0, permission_denied = 0}
         error = 0x7fa334f3f520 "\200\364\363\064\243\177"
         c = <optimized out>


More information about the dovecot mailing list