On Thu, Oct 16, 2008 at 11:39 AM, Timo Sirainen tss@iki.fi wrote:
On Oct 16, 2008, at 11:33 AM, Diego Liziero wrote:
Today a user got this imap segfault with vanilla 1.1.4 (I don't know
Hmm. And Maildir as topic says?
No, sorry, wrong subject, mbox
#0 0x080c8d41 in message_parse_header_next (ctx=0x8774fa0, hdr_r=0xbfa438e0) at message-header-parser.c:114
p *ctx.input p *ctx.input.real_stream
(gdb) p *ctx.input
$1 = {v_offset = 0, stream_errno = 0, mmaped = 0, blocking = 1, closed
= 0, seekable = 1, eof = 0, real_stream = 0x8771538}
(gdb) p *ctx.input.real_stream
$2 = {iostream = {refcount = 3, close = 0x80e3f10
size = 0
i_stream_read_data() returned 0 bytes, but
ret = -2
it also returned that the input buffer is full. That shouldn't be happening. http://hg.dovecot.org/dovecot-1.1/rev/82d4756f43cc should catch it earlier.
Ok thanks.