[Dovecot] dovecot 1.1.3 coredump

Anton Yuzhaninov citrin at rambler-co.ru
Tue Sep 23 08:38:26 EEST 2008


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}
(gdb) p ret
$2 = -2
(gdb) p msg
$3 = (const unsigned char *) 0x0
(gdb) p size
$4 = 0
(gdb) p parse_size
$5 = 0
(gdb) p startpos
$6 = 0

-- 
WBR,
  Anton Yuzhaninov


More information about the dovecot mailing list