Issue 7429 - MDB crashing with slapo-valsort
Summary: MDB crashing with slapo-valsort
Status: VERIFIED SUSPENDED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: 2.4.33
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-02 13:58 UTC by marco.pizzoli@gmail.com
Modified: 2020-03-20 15:15 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description marco.pizzoli@gmail.com 2012-11-02 13:58:01 UTC
Full_Name: Marco Pizzoli
Version: 2.4.33
OS: Linux 64bit
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (194.11.209.11)


Hi,
I'm aware I'm not providing a complete bug report, but as I wrote on the mailing
list I'm in a situation where I simply can't do it. Feel free to close if not
enough information will be provided or try to ask me other infos if it could be
worth the doing.

I slapadd-ed a pre-existent OpenLDAP database (2.4.16) on a new test system
(2.4.33).
The new setup uses back-mdb as database. 

I created a second specular system and successfully completed a sync-replication
from the first of the servers. Repeated the procedure (drop/populate the db) 5
or 6 times, without any problem.
I decided to enable the valsort overlay, instanciated on the mdb db.
My configuration was simply:
overlay valsort
valsort-attr member dc=company,dc=XX alpha-ascend

Now I have the slave always crashing at almost 70% of progress.

I produced a "bt full" (which I can't copy/paste here) of the core and I can see
in the "mdb_search <cut> search.c:352" section a lot of rows similar to this
one:
isc{
bv_val = 0x8 <Address 0x8 out of bounds>}, {bv_len = 140172391141264, bv_val =
0x7f7c6e041000 <Address 0x7f7c6e041000 out of bounds>},[cut]

I would be happy to provide other infos but I can't copy paste the entire "bt
full" output. I'm sorry about that.

Thanks
Marco Pizzoli
Comment 1 Quanah Gibson-Mount 2017-04-13 15:21:04 UTC
moved from Incoming to Software Bugs
Comment 2 Quanah Gibson-Mount 2020-03-20 15:15:41 UTC
Hi Marco,

It is possible with gdb to direct the output to a file which you could attach to this ticket.  If you can still reproduce this issue with current OpenLDAP, please do so.

I am going to close the bug for the moment as unfortunately there is currently no actionable items here.