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)