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

RE: openldap 2.0.11 - getpwnam



I rebuilt them with slapindex and it still fails but with a more verbose
back-trace.

INDEX SETTING FROM SLAPD.CONF
index uid,cn,gidNumber,uidNumber,memberUid eq
index objectClass pres,eq

DEBUG
=> equality_candidates
=> ldbm_cache_open( "objectClass.dbb", 7, 600 )
<= ldbm_cache_open (cache 3)
=> key_read
<= idl_fetch 2071 ids (2071 max)
<= index_read 2071 candidates
<= equality_candidates 2071
<= filter_candidates 2071
=> filter_candidates
        EQUALITY
=> equality_candidates
=> ldbm_cache_open( "uid.dbb", 7, 600 )
<= ldbm_cache_open (cache 4)
=> key_read
<= index_read 1 candidates
<= equality_candidates 1
<= filter_candidates 1
<= list_candidates 2
<= filter_candidates 2
<= list_candidates 2
<= filter_candidates 2
<= list_candidates 1
<= filter_candidates 1
entry_rdwr_runlock: ID: 1
====> cache_return_entry_r( 1 ): returned (0)
=> id2entry_r( 1034 )
=> ldbm_cache_open( "id2entry.dbb", 7, 600 )
<= ldbm_cache_open (cache 1)
=> str2entry
Segmentation fault


BACK TRACE
(gdb) where
#0  0x402d0322 in __libc_send () from /lib/i686/libc.so.6
#1  0x401de5b4 in send (fd=3, buf=0x41d3c2a0, n=84, flags=0)
    at wrapsyscall.c:211
#2  0x402cc22c in vsyslog (pri=7, 
    fmt=0x809ebc0 "conn=%ld op=%ld SEARCH RESULT tag=%lu err=%ld
text=%s\n", 
    ap=0x465ff954) at syslog.c:240
#3  0x402cbee7 in syslog (pri=7, 
    fmt=0x809ebc0 "conn=%ld op=%ld SEARCH RESULT tag=%lu err=%ld
text=%s\n")
    at syslog.c:102
#4  0x08059e58 in strcpy () at ../sysdeps/generic/strcpy.c:31
#5  0x080734d2 in strcpy () at ../sysdeps/generic/strcpy.c:31
#6  0x08050de3 in strcpy () at ../sysdeps/generic/strcpy.c:31
#7  0x0804fab4 in strcpy () at ../sysdeps/generic/strcpy.c:31
#8  0x080845bd in strcpy () at ../sysdeps/generic/strcpy.c:31
#9  0x401d9bfd in pthread_start_thread (arg=0x465ffc00) at manager.c:262
(gdb)

Gerry Morong
Electronic Design Automation
ISSG
gerry.morong@compaq.com

 -----Original Message-----
From: 	Kurt D. Zeilenga [mailto:Kurt@OpenLDAP.org] 
Sent:	Wednesday, September 12, 2001 11:20 AM
To:	Morong, Gerry
Cc:	Morong, Gerry; Pierangelo Masarati;
openldap-software@OpenLDAP.org
Subject:	RE: openldap 2.0.11 - getpwnam

At 08:44 AM 2001-09-12, Morong, Gerry wrote:
>Installed OpenLDAP 2.0.14 in place of 2.0.11 and have the same problem
>with segmentation faults when doing repetitive getpwnam from two
>clients.

Did you rebuild indices?

Kurt