Leon Meßner
2012-May-07 20:40 UTC
[Dovecot] Panic in index-sync.c: line 25 on dovecot-1.2.17
Hi, with dovecot-1.2.17 (yes i know it's old) i'm getting the folowing error after doing a system upgrade. May 7 22:04:26 mail dovecot: deliver(elon): Panic: file index-sync.c: line 25 (index_mailbox_set_recent_uid): assertion failed: (seq_range_exists(&ibox->recent_flags, uid)) May 7 22:04:27 mail kernel: pid 79989 (deliver), uid 4873: exited on signal 6 (core dumped) this only happens to one user and only with mail from one mailinglist (this one). Mails do get filtered by sieve. After some delivery attempts the mail finaly gets stored alright in the maildir. May 7 22:23:27 mail dovecot: deliver(elon): sieve: msgid=<assp.047487a390.4FA82AA5.60907 09 at amfes.com>: stored mail into mailbox 'dovecot' May 7 22:23:27 mail postfix/local[82289]: 7DED511402: to=<elon at physik.tu-berlin.de>, orig_to=<l.messner at physik.tu-berlin.de>, relay=local, delay=1141, delays=1141/0.01/0/0.26, dsn=2.0.0, status=sent (delivered to command: /usr/local/libexec/dovecot/deliver) May 7 22:23:27 mail postfix/qmgr[1303]: 7DED511402: removed After that a new mail does the same dance (perhaps until the next one to this ML arrives). The maildirs are on NFS and in this case only beeing used with my instance of mutt and two other postfix+dovecot servers which are quite idle. Whats the way to debug this ? Thanks, Leon
Timo Sirainen
2012-May-07 20:45 UTC
[Dovecot] Panic in index-sync.c: line 25 on dovecot-1.2.17
On 7.5.2012, at 23.40, Leon Me?ner wrote:> with dovecot-1.2.17 (yes i know it's old) i'm getting the folowing error > after doing a system upgrade. > > May 7 22:04:26 mail dovecot: deliver(elon): Panic: file index-sync.c: line 25 (index_mailbox_set_recent_uid): > assertion failed: (seq_range_exists(&ibox->recent_flags, uid))This is a bug, and in v2.x the assert has been replaced with a non-fatal error message. Although I haven't recently heard of people reporting this error, so perhaps it has been fully fixed already.> After that a new mail does the same dance (perhaps until the next one to > this ML arrives). The maildirs are on NFS and in this case only beeing > used with my instance of mutt and two other postfix+dovecot servers > which are quite idle. Whats the way to debug this ?I don't know why it happens in v1.2 and I don't know if there's a way to fix it other than upgrading.
Maybe Matching Threads
- Lots of assertion PANICs in error log
- dovecot 1.1.rc3 assertion failed at index_mailbox_set_recent_uid while deleting message with thunderbird.
- index_mailbox_set_recent_uid error on 1.1.14
- dovecot panic after upgrade 1.0.15 to 1.1.2
- dovecot-1.1.rc3 assertion failure in index-sync.c