[Dovecot] recent dovecot: assertion failed.

Dumitru Negara dumitru at itcnetworks.ro
Fri Jun 23 09:32:04 EEST 2006


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


More information about the dovecot mailing list