Timo Sirainen wrote:
On Wed, 2008-05-14 at 12:29 +0200, Peter Eriksson wrote:
May 14 11:46:51 ifm.liu.se dovecot: [ID 107833 mail.error] IMAP(joher): file maildir-uidlist.c: line 143: assertion failed: (UIDLIS T_IS_LOCKED(uidlist))
If this still hapens with 1.0.13, it would help to get a gdb backtrace. http://dovecot.org/bugreport.html
Now 1.0.13 crashed for me. Here's the relevant parts of the syslog file:
May 20 15:16:30 ifm.liu.se dovecot: [ID 107833 mail.info] auth(default): new auth connection: pid=11109 May 20 15:16:30 ifm.liu.se dovecot: [ID 107833 mail.info] auth(default): new auth connection: pid=11108 May 20 15:16:32 ifm.liu.se dovecot: [ID 107833 mail.error] IMAP(inand): file mail-index-view-sync.c: line 666: assertion failed: (v iew->log_file_offset >= view->map->hdr.log_file_int_offset) May 20 15:16:32 ifm.liu.se dovecot: [ID 107833 mail.error] IMAP(inand): Raw backtrace: 0x100082ee8 -> 0x1000630d4 -> 0x10004b484 -> 0x1000203e8 -> 0x1000209dc -> 0x100011f90 -> 0x100016e74 -> 0x100017294 -> 0x10008ac90 -> 0x10008a170 -> 0x100022cc8 -> 0x10001003 c May 20 15:16:32 ifm.liu.se dovecot: [ID 684838 mail.error] child 11097 (imap) killed with signal 6 May 20 15:16:32 ifm.liu.se dovecot: [ID 107833 mail.warning] IMAP(natro): Killed with signal 15 May 20 15:16:32 ifm.liu.se dovecot: [ID 107833 mail.warning] IMAP(inand): Killed with signal 15 May 20 15:16:32 ifm.liu.se dovecot: [ID 107833 mail.info] IMAP(inand): Server shutting down May 20 15:16:32 ifm.liu.se dovecot: [ID 107833 mail.warning] imap-login: Killed with signal 15 May 20 15:16:32 ifm.liu.se dovecot: [ID 107833 mail.info] IMAP(natro): Server shutting down
...
Output from "dovecot-n" attached.
Dovecot version: 1.0.13 (yes yes, I will try out 1.1 soon :-) Operating system: Solaris 10 CPU: SPARC Hardware: Sun Fire T1000 Filesystem: NFSv4 from a Sun Fire X4500 (Thumper) server with ZFS. Mailstore: Maildir
Exactly what was being done when it crashes is unclear (typically we have around 220 imap processes running)
I checked out that users Maildir folder but couldn't really see anything special. I know that user has been trying out Microsoft Outlook lately (we normally use Thunderbird, Eudora or Outlook Express).
No core dump for now.
- Peter
1.0.13: /etc/dovecot.conf
base_dir: /var/run/dovecot/ protocols: imap pop3 imaps pop3s ssl_ca_file: /ifm/etc/certs/dovecot-CA.cert.pem ssl_cert_file: /ifm/etc/certs/dovecot-ifm.cert.pem ssl_key_file: /ifm/etc/certs/dovecot-ifm.key.pem login_dir: /var/run/dovecot/login login_executable(default): /ifm/libexec/dovecot/imap-login login_executable(imap): /ifm/libexec/dovecot/imap-login login_executable(pop3): /ifm/libexec/dovecot/pop3-login login_greeting: Welcome to the IFM Dovecot Server. first_valid_uid: 100 mail_location: maildir:Maildir mmap_disable: yes maildir_copy_with_hardlinks: yes mbox_write_locks: fcntl mail_executable(default): /ifm/libexec/dovecot/imap mail_executable(imap): /ifm/libexec/dovecot/imap mail_executable(pop3): /ifm/libexec/dovecot/pop3 mail_plugin_dir(default): /ifm/lib/dovecot/imap mail_plugin_dir(imap): /ifm/lib/dovecot/imap mail_plugin_dir(pop3): /ifm/lib/dovecot/pop3 imap_capability(default): CAPABILITY IMAP4rev1 SASL-IR SORT THREAD=REFERENCES MULTIAPPEND UNSELECT LITERAL+ CHILDREN NAMESPACE LOGIN-REFERRALS STARTTLS AUTH=PLAIN AUTH=LOGIN AUTH=GSSAPI imap_capability(imap): CAPABILITY IMAP4rev1 SASL-IR SORT THREAD=REFERENCES MULTIAPPEND UNSELECT LITERAL+ CHILDREN NAMESPACE LOGIN-REFERRALS STARTTLS AUTH=PLAIN AUTH=LOGIN AUTH=GSSAPI imap_capability(pop3): imap_client_workarounds(default): outlook-idle delay-newmail imap_client_workarounds(imap): outlook-idle delay-newmail imap_client_workarounds(pop3): outlook-idle pop3_uidl_format(default): pop3_uidl_format(imap): pop3_uidl_format(pop3): %08Xu%08Xv pop3_client_workarounds(default): pop3_client_workarounds(imap): pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh namespace: type: private separator: / inbox: yes namespace: type: private separator: / prefix: mail/ hidden: yes namespace: type: private separator: / prefix: Mail/ hidden: yes namespace: type: private separator: / prefix: ~/mail/ hidden: yes namespace: type: private separator: / prefix: ~/Mail/ hidden: yes namespace: type: private separator: / prefix: ~%u/mail/ hidden: yes namespace: type: private separator: / prefix: ~%u/Mail/ hidden: yes auth default: mechanisms: plain login gssapi executable: /ifm/libexec/dovecot/dovecot-auth verbose: yes debug: yes passdb: driver: pam userdb: driver: passwd