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

(ITS#5442) slapd_rq not locked before use bugfix

Full_Name: Rein Tollevik
Version: CVS head
OS: linux and solaris
URL: ftp://ftp.openldap.org/incoming/slapd_rq_lock.patch
Submission from: (NULL) (

I was seeing random failures of the test050-syncrepl-multimaster test.  One of
the failures was that it went into a tight loop traversing a circular runqueue
it had managed to create in slapd_rq.task_list.  It seems as this was caused by
missing mutex locks around accesses to slapd_rq, which the patch uploaded to
ftp://ftp.openldap.org/incoming/slapd_rq_lock.patch fixes.

Before I applied this patch the test failed after being run a few times, with it
it has now passed 100 times and is still counting.

Rein Tollevik
Basefarm AS