[Dovecot] assertion failed and debugging dovecot

Timo Sirainen tss at iki.fi
Thu Oct 14 02:27:43 EEST 2004


On 13.10.2004, at 23:50, Doug Luce wrote:

> It's not stripped, but I think I need additional clues.  Why does the
> "where" fail to tell me where I am?
>
> aurora# gdb /usr/local/dovecot-nightly/libexec/dovecot/imap 83849
..
> 0x130234c60 in ?? ()
> (gdb) where
> #0  0x130234c60 in ?? ()
> #1  0x12006e3a8 in _read (stream=0x1200aa080) at istream-mmap.c:91
> #2  0x12006e3a8 in _read (stream=0x0) at istream-mmap.c:91
> Error accessing memory address 0x40: Bad address.

That's entirely corrupted.. It should usually be waiting in poll(). 
Only time I've seen that is when debugged binary doesn't match the 
process that is running. But I guess that's not the case, so I have no 
idea. I don't think Dovecot is doing anything special to break 
debugging.
-------------- 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/20041014/5549ac4d/PGP.pgp


More information about the dovecot mailing list