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

(ITS#7915) pcache and translucent crashes OL



Full_Name: Nikos Voutsinas
Version: 2.4.39
OS: Debian
URL: http://users.uoa.gr/~nvoutsin/OpenLdap_ITS/add-trasnlucent(bdb)-pcache(bdb)-config.ldif  http://users.uoa.gr/~nvoutsin/OpenLdap_ITS/add-translucent(bdb)-pcache(bdb)-debug(-1).txt http://users.uoa.gr/~nvoutsin/OpenLdap_ITS/add-trasnlucent(bdb)-pcache%mdmdb)-config.ldif http://users.uoa.gr/~nvoutsin/OpenLdap_ITS/add-translucent(bdb)-pcache(mdb)-debug(-1).txt http://users.uoa.gr/~nvoutsin/OpenLdap_ITS/add-trasnlucent(mdb)-pcache(mdb)-config.ldif http://users.uoa.gr/~nvoutsin/OpenLdap_ITS/add-translucent(mdb)-pcache(mdb)-debug(-1).txt http://users.uoa.gr/~nvoutsin/OpenLdap_ITS/add-trasnlucent(mdb)-pcache(bdb)-config.ldif http://users.uoa.gr/~nvoutsin/OpenLdap_ITS/add-translucent(mdb)-pcache(bdb)-debug(-1).txt   
Submission from: (NULL) (5.54.11.83)


The combination of translucent and pcache overlays crashes OL or makes it
unresponsive. Any attempt to modify an object on the replica by using the
following ldif:

dn: uid=joe,dc=foo,dc=com
changetype: modify
add: description
description: first
-

dn: uid=joe,dc=foo,dc=com
changetype: modify
replace: description
description: second
-

cause OL to fail either during the modification or on the subsequent operation.
Specifically, OL behaves differently depending on the type of database backends
that are used for translucent and pcache DBs, as it is shown below:

translucent db,pcache db: comment
bdb,bdb: freezes on the second modify op
bdb,mdb: crashes on the secend modify op (invalid pointer)
mdb,mdb: completes the modify ops. crashes on the first search on object
mdb,bdb: completes the modify ops. crashes, if not on the first, then on
subsequent op

Attached files: a)the cn=config ldif for each of the above cases and b)the
corresponding debug output during the modification of the user object or if that
completes during the subsequent search on it.