--On Friday, October 16, 2009 07:16:23 AM +0000 Bill MacAllister whm@stanford.edu wrote:
--On Friday, October 16, 2009 12:02:59 AM -0700 Howard Chu hyc@symas.com wrote:
whm@stanford.edu wrote:
Here is the valgrind output. The complete log is at
http://www.stanford.edu/~whm/files/slapd/valgrind-memcheck.txt
All of this indicates memory leaks and errors in the SASL library, not any bug in OpenLDAP.
That is what I suspected when I looked at the output, but I wanted confirmation from someone that is more familar with valgrind output and the code than me. Of course, until we resolve the issue it effectively disables OpenLDAP 2.4 for us.
And in researching the problem I see that this is a well trodden path. I found a particularly useful thread from 2006 entitled "better malloc strageties" in the OpenLDAP archives. As I result I packaged up libhoard, installed it, and re-ran the valgrind test. The short test showed no memory leaks. I will perform more extensive tests, but this appears to have fixed the problem. Thanks for your work, then and now.
Bill