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

(ITS#4171) slapd seg faults if bdb suffix is "" and syncprov overlay is on



Full_Name: Ali Pouya
Version: 2.3.11
OS: Linux Redhat Advanced Serveur 4
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (145.242.3.30)


If I define a bdb data base with suffix "" AND I activate syncprov overlay WITH
syncprov-checkpoint as shwon in the User's Guide (3 conditions), then when I
ldapadd the first object from an LDIF file, slapd seg faults.  
I can send more information if required.

The log of slapd follows :

<= bdb_dn2id: get failed: DB_NOTFOUND: No matching key/data pair found (-30989)
==> bdb_add: c=fr
oc_check_required entry (c=fr), objectClass "country"
oc_check_allowed type "objectClass"
oc_check_allowed type "c"
oc_check_allowed type "structuralObjectClass"
oc_check_allowed type "entryUUID"
oc_check_allowed type "creatorsName"
oc_check_allowed type "createTimestamp"
oc_check_allowed type "entryCSN"
oc_check_allowed type "modifiersName"
oc_check_allowed type "modifyTimestamp"
bdb_dn2entry("c=fr")
=> bdb_dn2id("c=fr")
<= bdb_dn2id: get failed: DB_NOTFOUND: No matching key/data pair found (-30989)
=> access_allowed: add access to "c=fr" "entry" requested
<= root access granted
=> bdb_dn2id_add( "c=fr", 0x00000001 )
bdb_idl_insert_key: 1 %
<= bdb_dn2id_add: 0
=> entry_encode(0x00000001): c=fr
=> index_entry_add( 1, "c=fr" )
=> key_change(ADD,1)
bdb_idl_insert_key: 1 [17020063]
<= key_change 0
=> key_change(ADD,1)
bdb_idl_insert_key: 1 [0096defd]
<= key_change 0
<= index_entry_add( 1, "c=fr" ) success
bdb_add: added id=00000001 dn="c=fr"
send_ldap_result: conn=0 op=1 p=3
send_ldap_result: err=0 matched="" text=""
bdb_modify:
bdb_dn2entry("")
bdb_modify: dn2entry failed (-30989)
Segmentation fault