Re: [Dovecot] LDA misbehavior?

2013-02-22 Thread Timo Sirainen
On 21.2.2013, at 16.59, Eugene Paskevich  wrote:

> Could somebody please give me a hint on what might be going wrong?
> 
> Feb 21 16:33:07 hopper dovecot: lda(eugene): Panic: file mail-storage.c: line 
> 1757 (mailbox_transaction_commit_get_changes): assertion failed: (ret < 0 || 
> seq_range_count(&changes_r->saved_uids) == save_count)

Fixed: http://hg.dovecot.org/dovecot-2.2/rev/0158c7b2c5db



[Dovecot] LDA misbehavior?

2013-02-21 Thread Eugene Paskevich

Hello,

Could somebody please give me a hint on what might be going wrong?

Feb 21 16:33:07 hopper dovecot: lda(eugene): Panic: file mail-storage.c:  
line 1757 (mailbox_transaction_commit_get_changes): assertion failed: (ret  
< 0 || seq_range_count(&changes_r->saved_uids) == save_count)
Feb 21 16:33:07 hopper dovecot: lda(eugene): Error: Raw backtrace:  
/usr/lib/dovecot/libdovecot.so.0(+0x6019a) [0x7f38e5ef619a] ->  
/usr/lib/dovecot/ibdovecot.s
o.0(i_syslog_fatal_handler+0x2b) [0x7f38e5ef621b] ->  
/usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7f38e5eb81f4] ->  
/usr/lib/dovecot/libdovecot-storage.so.0(+0x7c0de) [0x7f38e61cd0de] ->  
/usr/lib/dovecot/libdovecot-lda.so.0(mail_deliver_save+0x1b2)  
[0x7f38e6469d62] ->  
/usr/lib/dovecot/libdovecot-lda.so.0(mail_deliver+0xe3) [0x7f38e646a113]  
-> /usr/lib/dovecot/dovecot-lda(main+0x38a) [0x40295a] ->  
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) [0x7f38e5b2aead]  
-> /usr/lib/dovecot/dovecot-lda() [0x4031e1]
Feb 21 16:33:07 hopper exim[10094]: 1U8XCf-0002Za-4s **  
eug...@hopper.volia.net  R=local_user  
T=dovecot_delivery: Child process of dovecot_delivery transport (running  
command "/usr/lib/dovecot/dovecot-lda -f $sender_address -a  
$original_local_part@$original_domain") was terminated by signal 6  
(Aborted)
Feb 21 16:33:07 hopper exim[10094]: 1U8XCf-0002Za-4s Frozen (delivery  
error message)


It started a couple of days ago.
Triggered by the mass delivery.
E.g. by
for i in {1..50}; do { mail -s "test $i" eug...@hopper.volia.net <<< "Try  
$i" & }; done


I suspected that sieve might cause that, but disabling it gave nothing.

Current
root@hopper[pts/0]:/etc/dovecot> doveconf -n
# 2.2.beta1 (808a64899e8a): /etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-4-amd64 x86_64 Debian 7.0
mail_location = maildir:~/Maildir
namespace inbox {
  inbox = yes
  location =
  mailbox Drafts {
special_use = \Drafts
  }
  mailbox Junk {
special_use = \Junk
  }
  mailbox Sent {
special_use = \Sent
  }
  mailbox "Sent Messages" {
special_use = \Sent
  }
  mailbox Trash {
special_use = \Trash
  }
  prefix =
}
passdb {
  driver = pam
}
postmaster_address = hop...@volia.net
protocols = imap
service imap-login {
  inet_listener imap {
port = 143
  }
  inet_listener imap2 {
port = 1357
  }
}
ssl_cert =