dovecot 1.1b16
Feb 19 23:32:41 hill dovecot: IMAP(username): Disconnected for inactivity bytes=29831/872 Feb 19 23:32:41 hill dovecot: IMAP(username): file message-parser.c: line 764 (message_parser_parse_next_block): assertion failed: (ctx->input->eof) Feb 19 23:32:41 hill dovecot: child 60831 (imap) killed with signal 6
# gdb /usr/local/libexec/dovecot/imap imap.60831.hill.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... Core was generated by `imap'. Program terminated with signal 6, Aborted. Reading symbols from /usr/local/lib/libiconv.so.3...done. Loaded symbols for /usr/local/lib/libiconv.so.3 Reading symbols from /lib/libc.so.6...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /usr/local/lib/dovecot/imap/lib01_acl_plugin.so...done. Loaded symbols for /usr/local/lib/dovecot/imap/lib01_acl_plugin.so Reading symbols from /usr/local/lib/dovecot/imap/lib20_fts_plugin.so...done. Loaded symbols for /usr/local/lib/dovecot/imap/lib20_fts_plugin.so Reading symbols from /usr/local/lib/dovecot/imap/lib21_fts_squat_plugin.so...done. Loaded symbols for /usr/local/lib/dovecot/imap/lib21_fts_squat_plugin.so Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x00000000109d64ac in kill () from /lib/libc.so.6 (gdb) bt full #0 0x00000000109d64ac in kill () from /lib/libc.so.6 No symbol table info available. #1 0x00000000109d533d in abort () from /lib/libc.so.6 No symbol table info available. #2 0x00000000004aa269 in i_internal_fatal_handler (type=LOG_TYPE_PANIC, status=0, fmt=0x4d6e20 "file %s: line %d (%s): assertion failed: (%s)", args=0x7fffffffde50) at failures.c:415 backtrace = 0x0 #3 0x00000000004a986b in i_panic (format=0x4d6e20 "file %s: line %d (%s): assertion failed: (%s)") at failures.c:187 args = {{gp_offset = 40, fp_offset = 48, overflow_arg_area = 0x7fffffffdf40, reg_save_area = 0x7fffffffde80}} #4 0x00000000004a26d3 in message_parser_parse_next_block (ctx=0x635448, block_r=0x7fffffffdf80) at message-parser.c:764 ret = -1 eof = false __PRETTY_FUNCTION__ = "message_parser_parse_next_block" #5 0x000000000045e8e8 in index_mail_cache_parse_continue (_mail=0x630848) at index-mail.c:1263 mail = (struct index_mail *) 0x630848 block = {part = 0x63a260, hdr = 0x0, data = 0x0, size = 0} ret = 1 #6 0x000000000045e995 in index_mail_cache_parse_deinit (_mail=0x630848, received_date=1203480167, success=false) at index-mail.c:1291 mail = (struct index_mail *) 0x630848 #7 0x000000000043a6ec in maildir_save_finish_real (_ctx=0x62f048) at maildir-save.c:478 ctx = (struct maildir_save_context *) 0x62f048 storage = (struct mail_storage *) 0x60a848 buf = {actime = 140737488347376, modtime = 4931367} st = {st_dev = 83951370, st_ino = 6401796, st_mode = 33152, st_nlink = 1, st_uid = 24311, st_gid = 3004, st_rdev = 0, st_atimespec = {tv_sec = 1203480135, tv_nsec = 388223000}, st_mtimespec = {tv_sec = 1203480167, tv_nsec = 749911000}, st_ctimespec = {tv_sec = 1203480167, tv_nsec = 749911000}, st_size = 28267, st_blocks = 56, st_blksize = 4096, st_flags = 0, st_gen = 0, st_lspare = 0, st_birthtimespec = {tv_sec = 0, tv_nsec = 0}} path = 0x601298 "/home/username/Maildir/.Drafts/tmp/1203480135.M361150P60831.hill" output_errno = 0 __PRETTY_FUNCTION__ = "maildir_save_finish_real" #8 0x000000000043a9bd in maildir_save_finish (ctx=0x62f048) at maildir-save.c:544 _data_stack_cur_id = 4 ret = 0 #9 0x000000000043a9f8 in maildir_save_cancel (_ctx=0x62f048) at maildir-save.c:554 ctx = (struct maildir_save_context *) 0x62f048 #10 0x000000000046bf99 in mailbox_save_cancel (_ctx=0x61e108) at mail-storage.c:736 ctx = (struct mail_save_context *) 0x62f048 #11 0x00000000004147a1 in cmd_append_finish (ctx=0x61e0c8) at cmd-append.c:137 __PRETTY_FUNCTION__ = "cmd_append_finish" #12 0x0000000000414f21 in cmd_append_continue_message (cmd=0x61e048) at cmd-append.c:364 client = (struct client *) 0x60d200 ctx = (struct cmd_append_context *) 0x61e0c8 size = 140737488347520 ret = 0 #13 0x000000000041ad81 in client_command_cancel (cmd=0x61e048) at client.c:74 cmd_ret = false #14 0x000000000041affc in client_destroy (client=0x60d200, reason=0x4c4673 "Disconnected for inactivity") at client.c:132 __PRETTY_FUNCTION__ = "client_destroy" #15 0x000000000041aba6 in client_idle_timeout (client=0x60d200) at client.c:27 No locals. #16 0x00000000004b30ef in io_loop_handle_timeouts_real (ioloop=0x600240) at ioloop.c:279 timeout = (struct timeout *) 0x600980 item = (struct priorityq_item *) 0x600980 tv = {tv_sec = 0, tv_usec = 0} tv_call = {tv_sec = 1203481961, tv_usec = 101353} t_id = 3 #17 0x00000000004b313d in io_loop_handle_timeouts (ioloop=0x600240) at ioloop.c:290 _data_stack_cur_id = 2 #18 0x00000000004b401e in io_loop_handler_run (ioloop=0x600240) at ioloop-kqueue.c:138 ctx = (struct ioloop_handler_context *) 0x60b0e0 events = (struct kevent *) 0x60f000 event = (const struct kevent *) 0x60f000 tv = {tv_sec = 1799, tv_usec = 999930} ts = {tv_sec = 1799, tv_nsec = 999930000} io = (struct io_file *) 0x648300 events_count = 3 t_id = 2 ret = 0 i = 0 __PRETTY_FUNCTION__ = "io_loop_handler_run" #19 0x00000000004b3190 in io_loop_run (ioloop=0x600240) at ioloop.c:301 No locals. #20 0x0000000000426c0e in main (argc=3, argv=0x7fffffffe350, envp=0x7fffffffe370) at main.c:293 No locals. (gdb)