[Dovecot] Quota crashing w/ gdb backtrace

Timo Sirainen tss at iki.fi
Mon Feb 5 13:38:36 UTC 2007


On Fri, 2007-02-02 at 11:01 -0500, Dean Brooks wrote:
> > > #0  0x377fc in mbox_file_seek (mbox=0xc8560, view=0xc94c0, seq=1,
> > >     deleted_r=0xffbef157) at mbox-file.c:167
> > > 167             if (data == NULL) {
> > ..
> header size = 200
..
> -- Extension 0 --
> name: mbox
> hdr_size: 0
> reset_id: 0
> record_offset: 8
> record_size: 8
> record_align: 8
> name_size: 4

Did the crash happen also with this index file? Because this looks
correct, the mbox extension record seems to be 64bit aligned in the
index file.

One possibility is that it's correct in index file, but broken in
in-memory mappings. You could check that with:

gdb imap core
p *view.map
p ((struct mail_index_ext *)view.map.extensions.buffer.data)[0]

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070205/3233fd86/attachment.pgp 


More information about the dovecot mailing list