[Fwd: SLAPD 3.3 bug on AIX]

Mark Smith (mcs@netscape.com)
Thu, 23 May 1996 19:27:11 -0700

This is a multi-part message in MIME format.

--------------2A110F54FCE
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I am passing this along (with permission) since the info. is probably
useful to others. At this point, I am not sure if this is an issue
on platforms other than AIX or not.

-Mark

--------------2A110F54FCE
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Return-Path: <bug-ldap-errors@umich.edu>
Received: from maleman.mcom.com ([198.93.92.3]) by hedgehog.mcom.com
(Netscape Mail Server v1.1) with SMTP id AAA10473;
Wed, 22 May 1996 16:27:52 -0700
Received: from ns.netscape.com (ns.netscape.com.mcom.com [198.95.251.10]) by maleman.mcom.com (8.6.9/8.6.9) with ESMTP id QAA06493; Thu, 23 May 1996 16:27:44 -0700
Received: from judgmentday.rs.itd.umich.edu (judgmentday.rs.itd.umich.edu [141.211.83.37]) by ns.netscape.com (8.7.3/8.7.3) with ESMTP id QAA01670; Wed, 22 May 1996 16:26:55 -0700 (PDT)
Received: by judgmentday.rs.itd.umich.edu (8.7.5/2.2)
with X.500 id TAA26738; Wed, 22 May 1996 19:27:47 -0400 (EDT)
Received: by judgmentday.rs.itd.umich.edu (8.7.5/2.2)
with X.500 id TAA26735; Wed, 22 May 1996 19:27:47 -0400 (EDT)
Received: from gateway.fedex.com by judgmentday.rs.itd.umich.edu (8.7.5/2.2)
with SMTP id TAA26702; Wed, 22 May 1996 19:27:36 -0400 (EDT)
From: dffike@fedex.com
Received: by gateway.fedex.com id AA26544
(InterLock SMTP Gateway 3.0 for bug-ldap@umich.edu);
Wed, 22 May 1996 18:27:28 -0500
X-Disclaimer: THE COMMENTS CONTAINED IN THIS MESSAGE REFLECT THE VIEWS OF THE
WRITER AND ARE NOT NECESSARILY THE VIEWS OF
FEDERAL EXPRESS CORPORATION.
Message-Id: <199605222327.AA26544@gateway.fedex.com>
Received: by gateway.fedex.com (Internal Mail Agent-1);
Wed, 22 May 1996 18:27:28 -0500
To: bug-ldap@umich.edu, ldap-support@umich.edu
Cc: Private_User@fedex.com, Private_User@fedex.com
Date: 22 May 96 17:37:34
Subject: SLAPD 3.3 bug
Mime-Version: 1.0
Content-Type: Text/Plain

I am running the new SLAPD 3.3 code on a AIX 4.1 system and have found a seg.
fault
in the libavl/avl.c routines. After compiling and some debugging I determined
that the
avl cache tree was getting corrupted, not a avl tree anymore which leads to
very nasty
side affects. I had tracked down the cause to be at LINE: 24 in include/avl.h
which
reads "char avl_bf". Some machines AIX being one defaults char values to a
unsigned
char. LH is defined in the avl.c routines as a signed -1 value which causes all
the switch
statements in avl.c to ignore all the LH cases. I changed the code at LINE:24
in include/
avl.h to read "signed char avl_bf". This should be more portable and not take
anything
for granted. This did clear up all the seg. fault problems we were seeing.

I have noticed the memory leak also but have not had time to run it down. I
thought I should
post this to let others know as I see a few others are seeing seg. faults in
the SLAPD 3.3
code.

Thanks,
Don Fike
Sr. Technical Fellow
Federal Express Corp.
dffike@fedex.com

--------------2A110F54FCE--