[Dovecot] Dovecot rc15 crash in mbox-sync-update.c

Steven F Siirila sfs at tc.umn.edu
Sat Jan 20 18:21:23 UTC 2007


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 at umn.edu
Office of Information Technology	Voice: (612) 626-0244
University of Minnesota			Fax: (612) 626-7593


More information about the dovecot mailing list