[Dovecot] test51 dumping core
OpenBSD 3.6 -current (i386) dovecot-1.0-test51
I'm now getting this error message as soon as I start dovecot: "Authentication client 0 not compatible with this server (mixed old and new binaries?)"
Here's the process I'm using:
./configure --sysconfdir=/etc
--with-ssl=openssl
--with-pam=NO
--with-ldap=no
--with-vpopmail=no
--with-rawlog
make svc -d /service/dovecot make install mv /etc/dovecot.conf /etc/dovecot.conf.49 mv /etc/dovecot.conf.51 /etc/dovecot.conf svc -u /service/dovecot
dovecot throws a dovecot-auth.core.
Here's the backtrace from it:
gdb /usr/local/libexec/dovecot/dovecot-auth /etc/dovecot/dovecot-auth.core GNU gdb 6.1 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-unknown-openbsd3.6"...
warning: exec file is newer than core file.
Core was generated by dovecot-auth'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/lib/libc.so.34.1...done. Loaded symbols for /usr/lib/libc.so.34.1 Reading symbols from /usr/libexec/ld.so...done. Loaded symbols for /usr/libexec/ld.so #0 0x1c00573a in auth_client_input_auth (conn=0x0, args=0x3c014080 "À@\001<") at auth-client-connection.c:204 204 request->id = id; (gdb) bt full #0 0x1c00573a in auth_client_input_auth (conn=0x0, args=0x3c014080 "À@\001<") at auth-client-connection.c:204 mech = (struct mech_module *) 0x0 request = (struct auth_request *) 0xffffffff list = (char **) 0x3c006414 name = 0x0 arg = 0x0 initial_resp = 0xcfbefe38 "Xþ¾Ï8ü\036\n\001" initial_resp_data = (void *) 0xcfbefecc initial_resp_len = 0 id = 1006715072 buf = (buffer_t *) 0x3c014080 valid_client_cert = 0 #1 0x1c00570f in auth_client_input_auth (conn=0x0, args=0x8b824024 "") at auth-client-connection.c:196 mech = (struct mech_module *) 0x5 request = (struct auth_request *) 0x1 list = (char **) 0xa1efc38 name = 0x0 arg = 0xd0bd985 "\203Äüj" initial_resp = 0xcfbefe58 "hþ¾Ïó¾" initial_resp_data = (void *) 0x1000 initial_resp_len = 218880389 id = 3485400780 buf = (buffer_t *) 0x3c006000 valid_client_cert = 1 #2 0x1c00bda0 in passwd_file_init (args=0x3c0140c0 "ðt") at userdb-passwd-file.c:39 args = 0xffffffff <Address 0xffffffff out of bounds> #3 0x1c00b986 in checkpassword_verify_plain (request=0x1, password=0xcfbeff18 "
",
callback=0xcfbefeb8) at passdb-checkpassword.c:277
request = (struct auth_request *) 0x0
chkpw_auth_request = (struct chkpw_auth_request *) 0x0
fd_in = {1006715072, -809566572}
fd_out = {-809566600, 469809542}
pid = -809566648
#4 0x1c007eae in mech_init () at mech.c:313
mechanisms = (char **) 0x0
env = 0x1 ""
#5 0x1c007f3a in mech_init () at mech.c:336
mechanisms = (char **) 0x1
env = 0x1c00555f "E\bÿp\020è¿\b"
#6 0x1c005491 in auth_callback (request=0x1, result=3485400856,
reply=0xcfbeff20,
reply_size=0) at auth-client-connection.c:71
result = 3485401184
reply_size = 3485400780
str = (string_t *) 0xcfbeff18
ret = 0
#7 0x1c005407 in auth_callback (request=0x0, result=3485401197,
reply=0xcfbf007d,
reply_size=3485401232) at auth-client-connection.c:62
result = 0
reply_size = 4096
str = (string_t *) 0xcfbeff14
ret = 0
#8 0xcfbf0060 in ?? ()
No symbol table info available.
#9 0x00000000 in ?? ()
No symbol table info available.
#10 0xcfbf006d in ?? ()
No symbol table info available.
#11 0xcfbf007d in ?? ()
No symbol table info available.
#12 0xcfbf0090 in ?? ()
No symbol table info available.
#13 0xcfbf00a2 in ?? ()
No symbol table info available.
#14 0xcfbf00b4 in ?? ()
No symbol table info available.
#15 0xcfbf00c7 in ?? ()
No symbol table info available.
#16 0xcfbf00d8 in ?? ()
No symbol table info available.
#17 0xcfbf00e0 in ?? ()
No symbol table info available.
#18 0xcfbf00ef in ?? ()
No symbol table info available.
#19 0xcfbf00fd in ?? ()
No symbol table info available.
#20 0xcfbf010b in ?? ()
No symbol table info available.
#21 0xcfbf015e in ?? ()
No symbol table info available.
#22 0xcfbf0174 in ?? ()
No symbol table info available.
#23 0xcfbf0191 in ?? ()
No symbol table info available.
#24 0xcfbf019e in ?? ()
No symbol table info available.
#25 0x00000000 in ?? ()
No symbol table info available.
#26 0x00000003 in ?? ()
No symbol table info available.
#27 0x1c000034 in ?? ()
No symbol table info available.
#28 0x00000004 in ?? ()
No symbol table info available.
#29 0x00000020 in ?? ()
No symbol table info available.
#30 0x00000005 in ?? ()
No symbol table info available.
#31 0x00000009 in ?? ()
No symbol table info available.
#32 0x00000006 in ?? ()
No symbol table info available.
#33 0x00001000 in ?? ()
No symbol table info available.
#34 0x00000007 in ?? ()
No symbol table info available.
#35 0x0d0ba000 in ?? ()
No symbol table info available.
#36 0x00000008 in ?? ()
No symbol table info available.
#37 0x00000000 in ?? ()
No symbol table info available.
#38 0x00000009 in ?? ()
No symbol table info available.
#39 0x1c0053f0 in auth_callback (request=0x0, result=0, reply=0x18cfbefe,
reply_size=2161098494) at auth-client-connection.c:57
result = AUTH_CLIENT_RESULT_CONTINUE
reply_size = 3485400864
str = (string_t *) 0xcfbeff18
ret = 0
Previous frame inner to this frame (corrupt stack?)
(gdb)
On 21.10.2004, at 18:43, jross@wykids.org wrote:
I'm now getting this error message as soon as I start dovecot: "Authentication client 0 not compatible with this server (mixed old and new binaries?)" .. gdb /usr/local/libexec/dovecot/dovecot-auth /etc/dovecot/dovecot-auth.core .. warning: exec file is newer than core file.
Are you sure everything got installed correctly? The backtrace was corrupted, and the above warning message also indicates that the core file was generated by different binary.
Quoting Timo Sirainen tss@iki.fi:
On 21.10.2004, at 18:43, jross@wykids.org wrote:
I'm now getting this error message as soon as I start dovecot: "Authentication client 0 not compatible with this server (mixed old and new binaries?)" .. gdb /usr/local/libexec/dovecot/dovecot-auth /etc/dovecot/dovecot-auth.core .. warning: exec file is newer than core file.
Are you sure everything got installed correctly? The backtrace was corrupted, and the above warning message also indicates that the core file was generated by different binary.
It appears to be a new installation. Here's the output of make install.
Making all in doc Making install in src Making install in lib Making install in lib-sql Making install in lib-ntlm Making install in lib-settings Making install in lib-charset Making install in lib-mail Making install in lib-imap Making install in lib-index Making install in lib-storage Making install in index Making install in maildir Making install in mbox Making install in subscription-file Making install in register make install-am Making install in lib-auth Making install in auth test -z "/usr/local/libexec/dovecot" || /home/jross/dovecot-1.0-test51/install-sh -d "/usr/local/libexec/dovecot" /bin/sh ../../libtool --mode=install /usr/bin/install -c 'dovecot-auth' '/usr/local/libexec/dovecot/dovecot-auth' /usr/bin/install -c dovecot-auth /usr/local/libexec/dovecot/dovecot-auth /bin/sh ../../libtool --mode=install /usr/bin/install -c 'checkpassword-reply' '/usr/local/libexec/dovecot/checkpassword-reply' /usr/bin/install -c checkpassword-reply /usr/local/libexec/dovecot/checkpassword-reply Making install in master test -z "/usr/local/sbin" || /home/jross/dovecot-1.0-test51/install-sh -d "/usr/local/sbin" /bin/sh ../../libtool --mode=install /usr/bin/install -c 'dovecot' '/usr/local/sbin/dovecot' /usr/bin/install -c dovecot /usr/local/sbin/dovecot Making install in login-common Making install in imap-login test -z "/usr/local/libexec/dovecot" || /home/jross/dovecot-1.0-test51/install-sh -d "/usr/local/libexec/dovecot" /bin/sh ../../libtool --mode=install /usr/bin/install -c 'imap-login' '/usr/local/libexec/dovecot/imap-login' /usr/bin/install -c imap-login /usr/local/libexec/dovecot/imap-login Making install in imap test -z "/usr/local/libexec/dovecot" || /home/jross/dovecot-1.0-test51/install-sh -d "/usr/local/libexec/dovecot" /bin/sh ../../libtool --mode=install /usr/bin/install -c 'imap' '/usr/local/libexec/dovecot/imap' /usr/bin/install -c imap /usr/local/libexec/dovecot/imap Making install in pop3-login test -z "/usr/local/libexec/dovecot" || /home/jross/dovecot-1.0-test51/install-sh -d "/usr/local/libexec/dovecot" /bin/sh ../../libtool --mode=install /usr/bin/install -c 'pop3-login' '/usr/local/libexec/dovecot/pop3-login' /usr/bin/install -c pop3-login /usr/local/libexec/dovecot/pop3-login Making install in pop3 test -z "/usr/local/libexec/dovecot" || /home/jross/dovecot-1.0-test51/install-sh -d "/usr/local/libexec/dovecot" /bin/sh ../../libtool --mode=install /usr/bin/install -c 'pop3' '/usr/local/libexec/dovecot/pop3' /usr/bin/install -c pop3 /usr/local/libexec/dovecot/pop3 Making install in util test -z "/usr/local/libexec/dovecot" || /home/jross/dovecot-1.0-test51/install-sh -d "/usr/local/libexec/dovecot" /bin/sh ../../libtool --mode=install /usr/bin/install -c 'rawlog' '/usr/local/libexec/dovecot/rawlog' /usr/bin/install -c rawlog /usr/local/libexec/dovecot/rawlog test -z "/usr/local/sbin" || /home/jross/dovecot-1.0-test51/install-sh -d "/usr/local/sbin" /bin/sh ../../libtool --mode=install /usr/bin/install -c 'dovecotpw' '/usr/local/sbin/dovecotpw'
ls -al /usr/local/libexec/dovecot
total 11768 drwxr-xr-x 2 root wheel 512 Oct 21 09:59 . drwxr-xr-x 3 root wheel 512 Sep 17 11:59 .. -rwxr-xr-x 1 root wheel 123460 Oct 21 09:59 checkpassword-reply -rwxr-xr-x 1 root wheel 461369 Oct 21 09:59 dovecot-auth -rwxr-xr-x 1 root wheel 2303681 Oct 21 09:59 imap -rwxr-xr-x 1 root wheel 371414 Oct 21 09:59 imap-login -rwxr-xr-x 1 root wheel 2122899 Oct 21 09:59 pop3 -rwxr-xr-x 1 root wheel 351369 Oct 21 09:59 pop3-login -rwxr-xr-x 1 root wheel 160217 Oct 21 09:59 rawlog
The backtrace of the new core is the same as the previous installation, and it's a new core file.
jross@junior:/home/jross/dovecot-1.0-test49 $ ls -al /etc/dovecot total 756 drwxr-xr-x 3 root wheel 512 Oct 20 08:55 . drwxr-xr-x 27 root wheel 3072 Oct 21 10:02 .. -rw------- 1 root wheel 356720 Oct 21 10:01 dovecot-auth.core -rwxr-xr-x 1 root wheel 391 Oct 8 08:56 run drwx------ 2 root wheel 512 Oct 21 10:02 supervise jross@junior:/home/jross/dovecot-1.0-test49 $
Thanks!
Jeff
On 21.10.2004, at 19:12, jross@wykids.org wrote:
Are you sure everything got installed correctly? The backtrace was corrupted, and the above warning message also indicates that the core file was generated by different binary.
It appears to be a new installation. Here's the output of make install.
Well, continuing my stupid questions:
Are you sure the core file was produced by the same binary? ie. you're not starting some other version of Dovecot which was installed to /usr/sbin/ or somewhere else in path?
What passdb are you using?
I just tested with OpenBSD 3.5/sparc64, worked fine.
Quoting Timo Sirainen tss@iki.fi:
On 21.10.2004, at 19:12, jross@wykids.org wrote:
Are you sure everything got installed correctly? The backtrace was corrupted, and the above warning message also indicates that the core file was generated by different binary.
It appears to be a new installation. Here's the output of make install.
Well, continuing my stupid questions:
Are you sure the core file was produced by the same binary? ie. you're not starting some other version of Dovecot which was installed to /usr/sbin/ or somewhere else in path?
I'm running dovecot under daemontools.
jross@junior:/home/jross/dovecot-1.0-test49 $ ps -wwwaux | grep [d]ovecot _dovecot 2060 0.0 0.1 332 1548 ?? S 8:00AM 0:00.25 imap-login _dovecot 3364 0.0 0.1 356 1560 ?? S 8:04AM 0:00.24 imap-login _dovecot 23908 0.0 0.1 384 1560 ?? S 8:19AM 0:00.24 imap-login _dovecot 2323 0.0 0.1 332 1540 ?? S 8:36AM 0:00.25 imap-login _dovecot 4022 0.0 0.1 388 1544 ?? S 10:35AM 0:00.10 imap-login _dovecot 11148 0.0 0.1 340 1560 ?? S 10:37AM 0:00.09 imap-login root 30338 0.0 0.1 232 1060 ?? S 11:43AM 0:00.01 /usr/local/sbin/dovecot -F _dovecot 20461 0.0 0.1 212 1360 ?? S 11:43AM 0:00.01 imap-login root 26687 0.0 0.0 356 712 ?? S 11:43AM 0:00.01 dovecot-auth _dovecot 27465 0.0 0.1 260 1356 ?? S 11:43AM 0:00.01 imap-login _dovecot 6723 0.0 0.1 244 1360 ?? S 11:43AM 0:00.01 imap-login root 2646 0.0 0.0 68 404 C0- S 8Oct04 0:00.06 supervise dovecot
What passdb are you using?
passwd
I just tested with OpenBSD 3.5/sparc64, worked fine.
Hmmm...test49 runs fine with the exception of the problems I reported yesterday. I tried test50 yesterday but didn't have the time to make the changes to dovecot.conf so I reverted.
test50 gives me the same error as 51, so whatever is going on happened between test49 and test50. gdb also reports that the exec file is newer than the core file.
Hope that helps!
Jeff
On 21.10.2004, at 21:04, jross@wykids.org wrote:
Are you sure the core file was produced by the same binary? ie. you're not starting some other version of Dovecot which was installed to /usr/sbin/ or somewhere else in path?
I'm running dovecot under daemontools.
Oh, that explains it. I'll fix it for test52. Seems every time these kind of problems have appeared, it's always been inetd-related. I should start remembering that.
participants (2)
-
jross@wykids.org
-
Timo Sirainen