Hi, Installed Dovecot 1.1.3 today and started receiving panic errors on a few of our users: dovecot: [ID 107833 mail.crit] Panic: IMAP(xx): file mail-index-transaction-view.c: line 204: unreached When I upgraded, I deleted all of our users index files so it started with a clean slate. We are running mbox format over NFS with fsquota plugin on Solaris 8. Here is output of dovecot -n: base_dir: /var/run/dovecot/ protocols: imap ssl_disable: yes disable_plaintext_auth: no login_dir: /var/run/dovecot//login login_executable: /usr/local/dovecot/libexec/dovecot/imap-login login_user: daemon login_log_format_elements: user=%u ip=%r mail_max_userip_connections: 5 first_valid_uid: 100 last_valid_uid: 128000 mail_privileged_group: mail mail_location: mbox:~/Mail:INBOX=/var/mail/%u:INDEX=/var/indexes/local/%u mail_nfs_storage: yes mbox_write_locks: fcntl mbox_lock_timeout: 180 mbox_lazy_writes: no mail_plugins: quota imap_quota namespace: type: private separator: / inbox: yes list: yes subscriptions: yes namespace: type: private separator: / prefix: Mail/ hidden: yes subscriptions: yes auth default: mechanisms: plain login failure_delay: 5 debug: yes debug_passwords: yes passdb: driver: shadow userdb: driver: passwd plugin: quota: fs -- Dean Brooks dean at iglou.com
On Sep 3, 2008, at 5:47 PM, Dean Brooks wrote:> dovecot: [ID 107833 mail.crit] Panic: IMAP(xx): file mail-index- > transaction-view.c: line 204: unreachedCould you get gdb backtrace? http://dovecot.org/bugreport.html -------------- 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/20080903/3283b1bb/attachment-0002.bin>
On Wed, Sep 03, 2008 at 05:50:43PM +0300, Timo Sirainen wrote:> On Sep 3, 2008, at 5:47 PM, Dean Brooks wrote: > > > dovecot: [ID 107833 mail.crit] Panic: IMAP(xx): file mail-index- > >transaction-view.c: line 204: unreached > > Could you get gdb backtrace? http://dovecot.org/bugreport.htmlI'll try to get a backtrace tonight or tommorow. We're getting about 20 of those errors an hour. Also, we're getting a handful of these panics which I've never seen before either: dovecot: [ID 107833 mail.crit] Panic: IMAP(xx): file mbox-lock.c: line 675 (mbox_lock): assertion failed: (lock_type == F_RDLCK || mbox->mbox_lock_type != F_RDLCK) -- Dean Brooks dean at iglou.com
Dean Brooks wrote:> Hi, > > Installed Dovecot 1.1.3 today and started receiving panic errors on a > few of our users: > > dovecot: [ID 107833 mail.crit] Panic: IMAP(xx): file mail-index-transaction-view.c: line 204: unreachedHi, I am also seeing this problem. I haven't managed to generate a core dump yet, however I did get more logging in mail.err: Sep 4 13:25:36 songbird dovecot: IMAP(user): Raw backtrace: imap [0x486942] -> imap [0x4869b3] -> imap [0x486026] -> imap [0x46775c] -> imap(mail_index_lookup_ext_full+0x17) [0x469fc7] -> imap(mail_index_lookup_ext+0x17) [0x469fe7] -> imap(mbox_file_lookup_offset+0x33) [0x4382f3] -> imap(mbox_file_seek+0x2e) [0x43837e] -> imap [0x439c98] -> imap [0x43a022] -> imap [0x43a149] -> /usr/lib/dovecot/modules/imap/lib10_quota_plugin.so(quota_try_alloc+0x29) [0x7f706e92b6b9] -> /usr/lib/dovecot/modules/imap/lib10_quota_plugin.so [0x7f706e92ea9b] -> imap [0x4186fd] -> imap [0x418e9e] -> imap(io_loop_handler_run+0xf8) [0x48d6d8] -> imap(io_loop_run+0x1d) [0x48c7fd] -> imap(main+0x3c2) [0x425b92] -> /lib/libc.so.6(__libc_start_main+0xf4) [0x7f706eb511c4] -> imap [0x418449] Sep 4 13:25:36 songbird dovecot: child 5531 (imap) killed with signal 6 We were also using the quota plugin to access mailboxes via NFS. We have since disabled this plugin, and are no-longer observing this fault. (We have found a way to reliably trigger this particular fault. Using Alpine, if a user deletes their postponed-messages IMAP folder, and then attempts to postpone a message, the IMAP process will crash shortly after the postponed-messages folder is recreated.) Cheers, David -- David McBride <dwm at tastycake.net> <dwm at doc.ic.ac.uk>