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

(ITS#5322) slaptest exits on seg fault (SIGSEGV) if id2entry.bdb does not exist



Full_Name: Joshua Miller
Version: 2.4.7
OS: CentOS 5
URL: http://ditree.com/work/gdb.ol2.4.7.out
Submission from: (NULL) (198.134.96.10)


When issuing slaptest prior to executing slapd to generate an id2entry.bdb file,
slaptest/slapindex exits with a segmentation fault (SIGSEGV).

Use case:  user installs OpenLDAP, generates a configuration file, slapd.conf. 
User decides to generate cn=config prior to running slapd.  User receives seg
fault through running slaptest to perform this operation.

Steps to reproduce:

* install openldap 2.4.7, using berkley db 4.6
* create suitable slapd.conf
* attempt to validate the configuration file using the following command:

 slaptest -f slapd.conf

Expected results:  Success
Actual results:    Segmentation Fault (SIGSEGV).

Possibly useless gdb output located at:  http://ditree.com/work/gdb.ol2.4.7.out