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

RE: openldap 2.0.11 - getpwnam



Will try openldap 2.0.14 but here is additional information of my problem.

(gdb) where
#0  0x402c990e in __select () from /lib/i686/libc.so.6
#1  0x00000001 in __strtol_internal (nptr=0x0, endptr=0x40bbaca4, base=0, 
    group=1075682130) at eval.c:36
#2  0x401d9bfd in pthread_start_thread (arg=0x40bbac00) at manager.c:262
(gdb)

Back Trace
(gdb) where
#0  0x402c990e in __select () from /lib/i686/libc.so.6
#1  0x00000001 in __strtol_internal (nptr=0x0, endptr=0x40bbaca4, base=0, 
    group=1075682130) at eval.c:36
#2  0x401d9bfd in pthread_start_thread (arg=0x40bbac00) at manager.c:262
(gdb)

Debug (-1)
=> ldbm_cache_open( "/usr/local/var/openldap-ldbm/dn2id.dbb", 7, 600 )
<= ldbm_cache_open (cache 0)
<= idl_fetch 2577 ids (2577 max)
<= filter_candidates 2577
=> filter_candidates
        OR
=> list_candidates 0xa1
=> filter_candidates
        EQUALITY
=> equality_candidates
=> ldbm_cache_open( "/usr/local/var/openldap-ldbm/objectClass.dbb", 16, 600
)
<= ldbm_cache_open (cache 3)
=> key_read
<= index_read 0 candidates
<= equality_candidates NULL
<= equality_candidates 0
<= filter_candidates 0
=> filter_candidates
        AND
=> list_candidates 0xa0
=> filter_candidates
        EQUALITY
=> equality_candidates
=> ldbm_cache_open( "/usr/local/var/openldap-ldbm/objectClass.dbb", 16, 600
)
<= ldbm_cache_open (cache 3)
=> key_read
<= idl_fetch 2070 ids (2070 max)
<= index_read 2070 candidates
<= equality_candidates 2070
<= filter_candidates 2070
=> filter_candidates
        EQUALITY
=> equality_candidates
=> ldbm_cache_open( "/usr/local/var/openldap-ldbm/uid.dbb", 16, 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
Segmentation fault


Gerry


-----Original Message-----
From: Pierangelo Masarati [mailto:masarati@aero.polimi.it]
Sent: Tuesday, September 11, 2001 1:12 AM
To: Morong, Gerry
Cc: 'openldap-software@OpenLDAP.org'
Subject: Re: openldap 2.0.11 - getpwnam


"Morong, Gerry" wrote:
> 
> Wanted to test the openldap server so I wrote a script that loops through
> all the logins we have.  For each login a c program does a getpwnam call
and
> returns the password information.    When I run this script openldap will
> die after about 1000 entries with a segmentation fault.  If I do an
> ldapsearch for the same information, openldap stays alive and returns
> everything.  We have about 1,500 logins.  Any ideas?

You need to send more specific information. A verbose log 
of the last operation and a backtrace of the slapd would
help. You may also try a more recent release. In case you
are not able to fix your problem by upgrading, you should
issue a problem by http://www.openldap.org/its/

Pierangelo.

-- 
Dr. Pierangelo Masarati               | voice: +39 02 2399 8309
Dip. Ing. Aerospaziale                | fax:   +39 02 2399 8334
Politecnico di Milano                 | mailto:masarati@aero.polimi.it
via La Masa 34, 20156 Milano, Italy   |
http://www.aero.polimi.it/~masarati