Error and Panic (with coredump)

Thomas Knaute thomas.knaute at p2mberlin.de
Mon Apr 26 19:03:18 EEST 2021


Hi there,

i'm pretty new to this stuff, just tell me if you need more information.

Apr 26 17:15:43 dilia dovecot:  
imap(user at domain.de)<78561><rtYxnuHAZoPAqBSC>: Error:  
i_stream_seekable_write_failed: close((&sstream->fd)) @  
istream-seekable.c:246 failed (fd=21): Bad fi
le descriptor
Apr 26 17:15:43 dilia dovecot:  
imap(user at domain.de)<78561><rtYxnuHAZoPAqBSC>: Panic: file  
istream-seekable.c: line 226 (read_from_buffer): assertion failed:  
(*ret_r >0)
Apr 26 17:15:43 dilia dovecot:  
imap(user at domain.de)<78561><rtYxnuHAZoPAqBSC>: Error: Raw backtrace:  
/usr/lib/dovecot/libdovecot.so.0(+0xdb73b) [0x7f13aead973b] ->  
/usr/lib/dovecot/libdov
ecot.so.0(+0xdb7d1) [0x7f13aead97d1] ->  
/usr/lib/dovecot/libdovecot.so.0(+0x4a199) [0x7f13aea48199] ->  
/usr/lib/dovecot/libdovecot.so.0(+0x4c7cf) [0x7f13aea4a7cf] ->  
/usr/lib/dovecot/libdove
cot.so.0(+0xee6e2) [0x7f13aeaec6e2] ->  
/usr/lib/dovecot/libdovecot.so.0(+0xeeb46) [0x7f13aeaecb46] ->  
/usr/lib/dovecot/libdovecot.so.0(+0xe6cd9) [0x7f13aeae4cd9] ->  
/usr/lib/dovecot/libdovec
ot.so.0(i_stream_get_size+0x2a) [0x7f13aeae5baa] ->  
/usr/lib/dovecot/modules/lib20_zlib_plugin.so(+0x417c)  
[0x7f13ae80817c] ->  
/usr/lib/dovecot/libdovecot-storage.so.0(index_mail_set_seq+0x2
5) [0x7f13aec57eb5] ->  
/usr/lib/dovecot/libdovecot-storage.so.0(+0xd19ce) [0x7f13aec5e9ce] ->  
/usr/lib/dovecot/libdovecot-storage.so.0(index_storage_search_next_nonblock+0x61)  
[0x7f13aec5f0e
1] ->  
/usr/lib/dovecot/libdovecot-storage.so.0(mailbox_search_next_nonblock+0x28)  
[0x7f13aebe7e58] -> dovecot/imap [user at domain.de 192.168.xxx.xxx UID  
SORT](+0x2695f) [0x55740be9495f] ->
dovecot/imap [user at domain.de 192.168.xxx.xxx UID  
SORT](imap_search_start+0xdc) [0x55740be9528c] -> dovecot/imap  
[user at domain.de 192.168.xxx.xxx UID SORT](cmd_sort+0x271) [0x55740be87b7
1] -> dovecot/imap [user at domain.de 192.168.xxx.xxx UID  
SORT](command_exec+0x70) [0x55740be8ddc0] -> dovecot/imap  
[user at domain.de 192.168.xxx.xxx UID SORT](+0x1e3f2) [0x55740be8c3f2] ->
  dovecot/imap [user at domain.de 192.168.xxx.xxx UID SORT](+0x1e494)  
[0x55740be8c494] -> dovecot/imap [user at domain.de 192.168.xxx.xxx UID  
SORT](client_handle_input+0x1b5) [0x55740be8c845]
  -> dovecot/imap [user at domain.de 192.168.xxx.xxx UID  
SORT](client_input+0x7e) [0x55740be8cd6e] ->  
/usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x6f)  
[0x7f13aeaefbef] -> /usr/lib/dovec
ot/libdovecot.so.0(io_loop_handler_run_internal+0x136)  
[0x7f13aeaf11e6] ->  
/usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x4c)  
[0x7f13aeaefc8c] -> /usr/lib/dovecot/libdovecot.so.0(io_
loop_run+0x40) [0x7f13aeaefdf0] ->  
/usr/lib/dovecot/libdovecot.so.0(master_service_run+0x13)  
[0x7f13aea70123] -> dovecot/imap [user at domain.de 192.168.xxx.xxx UID  
SORT](main+0x325) [0x5574
0be7ebf5] -> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xeb)  
[0x7f13ae85709b]
Apr 26 17:15:44 dilia dovecot:  
imap(user at domain.de)<78561><rtYxnuHAZoPAqBSC>: Fatal: master:  
service(imap): child 78561 killed with signal 6 (core dumped)


# 2.3.4.1 (f79e8e7e4): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.5.4 ()
# OS: Linux 4.19.0-9-amd64 x86_64 Debian 10.9
# Hostname: dilia.intern.domain.de
auth_cache_size = 10 M
auth_default_realm = domain.de
auth_mechanisms = plain login
default_vsz_limit = 1 G
disable_plaintext_auth = no
imapc_features = " fetch-headers"
imapc_host = mail.intern.domain.de
imapc_user = %u
mail_location = maildir:~/Maildir
mail_plugins = zlib acl
mail_prefetch_count = 20
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 envir
onment mailbox date index ihave duplicate mime foreverypart extracttext
namespace {
  hidden = no
  ignore_on_failure = no
  inbox = no
  list = children
  location = maildir:%%h/Maildir:INDEX=%h/shared/%%u:CONTROL=%h/shared/%%u
  prefix = shared/%%u/
  separator = /
  subscriptions = yes
  type = shared
}
namespace inbox {
  hidden = no
  inbox = yes
  list = yes
  location =
  mailbox Drafts {
  auto = subscribe
  special_use = \Drafts
  }
  mailbox Junk {
  auto = subscribe
  special_use = \Junk
  }
  mailbox Sent {
  auto = subscribe
  special_use = \Sent
  }
  mailbox "Sent Messages" {
  special_use = \Sent
  }
  mailbox Trash {
  auto = subscribe
  special_use = \Trash
  }
  prefix = INBOX/
  separator = /
  subscriptions = yes
  type = private
}


passdb {
  args = /etc/dovecot/dovecot-ldap.conf.ext
  driver = ldap
}
plugin {
  acl = vfile
  acl_shared_dict = file:/var/lib/dovecot/db/shared-mailboxes.db
  mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename
  mail_log_fields = uid box msgid size
  sieve = file:~/sieve;active=~/.dovecot.sieve
  zlib_save = gz
  zlib_save_level = 6
}
protocols = " imap lmtp sieve"
service auth {
  unix_listener /var/spool/postfix/private/auth {
  mode = 0666
  }
  unix_listener auth-userdb {
  group = vmail
  user = vmail
  }
}
service imap-login {
  process_min_avail = 12
  service_count = 0
}

service imap {
  process_limit = 8192
}
service lmtp {
  inet_listener lmtp {
  address = 127.0.0.1
  port = 24
  }
}
service managesieve-login {
  inet_listener sieve {
  port = 4190
  }
  inet_listener sieve_deprecated {
  port = 2000
  }
}
ssl_cert = </etc/ssl/certs/mail.intern.combined.cer
ssl_cipher_list =  
ALL:!kRSA:!SRP:!kDHd:!DSS:!aNULL:!eNULL:!EXPORT:!DES:!3DES:!MD5:!PSK:!RC4:!ADH:!LOW:!DH at STRENGTH
ssl_dh = # hidden, use -P to show it
ssl_key = # hidden, use -P to show it
ssl_min_protocol = TLSv1.2
ssl_prefer_server_ciphers = yes
userdb {
  driver = prefetch
}
userdb {
  args = /etc/dovecot/dovecot-ldap.conf.ext
  driver = ldap
}
verbose_proctitle = yes
protocol lmtp {
  mail_plugins = zlib acl sieve
}
protocol imap {
  mail_max_userip_connections = 20
  mail_plugins = zlib acl imap_zlib imap_acl
}


Regards, Thomas




More information about the dovecot mailing list