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

(ITS#4259) alock/glue interaction bug regressed



Full_Name: Aaron Richton
Version: 2.3.13
OS: Solaris 9
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (128.6.31.135)


Reposting (put ITS#3841 in the subject so it just attached to #3841, I figure
this deserves a unique ID):

ITS #3841 behavior regressed in 2.3.13.
Config syntax has changed since ITS#3841, so now the repro is:

./run -b hdb test011

change

--- slapd.1.conf~       Wed Dec 14 10:38:36 2005
+++ slapd.1.conf        Wed Dec 14 10:39:53 2005
@@ -32,8 +32,7 @@
 #######################################################################

 database       hdb
-suffix         "ou=Information Technology
Division,ou=People,dc=example,dc=com"
-subordinate
+suffix         "dc=breakme,dc=org"
 directory      ./testrun/db.1.a
 rootdn         "cn=Manager, dc=example,dc=com"
 #bdb#index             objectclass     eq

clean databases: rm testrun/db*/*

break it: ../servers/slapd/slapd -T add -f testrun/slapd.1.conf -b
"dc=example,dc=com" -l testrun/ldif.flt

and you get:

Assertion failed: info->al_slot > 0, file alock.c, line 210
Abort (core dumped)

aforementioned core is:
#0  0xfed1fb84 in _lwp_kill () from /usr/lib/libc.so.1
#1  0xfecd0ba4 in raise () from /usr/lib/libc.so.1
#2  0xfecb6d18 in abort () from /usr/lib/libc.so.1
#3  0xfecb6fb8 in _assert () from /usr/lib/libc.so.1
#4  0x00104818 in alock_read_slot (info=0x2da4d0, slot_data=0xffbff324)
    at alock.c:210
#5  0x00105848 in alock_close (info=0x2da4d0) at alock.c:516
#6  0x00118d78 in bdb_db_close () at init.c:631
#7  0x0007a588 in backend_shutdown (be=0x2da278) at backend.c:350
#8  0x000f9b40 in glue_close (bi=0x2d76d0) at backglue.c:507
#9  0x0007a534 in backend_shutdown (be=0x2db2f8) at backend.c:341
#10 0x000ada54 in slap_shutdown (be=0x2db2f8) at init.c:278
#11 0x00101820 in slap_tool_destroy () at slapcommon.c:658
#12 0x000ff634 in slapadd (argc=9, argv=0xffbffaf4) at slapadd.c:383
#13 0x000471c8 in main (argc=9, argv=0xffbffaf4) at main.c:519