[Dovecot] crash (assertion failed: (uidlist->lock_count == 1)
Hi,
with 1.0-test79
Aug 3 16:18:23 ymmv dovecot: IMAP(jh): file maildir-uidlist.c: line 536 (maildir_uidlist_rewrite): assertion failed: (uidlist->lock_count == 1) Aug 3 16:18:23 ymmv dovecot: child 10780 (imap) killed with signal 6
Any idea what that is? I did no special operation, just selected a mail to read with thunderbird (1.06). After restarting TB it worked.
On Sun, 2005-08-07 at 17:50 +0200, Jakob Hirsch wrote:
Aug 3 16:18:23 ymmv dovecot: IMAP(jh): file maildir-uidlist.c: line 536 (maildir_uidlist_rewrite): assertion failed: (uidlist->lock_count == 1) Aug 3 16:18:23 ymmv dovecot: child 10780 (imap) killed with signal 6
Any idea what that is? I did no special operation, just selected a mail to read with thunderbird (1.06). After restarting TB it worked.
It has something to do with maildir filename changing (by another Dovecot process?) while Dovecot is reading the maildir. A bit tricky to fix..
Timo Sirainen wrote:
Any idea what that is? I did no special operation, just selected a mail to read with thunderbird (1.06). After restarting TB it worked. It has something to do with maildir filename changing (by another Dovecot process?) while Dovecot is reading the maildir. A bit tricky to fix..
It can only be another Dovecot process, nothing else is changing files there. TB opens multiple connections to the IMAP-Server by default, so maybe by clicking around a little too fast, the message was changed to "seen" by one process, but the other process wanted to access the message with the old filename in the old directory. Trying to acesss the file in both cur/ and new/ with the different Maildir flags could probably help, but is no complete solution and quite clumsy. What fix were you thinking of?
I think I'll change TB to keep only a single connection, so this should not happen again. Never really understood what multiple IMAP connections are good for, anyway.
On Sun, 2005-08-07 at 17:50 +0200, Jakob Hirsch wrote:
Hi,
with 1.0-test79
Aug 3 16:18:23 ymmv dovecot: IMAP(jh): file maildir-uidlist.c: line 536 (maildir_uidlist_rewrite): assertion failed: (uidlist->lock_count == 1) Aug 3 16:18:23 ymmv dovecot: child 10780 (imap) killed with signal 6
Fixed now in CVS. I'll also try to build a new release tarball today.
participants (2)
-
Jakob Hirsch
-
Timo Sirainen