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

Re: slapd 2.4.19 Segmentation fault under load



--On Tuesday, November 03, 2009 11:12 AM +0300 "Ключников А.С." <alexs@ulgsm.ru> wrote:

* Quanah Gibson-Mount <quanah@zimbra.com> [2009-11-02 09:19:07 -0800]:

--On Monday, November 02, 2009 2:42 PM +0300 alexs@ulgsm.ru wrote:

> Good day.
>
> Openldap 2.4.19 installed from freebsd ports. All configs in defauls
> Freebsd 7.2 amd64
>
>
> I glad to give a more debug, if any body say how to do it.

What version of BDB are you using?  Is it fully patched?  I would
suggest

I tried db46-4.6.21.4, db47-4.7.25.4 latest from freebsd ports.


you build with the "-g" flag to slapd, and make sure that when you run
"make install" you add the STRIP="" bit to keep the debugging symbols in
the binary.  I.e.,:

make install STRIP=""

# cd /usr/ports/net/openldap24-server
# make -g
# make: illegal option -- g

"-g" is an option to gcc used while building so that you'll include debugging symbols. It is not an option to make. I generally set it before calling configure, i.e.,

CFLAGS="-g -O0" ./configure <whatever configure options I want to use>

--Quanah



--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration