Your message dated Mon, 22 Feb 2016 13:33:16 +0200
with message-id <[email protected]>
and subject line Fixed in 2.1.17
has caused the Debian Bug report #704422,
regarding dovecot-solr: Segfault using dovecot-solr plug-in
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
704422: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=704422
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dovecot-solr
Version: 1:2.1.7-7
Severity: grave
Justification: renders package unusable

Dear Maintainer,

After setting up a tomcat-solr instance, if I try to use the
dovecot-solr plug-in, I get segfaults on login.

I modified my dovecot.conf as follows:

    mail_plugins = $mail_plugins fts fts_solr
    
    plugin {
      fts = solr
      fts_squat = url=http://localhost:8080/solr/
    }
    
    # mail_plugins = $mail_plugins fts fts_squat
    # 
    # plugin {
    #   fts = squat
    #   fts_squat = partial=4 full=4
    # }

Dovecot works when the commented-out section is used instead of the
uncommented-out section.  When using the fts_solr plugin, the session
segfaults after IMAP login:

    md5i@maru:/usr/local/home/md5i$ telnet localhost imap
    Trying 127.0.0.1...
    Connected to maru.md5i.com.
    Escape character is '^]'.
    * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE 
STARTTLS AUTH=PLAIN] Dovecot ready.
    1 login md5i xxxxxxxxxxxx
    Connection closed by foreign host.

The following is logged:

    ==> /var/log/mail.log <==
    Mar 31 15:43:03 maru dovecot: imap(md5i): Fatal: master: service(imap): 
child 17060 killed with signal 11 (core dumped)

I can get a core dump, but have been unable to get a usable backtrace,
even with the dovecot-dbg package installed.

Marked as "grave" since this renders the dovecot-solr package
unusable.  Feel free to downgrade if this if appropriate.  I am happy
to supply further information by request.


-- Package-specific info:

dovecot configuration
---------------------
# 2.1.7: /etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-4-686-pae i686 Debian 7.0 
mail_plugins = " fts fts_squat"
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character 
vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy 
include variables body enotify environment mailbox date ihave
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
}
plugin {
  fts = squat
  fts_squat = partial=4 full=4
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
}
protocols = " imap sieve"
service managesieve-login {
  inet_listener sieve {
    port = 4190
  }
}
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
  driver = passwd
}
protocol lda {
  mail_plugins = " sieve"
}

-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (102, 'unstable'), (101, 'experimental'), (99, 'testing'), (9, 
'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dovecot-solr depends on:
ii  dovecot-core     1:2.1.7-7
ii  libc6            2.13-38
ii  libcurl3-gnutls  7.29.0-2
ii  libexpat1        2.1.0-1

dovecot-solr recommends no packages.

dovecot-solr suggests no packages.

Versions of packages dovecot-solr is related to:
ii  dovecot-core [dovecot-common]  1:2.1.7-7
ii  dovecot-dbg                    1:2.1.7-7
pn  dovecot-dev                    <none>
ii  dovecot-gssapi                 1:2.1.7-7
ii  dovecot-imapd                  1:2.1.7-7
ii  dovecot-ldap                   1:2.1.7-7
pn  dovecot-lmtpd                  <none>
ii  dovecot-managesieved           1:2.1.7-7
ii  dovecot-mysql                  1:2.1.7-7
ii  dovecot-pgsql                  1:2.1.7-7
pn  dovecot-pop3d                  <none>
ii  dovecot-sieve                  1:2.1.7-7
ii  dovecot-sqlite                 1:2.1.7-7

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 1:2.1.17-1

Hi,

On Fri, 19 Apr 2013 18:09:17 +0100 Steven Ayre <[email protected]> 
wrote:
> This appears to be caused by a configuration error.
> 
> Your example sets fts_squat, but not fts_solr.

This was fixed upstream in 2.1.17 and 2.2.2, see 
http://hg.dovecot.org/dovecot-2.1/rev/c3e487d82df7

Regards,
Apollon

--- End Message ---

Reply via email to