On Mon, 2010-07-19 at 20:34 +0200, Thomas Leuxner wrote:
> Traced and found sequence to crash:
>
> /usr/lib/dovecot/imap -u user
Probably enough to just do:
6 SELECT Public/Mailing-Lists/Apache-Users
7 FETCH 1 (UID)
?
But .. I don't really get it. I guess it has to be related to
http://hg.dovecot.org/dovecot-2.0/rev/6b66aad2a997 change. Does
reverting that fix it?
What does it log with the attached patch?
diff -r 8da0bbb53e7d src/plugins/notify/notify-storage.c
--- a/src/plugins/notify/notify-storage.c Mon Jul 19 19:31:00 2010 +0100
+++ b/src/plugins/notify/notify-storage.c Mon Jul 19 19:53:16 2010 +0100
@@ -149,6 +149,7 @@
lt = i_new(struct notify_transaction_context, 1);
MODULE_CONTEXT_SET(t, notify_storage_module, lt);
+ i_warning("begin: trans=%p lt=%p lbox=%p", t, lt, lbox);
notify_contexts_mail_transaction_begin(t);
return t;
@@ -161,6 +162,7 @@
struct notify_transaction_context *lt = NOTIFY_CONTEXT(t);
union mailbox_module_context *lbox = NOTIFY_CONTEXT(t->box);
+ i_warning("commit: trans=%p lt=%p lbox=%p", t, lt, lbox);
if (lt->tmp_mail != NULL)
mail_free(<->tmp_mail);
i_free(lt);
@@ -180,6 +182,7 @@
struct notify_transaction_context *lt = NOTIFY_CONTEXT(t);
union mailbox_module_context *lbox = NOTIFY_CONTEXT(t->box);
+ i_warning("rollback: trans=%p lt=%p lbox=%p", t, lt, lbox);
if (lt->tmp_mail != NULL)
mail_free(<->tmp_mail);
i_free(lt);