[Dovecot] dovecot 1.1.3 coredump

Timo Sirainen tss at iki.fi
Tue Sep 23 08:47:36 EEST 2008


On Tue, 2008-09-23 at 09:38 +0400, Anton Yuzhaninov wrote:
> On 22.09.2008 23:34, Timo Sirainen wrote:
> > On Thu, 2008-09-18 at 19:32 +0400, Anton Yuzhaninov wrote:
> >> I found imap core in coredump dir:
> >>
> >> (gdb) bt
> >> #0  0x00000000004abdea in message_parse_header_next (ctx=0x79c150, hdr_r=0x7fffffffe478) at message-header-parser.c:114
> > 
> > Do you still have this core? Could you do:
> > 
> > p *ctx.input
> > p ret
> > p msg
> > p size
> > p parse_size
> > p startpos
> > 
> 
> (gdb) f 0
> #0  0x00000000004abdea in message_parse_header_next (ctx=0x79c150, hdr_r=0x7fffffffe478) at message-header-parser.c:114
> 114                             if (msg[0] == '\n' ||
> (gdb) p *ctx.input
> $1 = {v_offset = 0, stream_errno = 0, mmaped = 0, blocking = 1, closed = 0, seekable = 1, eof = 0, real_stream = 0x795180}

Thanks, one more:

p *ctx.input.real_stream

> (gdb) p ret
> $2 = -2
> (gdb) p msg
> $3 = (const unsigned char *) 0x0
> (gdb) p size
> $4 = 0

Strange, it returned "input buffer is full" while the buffer was empty..
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080923/7f7e6545/attachment.bin 


More information about the dovecot mailing list