[Dovecot] Dovecot rc15 crash in mbox-sync-update.c
Here is another crash we've been seeing recently in rc15 on Solaris 10.
(gdb) bt full #0 0xff1c12a4 in ?? () No symbol table info available. #1 0xff140040 in ?? () No symbol table info available. #2 0x000786a8 in t_buffer_alloc (size=688976) at data-stack.c:346 __PRETTY_FUNCTION__ = "file %s: line %" #3 0x00078190 in t_pop () at data-stack.c:149 frame_block = (struct stack_frame_block *) 0x7fffffff #4 0x00042a90 in mbox_sync_update_status (ctx=0x8f7e0) at mbox-sync-update.c:267 No locals. #5 0x00041730 in mbox_sync_rewrite (sync_ctx=0xffbff548, mail_ctx=0x39d5, end_offset=14098141, move_diff=27645, extra_space=1, first_seq=45, last_seq=163) at mbox-sync-rewrite.c:552 mails = (struct mbox_sync_mail *) 0xcf238 offset = 1 dest_offset = 4294967295 next_end_offset = 14079696 next_move_diff = 6 start_offset = 1275633 expunged_space = 0 idx = 185 first_nonexpunged_idx = 0 padding_per_mail = 50 count = 542 ret = 0 __PRETTY_FUNCTION__ = "mktime(today) fail" #6 0x0003db84 in mbox_sync (mbox=0xc09c0, flags=32407386) at mbox-sync.c:1375 index_sync_ctx = (struct mail_index_sync_ctx *) 0xc1d58 sync_view = (struct mail_index_view *) 0xc1d90 sync_ctx = {mbox = 0xc09c0, flags = 0, input = 0xc5878, file_input = 0xc5750, write_fd = 10, index_sync_ctx = 0xc1d58, sync_view = 0xc1d90, t = 0xc3340, hdr = 0xc1dd8, header = 0xb6900, from_line = 0xb68d8, base_uid_validity = 1143728609, base_uid_last = 5161, base_uid_last_offset = 1538, mails = {buffer = 0xb6928, element_size = 56}, syncs = {buffer = 0xb6950, element_size = 20}, sync_rec = {uid1 = 0, uid2 = 0, type = 0, add_flags = 0 '\0', remove_flags = 0 '\0', keyword_idx = 0}, mail_keyword_pool = 0xc3598, saved_keywords_pool = 0xc36a0, prev_msg_uid = 5494, next_uid = 5709, idx_next_uid = 1, seq = 586, idx_seq = 587, need_space_seq = 45, expunged_space = 0, space_diff = -27680, dest_first_mail = 0, first_mail_crlf_expunged = 0, delay_writes = 0} seq = 4294967295 offset = 18446744073709551615 lock_id = 3 ret = 0 changed = 1 #7 0x0003e2c8 in mbox_sync (mbox=0xb8128, flags=0) at mbox-sync.c:1312 index_sync_ctx = (struct mail_index_sync_ctx *) 0x7e9 sync_view = (struct mail_index_view *) 0x1ee3429 sync_ctx = {mbox = 0x164d, flags = MBOX_SYNC_LAST_COMMIT, input = 0x24a, file_input = 0x24b, write_fd = 45, index_sync_ctx = 0x0, sync_view = 0x0, t = 0x0, hdr = 0xffffffff, header = 0xffff93e0, from_line = 0x0, base_uid_validity = 0, base_uid_last = 0, base_uid_last_offset = 18428719917034373157, mails = {buffer = 0x10, element_size = 753960}, syncs = {buffer = 0xb7e14, element_size = 753960}, sync_rec = {uid1 = 753104, uid2 = 752648, type = 563200, add_flags = 0 '\0', remove_flags = 8 '\b', keyword_idx = 788928}, mail_keyword_pool = 0x0, saved_keywords_pool = 0x0, prev_msg_uid = 13, next_uid = 2155905152, idx_next_uid = 7, seq = 4290770536, idx_seq = 433948, need_space_seq = 563200, expunged_space = -18024225394221448, space_diff = 2418925581670400, dest_first_mail = 0, first_mail_crlf_expunged = 0, delay_writes = 0} seq = 32386076 offset = 2516850835456 lock_id = 4294967295 ret = 788928 changed = 753960 #8 0x00069f24 in mail_storage_class_register (storage_class=0xb8128) at mail-storage.c:42 No locals. #9 0x00028fe0 in imap_sync_deinit (ctx=0xc09c0) at imap-sync.c:83 status = {messages = 706560, recent = 705536, unseen = 0, uidvalidity = 0, uidnext = 753216, first_unseen_seq = 0, keywords = 0x3e7} #10 0x00021248 in cmd_status (cmd=0xb7e14) at cmd-status.c:91 client = (struct client *) 0xb7dd0 args = (struct imap_arg *) 0xb8078 status = {messages = 745216, recent = 2, unseen = 4290771088, uidvalidity = 0, uidnext = 0, first_unseen_seq = 0, keywords = 0xffbff830} storage = (struct mail_storage *) 0xb7c08 real_mailbox = 0xb8128 "mail/AutoFiled/2006" str = (string_t *) 0x10 #11 0x0002287c in client_handle_input (cmd=0xb7dd0) at client.c:380 client = (struct client *) 0x210e8 __PRETTY_FUNCTION__ = "parameter \0\0\0\0\0\0Inva" #12 0x0007e3bc in timeout_add (msecs=743112, callback=0xab800, context=0xac400) at ioloop.c:152 timeout = (struct timeout *) 0x2 #13 0x0007dcb4 in _seek (stream=0xb56c8, v_offset=3039960672808960, mark=116) at istream-mmap.c:149 No locals. #14 0x0002ab24 in main (argc=-4195379, argv=0xab800, envp=0xac400) at main.c:123 No locals. (gdb) quit
Steven F. Siirila Office: Lind Hall, Room 130B Internet Services E-mail: sfs@umn.edu Office of Information Technology Voice: (612) 626-0244 University of Minnesota Fax: (612) 626-7593
On Fri, Jan 05, 2007 at 03:25:58PM -0600, Steven F Siirila wrote:
Here is another crash we've been seeing recently in rc15 on Solaris 10.
Additional information:
The user is using Outlook, and the system hangs when trying to check mail in subscribed folders/synchronize folders on application start.
(gdb) bt full #0 0xff1c12a4 in ?? () No symbol table info available. #1 0xff140040 in ?? () No symbol table info available. #2 0x000786a8 in t_buffer_alloc (size=688976) at data-stack.c:346 __PRETTY_FUNCTION__ = "file %s: line %" #3 0x00078190 in t_pop () at data-stack.c:149 frame_block = (struct stack_frame_block *) 0x7fffffff #4 0x00042a90 in mbox_sync_update_status (ctx=0x8f7e0) at mbox-sync-update.c:267 No locals. #5 0x00041730 in mbox_sync_rewrite (sync_ctx=0xffbff548, mail_ctx=0x39d5, end_offset=14098141, move_diff=27645, extra_space=1, first_seq=45, last_seq=163) at mbox-sync-rewrite.c:552 mails = (struct mbox_sync_mail *) 0xcf238 offset = 1 dest_offset = 4294967295 next_end_offset = 14079696 next_move_diff = 6 start_offset = 1275633 expunged_space = 0 idx = 185 first_nonexpunged_idx = 0 padding_per_mail = 50 count = 542 ret = 0 __PRETTY_FUNCTION__ = "mktime(today) fail" #6 0x0003db84 in mbox_sync (mbox=0xc09c0, flags=32407386) at mbox-sync.c:1375 index_sync_ctx = (struct mail_index_sync_ctx *) 0xc1d58 sync_view = (struct mail_index_view *) 0xc1d90 sync_ctx = {mbox = 0xc09c0, flags = 0, input = 0xc5878, file_input = 0xc5750, write_fd = 10, index_sync_ctx = 0xc1d58, sync_view = 0xc1d90, t = 0xc3340, hdr = 0xc1dd8, header = 0xb6900, from_line = 0xb68d8, base_uid_validity = 1143728609, base_uid_last = 5161, base_uid_last_offset = 1538, mails = {buffer = 0xb6928, element_size = 56}, syncs = {buffer = 0xb6950, element_size = 20}, sync_rec = {uid1 = 0, uid2 = 0, type = 0, add_flags = 0 '\0', remove_flags = 0 '\0', keyword_idx = 0}, mail_keyword_pool = 0xc3598, saved_keywords_pool = 0xc36a0, prev_msg_uid = 5494, next_uid = 5709, idx_next_uid = 1, seq = 586, idx_seq = 587, need_space_seq = 45, expunged_space = 0, space_diff = -27680, dest_first_mail = 0, first_mail_crlf_expunged = 0, delay_writes = 0} seq = 4294967295 offset = 18446744073709551615 lock_id = 3 ret = 0 changed = 1 #7 0x0003e2c8 in mbox_sync (mbox=0xb8128, flags=0) at mbox-sync.c:1312 index_sync_ctx = (struct mail_index_sync_ctx *) 0x7e9 sync_view = (struct mail_index_view *) 0x1ee3429 sync_ctx = {mbox = 0x164d, flags = MBOX_SYNC_LAST_COMMIT, input = 0x24a, file_input = 0x24b, write_fd = 45, index_sync_ctx = 0x0, sync_view = 0x0, t = 0x0, hdr = 0xffffffff, header = 0xffff93e0, from_line = 0x0, base_uid_validity = 0, base_uid_last = 0, base_uid_last_offset = 18428719917034373157, mails = {buffer = 0x10, element_size = 753960}, syncs = {buffer = 0xb7e14, element_size = 753960}, sync_rec = {uid1 = 753104, uid2 = 752648, type = 563200, add_flags = 0 '\0', remove_flags = 8 '\b', keyword_idx = 788928}, mail_keyword_pool = 0x0, saved_keywords_pool = 0x0, prev_msg_uid = 13, next_uid = 2155905152, idx_next_uid = 7, seq = 4290770536, idx_seq = 433948, need_space_seq = 563200, expunged_space = -18024225394221448, space_diff = 2418925581670400, dest_first_mail = 0, first_mail_crlf_expunged = 0, delay_writes = 0} seq = 32386076 offset = 2516850835456 lock_id = 4294967295 ret = 788928 changed = 753960 #8 0x00069f24 in mail_storage_class_register (storage_class=0xb8128) at mail-storage.c:42 No locals. #9 0x00028fe0 in imap_sync_deinit (ctx=0xc09c0) at imap-sync.c:83 status = {messages = 706560, recent = 705536, unseen = 0, uidvalidity = 0, uidnext = 753216, first_unseen_seq = 0, keywords = 0x3e7} #10 0x00021248 in cmd_status (cmd=0xb7e14) at cmd-status.c:91 client = (struct client *) 0xb7dd0 args = (struct imap_arg *) 0xb8078 status = {messages = 745216, recent = 2, unseen = 4290771088, uidvalidity = 0, uidnext = 0, first_unseen_seq = 0, keywords = 0xffbff830} storage = (struct mail_storage *) 0xb7c08 real_mailbox = 0xb8128 "mail/AutoFiled/2006" str = (string_t *) 0x10 #11 0x0002287c in client_handle_input (cmd=0xb7dd0) at client.c:380 client = (struct client *) 0x210e8 __PRETTY_FUNCTION__ = "parameter \0\0\0\0\0\0Inva" #12 0x0007e3bc in timeout_add (msecs=743112, callback=0xab800, context=0xac400) at ioloop.c:152 timeout = (struct timeout *) 0x2 #13 0x0007dcb4 in _seek (stream=0xb56c8, v_offset=3039960672808960, mark=116) at istream-mmap.c:149 No locals. #14 0x0002ab24 in main (argc=-4195379, argv=0xab800, envp=0xac400) at main.c:123 No locals. (gdb) quit
Steven F. Siirila Office: Lind Hall, Room 130B Internet Services E-mail: sfs@umn.edu Office of Information Technology Voice: (612) 626-0244 University of Minnesota Fax: (612) 626-7593
--
Steven F. Siirila Office: Lind Hall, Room 130B Internet Services E-mail: sfs@umn.edu Office of Information Technology Voice: (612) 626-0244 University of Minnesota Fax: (612) 626-7593
On 5.1.2007, at 23.25, Steven F Siirila wrote:
Here is another crash we've been seeing recently in rc15 on Solaris
10.(gdb) bt full
This backtrace is pretty much corrupted. That happens if the binary
you gave to gdb wasn't the exact same one that produced the core file.
On Sat, Jan 06, 2007 at 12:46:45AM +0200, Timo Sirainen wrote:
On 5.1.2007, at 23.25, Steven F Siirila wrote:
Here is another crash we've been seeing recently in rc15 on Solaris
10.(gdb) bt full
This backtrace is pretty much corrupted. That happens if the binary
you gave to gdb wasn't the exact same one that produced the core file.
Hmm, I may have used the RC16 binary since in order to use gdb I have to move the core file to a different server than the one in which the crash occurred. Here is another backtrace using the right binary:
(gdb) bt full #0 0xff1c12a4 in .L423 () from /lib/libc.so.1 No symbol table info available. #1 0xff15fe20 in __wcsxfrm_std () from /lib/libc.so.1 No symbol table info available. #2 0xff140040 in getutline () from /lib/libc.so.1 No symbol table info available. #3 0x000786a8 in i_internal_panic_handler ( fmt=0x8f7e0 "file %s: line %d (%s): assertion failed: (%s)", args=0xffbfee68) at failures.c:382 No locals. #4 0x00078190 in i_panic ( format=0x8f7e0 "file %s: line %d (%s): assertion failed: (%s)") at failures.c:180 No locals. #5 0x00042a90 in mbox_sync_update_header_from (ctx=0xffbff340, mail=0x14e8) at mbox-sync-update.c:459 __PRETTY_FUNCTION__ = "mbox_sync_update_header_from" #6 0x00041730 in mbox_sync_rewrite (sync_ctx=0xffbff548, mail_ctx=0x39d5, end_offset=14098141, move_diff=27645, extra_space=1, first_seq=45, last_seq=163) at mbox-sync-rewrite.c:357 mails = (struct mbox_sync_mail *) 0xcf238 offset = 1 dest_offset = 4294967295 next_end_offset = 14079696 next_move_diff = 6 start_offset = 1275633 expunged_space = 0 idx = 185 first_nonexpunged_idx = 0 padding_per_mail = 50 count = 542 ret = 0 __PRETTY_FUNCTION__ = "mbox_sync_rewrite" #7 0x0003db84 in mbox_sync (mbox=0xc09c0, flags=32407386) at mbox-sync.c:1302 index_sync_ctx = (struct mail_index_sync_ctx *) 0xc1d58 sync_view = (struct mail_index_view *) 0xc1d90 sync_ctx = {mbox = 0xc09c0, flags = 0, input = 0xc5878, file_input = 0xc5750, write_fd = 10, index_sync_ctx = 0xc1d58, sync_view = 0xc1d90, t = 0xc3340, hdr = 0xc1dd8, header = 0xb6900, from_line = 0xb68d8, base_uid_validity = 1143728609, base_uid_last = 5161, base_uid_last_offset = 1538, mails = {buffer = 0xb6928, element_size = 56}, syncs = {buffer = 0xb6950, element_size = 20}, sync_rec = {uid1 = 0, uid2 = 0, type = 0, add_flags = 0 '\0', remove_flags = 0 '\0', keyword_idx = 0}, mail_keyword_pool = 0xc3598, saved_keywords_pool = 0xc36a0, prev_msg_uid = 5494, next_uid = 5709, idx_next_uid = 1, seq = 586, idx_seq = 587, need_space_seq = 45, expunged_space = 0, space_diff = -27680, dest_first_mail = 0, first_mail_crlf_expunged = 0, delay_writes = 0} seq = 4294967295 offset = 18446744073709551615 lock_id = 3 ret = 0 changed = 1 #8 0x0003e2c8 in mbox_storage_sync_init (box=0xc09c0, flags=0) at mbox-sync.c:1815 mbox_sync_flags = 254656 ret = 0 #9 0x00069f24 in mailbox_sync_init (box=0xc09c0, flags=0) at mail-storage.c:404 No locals. #10 0x00028fe0 in imap_sync_nonselected (box=0xc09c0, flags=0) at imap-sync.c:195 ctx = (struct mailbox_sync_context *) 0xd sync_rec = {seq1 = 753216, seq2 = 0, type = 999} status = {messages = 2155905152, recent = 7, unseen = 4290770816, uidvalidity = 135948, uidnext = 706560, first_unseen_seq = 705536, keywords = 0x0} #11 0x00021248 in cmd_status (cmd=0xb7e14) at cmd-status.c:68 client = (struct client *) 0xb7dd0 args = (struct imap_arg *) 0xb8078 status = {messages = 745216, recent = 2, unseen = 4290771088, uidvalidity = 0, uidnext = 0, first_unseen_seq = 0, keywords = 0xffbff830} storage = (struct mail_storage *) 0xb7c08 real_mailbox = 0xb8128 "mail/AutoFiled/2006" str = (string_t *) 0xb8128 #12 0x0002287c in _client_input (context=0xb7dd0) at client.c:381 cmd = (struct client_command_context *) 0xb7e14 ret = 135400 #13 0x0007e3bc in io_loop_handler_run (ioloop=0xb56c8) at ioloop-poll.c:199 ctx = (struct ioloop_handler_context *) 0xb5700 pollfd = (struct pollfd *) 0x2 tv = {tv_sec = 0, tv_usec = 999040} io = (struct io *) 0xb6658 t_id = 2 msecs = 999 ret = 0 call = true #14 0x0007dcb4 in io_loop_run (ioloop=0xb56c8) at ioloop.c:281 No locals. #15 0x0002ab24 in main (argc=-4195379, argv=0xab800, envp=0xac400) at main.c:280 No locals. (gdb) quit
--
Steven F. Siirila Office: Lind Hall, Room 130B Internet Services E-mail: sfs@umn.edu Office of Information Technology Voice: (612) 626-0244 University of Minnesota Fax: (612) 626-7593
On Fri, Jan 05, 2007 at 04:55:21PM -0600, Steven F Siirila wrote:
On Sat, Jan 06, 2007 at 12:46:45AM +0200, Timo Sirainen wrote:
On 5.1.2007, at 23.25, Steven F Siirila wrote:
Here is another crash we've been seeing recently in rc15 on Solaris
10.(gdb) bt full
This backtrace is pretty much corrupted. That happens if the binary
you gave to gdb wasn't the exact same one that produced the core file.Hmm, I may have used the RC16 binary since in order to use gdb I have to move the core file to a different server than the one in which the crash occurred. Here is another backtrace using the right binary:
Any word on this bug report?
(gdb) bt full #0 0xff1c12a4 in .L423 () from /lib/libc.so.1 No symbol table info available. #1 0xff15fe20 in __wcsxfrm_std () from /lib/libc.so.1 No symbol table info available. #2 0xff140040 in getutline () from /lib/libc.so.1 No symbol table info available. #3 0x000786a8 in i_internal_panic_handler ( fmt=0x8f7e0 "file %s: line %d (%s): assertion failed: (%s)", args=0xffbfee68) at failures.c:382 No locals. #4 0x00078190 in i_panic ( format=0x8f7e0 "file %s: line %d (%s): assertion failed: (%s)") at failures.c:180 No locals. #5 0x00042a90 in mbox_sync_update_header_from (ctx=0xffbff340, mail=0x14e8) at mbox-sync-update.c:459 __PRETTY_FUNCTION__ = "mbox_sync_update_header_from" #6 0x00041730 in mbox_sync_rewrite (sync_ctx=0xffbff548, mail_ctx=0x39d5, end_offset=14098141, move_diff=27645, extra_space=1, first_seq=45, last_seq=163) at mbox-sync-rewrite.c:357 mails = (struct mbox_sync_mail *) 0xcf238 offset = 1 dest_offset = 4294967295 next_end_offset = 14079696 next_move_diff = 6 start_offset = 1275633 expunged_space = 0 idx = 185 first_nonexpunged_idx = 0 padding_per_mail = 50 count = 542 ret = 0 __PRETTY_FUNCTION__ = "mbox_sync_rewrite" #7 0x0003db84 in mbox_sync (mbox=0xc09c0, flags=32407386) at mbox-sync.c:1302 index_sync_ctx = (struct mail_index_sync_ctx *) 0xc1d58 sync_view = (struct mail_index_view *) 0xc1d90 sync_ctx = {mbox = 0xc09c0, flags = 0, input = 0xc5878, file_input = 0xc5750, write_fd = 10, index_sync_ctx = 0xc1d58, sync_view = 0xc1d90, t = 0xc3340, hdr = 0xc1dd8, header = 0xb6900, from_line = 0xb68d8, base_uid_validity = 1143728609, base_uid_last = 5161, base_uid_last_offset = 1538, mails = {buffer = 0xb6928, element_size = 56}, syncs = {buffer = 0xb6950, element_size = 20}, sync_rec = {uid1 = 0, uid2 = 0, type = 0, add_flags = 0 '\0', remove_flags = 0 '\0', keyword_idx = 0}, mail_keyword_pool = 0xc3598, saved_keywords_pool = 0xc36a0, prev_msg_uid = 5494, next_uid = 5709, idx_next_uid = 1, seq = 586, idx_seq = 587, need_space_seq = 45, expunged_space = 0, space_diff = -27680, dest_first_mail = 0, first_mail_crlf_expunged = 0, delay_writes = 0} seq = 4294967295 offset = 18446744073709551615 lock_id = 3 ret = 0 changed = 1 #8 0x0003e2c8 in mbox_storage_sync_init (box=0xc09c0, flags=0) at mbox-sync.c:1815 mbox_sync_flags = 254656 ret = 0 #9 0x00069f24 in mailbox_sync_init (box=0xc09c0, flags=0) at mail-storage.c:404 No locals. #10 0x00028fe0 in imap_sync_nonselected (box=0xc09c0, flags=0) at imap-sync.c:195 ctx = (struct mailbox_sync_context *) 0xd sync_rec = {seq1 = 753216, seq2 = 0, type = 999} status = {messages = 2155905152, recent = 7, unseen = 4290770816, uidvalidity = 135948, uidnext = 706560, first_unseen_seq = 705536, keywords = 0x0} #11 0x00021248 in cmd_status (cmd=0xb7e14) at cmd-status.c:68 client = (struct client *) 0xb7dd0 args = (struct imap_arg *) 0xb8078 status = {messages = 745216, recent = 2, unseen = 4290771088, uidvalidity = 0, uidnext = 0, first_unseen_seq = 0, keywords = 0xffbff830} storage = (struct mail_storage *) 0xb7c08 real_mailbox = 0xb8128 "mail/AutoFiled/2006" str = (string_t *) 0xb8128 #12 0x0002287c in _client_input (context=0xb7dd0) at client.c:381 cmd = (struct client_command_context *) 0xb7e14 ret = 135400 #13 0x0007e3bc in io_loop_handler_run (ioloop=0xb56c8) at ioloop-poll.c:199 ctx = (struct ioloop_handler_context *) 0xb5700 pollfd = (struct pollfd *) 0x2 tv = {tv_sec = 0, tv_usec = 999040} io = (struct io *) 0xb6658 t_id = 2 msecs = 999 ret = 0 call = true #14 0x0007dcb4 in io_loop_run (ioloop=0xb56c8) at ioloop.c:281 No locals. #15 0x0002ab24 in main (argc=-4195379, argv=0xab800, envp=0xac400) at main.c:280 No locals. (gdb) quit
--
Steven F. Siirila Office: Lind Hall, Room 130B Internet Services E-mail: sfs@umn.edu Office of Information Technology Voice: (612) 626-0244 University of Minnesota Fax: (612) 626-7593
--
Steven F. Siirila Office: Lind Hall, Room 130B Internet Services E-mail: sfs@umn.edu Office of Information Technology Voice: (612) 626-0244 University of Minnesota Fax: (612) 626-7593
On Fri, 2007-01-05 at 16:55 -0600, Steven F Siirila wrote:
Hmm, I may have used the RC16 binary since in order to use gdb I have to move the core file to a different server than the one in which the crash occurred. Here is another backtrace using the right binary:
(gdb) bt full .. #5 0x00042a90 in mbox_sync_update_header_from (ctx=0xffbff340, mail=0x14e8) at mbox-sync-update.c:459 __PRETTY_FUNCTION__ = "mbox_sync_update_header_from"
Could you show me the output of:
fr 5 p *ctx p *mail
On Fri, Jan 19, 2007 at 11:43:23PM +0200, Timo Sirainen wrote:
On Fri, 2007-01-05 at 16:55 -0600, Steven F Siirila wrote:
Hmm, I may have used the RC16 binary since in order to use gdb I have to move the core file to a different server than the one in which the crash occurred. Here is another backtrace using the right binary:
(gdb) bt full .. #5 0x00042a90 in mbox_sync_update_header_from (ctx=0xffbff340, mail=0x14e8) at mbox-sync-update.c:459 __PRETTY_FUNCTION__ = "mbox_sync_update_header_from"
Could you show me the output of:
fr 5
#5 0x00042a90 in mbox_sync_update_header_from (ctx=0xffbff340, mail=0x14e8) at mbox-sync-update.c:459 459 i_assert(ctx->mail.uid == 0 || ctx->mail.uid_broken ||
p *ctx
$1 = {sync_ctx = 0xffbff548, mail = {uid = 5494, idx_seq = 0, keywords = { buffer = 0x0, element_size = 0}, flags = 8 '\b', uid_broken = 0, from_offset = 0, body_size = 14805, offset = 14079696, space = 0}, seq = 230, hdr_offset = 14079696, body_offset = 14081146, header_first_change = 1420, header_last_change = 4294967295, header = 0xb6900, hdr_md5_sum = "\0�\204�8�\0328��V\e\213�}�", content_length = 18446744073709551615, hdr_pos = {1394, 4294967295, 1420, 1407, 1428}, parsed_uid = 5494, last_uid_value_start_pos = 0, have_eoh = 1, need_rewrite = 0, seen_imapbase = 0, pseudo = 0, updated = 0, recent = 0, dirty = 0, imapbase_rewrite = 0, imapbase_updated = 0}
p *mail
Cannot access memory at address 0x14e8
--
Steven F. Siirila Office: Lind Hall, Room 130B Internet Services E-mail: sfs@umn.edu Office of Information Technology Voice: (612) 626-0244 University of Minnesota Fax: (612) 626-7593
On Sat, Jan 20, 2007 at 09:27:09PM +0200, Timo Sirainen wrote:
On Sat, 2007-01-20 at 12:21 -0600, Steven F Siirila wrote:
p *mail
Cannot access memory at address 0x14e8
How about:
fr 6
#6 0x00041730 in mbox_sync_rewrite (sync_ctx=0xffbff548, mail_ctx=0x39d5, end_offset=14098141, move_diff=27645, extra_space=1, first_seq=45, last_seq=163) at mbox-sync-rewrite.c:357 357 mbox_sync_update_header_from(mail_ctx, &mails[idx]);
p mails[idx]
$1 = {uid = 5352, idx_seq = 230, keywords = {buffer = 0x0, element_size = 0}, flags = 8 '\b', uid_broken = 1, from_offset = 14079641, body_size = 14805, offset = 14079696, space = -6}
--
Steven F. Siirila Office: Lind Hall, Room 130B Internet Services E-mail: sfs@umn.edu Office of Information Technology Voice: (612) 626-0244 University of Minnesota Fax: (612) 626-7593
On Sat, 2007-01-20 at 13:55 -0600, Steven F Siirila wrote:
$1 = {uid = 5352, idx_seq = 230, keywords = {buffer = 0x0, element_size = 0}, flags = 8 '\b', uid_broken = 1, from_offset = 14079641, body_size = 14805, offset = 14079696, space = -6}
I think this fixes it: http://dovecot.org/list/dovecot-cvs/2007-January/007484.html
I did some other mbox fixes too.
participants (2)
-
Steven F Siirila
-
Timo Sirainen