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

(ITS#8086) slapd with mdb backend crashes in id2entry



Full_Name: Nikos Voutsinas
Version: 2.4.40
OS: Debian
URL: ftp://ftp.openldap.org/incoming/NikosVoutsinas_20-03-2015_mdb_assertion.id2entry
Submission from: (NULL) (5.55.167.101)


slapd with an mdb backend, after some time of normal operation, may reach into a
situation where you can almost predictably crash it, with a simple modify
operation.

Unfortunately, it is not clear, what are the exact steps that trigger the first
crash, but once this happens, the pattern after is rather standard.

After the initial crash, you restart slapd and you send a single modify
operation on any single attribute, the operation completes successfully. You
send again the same modify operation, and slapd crashes in
servers/slapd/back-mdb/id2entry.c:520: mdb_opinfo_get.

I know that the description doesn't say much, but I am not sure what can I do to
narrow down the problem. However I managed to catch this in a log file
(assertion.id2entry) with full debug flags and I hope that someone may see into
this something, that I can not.  

The DIT and the database come from a testing system, are very small in size and
I can send them if that helps. The cn=config on the other hand is rather
complicated as it includes an MMR and many other options. btw the same crashes
have happened in both masters.

Best Regards.
Nikos