[Dovecot] Lazyexpunge and Segmentation fault

Timo Sirainen tss at iki.fi
Wed Dec 9 22:03:58 EET 2009


On Mon, 2009-11-30 at 19:52 +0100, mailing at securitylabs.it wrote:
> > strace is almost useless for figuring out why program crashes. Could you get gdb backtrace? See http://dovecot.org/bugreport.html
> >   
> Hello, Timo here gdb backtrace:

You still happen to have the core file? I'd like to know a few more
things:

> #0  lazy_expunge_mail_expunge (_mail=0x9907ae8) at lazy-expunge-plugin.c:116
> 116                     lt->expunge_box = 

p *lt
p *deststorage
p *_mail
p *_mail.box

Anyway there's something weird going on there. It shouldn't crash on
that line. So either gcc optimizations confused gdb and it's actually
crashing elsewhere (recompiling+reinstalling the plugin without -O2
parameter would help with this), or there is some memory corruption
which is probably going to be tricky to find without valgrind.

-------------- 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/20091209/24cebd82/attachment.bin 


More information about the dovecot mailing list