Hi, my colleague found a crash in dovecot, while he was experimenting with configuration for using dovecot with fetchmail. Backtrace can be found here: http://pastebin.com/XQZqYBpH Let me know if you need any other info. Michal # doveconf -n # 20100716 (26936bdd3801+): /etc/dovecot/dovecot.conf # OS: Linux 2.6.32 auth_debug = yes auth_verbose = yes info_log_path = /var/log/dovecot-info.log log_path = /var/log/dovecot.log mail_debug = yes mail_location = maildir:~/Maildir managesieve_notify_capability = mailto managesieve_sieve_capability = comparator-i;octet comparator-i;ascii-casemap fileinto reject envelope encoded-character vacation subaddress comparator- i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date spamtest spamtestplus virustest mbox_write_locks = fcntl namespace { hidden = no inbox = yes list = yes location = maildir:~/Maildir prefix = INBOX. separator = . subscriptions = yes type = private } passdb { driver = pam } plugin { sieve = ~/.dovecot.sieve sieve_dir = ~/sieve } service managesieve-login { inet_listener sieve { port = 4190 } } ssl_cert = </etc/pki/dovecot/certs/dovecot.pem ssl_key = </etc/pki/dovecot/private/dovecot.pem userdb { driver = passwd } verbose_ssl = yes protocol lmtp { mail_plugins = sieve } protocol lda { info_log_path = /var/log/dovecot-deliver.log log_path = /var/log/dovecot-deliver-errors.log mail_plugins = sieve } -------------------------- .dovecot.sieve: require ["fileinto", "regex"]; if header :contains "X-BeenThere" "bugzilla at redhat.com" { fileinto "redhat.bugzilla"; } elsif header :contains "List-Id" "scm-commits.lists.fedoraproject.org" { fileinto "fedora.fedora-extras-commits"; } elsif header :contains "List-Id" "package-review.lists.fedoraproject.org" { fileinto "fedora.fedora-package-review"; } elsif header :contains "List-Id" "devel.lists.fedoraproject.org" { fileinto "fedora.fedora-devel-list"; } elsif header :contains "List-Id" "brno-list.redhat.com" { fileinto "redhat.brno-list"; } elsif header :regex "Subject" "^Cron <jkastner@" { fileinto "cron"; } else { # The rest goes into INBOX # default is "implicit keep", we do it explicitly here keep; } -------------------------------
> #0 mailbox_get_storage (box=0x0) at mail-storage.c:802 > No locals. > #1 0x00007ff182bace34 in act_store_start (action=<value optimized out>, > aenv=0x153c848, tr_context=0x153c988) at sieve-actions.c:405Looks like the cleanest fix is to just change lib-lda API still a bit..: http://hg.dovecot.org/dovecot-2.0/rev/db22952d406a plus attached patch -------------- next part -------------- A non-text attachment was scrubbed... Name: sieve-fix.diff Type: text/x-patch Size: 2154 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/20100716/cc4ffc77/attachment-0002.bin>
On Friday, July 16, 2010 16:56:10 Timo Sirainen wrote:> > #0 mailbox_get_storage (box=0x0) at mail-storage.c:802 > > No locals. > > #1 0x00007ff182bace34 in act_store_start (action=<value optimized out>, > > > > aenv=0x153c848, tr_context=0x153c988) at sieve-actions.c:405 > > Looks like the cleanest fix is to just change lib-lda API still a bit..: > http://hg.dovecot.org/dovecot-2.0/rev/db22952d406a > > plus attached patchthanks, it works now