On Mon, 2009-11-30 at 19:52 +0100, mailing@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.