Hi,
after to upgrade to dovecot-2.2.25 I see some killed with signal 11 in the log file:
Jul 18 08:41:59 pop01 dovecot: pop3(rossi@milano.it): Fatal: master: service(pop3): child 32318 killed with signal 11 (core dumped) Jul 18 09:22:48 pop01 dovecot: imap(mail_backup@domain.it): Fatal: master: service(imap): child 16137 killed with signal 11 (core dumped)
I’m not sure but I think happens with new users at the first login but I’m not able to reproduce it.
Here the backtrace:
Core was generated by dovecot/pop3 pop3-postlogin'. Program terminated with signal 11, Segmentation fault. #0 0x00000001afdb5828 in ?? () Missing separate debuginfos, use: debuginfo-install bzip2-libs-1.0.5-7.el6_0.x86_64 expat-2.0.1-11.el6_2.x86_64 glibc-2.12-1.192.el6.x86_64 libgcc-4.4.7-17.el6.x86_64 libicu56-56.1-4.1.x86_64 libstdc++-4.4.7-17.el6.x86_64 zlib-1.2.3-29.el6.x86_64 (gdb) bt full #0 0x00000001afdb5828 in ?? () No symbol table info available. #1 0x000000000120a5d0 in ?? () No symbol table info available. #2 0x00007f7dafd74cac in client_dict_wait (_dict=0x120a920) at dict-client.c:573 dict = 0x120a920 #3 0x00007f7dafd757d8 in client_dict_lookup (_dict=0x120a5d0, pool=0x7f7db0020110, key=0x7f7daef41a07 "priv/quota/messages", value_r=0x7ffe94cb1650) at dict-client.c:669 result = {ret = -2, value = 0x0, error = 0x0} #4 0x00007f7daef3c5c3 in dict_quota_get_resource (_root=0x120a2d0, name=<value optimized out>, value_r=0x7ffe94cb1708) at quota-dict.c:168 value = <value optimized out> _data_stack_cur_id = 5 root = 0x120a2d0 want_bytes = <value optimized out> ret = <value optimized out> #5 0x00007f7daef39170 in quota_get_resource (root=0x120a2d0, mailbox_name=0x7f7daef41cfc "", name=0x7f7daef412f3 "MESSAGE", value_r=0x7ffe94cb1708, limit_r=0x7ffe94cb1700) at quota.c:686 bytes_limit = <value optimized out> count_limit = <value optimized out> kilobytes = false ret = <value optimized out> #6 0x00007f7daef39303 in quota_over_flag_check_root (root=0x120a2d0) at quota.c:1036 name = <value optimized out> overquota_script = <value optimized out> resources = 0x7f7daf144980 i = <value optimized out> value = 0 limit = 0 cur_overquota = <value optimized out> ret = <value optimized out> #7 0x00007f7daef39530 in quota_over_flag_check_startup (quota=<value optimized out>) at quota.c:1078 roots = <value optimized out> i = <value optimized out> count = 2 name = <value optimized out> #8 0x00007f7db006babe in hook_mail_namespaces_created (namespaces=0x12038d0) at mail-storage-hooks.c:296 _data_stack_cur_id = 4 hooks__foreach_end = 0x12073d8 hooks = 0x12073a8 #9 0x00007f7db0060065 in mail_namespaces_init_finish (namespaces=0x12038d0, error_r=0x7ffe94cb1920) at mail-namespace.c:357 _data_stack_cur_id = 3 ---Type <return> to continue, or q <return> to quit--- ns = 0x0 prefixless_found = <value optimized out> __FUNCTION__ = "mail_namespaces_init_finish" #10 0x00007f7db00601f4 in mail_namespaces_init (user=0x1205270, error_r=0x7ffe94cb1920) at mail-namespace.c:405 mail_set = 0x1206118 ns_set = <value optimized out> unexpanded_ns_set = <value optimized out> namespaces = 0x12038d0 ns_p = <value optimized out> i = <value optimized out> count = <value optimized out> __FUNCTION__ = "mail_namespaces_init" #11 0x00007f7db006f56d in mail_storage_service_init_post (ctx=<value optimized out>, user=0x11f1960, mail_user_r=0x7ffe94cb19f0) at mail-storage-service.c:714 mail_set = 0x1206118 home = 0x11f2931 "/home/domains/milano.it/rossi" mail_user = 0x1205270 #12 mail_storage_service_next_real (ctx=<value optimized out>, user=0x11f1960, mail_user_r=0x7ffe94cb19f0) at mail-storage-service.c:1411 len = <value optimized out> temp_priv_drop = false priv = {uid = 89, gid = 89, uid_source = 0x7f7db01118d9 "userdb lookup", gid_source = 0x7f7db01118d9 "userdb lookup", home = 0x11f2931 "/home/domains/milano.it/rossi", chroot = 0x11e4670 ""} error = <value optimized out> use_chroot = true #13 mail_storage_service_next (ctx=<value optimized out>, user=0x11f1960, mail_user_r=0x7ffe94cb19f0) at mail-storage-service.c:1429 old_log_prefix = 0x11f1750 "pop3(rossi@milano.it): " ret = 18899224 #14 0x00007f7db006f7ad in mail_storage_service_lookup_next (ctx=0x11ecdc0, input=<value optimized out>, user_r=0x7ffe94cb19f8, mail_user_r=0x7ffe94cb19f0, error_r=0x7ffe94cb1a70) at mail-storage-service.c:1462 user = 0x11f1960 ret = <value optimized out> #15 0x000000000040434e in client_create_from_input (input=0x7ffe94cb1a80, fd_in=13, fd_out=13, input_buf=0x7ffe94cb1a30, error_r=<value optimized out>) at main.c:106 lookup_error_str = 0x4083b0 "-ERR [SYS/TEMP] Internal error occurred. Refer to server log for more information.\r\n" user = <value optimized out> mail_user = <value optimized out> client = <value optimized out> set = <value optimized out> error = <value optimized out> #16 0x0000000000404abe in login_client_connected (client=0x11eefc0, username=<value optimized out>, ---Type <return> to continue, or q <return> to quit--- extra_fields=<value optimized out>) at main.c:178 input = {module = 0x40932a "pop3", service = 0x40932a "pop3", username = 0x11e3168 "rossi@milano.it", session_id = 0x11ef040 "MI/mQ+M3nvtPBuXj", session_id_prefix = 0x0, local_ip = {family = 2, u = {ip6 = {__in6_u = { __u6_addr8 = "\n
\003\235", '\000'
and this:
Core was generated by `dovecot/imap imap-postlogin'.
Program terminated with signal 11, Segmentation fault.
#0 0x0000000178e39828 in ?? ()
Missing separate debuginfos, use: debuginfo-install
bzip2-libs-1.0.5-7.el6_0.x86_64 expat-2.0.1-11.el6_2.x86_64
glibc-2.12-1.192.el6.x86_64 libgcc-4.4.7-17.el6.x86_64
libicu56-56.1-4.1.x86_64 libstdc++-4.4.7-17.el6.x86_64
zlib-1.2.3-29.el6.x86_64
(gdb) bt full
#0 0x0000000178e39828 in ?? ()
No symbol table info available.
#1 0x0000000000e1e670 in ?? ()
No symbol table info available.
#2 0x00007f1178df8cac in client_dict_wait (_dict=0xe1e910) at
dict-client.c:573
dict = 0xe1e910
#3 0x00007f1178df97d8 in client_dict_lookup (_dict=0xe1e670,
pool=0x7f11790a4110, key=0x7f1177dc1a07 "priv/quota/messages",
value_r=0x7ffc745d6590) at dict-client.c:669
result = {ret = -2, value = 0x0, error = 0x0}
#4 0x00007f1177dbc5c3 in dict_quota_get_resource (_root=0xe189a0,
name=<value optimized out>, value_r=0x7ffc745d6648)
at quota-dict.c:168
value = <value optimized out>
_data_stack_cur_id = 5
root = 0xe189a0
want_bytes = <value optimized out>
ret = <value optimized out>
#5 0x00007f1177db9170 in quota_get_resource (root=0xe189a0,
mailbox_name=0x7f1177dc1cfc "", name=0x7f1177dc12f3 "MESSAGE",
value_r=0x7ffc745d6648, limit_r=0x7ffc745d6640) at quota.c:686
bytes_limit = <value optimized out>
count_limit = <value optimized out>
kilobytes = false
ret = <value optimized out>
#6 0x00007f1177db9303 in quota_over_flag_check_root (root=0xe189a0) at
quota.c:1036
name = <value optimized out>
overquota_script = <value optimized out>
resources = 0x7f1177fc4980
i = <value optimized out>
value = 0
limit = 0
cur_overquota = <value optimized out>
ret = <value optimized out>
#7 0x00007f1177db9530 in quota_over_flag_check_startup (quota=<value
optimized out>) at quota.c:1078
roots = <value optimized out>
i = <value optimized out>
count = 2
name = <value optimized out>
#8 0x00007f11790efabe in hook_mail_namespaces_created
(namespaces=0xe1d230) at mail-storage-hooks.c:296
_data_stack_cur_id = 4
hooks__foreach_end = 0xe1b450
hooks = 0xe1b420
#9 0x00007f11790e4065 in mail_namespaces_init_finish
(namespaces=0xe1d230, error_r=0x7ffc745d6860) at mail-namespace.c:357
_data_stack_cur_id = 3
---Type <return> to continue, or q <return> to quit---
ns = 0x0
prefixless_found = <value optimized out>
__FUNCTION__ = "mail_namespaces_init_finish"
#10 0x00007f11790e41f4 in mail_namespaces_init (user=0xe19260,
error_r=0x7ffc745d6860) at mail-namespace.c:405
mail_set = 0xe1a120
ns_set = <value optimized out>
unexpanded_ns_set = <value optimized out>
namespaces = 0xe1d230
ns_p = <value optimized out>
i = <value optimized out>
count = <value optimized out>
__FUNCTION__ = "mail_namespaces_init"
#11 0x00007f11790f356d in mail_storage_service_init_post (ctx=<value
optimized out>, user=0xe04340, mail_user_r=0x7ffc745d6928)
at mail-storage-service.c:714
mail_set = 0xe1a120
home = 0xe054a1 "/home/domains/C/domain.it/mail_backup"
mail_user = 0xe19260
#12 mail_storage_service_next_real (ctx=<value optimized out>,
user=0xe04340, mail_user_r=0x7ffc745d6928)
at mail-storage-service.c:1411
len = <value optimized out>
temp_priv_drop = false
priv = {uid = 89, gid = 89, uid_source = 0x7f11791958d9 "userdb
lookup", gid_source = 0x7f11791958d9 "userdb lookup",
home = 0xe054a1 "/home/domains/C/domain.it/mail_backup",
chroot = 0xdf66a0 ""}
error = <value optimized out>
use_chroot = true
#13 mail_storage_service_next (ctx=<value optimized out>, user=0xe04340,
mail_user_r=0x7ffc745d6928) at mail-storage-service.c:1429
old_log_prefix = 0xe04130 "imap(mail_backup@domain.it): "
ret = 14786848
#14 0x00007f11790f37ad in mail_storage_service_lookup_next
(ctx=0xdff7d0, input=<value optimized out>, user_r=0x7ffc745d6930,
mail_user_r=0x7ffc745d6928, error_r=0x7ffc745d6988) at
mail-storage-service.c:1462
user = 0xe04340
ret = <value optimized out>
#15 0x0000000000424811 in client_create_from_input
(input=0x7ffc745d69a0, fd_in=14, fd_out=14, client_r=0x7ffc745d6990,
error_r=0x7ffc745d6988) at main.c:228
user = <value optimized out>
mail_user = 0x0
ns = <value optimized out>
client = <value optimized out>
imap_set = <value optimized out>
lda_set = <value optimized out>
errstr = <value optimized out>
mail_error = 32529
---Type <return> to continue, or q <return> to quit---
#16 0x00000000004251fc in login_client_connected (login_client=0xe01a50,
username=<value optimized out>,
extra_fields=<value optimized out>) at main.c:316
input = {module = 0x42d701 "imap", service = 0x42d701 "imap",
username = 0xdf5128 "mail_backup@domain.it",
session_id = 0xe01ad0 "12Tc1eM34NNeVqvj", session_id_prefix =
0x0, local_ip = {family = 2, u = {ip6 = {__in6_u = {
__u6_addr8 = "m\250q\234", '\000'
and my configuration:
# 2.2.25.1 (f9daebb): /etc/dovecot/dovecot.conf # Pigeonhole version 0.4.15.rc1 (b9dc09d) # OS: Linux 2.6.32-642.1.1.el6.x86_64 x86_64 CentOS release 6.8 (Final) auth_cache_negative_ttl = 2 mins auth_cache_size = 20 M auth_cache_ttl = 20 mins auth_master_user_separator = * auth_mechanisms = plain login auth_worker_max_count = 50 deliver_log_format = msgid=%m, from=%f, subject="%s": %$ dict { acl = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext expire = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext sqlquota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext } disable_plaintext_auth = no first_valid_gid = 89 first_valid_uid = 89 imap_client_workarounds = delay-newmail tb-extra-mailbox-sep tb-lsub-flags imap_idle_notify_interval = 29 mins imap_logout_format = in=%i out=%o session=<%{session}> imap_max_line_length = 2 M last_valid_gid = 89 last_valid_uid = 89 lda_mailbox_autocreate = yes lda_mailbox_autosubscribe = yes listen = 10.0.1.5 login_trusted_networks = 10.0.1.0/24 mail_fsync = always mail_location = maildir:~/Maildir mail_plugins = quota acl expire zlib fts fts_solr maildir_very_dirty_syncs = yes managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext vnd.dovecot.duplicate mmap_disable = yes namespace { list = children location = maildir:%%h/Maildir:INDEX=~/Maildir/shared/%%u prefix = shared/%%n/ separator = / subscriptions = no type = shared } namespace inbox { inbox = yes location = mailbox Drafts { auto = subscribe special_use = \Drafts } mailbox Sent { auto = subscribe special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Spam { auto = subscribe special_use = \Junk } mailbox Trash { auto = subscribe special_use = \Trash } prefix = separator = / } passdb { args = /etc/dovecot/dovecot-deny-sql.conf.ext deny = yes driver = sql } passdb { args = /etc/dovecot/extra/master-users driver = passwd-file master = yes pass = yes } passdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql } plugin { acl = vfile acl_shared_dict = proxy::acl expire = Trash expire2 = Spam expire_dict = proxy::expire fts = solr fts_solr = url=http://10.0.1.145:8983/solr/ quota = maildir:UserQuota quota2 = dict:Quota Usage::noenforcing:proxy::sqlquota quota_grace = 10M quota_rule2 = Trash:storage=+100M quota_warning = storage=95%% quota-warning 95 %u quota_warning2 = storage=80%% quota-warning 80 %u sieve = ~/.dovecot.sieve sieve_before = /etc/dovecot/sieve/before.sieve sieve_dir = ~/sieve sieve_extensions = +vnd.dovecot.duplicate -vacation zlib_save = gz zlib_save_level = 6 } pop3_client_workarounds = outlook-no-nuls oe-ns-eoh pop3_logout_format = top=%t/%p, retr=%r/%b, del=%d/%m, size=%s, bytes=%i/%o, session=<%{session}> protocols = imap pop3 sieve sendmail_path = /var/qmail/bin/sendmail service anvil { unix_listener anvil-auth-penalty { mode = 00 } } service auth { client_limit = 6524 unix_listener auth-userdb { group = vmail mode = 0660 user = vmail } } service dict { process_limit = 500 unix_listener dict { group = vmail mode = 0660 user = vmail } } service imap-login { process_min_avail = 4 service_count = 0 } service imap-postlogin { executable = script-login /etc/dovecot/scripts/imap-postlogin.sh unix_listener imap-postlogin { group = vmail mode = 0660 user = vmail } user = vmail } service imap { executable = imap imap-postlogin process_limit = 5000 vsz_limit = 384 M } service managesieve-login { inet_listener sieve { port = 4190 } } service pop3-login { process_min_avail = 4 service_count = 0 } service pop3-postlogin { executable = script-login /etc/dovecot/scripts/pop3-postlogin.sh unix_listener pop3-postlogin { group = vmail mode = 0660 user = vmail } user = vmail } service pop3 { executable = pop3 pop3-postlogin process_limit = 1024 } service quota-warning { executable = script /etc/dovecot/scripts/quota-warning.sh unix_listener quota-warning { user = vmail } user = vmail } ssl = no submission_host = 127.0.0.1 userdb { driver = prefetch } userdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql } verbose_proctitle = yes protocol lda { mail_fsync = optimized mail_location = maildir:~/Maildir:INDEX=MEMORY mail_plugins = quota acl expire zlib fts fts_solr sieve } protocol imap { mail_max_userip_connections = 50 mail_plugins = quota acl expire zlib fts fts_solr imap_quota imap_acl imap_zlib } protocol sieve { mail_max_userip_connections = 2 } protocol pop3 { mail_max_userip_connections = 15 }
I hope can be fixed. Thanks