ptloader crash
Dmitriy Kirhlarov
dimma at higis.ru
Wed Oct 17 05:54:03 EDT 2007
Hi, list
I have succefully running cyrus-imapd-2.3.8_1 with ldap-based auth on
FreeBSD 6.2-STABLE amd64.
Currently I installing new server on system:
FreeBSD 7.0-20071013-SNAP amd64 (my own release)
cyrus-imapd-2.3.9_1
openldap-client-2.4.5.b
but ptloader crashing with SIGSEGV (see backtrace below).
I perform two experiments:
FreeBSD 7 + cyrus-imapd-2.3.9 + openldap-client-2.3 -- crashing
FreeBSD 6 + cyrus-imapd-2.3.9 + openldap-client-2.3 -- working fine
I have core file and can provide any details, if needed.
Somebody, please, help me.
Another one problem -- sync_client still can't work from cyrus.conf, as
I describe some time ago:
http://lists.andrew.cmu.edu/pipermail/cyrus-devel/2007-April/000294.html
(gdb) bt full
#0 0x00000000004088e2 in ptsmodule_make_authstate_attribute
(canon_id=0x5d8ac0 "victim", size=6, reply=0x7fffffffe118,
dsize=0x7fffffffdf0c, newstate=0x7fffffffde78) at ldap.c:918
i = 0
numvals = 4225674
dn = 0x801d1c7a0 "uid=victim,ou=temp,ou=users,o=vega"
res = (LDAPMessage *) 0x801d18300
entry = (LDAPMessage *) 0x801d18300
attr = 0x801d095d0 "gidNumber"
vals = (char **) 0x1d095e0
ber = (BerElement *) 0x801d07430
rc = 0
attrs = {0x0, 0x0}
#1 0x00000000004096bf in myauthstate (identifier=0x7fffffffdf10
"victim", size=6, reply=0x7fffffffe118, dsize=0x7fffffffdf0c) at ldap.c:1214
canon_id = 0x5d8ac0 "victim"
newstate = (struct auth_state *) 0x0
rc = 4999252
retries = 1
#2 0x00000000004062d0 in ptsmodule_make_authstate
(identifier=0x7fffffffdf10 "victim", size=6, reply=0x7fffffffe118,
dsize=0x7fffffffdf0c) at ptloader.c:121
pts = (struct pts_module *) 0x5c5220
#3 0x0000000000406699 in service_main_fd (c=7, argc=1,
argv=0x801d07070, envp=0x7fffffffeb98) at ptloader.c:248
keyinhex =
"\0008_\000\b\000\000\000\000:_\000\b\000\000\000\000<_\000\b\000\000\000\000>_\000\b\000\000\000\000 at _\000\b",
'\0' <repeats 11 times>,
"à\031@\000\000\000\000\000Q-@\000\000\000\000\000¦\000\000\000\000\000\000\000»µ\\\000\b",
'\0' <repeats 11 times>, " áÿÿÿ\177\000\000
âÿÿÿ\177\000\000\000À^\000\b\000\000\000ú)@\000\000\000\000\000\000>_\000\b\000\000\000Ààÿÿÿ\177\000\000\021\000\000\000\021\000\000\000:09
2007\000>_\000\b\000\000\000`P\230\001\b\000\000\000°\020_\000\b\000\000\000\000À^\000\b",
'\0' <repeats 11 times>, "X\v@\000\000\000\000\000ú)@"...
reply = 0x0
user = "victim", '\0' <repeats 505 times>
rc = 1179
dsize = 0
size = 6
newstate = (struct auth_state *) 0x7fffffffe780
#4 0x0000000000409ecb in main (argc=1, argv=0x7fffffffeb88,
envp=0x7fffffffeb98) at service-thread.c:304
fdflags = 0
fd = 7
p = 0x7fffffffed92 "ptloader"
service = 0x801d09080 "ptloader"
request = {fd = -1, user = '\0' <repeats 127 times>, daemon =
"ptloader", '\0' <repeats 119 times>, pid = "1179\000\000\000\000\000",
client = {{name = '\0' <repeats 127 times>,
addr = '\0' <repeats 127 times>, sin = 0x0, unit = 0x0, request =
0x7fffffffe780}}, server = {{name = '\0' <repeats 127 times>, addr =
'\0' <repeats 127 times>, sin = 0x0, unit = 0x0,
request = 0x7fffffffe780}}, sink = 0, hostname = 0, hostaddr = 0,
cleanup = 0, config = 0x0}
opt = -1
alt_config = 0x0
call_debugger = 0
newargc = 1
newargv = (char **) 0x801d07070
WBR.
Dmitriy
More information about the Cyrus-devel
mailing list