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

Re: (ITS#5254) core dump on Solaris 9 when with threads



mills@cc.umanitoba.ca wrote:
> Full_Name: Gary Mills
> Version: openldap-2.3.38
> OS: Solaris 9 SPARC
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (24.78.105.29)

back-ldbm is deprecated and has been deleted from OpenLDAP 2.4. It is known to 
have many problems. Berkeley DB 3.1.17 is ancient, and also known to have many 
bugs. Don't use ldbm, and use a recent version of BerkeleyDB. Nobody is going 
to spend any time investigating these broken code bases.
> 
> 
> Here's how openldap-2.3.38 was built:
> 
> PATH=/opt/SUNWspro/bin:/usr/bin:/usr/ccs/bin:/usr/sbin; export PATH
> 
> env CC=cc \
>         INSTALL=/usr/ucb/install \
>         CPPFLAGS="-I/usr/local/src/db/db-3.1.17/build_unix
> -I/usr/local/src/OpenSSL/openssl-0.9.8f/include" \
>         LDFLAGS="-R/usr/local/lib -L/usr/local/src/db/db-3.1.17/build_unix
> -L/usr/local/src/OpenSSL/openssl-0.9.8f/lib" \
>         ./configure \
>         --disable-proctitle \
>         --enable-crypt \
>         --disable-bdb \
>         --disable-hdb \
>         --enable-ldbm \
>         --enable-perl
> 
> In simple tests with an ldbm database, it works correctly.  With many clients,
> it
> dump core hundreds of times a day.  The dumps vary, but suggest a memory
> management
> problem.  Here are two:


-- 
   -- Howard Chu
   Chief Architect, Symas Corp.  http://www.symas.com
   Director, Highland Sun        http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP     http://www.openldap.org/project/