[Dovecot] (mail_index_expunge): assertion failed: (!t->view->external)
Hi all,
I was wondering if anyone's seen anything like this?
Nov 15 14:16:13 olympic dovecot: imap-login: Login: postmaster [192.168.0.32] Nov 15 14:17:05 olympic dovecot: IMAP(postmaster): file mail-index-transaction.c: line 247 (mail_index_expunge): assertion failed: (!t->view->external) Nov 15 14:17:05 olympic dovecot: child 20184 (imap) killed with signal 6 Nov 15 14:17:19 olympic dovecot: Killed with signal 15 Nov 15 14:17:19 olympic dovecot: Dovecot v1.0-test52 starting up
I'm running (as you might have guessed) test52 on Linux (i386) using maildirs. The client is Thunderbird.
This only appears to be happening when viewing certain mail folders in the IMAP account.
As a temporary fix, it seems to stop happening when I delete the ".imap*" files in the affected folder, but this is hardly an ideal solution.
If you want any debug-type information please send me "idiots guide" type instructions as to how to do it - I'm not a software engineer :?
Many thanks,
Mark Lidstone IT and Network Support Administrator
BMT SeaTech Ltd
Grove House, Meridians Cross, 7 Ocean Way
Ocean Village, Southampton. SO14 3TJ. UK
Tel: +44 (0)23 8063 5122
Fax: +44 (0)23 8063 5144
E-Mail: mailto:mark.lidstone@bmtseatech.co.uk Website: www.bmtseatech.co.uk
== Confidentiality Notice and Disclaimer: The contents of this e-mail and any attachments are intended only for the use of the e-mail addressee(s) shown. If you are not that person, or one of those persons, you are not allowed to take any action based upon it or to copy it, forward, distribute or disclose the contents of it and you should please delete it from your system. BMT SeaTech Limited does not accept liability for any errors or omissions in the context of this e-mail or its attachments which arise as a result of Internet transmission, nor accept liability for statements which are those of the author and not clearly made on behalf of BMT SeaTech Limited.
==
On Mon, 2004-11-15 at 14:29 +0000, Mark Lidstone wrote:
Hi all,
I was wondering if anyone's seen anything like this?
Yes, I am seeing exactly the same thing. Except that it started happening on INBOX, which renders the client email program unusable. Lots of lost connections, cannot select INBOX, etc. errors on the client side. The messages that you posted are in the dovecot server's log.
I am running test52 on Solaris. The maildir is in the user's home directory on a nfs server.
There are some post-test52 fixes in CVS, but I do not know if this particular problem is addressed.
Alex
I see the same problem, and I assume it's a bug somewhere in the delteion code because about 50% of the time I *also* see this error:
dovecot: Nov 15 12:25:59 Error: IMAP(user@domain.com): mbox sync: UID inserted in the middle of mailbox virtual/domain.com/user (114 > 113) dovecot: Nov 15 12:25:59 Error: IMAP(user@domain.com): file mail-index-transaction.c: line 247 (mail_index_expunge): assertion failed: (!t->view->external)
And in order to fix this error I have to open up the mailbox, find the message with ID 113, and delete the partially deleted message that got stuck after it. *Then* I can delete the index files and go on.
This is on linux 2.6.8.1, dovecot test-52 and mbox.
- Michael
On Mon, 15 Nov 2004, Alex S Moore wrote:
On Mon, 2004-11-15 at 14:29 +0000, Mark Lidstone wrote:
Hi all,
I was wondering if anyone's seen anything like this?
Yes, I am seeing exactly the same thing. Except that it started happening on INBOX, which renders the client email program unusable. Lots of lost connections, cannot select INBOX, etc. errors on the client side. The messages that you posted are in the dovecot server's log.
I am running test52 on Solaris. The maildir is in the user's home directory on a nfs server.
There are some post-test52 fixes in CVS, but I do not know if this particular problem is addressed.
Alex
On Mon, 2004-11-15 at 12:37 -0500, michael@crosscode.org wrote:
I see the same problem, and I assume it's a bug somewhere in the delteion code because about 50% of the time I *also* see this error:
dovecot: Nov 15 12:25:59 Error: IMAP(user@domain.com): mbox sync: UID inserted in the middle of mailbox virtual/domain.com/user (114 > 113) dovecot: Nov 15 12:25:59 Error: IMAP(user@domain.com): file mail-index-transaction.c: line 247 (mail_index_expunge): assertion failed: (!t->view->external)
Yes, I forgot to mention that I am also seeing the same error when things go bad.
Thanks for the info on how to fix it. So far, I am only using test accounts with dovecot test builds.
Alex
I'm seeing this error in my maillog with the same symptoms as well -- FreeBSD 4.9, dovecot test52, mysql authentication, maildirs stored on NFS (but indexes stored on local disk, as suggested in the documentation.)
My solution is to remove the indexes from the local disk and then it seems to work.
dovecot was built with: ./configure --with-mysql --with-storages=maildir --with-ssl=openssl
My dovecot.conf settings:
base_dir = /usr/local/var/run/dovecot/ protocols = imap pop3 ssl_disable = yes ssl_parameters_file = /usr/local/var/run/dovecot/ssl-parameters.dat disable_plaintext_auth = no login_dir = /usr/local/var/run/dovecot/login login_process_size = 128 login_greeting = IMAP server ready. first_valid_uid = 125 first_valid_gid = 125 mail_extra_groups = mail postfix valid_chroot_dirs = /host/mail default_mail_env = maildir:/host/mail/%u:INDEX=/home/dovecot/indexes/%u protocol imap { login_executable = /usr/local/libexec/dovecot/imap-login mail_executable = /usr/local/libexec/dovecot/imap mail_executable = /usr/local/libexec/dovecot/rawlog /usr/local/libexec/dovecot/imap imap_client_workarounds = outlook-idle oe6-fetch-no-newmail tb-negative-fetch }
protocol pop3 { login_executable = /usr/local/libexec/dovecot/pop3-login mail_executable = /usr/local/libexec/dovecot/pop3 pop3_client_workarounds = outlook-no-nuls } auth_executable = /usr/local/libexec/dovecot/dovecot-auth auth_verbose = yes auth_debug = yes auth default { mechanisms = plain digest-md5 cram-md5 userdb = sql /usr/local/etc/dovecot-sql.conf passdb = sql /usr/local/etc/dovecot-sql.conf }
Thanks,
Sean
On Nov 15, 2004, at 7:51 AM, Alex S Moore wrote:
On Mon, 2004-11-15 at 14:29 +0000, Mark Lidstone wrote:
Hi all,
I was wondering if anyone's seen anything like this?
Yes, I am seeing exactly the same thing. Except that it started happening on INBOX, which renders the client email program unusable. Lots of lost connections, cannot select INBOX, etc. errors on the client side. The messages that you posted are in the dovecot server's log.
I am running test52 on Solaris. The maildir is in the user's home directory on a nfs server.
There are some post-test52 fixes in CVS, but I do not know if this particular problem is addressed.
Alex
On Thu, 2004-11-18 at 12:03 -0700, Sean Porter wrote:
I'm seeing this error in my maillog with the same symptoms as well -- FreeBSD 4.9, dovecot test52, mysql authentication, maildirs stored on NFS (but indexes stored on local disk, as suggested in the documentation.)
My solution is to remove the indexes from the local disk and then it seems to work.
Yes, exactly the same here, except on Solaris. Removing the indexes seemed to clear up this message, which I think was locking up some clients.
However, I still get a message when trying to filter the mail from INBOX into other maildir folders that talks about 'uid in the middle', or some such. The move fails for the client. This message was mentioned this week by myself and at least one other person. I have had to give up on test52 for now.
Thanks, Alex
On 15.11.2004, at 16:29, Mark Lidstone wrote:
Nov 15 14:17:05 olympic dovecot: IMAP(postmaster): file mail-index-transaction.c: line 247 (mail_index_expunge): assertion failed: (!t->view->external)
Looks like I accidentally left this in test52. It was there only for debugging. Just remove that line entirely and it should work.
It only means that someone had expunged mail from mailbox outside Dovecot. If this isn't the case, there is some bug in mailbox synchronization..
participants (5)
-
Alex S Moore
-
Mark Lidstone
-
michael@crosscode.org
-
Sean Porter
-
Timo Sirainen