RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 612942 - dovecot-lda crashes when loaded plugin sieve
Summary: dovecot-lda crashes when loaded plugin sieve
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: dovecot
Version: 6.0
Hardware: All
OS: Linux
high
medium
Target Milestone: rc
: ---
Assignee: Michal Hlavinka
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-09 11:16 UTC by Jiri Kastner
Modified: 2010-11-10 22:08 UTC (History)
4 users (show)

Fixed In Version: dovecot-2.0-0.10.beta6.20100630.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-10 22:08:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jiri Kastner 2010-07-09 11:16:05 UTC
Description of problem:
dovecot-lda crashes when loaded sieve plugin. details in steps and actual results.

Version-Release number of selected component (if applicable):
dovecot-2.0-0.8.beta6.20100630.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1. in /etc/dovecot/conf.d/15-lda.conf enable sieve plugin and separated logging
protocol lda {
  mail_plugins = sieve 
  log_path = /var/log/dovecot-deliver-errors.log
  info_log_path = /var/log/dovecot-deliver.log
}
2. using touch create /var/log/dovecot-deliver-errors.log and /var/log/dovecot-deliver.log and chmod 666 /var/log/dovecot-deliver*.log
3. restart dovecot
4. setup fetchmail to use /usr/libexec/dovecot/dovecot-lda as mda
5. run fetchmail
  
Actual results:
lda: Debug: Loading modules from directory: /usr/lib64/dovecot
lda: Debug: Module loaded: /usr/lib64/dovecot/lib90_sieve_plugin.so
fetchmail: IMAP< * 1 FETCH (BODY[TEXT] {56401}
 (56401 body octets)
.....
fetchmail: IMAP< )
fetchmail: IMAP< A0008 OK FETCH completed
fetchmail: MDA died of signal 6
##################### DOVECOT-DELIVER ##########################
Jul 09 12:57:47 lda(username): Panic: file index-transaction.c: line 70 (index_transaction_init): assertion failed: (box->opened)
Jul 09 12:57:47 lda(username): Error: Raw backtrace: /usr/lib64/dovecot/libdovecot.so.0(+0x37a5a) [0x7fb246b2ca5a] -> /usr/lib64/dovecot/libdovecot.so.0(default_fatal_handler+0x37) [0x7fb246b2cb37] -> /usr/lib64/dovecot/libdovecot.so.0(i_error+0) [0x7fb246b09f96] -> /usr/lib64/dovecot/libdovecot-storage.so.0(+0x759b9) [0x7fb246feb9b9] -> /usr/lib64/dovecot/libdovecot-storage.so.0(index_transaction_begin+0x3f) [0x7fb246feb9ff] -> /usr/lib64/dovecot/libdovecot-storage.so.0(mailbox_transaction_begin+0x13) [0x7fb246fa39c3] -> /usr/lib64/dovecot/libdovecot-sieve.so.0(+0x3217f) [0x7fb245b0117f] -> /usr/lib64/dovecot/libdovecot-sieve.so.0(sieve_result_execute+0x175) [0x7fb245af9d05] -> /usr/lib64/dovecot/libdovecot-sieve.so.0(sieve_execute+0x7d) [0x7fb245b0852d] -> /usr/lib64/dovecot/lib90_sieve_plugin.so(+0x2b0d) [0x7fb245d3eb0d] -> /usr/lib64/dovecot/libdovecot-lda.so.0(mail_deliver+0x45) [0x7fb246d72985] -> /usr/libexec/dovecot/deliver(main+0x453) [0x402d23] -> /lib64/libc.so.6(__libc_start_main+0xfd) [0x7fb246388c5d] -> /usr/libexec/dovecot/deliver() [0x402579]

Expected results:
lda will work as expected

Additional info:

Comment 1 Michal Hlavinka 2010-07-09 11:27:32 UTC
upstream fix: http://hg.rename-it.nl/dovecot-2.0-pigeonhole/rev/703f82bb2b09

Comment 2 Michal Hlavinka 2010-07-16 14:32:38 UTC
seems the fix is not complete

Comment 5 releng-rhel@redhat.com 2010-11-10 22:08:32 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.