Package: dovecot-core
Version: 1:2.3.21.1+dfsg1-1+b2
Severity: normal
Tags: patch
Dear Maintainer,
on debian trixie, the command 'doveadm index -u $USER "*"' frequently crashes with the message "Panic: file fts-filter.c: line 137 (fts_filter_filter): assertion failed: ((*token)[0] != '\0')" while indexing mailboxes with the fts-flatcurve plugin when
using the snowball filter.
This bug is fixed in dovecot's git repository :
https://github.com/dovecot/core/commit/a1c36cc77977685686e829bcb9e9de79df2280ab.diff
Would it be possible to apply this patch to the debian package ?
Thank you.
-- Package-specific info:
dovecot configuration
---------------------
# 2.3.21.1 (d492236fa0): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.5.21.1 (49005e73)
# OS: Linux 6.12.22-amd64 x86_64 Debian trixie/sid
# Hostname: courriel.lip6.fr
auth_cache_size = 10 M
auth_mechanisms = plain login
mail_location = maildir:~/Maildir
mail_plugins = fts fts_flatcurve
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 index ihave duplicate mime foreverypart
extracttext editheader
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 {
args = /etc/dovecot/passdb_ldap.conf
driver = ldap
}
plugin {
fts = flatcurve
fts_autoindex = yes
fts_decoder = decode2text
fts_enforced = yes
fts_filters = lowercase normalizer-icu snowball stopwords
fts_filters_en = lowercase english-possessive normalizer-icu snowball stopwords
fts_filters_fr = lowercase contractions normalizer-icu snowball stopwords
fts_header_excludes = *
fts_header_includes = From To Cc Bcc Subject
fts_language_config = /etc/dovecot/fpdb.conf
fts_languages = fr en
fts_tokenizer_email_address = maxlen=100
fts_tokenizer_generic = algorithm=simple maxlen=30
fts_tokenizers = generic email-address
sieve = file:~/sieve;active=~/.dovecot.sieve
sieve_before = /var/lib/dovecot/sieve/before/
sieve_editheader_max_header_size = 1k
sieve_extensions = +editheader
sieve_user_email = %
n@lip6.fr
}
protocols = imap lmtp pop3 sieve
service auth {
unix_listener /var/spool/postfix/private/dovecot-auth {
group = postfix
mode = 0660
user = postfix
}
}
service decode2text {
executable = script /usr/lib/dovecot/decode2text.sh
unix_listener decode2text {
mode = 0666
}
user = dovecot
}
service imap-login {
inet_listener imap {
port = 0
}
inet_listener imaps {
port = 993
}
service_count = 1
}
service lmtp {
unix_listener /var/spool/postfix/private/dovecot-lmtp {
group = postfix
mode = 0600
user = postfix
}
}
service managesieve-login {
inet_listener sieve {
port = 4190
}
service_count = 1
}
service pop3-login {
inet_listener pop3 {
port = 0
}
inet_listener pop3s {
port = 995
}
service_count = 1
}
ssl = required
ssl_cert = </etc/ssl/certs/courriel.lip6.fr.pem
ssl_key = # hidden, use -P to show it
userdb {
args = /etc/dovecot/userdb_ldap.conf
driver = ldap
}
protocol lmtp {
mail_plugins = fts fts_flatcurve sieve
}
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.22-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages dovecot-core depends on:
ii adduser 3.150
ii init-system-helpers 1.68
ii libapparmor1 4.1.0-1
ii libbz2-1.0 1.0.8-6
ii libc6 2.41-7
ii libcap2 1:2.75-7
ii libcrypt1 1:4.4.38-1
ii libexttextcat-2.0-0 3.4.7-1+b1
ii libicu76 76.1-3
ii liblua5.4-0 5.4.7-1+b2
ii liblz4-1 1.10.0-4
ii liblzma5 5.8.1-1
ii libpam-runtime 1.7.0-3
ii libpam0g 1.7.0-3
ii libsodium23 1.0.18-1+b2
ii libssl3t64 3.5.0-1
ii libstemmer0d 2.2.0-4+b2
ii libsystemd0 257.5-2
ii libtirpc3t64 1.3.6+ds-1
ii libunwind8 1.8.1-0.1
ii libwrap0 7.6.q-36
ii libzstd1 1.5.7+dfsg-1
ii openssl 3.5.0-1
ii ssl-cert 1.1.3
ii ucf 3.0051
ii zlib1g 1:1.3.dfsg+really1.3.1-1+b1
dovecot-core recommends no packages.
Versions of packages dovecot-core suggests:
pn dovecot-gssapi <none>
ii dovecot-imapd 1:2.3.21.1+dfsg1-1+b2
ii dovecot-ldap 1:2.3.21.1+dfsg1-1+b2
ii dovecot-lmtpd 1:2.3.21.1+dfsg1-1+b2
ii dovecot-managesieved 1:2.3.21.1+dfsg1-1+b2
pn dovecot-mysql <none>
pn dovecot-pgsql <none>
ii dovecot-pop3d 1:2.3.21.1+dfsg1-1+b2
ii dovecot-sieve 1:2.3.21.1+dfsg1-1+b2
ii dovecot-solr 1:2.3.21.1+dfsg1-1+b2
pn dovecot-sqlite <none>
pn dovecot-submissiond <none>
pn ntp <none>
Versions of packages dovecot-core is related to:
ii dovecot-core [dovecot-common] 1:2.3.21.1+dfsg1-1+b2
ii dovecot-dev 1:2.3.21.1+dfsg1-1+b2
pn dovecot-gssapi <none>
ii dovecot-imapd 1:2.3.21.1+dfsg1-1+b2
ii dovecot-ldap 1:2.3.21.1+dfsg1-1+b2
ii dovecot-lmtpd 1:2.3.21.1+dfsg1-1+b2
ii dovecot-managesieved 1:2.3.21.1+dfsg1-1+b2
pn dovecot-mysql <none>
pn dovecot-pgsql <none>
ii dovecot-pop3d 1:2.3.21.1+dfsg1-1+b2
ii dovecot-sieve 1:2.3.21.1+dfsg1-1+b2
pn dovecot-sqlite <none>
-- no debconf information
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)