[Dovecot] segfault in Debian Squeeze + Dovecot 2.1.10

Birta Levente blevi.linux at gmail.com
Mon Sep 24 18:04:29 EEST 2012


On 24/09/2012 17:58, Timo Sirainen wrote:
> On 24.9.2012, at 17.55, Birta Levente wrote:
>
>> On 24/09/2012 17:32, Timo Sirainen wrote:
>>> On 23.9.2012, at 14.05, Joe Auty wrote:
>>>
>>>> #0  0x00007f789cd08e14 in hash_table_destroy () from /usr/lib/dovecot/libdovecot.so.0
>>>> (gdb) bt full
>>>> #0  0x00007f789cd08e14 in hash_table_destroy () from /usr/lib/dovecot/libdovecot.so.0
>>>> No symbol table info available.
>>>> #1  0x00007f789ccda054 in settings_parser_deinit () from /usr/lib/dovecot/libdovecot.so.0
>>>> No symbol table info available.
>>>> #2  0x00007f789ccff33d in master_service_settings_cache_deinit () from /usr/lib/dovecot/libdovecot.so.0
>>>
>>> Well, the good news is that it crashes only after it has already disconnected the client anyway. But I thought I fixed this bug in v2.1.10 and I'm not able to reproduce it myself.. Having debugging information available might show something useful. Try installing dovecot-dbg package and getting the bt full again?
>>>
>>
>> I have the same problem, but on centos 6.3 64bit. How can I give you the debug information?
>
> Show your doveconf -n output at least. As for debugging information, that would depend on how you installed Dovecot? From some RPM or sources?
>

I build my own rpm based on src rpm: dovecot-2.1.1-2_132.src.rpm.

#dovecot -n

auth_mechanisms = plain login cram-md5
debug_log_path = /var/log/dovecot.log
disable_plaintext_auth = no
listen = *
mail_access_groups = vmail
mail_location = maildir:/var/vmail/%d/%n/Maildir
mail_plugins = quota
mbox_write_locks = fcntl
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 =
   separator = /
}
passdb {
   args = /etc/dovecot/dovecot-sql.conf.ext
   driver = sql
}
plugin {
   mail_log_events = delete undelete expunge copy mailbox_delete 
mailbox_rename
   mail_log_fields = uid box msgid size
   quota = maildir:User quota
   quota_exceeded_message = Quota exceeded, please contact postmaster at 
benvenuti.ro
   quota_warning = storage=95%% quota-warning 95 %u
   quota_warning2 = storage=90%% quota-warning 90 %u
   quota_warning3 = storage=85%% quota-warning 85 %u
   quota_warning4 = storage=80%% quota-warning 80 %u
   quota_warning5 = storage=50%% quota-warning 50 %u
}
postmaster_address = postmaster at mydomain.com
service auth {
   unix_listener /var/spool/postfix/private/auth {
     group = postfix
     mode = 0660
     user = postfix
   }
   unix_listener auth-userdb {
     group = vmail
     mode = 0600
     user = vmail
   }
}
service imap-login {
   inet_listener imap {
     port = 143
   }
   inet_listener imaps {
     port = 993
     ssl = yes
   }
}
service pop3-login {
   inet_listener pop3 {
     port = 110
   }
   inet_listener pop3s {
     port = 995
     ssl = yes
   }
}
service quota-warning {
   executable = script /usr/local/bin/quota-warning.sh
   unix_listener quota-warning {
     group = vmail
     mode = 0640
     user = vmail
   }
   user = vmail
}
ssl_ca = </etc/pki/tls/certs/ca.pem
ssl_cert = </etc/pki/tls/certs/0.pem
ssl_key = </etc/pki/tls/private/0.pem
userdb {
   args = /etc/dovecot/dovecot-sql.conf.ext
   driver = sql
}
protocol lmtp {
   mail_plugins = quota
}
protocol lda {
   mail_plugins = quota
}
protocol imap {
   mail_plugins = quota imap_quota
}
protocol pop3 {
   mail_plugins = quota
   pop3_uidl_format = %08Xu%08Xv
}
local xxx.xxx.xxx.xxx {
   ssl_ca = </etc/pki/tls/certs/ca.pem
   ssl_cert = </etc/pki/tls/certs/1.cert.pem
   ssl_key = </etc/pki/tls/private/1.privatekey.pem
}
local xxx.xxx.xxx.xxx {
   ssl_ca = </etc/pki/tls/certs/ca.pem
   ssl_cert = </etc/pki/tls/certs/2.cert.pem
   ssl_key = </etc/pki/tls/private/2.privatekey.pem
}




More information about the dovecot mailing list