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

Re: test008 failed in HEAD



Howard Chu wrote:
Hallvard B Furuseth wrote:
http://folk.uio.no/hbf/test008out2.tbz
ldapsearch.flt = ldif.flt + cn=James A Jones 4,ou=People,dc=example,dc=com
.

I just got a similar failure in RE24. Looks like the same thing Aaron
reported. Too bad it takes so long to reproduce it.

I'm using this assert to try to catch it in the act:

RCS file: /repo/OpenLDAP/pkg/ldap/servers/slapd/back-bdb/delete.c,v
retrieving revision 1.162
diff -u -r1.162 delete.c
--- delete.c    28 Aug 2007 22:13:56 -0000      1.162
+++ delete.c    3 Dec 2007 15:27:19 -0000
@@ -199,6 +199,8 @@
                         "<=- " LDAP_XSTRING(bdb_delete) ": no such object %s\n",
                         op->o_req_dn.bv_val, 0, 0);

+               assert(0);
+
                 if ( matched != NULL ) {
                         rs->sr_matched = ch_strdup( matched->e_dn );
                         rs->sr_ref = is_entry_referral( matched )

It took about 10 iterations of test008 to trip it again. Still looking at the core file, the EntryInfo for the target entry but it looks like it couldn't be found in the id2entry DB. Odd.

--
  -- 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/