[Dovecot] v2.0.4 released

Odhiambo Washington odhiambo at gmail.com
Tue Sep 28 18:40:47 EEST 2010


On Tue, Sep 28, 2010 at 6:08 PM, Timo Sirainen <tss at iki.fi> wrote:

> On Tue, 2010-09-28 at 15:17 +0300, Odhiambo Washington wrote:
> > Just upgraded to this version from 2.0.1 and get this:
> >
> > Sep 28 15:15:34 master: Info: Dovecot v2.0.4 starting up
> > Sep 28 15:15:37 auth: Info: mysql: Connected to localhost (vexim)
> > Sep 28 15:15:37 imap-login: Info: Login: user=<johndoe at domain.name>,
> > method=PLAIN, rip=68.171.238.44, lip=41.215.34.70, mpid=97783
> > Sep 28 15:15:37 master: Error: service(imap): child 97783 killed with
> signal
> > 11 (core not dumped - set service imap { drop_priv_before_exec=yes }
> > )
>
> doveconf -n output?
>

# /opt/dovecot2/bin/doveconf -n
# 2.0.1: /opt/dovecot2/etc/dovecot/dovecot.conf
# OS: FreeBSD 7.3-STABLE i386  ufs
auth_cache_negative_ttl = 86400 s
auth_cache_size = 10485760
auth_mechanisms = plain digest-md5
auth_socket_path = /opt/dovecot2/var/run/auth-userdb
auth_verbose = yes
base_dir = /opt/dovecot2/var/run/
default_login_user = dovecot
disable_plaintext_auth = no
first_valid_gid = 26
first_valid_uid = 26
log_path = /opt/dovecot2/var/log/dovecot.log
login_greeting = Dovecot-2.0 ready.
mail_access_groups = mailnull
mail_location = maildir:/var/spool/virtual/%d/%n/Maildir
mail_privileged_group = mailnull
passdb {
  args = /opt/dovecot2/etc/dovecot/dovecot-sql.conf
  driver = sql
}
postmaster_address = postmaster at thisuglytest.name
service imap-login {
  inet_listener imap {
    port = 143
  }
  inet_listener imaps {
    port = 993
    ssl = yes
  }
  service_count = 1
}
service pop3-login {
  inet_listener pop3 {
    port = 110
  }
  inet_listener pop3s {
    port = 995
  }
}
ssl_cert = </etc/ssl/dovecot/cert.pem
ssl_key = </etc/ssl/dovecot/key.pem
userdb {
  args = /opt/dovecot2/etc/dovecot/dovecot-sql.conf
  driver = sql
}
protocol imap {
  imap_client_workarounds = delay-newmail tb-extra-mailbox-sep
  mail_plugins = quota
}
protocol pop3 {
  mail_plugins = quota
  pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
}



>
> Can you get a gdb backtrace? Looks like you're not using Linux, so it
> can get a bit tricky. http://dovecot.org/bugreport.html may give hints..
>

I am using FreeBSD 7.3 on this box. I've followed the instructions and here
is the backtrace:

gw# gdb /opt/dovecot2/libexec/dovecot/imap imap.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...

warning: exec file is newer than core file.
Core was generated by `imap'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from
/opt/dovecot2/lib/dovecot/libdovecot-storage.so.0...done.
Loaded symbols for /opt/dovecot2/lib/dovecot/libdovecot-storage.so.0
Reading symbols from /opt/dovecot2/lib/dovecot/libdovecot.so.0...done.
Loaded symbols for /opt/dovecot2/lib/dovecot/libdovecot.so.0
Reading symbols from /usr/lib/librt.so.1...done.
Loaded symbols for /usr/lib/librt.so.1
Reading symbols from /lib/libc.so.7...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /opt/dovecot2/lib/dovecot/lib10_quota_plugin.so...done.
Loaded symbols for /opt/dovecot2/lib/dovecot/lib10_quota_plugin.so
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x282ccd73 in quota_get_mail_user_quota (user=0x2834c020) at
quota-storage.c:436
436             struct quota_user *quser = QUOTA_USER_CONTEXT(user);
(gdb) bt full
#0  0x282ccd73 in quota_get_mail_user_quota (user=0x2834c020) at
quota-storage.c:436
No locals.
#1  0x282ccda5 in quota_mailbox_list_created (list=0x28328820) at
quota-storage.c:509
        qlist = Variable "qlist" is not available.
(gdb) quit
gw# gdb /opt/dovecot2/libexec/dovecot/pop3 pop3.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...

warning: exec file is newer than core file.
Core was generated by `pop3'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from
/opt/dovecot2/lib/dovecot/libdovecot-storage.so.0...done.
Loaded symbols for /opt/dovecot2/lib/dovecot/libdovecot-storage.so.0
Reading symbols from /opt/dovecot2/lib/dovecot/libdovecot.so.0...done.
Loaded symbols for /opt/dovecot2/lib/dovecot/libdovecot.so.0
Reading symbols from /usr/lib/librt.so.1...done.
Loaded symbols for /usr/lib/librt.so.1
Reading symbols from /lib/libc.so.7...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /opt/dovecot2/lib/dovecot/lib10_quota_plugin.so...done.
Loaded symbols for /opt/dovecot2/lib/dovecot/lib10_quota_plugin.so
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x282b8d73 in quota_get_mail_user_quota (user=0x2834c020) at
quota-storage.c:436
436             struct quota_user *quser = QUOTA_USER_CONTEXT(user);
(gdb) bt full
#0  0x282b8d73 in quota_get_mail_user_quota (user=0x2834c020) at
quota-storage.c:436
No locals.
#1  0x282b8da5 in quota_mailbox_list_created (list=0x28320820) at
quota-storage.c:509
        qlist = Variable "qlist" is not available.
(gdb)





-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
"If you have nothing good to say about someone, just shut up!."
               -- Lucky Dube


More information about the dovecot mailing list