[Date Prev][Date Next] [Chronological] [Thread] [Top]

CVS 03MAY02 ( sasl related segfault ) (ITS#1795)



Full_Name: Kervin Pierre
Version: CVS 03MAY02
OS: rh 7.2
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (163.118.1.20)


looks like somewhere down the line authid gets set to a bad pointer ( 0x1 )

-Kervin

---------------------------------

Core was generated by `slapd -h ldap://bashful.eng.fit.edu/
ldaps://bashful.eng.fit.edu/ -d 1 -f /usr/'.
Program terminated with signal 11, Segmentation fault.
[New Thread 1024 (LWP 11133)]
#0  0x40273c4f in strlen () from /lib/i686/libc.so.6
#0  0x40273c4f in strlen () from /lib/i686/libc.so.6
No locals.
#1  0x400bacfa in sasl_setprop (conn=0x8126dd0, propnum=102, value=0x1) at
common.c:631
	propnum = 1
	value = (void *) 0x1
	result = 0
	str = 0x8128160 "\001\003"
	result = 0
	str = 0x8128160 "\001\003"
#2  0x0807e25f in slap_sasl_external (conn=0x4052ae0c, ssf=168, auth_id=0x1
<Error reading address 0x1: No such process>) at sasl.c:916
	conn = (Connection *) 0x1
	sc = 1
	ctx = (sasl_conn_t *) 0x8126dd0
#3  0x080514ee in connection_read (s=13) at connection.c:1217
	authid = {bv_len = 1081539020, bv_val = 0x1 <Error reading address 0x1: No such
process>}
	s = 13
	rc = 1
	c = (Connection *) 0x4052ae0c
#4  0x0804eb32 in slapd_daemon_task (ptr=0x0) at daemon.c:1671
	nfds = 14
	ebadf = 0
	emfile = 0
	readfds = {__fds_bits = {8192, 0 <repeats 31 times>}}
	writefds = {__fds_bits = {0 <repeats 32 times>}}
	from = {sa_addr = {sa_family = 2, sa_data =
"Ù¯£v\001\024\002\002\000\000ÿÿÿÿ"}, sa_in_addr = {sin_family = 2, sin_port =
45017, sin_addr = {
      s_addr = 335640227}, sin_zero = "\002\002\000\000ÿÿÿÿ"}, sa_in6_addr =
{sin6_family = 2, sin6_port = 45017, sin6_flowinfo = 335640227, sin6_addr =
{in6_u = {
        u6_addr8 = "\002\002\000\000ÿÿÿÿ\000\000\000\000\000\000\000", u6_addr16
= {514, 0, 65535, 65535, 0, 0, 0, 0}, u6_addr32 = {514, 4294967295, 0, 0}}}, 
    sin6_scope_id = 0}, sa_un_addr = {sun_family = 2, 
    sun_path = "Ù¯£v\001\024\002\002\000\000ÿÿÿÿ", '\000' <repeats 32 times>,
"\fúv@", '\000' <repeats 20 times>, "\002", '\000' <repeats 30 times>,
"\001\000\000\000\000Ë\004"}}
	l = 2
	last_idle_check = 0
	l = 2
	last_idle_check = 0
#5  0x401deb9c in pthread_start_thread (arg=0x4076fbe0) at manager.c:274
	self = 0x0
	request = {req_thread = 0x0, req_kind = REQ_CREATE, req_args = {create = {attr
= 0x0, fn = 0, arg = 0x0, mask = {__val = {0 <repeats 32 times>}}}, free = {
      thread_id = 0}, exit = {code = 0}, post = 0x0}}
	outcome = (void *) 0x1
-------------------------------------------------