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

Re: Segmentation fault on 2.1.13

I am also having a seg fault using slapadd :-( , it is very anoying to migrate!

openldap 2.1.13, RH 8.0 DB 4.1.25_NC , it worked fine in 2.1.12 !

$ strace slapadd -f /etc/openldap/slapd_meta.conf -l /Ldif/get-meta.ldif -n 2 -d 2
write(5, "Q\333\0\0`\0\0\0\254\320\367\323)\0\0\0\10\0\0\200\0\0"..., 1287) = 1287
fsync(5) = 0
read(3, "", 4096) = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

it seg fault on a bdb backend database .
Here's how I compiled openldap 2.1.13 (rpmbuild), statically linked to DB 4.1.25 .


./configure --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --with-slapd --with-slurpd --without-ldapd --with-threads=posix --enable-static --enable-local --enable-cldap --disable-rlookups --with-tls --with-cyrus-sasl --enable-wrappers --enable-passwd --enable-shell --enable-cleartext --enable-crypt --enable-spasswd --enable-modules --enable-lmpasswd --enable-monitor --enable-rewrite --enable-ldap --enable-meta --enable-shell --enable-password --enable-debug --libexecdir=/usr/sbin --localstatedir=//var/run --enable-ldbm --with-ldbm-api=berkeley --enable-bdb --disable-shared --with-kerberos=k5only --enable-kpasswd --target=i386-redhat-linux-gnu

Perhaps it's a mis compilation of me (and others apparently), but I'll eally appreciate a reply on this .


Simon Gao wrote:

I am having segmentation fault with 2.1.3 while adding data.

Here are setttings: Redhat 8.0, SASL-2.1.12, BDB-4.1.25 with patch 1, OpenLDAP-2.1.13.

The same settings and config worked just fine for 2.1.12. All tests for 2.1.13 went through just fine except test01 started on second time lap.
2.1.13 slapd starts fine and then crash during ldapadd.

Anyone else seeing this problem?

Simon Gao

-- Jehan Procaccia | Ingenieur Systemes & Reseaux Institut National des Telecommunications| Tel : +33 (0) 160764436 MCI, Moyens Communs Informatiques | Mail: Jehan.Procaccia@int-evry.fr 9 rue Charles Fourier 91011 Evry France | Fax : +33 (0) 160764321