[Dovecot] assertion failed and debugging dovecot
Timo Sirainen
tss at iki.fi
Wed Oct 13 19:49:31 EEST 2004
On 12.10.2004, at 08:17, Doug Luce wrote:
> I'm getting this error on a particular message in my Maildir:
>
> Oct 11 21:59:48 aurora dovecot: IMAP(doug): file ostream-file.c:
> line 646 (_send_istream): assertion failed: (instream->v_offset <=
> in_size)
I heard about the same problem today from someone else. Apparently this
can be reproduced every time with some mail. Still waiting for that
mail :)
> To me, more import than the question "why is this happening" is "how
> can I debug this?" Attaching gdb to the running imap process doesn't
> give me access to the proper function names to set up breakpoints and
> get a stack trace.
>
> Can someone with the experience give a quick how-to on debugging
> functions deep in dovecot?
You should be able to attach gdb normally into it, as long as the
binary isn't stripped, ie.:
gdb /usr/local/libexec/dovecot/imap pid
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://dovecot.org/pipermail/dovecot/attachments/20041013/09c9edd9/attachment-0001.bin>
More information about the dovecot
mailing list