Re: [Dovecot] Dovecot 2.0beta3: Crash with mail_log plugin enabled

2010-03-16 Thread Timo Sirainen
On Sun, 2010-03-14 at 08:26 +0100, Thomas Leuxner wrote: Latest from Mercurial. Dovecot crashes with 'mail_log' and 'notify' plugins enabled when deleting a message: Actually it happens when copying a message (which is what your client does when deleting). Can you easily reproduce this? I

Re: [Dovecot] Dovecot 2.0beta3: Crash with mail_log plugin enabled

2010-03-16 Thread Thomas Leuxner
Am 16.03.2010 um 13:48 schrieb Timo Sirainen: Actually it happens when copying a message (which is what your client does when deleting). Can you easily reproduce this? I can't.. What mailbox format are you using? Also the backtrace has some wrong values because of gcc optimizations, it might

Re: [Dovecot] Dovecot 2.0beta3: Crash with mail_log plugin enabled

2010-03-16 Thread Pascal Volk
On 03/16/2010 08:27 PM Thomas Leuxner wrote: I can reproduce at will, but have trouble overriding the O2 optimization with 'dpkg-buildpackage'. try: DEB_BUILD_OPTIONS=nostrip debug dpkg-buildpackage The CFLAGS env variable is also honored. e.g.: CFLAGS=-g3 -O0 DEB_BUILD_OPTIONS=nostrip

Re: [Dovecot] Dovecot 2.0beta3: Crash with mail_log plugin enabled

2010-03-16 Thread Thomas Leuxner
Am 16.03.2010 um 20:35 schrieb Pascal Volk: The CFLAGS env variable is also honored. e.g.: CFLAGS=-g3 -O0 DEB_BUILD_OPTIONS=nostrip debug dpkg-buildpackage Thanks Pascal, that did the trick. Core dump attached: [20:52] root spectre:/tmp# gdb /usr/lib/dovecot/imap /tmp/core GNU gdb 6.8-debian

Re: [Dovecot] Dovecot 2.0beta3: Crash with mail_log plugin enabled

2010-03-16 Thread Timo Sirainen
Right, looks like it was crashing with mdbox. I thought I tested that but I guess I didn't. Fixed now. signature.asc Description: This is a digitally signed message part

Re: [Dovecot] Dovecot 2.0beta3: Crash with mail_log plugin enabled

2010-03-16 Thread Thomas Leuxner
Am 16.03.2010 um 21:29 schrieb Timo Sirainen: Right, looks like it was crashing with mdbox. I thought I tested that but I guess I didn't. Fixed now. It does not crash anymore, but it looks like the fix has a bad side effect. Client can not see INBOX any more, tested with Mail.app and Mutt.

Re: [Dovecot] Dovecot 2.0beta3: Crash with mail_log plugin enabled

2010-03-16 Thread Pascal Volk
On 03/16/2010 10:53 PM Thomas Leuxner wrote: … It does not crash anymore, but it looks like the fix has a bad side effect. Client can not see INBOX any more, tested with Mail.app and Mutt. Rolling back to an previous build without these restores functionality: What is your setup? doveconf

Re: [Dovecot] Dovecot 2.0beta3: Crash with mail_log plugin enabled

2010-03-16 Thread Timo Sirainen
On 16.3.2010, at 23.53, Thomas Leuxner wrote: Am 16.03.2010 um 21:29 schrieb Timo Sirainen: Right, looks like it was crashing with mdbox. I thought I tested that but I guess I didn't. Fixed now. It does not crash anymore, but it looks like the fix has a bad side effect. Client can not

Re: [Dovecot] Dovecot 2.0beta3: Crash with mail_log plugin enabled

2010-03-16 Thread Thomas Leuxner
Am 16.03.2010 um 23:40 schrieb Timo Sirainen: That affects only if you have dovecot-acl files that the process can't open because it doesn't have permission. Do you have such files somewhere? Tough one. Caused by the 'doveauth' service permission changes added to my config before. Actually

[Dovecot] Dovecot 2.0beta3: Crash with mail_log plugin enabled

2010-03-13 Thread Thomas Leuxner
Latest from Mercurial. Dovecot crashes with 'mail_log' and 'notify' plugins enabled when deleting a message: [08:22] root spectre:~# gdb /usr/lib/dovecot/imap /tmp/core GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later