[Dovecot] recent dovecot: assertion failed.
Hi, today I have built dovecot from cvs sources, and upgraded server from beta-7 to this newer version. Then i got problems with opening INBOX using thunderbird 1.5.0.2. The client says "Opening folder...", then, after about half a minute, blinking "connecting to the server" and returning to "Opening folder..." /var/log/maillog gets the messages:
Jun 22 17:19:07 parkheights dovecot: imap-login: Login: user=<seriv>, method=plain, rip=66.80.117.2, lip=192.168.10.14, TLS Jun 22 17:19:26 parkheights dovecot: IMAP(seriv): file index-search.c: line 845 (search_get_seqset): assertion failed: (ctx->seq1 <= ctx->seq2) Jun 22 17:19:26 parkheights dovecot: child 25812 (imap) killed with signal 6
and this lines repeat and repeat.
At the same time I can open some INBOX' subfolders at the same server. So, I think it is a problem not with a server's software, but with mail storage. Help me, please, - how can I fix these indexes, or what causes the problem with access to that mail folder? My dovecot's configs are:
# dovecot -a -n protocols: imaps pop3s ssl_cert_file: /etc/postfix/cert.pem ssl_key_file: /etc/postfix/key.pem login_dir: /var/run/dovecot/login login_executable(default): /usr/lib/dovecot/imap-login login_executable(imap): /usr/lib/dovecot/imap-login login_executable(pop3): /usr/lib/dovecot/pop3-login default_mail_env: maildir:/home/%u/.imap lock_method: flock mail_executable(default): /usr/lib/dovecot/imap mail_executable(imap): /usr/lib/dovecot/imap mail_executable(pop3): /usr/lib/dovecot/pop3 mail_plugin_dir(default): /usr/lib/dovecot/modules/imap mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3 pop3_uidl_format(default): pop3_uidl_format(imap): pop3_uidl_format(pop3): %08Xu%08Xv auth default: passdb: driver: pam userdb: driver: passwd
# dovecot --build-options Build options: ioloop=epoll dnotify ipv6 openssl mysql postgresql sqlite Passdb: checkpassword ldap pam passwd passwd-file shadow sql Userdb: checkpassword ldap passwd passwd-file sql static
-- Sergey Ivanov
Sounds similar to a problem I was having. imapd is core dumping. This issue was largely fixed under beta9 (the core dumps certainly were).
You can find other patches suggested by Timo under the "uidlist files are gone" thread (very recent).
Mario
sergey ivanov wrote:
Hi, today I have built dovecot from cvs sources, and upgraded server from beta-7 to this newer version. Then i got problems with opening INBOX using thunderbird 1.5.0.2. The client says "Opening folder...", then, after about half a minute, blinking "connecting to the server" and returning to "Opening folder..." /var/log/maillog gets the messages:
Jun 22 17:19:07 parkheights dovecot: imap-login: Login: user=<seriv>, method=plain, rip=66.80.117.2, lip=192.168.10.14, TLS Jun 22 17:19:26 parkheights dovecot: IMAP(seriv): file index-search.c: line 845 (search_get_seqset): assertion failed: (ctx->seq1 <= ctx->seq2) Jun 22 17:19:26 parkheights dovecot: child 25812 (imap) killed with signal 6
and this lines repeat and repeat.
At the same time I can open some INBOX' subfolders at the same server. So, I think it is a problem not with a server's software, but with mail storage. Help me, please, - how can I fix these indexes, or what causes the problem with access to that mail folder? My dovecot's configs are:
# dovecot -a -n protocols: imaps pop3s ssl_cert_file: /etc/postfix/cert.pem ssl_key_file: /etc/postfix/key.pem login_dir: /var/run/dovecot/login login_executable(default): /usr/lib/dovecot/imap-login login_executable(imap): /usr/lib/dovecot/imap-login login_executable(pop3): /usr/lib/dovecot/pop3-login default_mail_env: maildir:/home/%u/.imap lock_method: flock mail_executable(default): /usr/lib/dovecot/imap mail_executable(imap): /usr/lib/dovecot/imap mail_executable(pop3): /usr/lib/dovecot/pop3 mail_plugin_dir(default): /usr/lib/dovecot/modules/imap mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3 pop3_uidl_format(default): pop3_uidl_format(imap): pop3_uidl_format(pop3): %08Xu%08Xv auth default: passdb: driver: pam userdb: driver: passwd
# dovecot --build-options Build options: ioloop=epoll dnotify ipv6 openssl mysql postgresql sqlite Passdb: checkpassword ldap pam passwd passwd-file shadow sql Userdb: checkpassword ldap passwd passwd-file sql static
Hi Sergey,
sergey ivanov wrote:
Hi, today I have built dovecot from cvs sources, and upgraded server from beta-7 to this newer version. Then i got problems with opening INBOX using thunderbird 1.5.0.2. The client says "Opening folder...", then, after about half a minute, blinking "connecting to the server" and returning to "Opening folder..." /var/log/maillog gets the messages:
Jun 22 17:19:07 parkheights dovecot: imap-login: Login: user=<seriv>, method=plain, rip=66.80.117.2, lip=192.168.10.14, TLS Jun 22 17:19:26 parkheights dovecot: IMAP(seriv): file index-search.c: line 845 (search_get_seqset): assertion failed: (ctx->seq1 <= ctx->seq2) Jun 22 17:19:26 parkheights dovecot: child 25812 (imap) killed with signal 6
and this lines repeat and repeat.
At the same time I can open some INBOX' subfolders at the same server. So, I think it is a problem not with a server's software, but with mail storage. Help me, please, - how can I fix these indexes, or what causes the problem with access to that mail folder? My dovecot's configs are:
# dovecot -a -n protocols: imaps pop3s ssl_cert_file: /etc/postfix/cert.pem ssl_key_file: /etc/postfix/key.pem login_dir: /var/run/dovecot/login login_executable(default): /usr/lib/dovecot/imap-login login_executable(imap): /usr/lib/dovecot/imap-login login_executable(pop3): /usr/lib/dovecot/pop3-login default_mail_env: maildir:/home/%u/.imap lock_method: flock mail_executable(default): /usr/lib/dovecot/imap mail_executable(imap): /usr/lib/dovecot/imap mail_executable(pop3): /usr/lib/dovecot/pop3 mail_plugin_dir(default): /usr/lib/dovecot/modules/imap mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3 pop3_uidl_format(default): pop3_uidl_format(imap): pop3_uidl_format(pop3): %08Xu%08Xv auth default: passdb: driver: pam userdb: driver: passwd
# dovecot --build-options Build options: ioloop=epoll dnotify ipv6 openssl mysql postgresql sqlite Passdb: checkpassword ldap pam passwd passwd-file shadow sql Userdb: checkpassword ldap passwd passwd-file sql static
I guess this problem was generated by one of this patches: http://www.dovecot.org/list/dovecot-cvs/2006-June/005915.html http://www.dovecot.org/list/dovecot-cvs/2006-June/005917.html http://www.dovecot.org/list/dovecot-cvs/2006-June/005918.html http://www.dovecot.org/list/dovecot-cvs/2006-June/005919.html
So, with dovecot-20060620.tar.gz or dovecot-20060621.tar.gz you will have this problem. Try dovecot-20060619.tar.gz. It works great for me.
Regards, Dumitru
Dumitru Negara wrote:
Hi Sergey,
sergey ivanov wrote:
Hi, today I have built dovecot from cvs sources, and upgraded server from beta-7 to this newer version. Then i got problems with opening INBOX using thunderbird 1.5.0.2. The client says "Opening folder...", then, after about half a minute, blinking "connecting to the server" and returning to "Opening folder..." /var/log/maillog gets the messages:
Jun 22 17:19:07 parkheights dovecot: imap-login: Login: user=<seriv>, method=plain, rip=66.80.117.2, lip=192.168.10.14, TLS Jun 22 17:19:26 parkheights dovecot: IMAP(seriv): file index-search.c: line 845 (search_get_seqset): assertion failed: (ctx->seq1 <= ctx->seq2) Jun 22 17:19:26 parkheights dovecot: child 25812 (imap) killed with signal 6
and this lines repeat and repeat.
[cut] I guess this problem was generated by one of this patches: http://www.dovecot.org/list/dovecot-cvs/2006-June/005915.html http://www.dovecot.org/list/dovecot-cvs/2006-June/005917.html http://www.dovecot.org/list/dovecot-cvs/2006-June/005918.html http://www.dovecot.org/list/dovecot-cvs/2006-June/005919.html
So, with dovecot-20060620.tar.gz or dovecot-20060621.tar.gz you will have this problem. Try dovecot-20060619.tar.gz. It works great for me.
Hi Dumitru, Thank you very much, I finally did as you suggested. I tried to set to servers, one beta7 which can deal with these mails, and close to it - another, from sources pulled from CVS 06/22/2006, and in thunderbird just copy messages from old server's maildir to new one. New servers can't do it, - the same problem appears at some problem message copying. I think there should be some script or utility to convert mail and fix such problems in maildirs. Without it I can't upgrade because of problems in my mailbox. I think these problems may be result of copying messages to maildir's "cur" folder directly, with cp or rsync, without dovecot's interface, from other IMAP servers.
Sergey.
On Thu, 2006-06-22 at 17:44 -0400, sergey ivanov wrote:
Jun 22 17:19:26 parkheights dovecot: IMAP(seriv): file index-search.c: line 845 (search_get_seqset): assertion failed: (ctx->seq1 <= ctx->seq2)
Fixed now: http://dovecot.org/list/dovecot-cvs/2006-June/005930.html
participants (4)
-
Dumitru Negara
-
Mario Nigrovic-rvvk40
-
sergey ivanov
-
Timo Sirainen