-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sent an e-mail off as was detailed here: http://wiki.dovecot.org/MboxProblems for crashes but I also wanted to see if any of you folks had insight into the issue. Dovecot is crashing on a certain user inbox which is in mbox format as well as one of the users other mbox files. The crash doesn't exactly match what is listed in the aforementioned wiki page, so I thought their might be some other insight into this process or how to fix it. Here is the error in the log files: Aug 8 09:26:07 localhost dovecot: IMAP(user): UIDVALIDITY changed (1216167307 -> 1218134720) in mbox file /var/mail/user Aug 8 09:26:07 localhost dovecot: Panic: IMAP(user): file index-sync.c: line 39 (index_mailbox_set_recent_uid): assertion failed: (seq_range_exists(&ibox->recent_flags, uid)) Aug 8 09:26:07 localhost dovecot: IMAP(user): Raw backtrace: imap [0x80f5257] -> imap [0x80f5aa4] -> imap(i_fatal+0) [0x80f53b3] -> imap(index_mailbox_set_recent_uid+0x62) [0x80b1af9] -> imap(index_mailbox_set_recent_seq+0x33) [0x80b1b6f] -> imap [0x808ef93] - -> imap [0x808f502] -> imap [0x808fe73] -> imap(mbox_sync+0x2b) [0x8090120] -> imap(mbox_storage_sync_init+0x8b) [0x80901ee] -> imap(mailbox_sync_init+0x1b) [0x80b61df] -> imap(mailbox_sync+0x1c) [0x80b6256] -> imap(cmd_select_full+0x13b) [0x805fad7] -> imap(cmd_select+0x19) [0x805fc63] -> imap [0x8062444] -> imap [0x8062679] -> imap [0x8062777] -> imap [0x80627b3] -> imap(client_input+0xb7) [0x8062941] -> imap(io_loop_handler_run+0x17d) [0x80ff704] -> imap(io_loop_run+0x35) [0x80fea32] -> imap(main+0xb0) [0x806dd99] -> /lib/libc.so.6(__libc_start_main+0xdc) [0xc31dec] -> imap [0x805a151] Aug 8 09:26:07 localhost dovecot: child 4740 (imap) killed with signal 6 Any ideas or thoughts? Thanks, - -Erinn Here are the pertinents: ./dovecot --version 1.1.2 ./dovecot -n # 1.1.2: /usr/local/dovecot/etc/dovecot.conf protocols: pop3s imaps ssl_cert_file: /usr/local/adm/config/openssl/certs/imapd.pem ssl_key_file: /usr/local/adm/config/openssl/certs/imapd.pem login_dir: /usr/local/dovecot/var/run/dovecot/login login_executable(default): /usr/local/dovecot/libexec/dovecot/imap-login login_executable(imap): /usr/local/dovecot/libexec/dovecot/imap-login login_executable(pop3): /usr/local/dovecot/libexec/dovecot/pop3-login max_mail_processes: 128 mail_location: mbox:~/mail:INBOX=/var/mail/%u mail_executable(default): /usr/local/dovecot/libexec/dovecot/imap mail_executable(imap): /usr/local/dovecot/libexec/dovecot/imap mail_executable(pop3): /usr/local/dovecot/libexec/dovecot/pop3 mail_plugin_dir(default): /usr/local/dovecot/lib/dovecot/imap mail_plugin_dir(imap): /usr/local/dovecot/lib/dovecot/imap mail_plugin_dir(pop3): /usr/local/dovecot/lib/dovecot/pop3 pop3_uidl_format(default): %08Xu%08Xv pop3_uidl_format(imap): %08Xu%08Xv pop3_uidl_format(pop3): %08Xv%08Xu auth default: passdb: driver: pam userdb: driver: passwd -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFInHWxJqsQ+sq8O4ERAoklAJ4i1Ja3D8OcBjpyPZ6NJ/1A+l/rvQCgiu7B b/dk0dCGNd5zNBgHGXULHyc=F0sY -----END PGP SIGNATURE-----
On Aug 8, 2008, at 12:34 PM, Erinn Looney-Triggs wrote:> Dovecot is crashing on a certain user inbox which is in mbox format as > well as one of the users other mbox files. The crash doesn't exactly > match what is listed in the aforementioned wiki page, so I thought > their > might be some other insight into this process or how to fix it. > > Here is the error in the log files: > Aug 8 09:26:07 localhost dovecot: IMAP(user): UIDVALIDITY changed > (1216167307 -> 1218134720) in mbox file /var/mail/userWhy did it change? Does it change often? It should never change. The MboxProblems wiki page shows the possible reasons for this.> Aug 8 09:26:07 localhost dovecot: Panic: IMAP(user): file index- > sync.c: > line 39 (index_mailbox_set_recent_uid): assertion failed: > (seq_range_exists(&ibox->recent_flags, uid))This is a bug caused by the UIDVALIDITY change. I think it happens only once though and after the next login it works? Anyway I should try to get this fixed. -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080812/9f0b7f86/attachment-0002.bin>