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

(ITS#7487) memberof & mirrormode with delta-syncrepl crashing when using dynamic configuration



Full_Name: Al F
Version: 2.4.33
OS: Redhat 6.3 x64
URL: ftp://ftp.openldap.org/incoming/openldap-af.zip
Submission from: (NULL) (74.123.146.10)


I'm having an issue with mirrormode replication (via delta syncrepl) and the
memberof overlay when using dynamic configuration.  When a group member is
deleted on the first instance, slapd on the second instance is crashing with the
following error (as seen from running slapd with -d-1):

slapd: memberof.c:1465: memberof_res_modify: Assertion `0' failed.

If I disable either memberof or mirrormode, the change replicates correctly.  If
I use an identical static configuration file instead of a dynamic configuration,
the change replicates correctly.  This behavior happens on both bdb and mdb
backends. 

I have setup a very basic test and have included the configurations for server1
and server2 in both static and dynamic configuration (both running on the same
machine, just different ports), ldif file to populate tree (ldifs/basic.ldif),
as well as the ldif file to crash the second node (ldifs/crash.ldif).

the zip file contents (ftp://ftp.openldap.org/incoming/openldap-af.zip) are:
openldap-af/
openldap-af/bt full.txt  (output from gdb bt full)
openldap-af/config.txt (output from source compilation)
openldap-af/debug level logging.txt (output of the crash while running debug
logs)
openldap-af/ldifs/basic.ldif (the basic tree)
openldap-af/ldifs/crash.ldif (ldif file applied to cause the failure)
openldap-af/server1slapd.conf (server1's  static configuration)
openldap-af/server1slapd.d/* (server1's dynamic configuration - produced
directly from static configuration with slaptest)
openldap-af/server2slapd.conf (server2's  static configuration)
openldap-af/server2slapd.d/* (server2's dynamic configuration - produced
directly from static configuration with slaptest)
openldap-af/thread apply all bt.txt (output from gdb thread apply all bt)

version & config information:

OL_PACKAGE="OpenLDAP"
OL_MAJOR=2
OL_MINOR=4
OL_PATCH=33
OL_API_INC=20433
OL_API_LIB_RELEASE=2.4
OL_API_LIB_VERSION=10:5:8
OL_VERSION=2.4.33
OL_TYPE=Release
OL_STRING="OpenLDAP 2.4.33-Release"
OL_RELEASE_DATE="2012/10/10"

Red Hat Enterprise Linux Server release 6.3 (Santiago)

kernel 2.6.32-279.19.1.el6.x86_64

running on a vmware esx host, with a single AMD Opteron(tm) Processor 6134. 4Gig
RAM.

please let me know if you need any more information. This is my first time using
gdb, so I appologize if I missed something critical.