Good Evening,
i have a serius problem by usung the search function via imap or via doveadm.
If i run this command:
doveadm search -u <user> mailbox INBOX text 'Hello'
I receive this line in my maillog:
dovecot: imap(<user>): Fatal: master: service(imap): child 7472 killed with signal 11 (core dumped)
in my /var/log/apport.log i can see this:
ERROR: apport (pid 17785) Thu Sep 17 17:19:01 2020: called for pid 17777, signal 11, core limit 0, dump mode 1
ERROR: apport (pid 17785) Thu Sep 17 17:19:01 2020: executable: /usr/bin/doveadm (command line "doveadm search -u <user> mailbox INBOX text Hello")
ERROR: apport (pid 17785) Thu Sep 17 17:19:01 2020: is_closing_session(): no DBUS_SESSION_BUS_ADDRESS in environment
ERROR: apport (pid 17785) Thu Sep 17 17:19:01 2020: this executable already crashed 2 times, ignoring
A gdb $(cat ExecutablePath) CoreDump from the unpackes dumpe show this:
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/doveadm...(no debugging symbols found)...done.
[New LWP 1441]
Core was generated by `doveadm search -u <user> mailbox INBOX text Hello'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007fb4da1f83f3 in ?? () from /usr/lib/dovecot/libdovecot.so.0
A doveconf -n show this output:
# 2.2.22 (fe789d2): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.13 (7b14904)
# OS: Linux 4.15.0-117-generic x86_64 Ubuntu 16.04.7 LTS
auth_mechanisms = plain login
auth_username_chars = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@üÜöÖäÄ
auth_worker_max_count = 60
disable_plaintext_auth = no
imap_capability = +XLIST
imap_logout_format = in=%i out=%o del=%{deleted} fetched_mails=%{fetch_hdr_count}
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
lock_method = flock
login_greeting = <myServer> mailserver ready.
login_log_format_elements = user=<%u> method=%m rip=%r lip=%l %c
mail_cache_min_mail_count = 30
mail_location = auto:
mail_max_userip_connections = 30
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto 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 imapflags notify vnd.dovecot.pipe vnd.dovecot.filter vnd.dovecot.execute
mbox_read_locks = dotlock
mbox_very_dirty_syncs = yes
mdbox_rotate_size = 250 M
namespace inbox {
inbox = yes
location =
mailbox Archiv {
auto = no
special_use =
}
mailbox Drafts {
auto = no
special_use =
}
mailbox Junk {
auto = no
special_use =
}
mailbox Sent {
auto = no
special_use =
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Trash {
auto = no
special_use =
}
prefix =
}
passdb {
args = /etc/dovecot/conf.d/zDovecot-sql.conf.ext
driver = sql
}
plugin {
sieve = ~/sieve/.dovecot.sieve
sieve_after = ~/sieve_after/.dovecot_after.sieve
sieve_before = ~/sieve_before/.dovecot_before.sieve
sieve_dir = ~/sieve
sieve_execute_bin_dir = /usr/local/bin/
sieve_execute_input_eol = lf
sieve_extensions = +notify +imapflags +vnd.dovecot.pipe +vnd.dovecot.filter +vnd.dovecot.execute +editheader -reject
sieve_filter_bin_dir = /usr/local/bin/
sieve_filter_input_eol = lf
sieve_global_dir = /etc/dovecot/sieve/
sieve_max_redirects = 25
sieve_pipe_bin_dir = /usr/local/bin/
sieve_pipe_input_eol = lf
sieve_plugins = sieve_extprograms
sieve_redirect_envelope_from = recipient
zlib_save = gz
zlib_save_level = 6
}
protocols = imap pop3 sieve
service auth-worker {
idle_kill = 1 mins
}
service auth {
idle_kill = 1 mins
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0660
user = postfix
}
user = root
}
service imap-login {
executable = /usr/lib/dovecot/imap-login
process_min_avail = 4
service_count = 0
user = dovecot
}
service imap {
process_limit = 1024
}
service managesieve-login {
inet_listener sieve {
port = 4190
}
service_count = 0
user = dovecot
}
service managesieve {
process_limit = 1024
user = dovecot
}
service pop3-login {
executable = /usr/lib/dovecot/pop3-login
process_min_avail = 4
service_count = 0
user = dovecot
}
service pop3 {
executable = /usr/lib/dovecot/pop3
process_limit = 1024
}
shutdown_clients = no
ssl_ca = </etc/apache2/zertifikate/*.<myServer>.pem
ssl_cert = </etc/apache2/zertifikate/*.<myServer>.pem
ssl_cipher_list = ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-G CM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AE S128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA25 6:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE- ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES1 28-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE -DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES12 8-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:!DES-CBC3-SHA:!aNU LL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA- DES-CBC3-SHA:!KRB5-DES-CBC3-SHA
ssl_dh_parameters_length = 2048
ssl_key = </etc/apache2/zertifikate/*.<myServer>.pem
ssl_prefer_server_ciphers = yes
ssl_protocols = !SSLv3
userdb {
args = /etc/dovecot/conf.d/zDovecot-sql.conf.ext
driver = sql
}
verbose_proctitle = yes
protocol lda {
mail_plugins = " sieve zlib"
rejection_reason = Your message to <%t> was automatically discarded:%n%r
}
protocol imap {
imap_client_workarounds = delay-newmail
mail_plugins = " mail_log notify zlib"
ssl = yes
}
protocol pop3 {
mail_plugins = zlib
pop3_client_workarounds = oe-ns-eoh outlook-no-nuls
pop3_no_flag_updates = no
pop3_uidl_format = %08Xu%08Xv
ssl = yes
}
What surprises me is that this problem only occurs with a text search in the inbox, I search in other mailboxes or only in the header this problem does not occur.
Can anyone give me a tip on how I can solve this problem without upgrading to 2.33?
Mit freundlichen Grüßen
Yours sincerely
Pascal Rudolf | Geschäftsführer
PADARU-IT | Bielebohstraße 10 | 02736 Beiersdorf @: <mailto:rudolf@padaru.de> rudolf@padaru.de | www: <http://padaru.de/> padaru.de mobil: +49 (0) 17 772 595 32