dsadm reindex crashing with vlv indexes on DS7.0 (Doc ID 1503985.1)

Last updated on SEPTEMBER 16, 2016

Applies to:

Oracle Directory Server Enterprise Edition - Version 7.0 to 7.0 [Release 7.0]
Information in this document applies to any platform.

Symptoms

Trying to use VLV following all described steps from Doc ID 1396420.1 and http://docs.oracle.com/cd/E19424-01/820-4809/bcaui/index.html


Crash while executing:
---
# ./dsadm reindex --vlv -l -t vlv-uid-sort /var/opt/slapd-ldap-test ou=paris,ou=example,c=fr
[31/Oct/2012:15:31:49 +0100] - DEBUG - conn=-1 op=-1 msgId=-1 -  Backend Instance: ac-dijon
[31/Oct/2012:15:31:49 +0100] - WARNING<20488> - Backend Database - conn=-1 op=-1 msgId=-1 -  Detected Disorderly Shutdown last time Directory Server was running, recovering database.
[31/Oct/2012:15:31:50 +0100] - Database recovery is 0% complete.
[31/Oct/2012:15:31:50 +0100] - Database recovery is 100% complete.
[31/Oct/2012:15:31:50 +0100] - paris: Indexing VLV: vlv-uid-sort
/var/opt/dsee7/lib/64/ns-slapd db2index -D /var/opt/slapd-ldap-test -s ou=paris,ou=example,c=fr -T vlv-uid-sort dumps core generation fails indexes : err=-2

---

 

This crash happens only on version DS 7.0! 

 

From pkgapp.backtrace ( Doc ID 1274584.1) output:

(gdb) ------------BEGIN WHERE--------------
(gdb) #0  0x0000003f9b8797e0 in strlen () from /lib64/libc.so.6
#1  0x00002b2072634199 in slapi_dn_normalize () from /var/opt/dsee7/lib64/libsla
pd.so
#2  0x00002b2072634239 in slapi_dn_normalize_case () from /var/opt/dsee7/lib64/l
ibslapd.so
#3  0x00002b2075c5d399 in ldbm_back_ldbm2index () from /var/opt/dsee7/lib/64/lib
back-ldbm.so
#4  0x0000000000413ffe in slapd_exemode_db2index ()
#5  0x0000000000417e91 in main ()
(gdb) ------------END WHERE----------------
(gdb)

 

Example:

Ldap version DS7.0 on Linux64:

# /var/opt/dsee7/lib/64/ns-slapd -V -D /var/opt/slapd-ldap-test/
Sun Microsystems, Inc.
Sun-Directory-Server/7.0_sec B2010.0201.1743 64-bit
ns-slapd            : 7.0                  B2009.1104.2354 DirectoryServices_branch  (Linux cendrillon 2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:56:28 EST 2006 x86_64 x86_64 x86_64 GNU/Linux) ZIP
Slapd Library       : 7.0_sec              B2010.0201.1743 DirectoryServices70_security_branch  (Linux cendrillon 2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:56:28 EST 2006 x86_64 x86_64 x86_64 GNU/Linux)
Front-End Library   : 7.0                  B2009.1104.2354 DirectoryServices_branch  (Linux cendrillon 2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:56:28 EST 2006 x86_64 x86_64 x86_64 GNU/Linux)
/var/opt/dsee7/lib/chainingdb-plugin.so: 7.0 (not signed)
/var/opt/dsee7/lib/libback-ldbm.so: 7.0 (not signed)
/var/opt/dsee7/lib/acl-plugin.so: 7.0 (not signed)
/var/opt/dsee7/lib/passthru-plugin.so: 7.0 (not signed)
/var/opt/dsee7/lib/cos-plugin.so: 7.0 (not signed)
/var/opt/dsee7/lib/mo-plugin.so: 7.0 (not signed)
/var/opt/dsee7/lib/roles-plugin.so: 7.0 (not signed)
/var/opt/dsee7/lib/statechange-plugin.so: 7.0 (not signed)
/var/opt/dsee7/lib/acl-plugin.so: 7.0 (not signed)
/var/opt/dsee7/lib/mrules-plugin.so: 7.0 (not signed)
/var/opt/dsee7/lib/liblcoll.so: 7.0 (not signed)
/var/opt/dsee7/lib/tmr-plugin.so: 7.0 (not signed)
/var/opt/dsee7/lib/syntax-plugin.so: 7.0 (not signed)
/var/opt/dsee7/lib/gle-plugin.so: 7.0 (valid signature)
/var/opt/dsee7/lib/replication-plugin.so: 7.0 (not signed)
/var/opt/dsee7/lib/pwdstorage-plugin.so: 7.0 (not signed)
/var/opt/dsee7/lib/des-plugin.so: 7.0 (not signed)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms