[Dovecot] Core Dump upon IMAP Login with latest HG (2.1) c067025026ed

Thomas Leuxner tlx at leuxner.net
Sun Dec 4 08:39:14 EET 2011


Dec  4 07:27:41 spectre dovecot: imap-login: Login: user=<tlx at leuxner.net>, method=PLAIN, rip=84.58.184.122, lip=1.2.3.4, mpid=30987, TLS
Dec  4 07:27:42 spectre dovecot: imap-login: Login: user=<tlx at leuxner.net>, method=PLAIN, rip=84.58.184.122, lip=1.2.3.4, mpid=30990, TLS
Dec  4 07:27:42 spectre dovecot: master: Error: service(imap): child 30990 killed with signal 11 (core dumped)
Dec  4 07:27:48 spectre dovecot: imap(tlx at leuxner.net): Connection closed in=142 out=410
Dec  4 07:27:48 spectre dovecot: imap-login: Login: user=<tlx at leuxner.net>, method=PLAIN, rip=84.58.184.122, lip=1.2.3.4, mpid=30992, TLS
Dec  4 07:27:48 spectre dovecot: master: Warning: Killed with signal 15 (by pid=31013 uid=0 code=kill)

[ GDB Backtrace]

#0  0x00007fa68d36f978 in mailbox_settings_find (user=0x22162f0, vname=0x21ec318 "INBOX") at mail-storage.c:610
       box_set__foreach_end = <value optimized out>
       box_set = <value optimized out>
#1  0x00007fa68d371003 in mailbox_alloc (list=<value optimized out>, vname=0x21ec318 "INBOX", flags=MAILBOX_FLAG_DROP_RECENT) at mail-storage.c:643
       _data_stack_cur_id = 4
       new_list = 0x22149b0
       storage = 0x221b760
       box = 0x222a9f0
       __FUNCTION__ = "mailbox_alloc"
#2  0x000000000040d8de in select_open (cmd=0x22259c0, readonly=false) at cmd-select.c:285
       client = 0x2224e30
       status = {messages = 2808, recent = 0, unseen = 0, uidvalidity = 0, uidnext = 0, first_unseen_seq = 0, first_recent_uid = 0, last_cached_seq = 0, highest_modseq = 834, keywords = 0x0, 
         permanent_flags = 0, nonpermanent_modseqs = 0, permanent_keywords = 0, allow_new_keywords = 0}
       flags = 8
       ret = <value optimized out>
#3  cmd_select_full (cmd=0x22259c0, readonly=false) at cmd-select.c:419
       client = 0x2224e30
       ctx = <value optimized out>
       args = 0x2228218
       list_args = 0x7fffbe1e9a58
       mailbox = 0x21ec318 "INBOX"
       ret = <value optimized out>
       __FUNCTION__ = "cmd_select_full"
#4  0x000000000041134d in command_exec (cmd=0x22259c0) at imap-commands.c:147
       hook = 0x21f5b40
       ret = <value optimized out>
#5  0x000000000041031e in client_command_input (cmd=0x22259c0) at imap-client.c:673
       client = 0x2224e30
       command = <value optimized out>
       __FUNCTION__ = "client_command_input"
#6  0x00000000004103fd in client_command_input (cmd=0x22259c0) at imap-client.c:724
       client = 0x2224e30
       command = 0x0
       __FUNCTION__ = "client_command_input"
#7  0x0000000000410625 in client_handle_next_command (client=0x2224e30) at imap-client.c:765
       size = 18
#8  client_handle_input (client=0x2224e30) at imap-client.c:777
       _data_stack_cur_id = 3
       ret = false
       remove_io = <value optimized out>
       handled_commands = false
       __FUNCTION__ = "client_handle_input"
#9  0x0000000000410f4f in client_input (client=0x2224e30) at imap-client.c:816
       cmd = <value optimized out>
       output = 0x2225828
       bytes = <value optimized out>
       __FUNCTION__ = "client_input"
#10 0x00007fa68d0fbf36 in io_loop_call_io (io=0x22258d0) at ioloop.c:377
       ioloop = 0x21f4630
       t_id = 2
#11 0x00007fa68d0fcf6f in io_loop_handler_run (ioloop=<value optimized out>) at ioloop-epoll.c:213
       ctx = 0x21f4850
       event = 0x21f48c0
       list = 0x2225920
       io = 0x22162f0
       tv = {tv_sec = 29, tv_usec = 928551}
       msecs = <value optimized out>
       ret = <value optimized out>
       i = 0
       call = false
#12 0x00007fa68d0fbed8 in io_loop_run (ioloop=0x21f4630) at ioloop.c:396
No locals.
#13 0x00007fa68d0e9433 in master_service_run (service=0x21f44f0, callback=0x21ec318) at master-service.c:499
No locals.
#14 0x0000000000419141 in main (argc=1, argv=0x21f4370) at main.c:375
       set_roots = {0x41c020, 0x0}
       service_flags = <value optimized out>
       storage_service_flags = MAIL_STORAGE_SERVICE_FLAG_DISALLOW_ROOT
       postlogin_socket_path = 0x0
       username = 0x0
       c = <value optimized out>

[ doveconf -n ]

# OS: Linux 2.6.32-5-amd64 x86_64 Debian 6.0.3 
auth_cache_size = 16 k
auth_verbose = yes
mail_location = mdbox:~/mdbox
mail_plugins = acl quota stats
namespace {
 hidden = no
 inbox = yes
 location = 
 prefix = 
 separator = /
 type = private
}
namespace {
 list = yes
 location = mdbox:/var/vmail/public
 prefix = Public/
 separator = /
 subscriptions = no
 type = public
}
passdb {
 args = username_format=%u /var/vmail/auth.d/%d/passwd
 driver = passwd-file
}
plugin {
 acl = vfile:/var/vmail/conf.d/%d/acls:cache_secs=300
 mail_log_events = expunge mailbox_delete
 quota = dict:user::file:%h/mdbox/dovecot-quota
 quota_rule = *:storage=1GB
 quota_rule2 = Trash:storage=+10%%
 sieve = ~/.dovecot.sieve
 sieve_dir = ~/sieve
 sieve_global_dir = /var/vmail/conf.d/%d/sieve
 stats_refresh = 30s
 stats_track_cmds = yes
}
protocols = imap lmtp
quota_full_tempfail = yes
service auth-worker {
 user = doveauth
}
service auth {
 unix_listener /var/spool/postfix/private/auth {
   group = postfix
   mode = 0660
   user = postfix
 }
 user = doveauth
}
service imap-login {
 inet_listener imap {
   address = 1.2.3.4
   port = 143
 }
 inet_listener imaps {
   port = 0
 }
}
service lmtp {
 unix_listener /var/spool/postfix/private/dovecot-lmtp {
   group = postfix
   mode = 0660
   user = postfix
 }
}
service stats {
 fifo_listener stats-mail {
   mode = 0600
   user = vmail
 }
}
ssl_ca = </etc/ssl/certs/SSL123_CA_Bundle.pem
ssl_cert = </etc/ssl/certs/host_domain_tld.crt
ssl_key = </etc/ssl/private/host_domain_tld.key
syslog_facility = local1
userdb {
 args = username_format=%u /var/vmail/auth.d/%d/passwd
 driver = passwd-file
}
verbose_proctitle = yes
protocol lmtp {
 mail_plugins = acl quota stats sieve
}
protocol imap {
 mail_plugins = acl quota stats imap_acl imap_quota mail_log notify imap_stats
}


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://dovecot.org/pipermail/dovecot/attachments/20111204/45d27746/attachment-0002.bin>


More information about the dovecot mailing list