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

ldapsearch and cache.c problem



System: SunSparc Solaris 2.6
version: 1.1 beta
The LDAP server compiles great using:

export LIBS="$LIBS -L/usr/local/gdbm/lib -lpthread -lposix4"
export CPPFLAGS="-I/usr/local/gdbm/include"

But when I try an ldapsearch:

./ldapsearch -h localhost -p 400 -D 'cn=root,o=xxx' -w secret  -b
'ou=Modems,o=pandora.be' 'objectclass=*'

I get (after getting the results) from slapd -p 400 -d255:

<= send_search_entry
====> cache_return_entry_r
entry_rdwr_runlock: ID: 14926
=> id2entry_r( 14927 )
=> ldbm_cache_open( "/tmp/db/id2entry.gdbm", 2, 600 )
<= ldbm_cache_open (cache 1)
=> str2entry
<= str2entry 0x28c5d00
entry_rdwr_rlock: ID: 14927
cache.c:203: failed assertion `pthread_rdwr_wchk_np(&e->e_rdwr)'
        by      by      by      by      by      by      by      by
by      by      by      by      by      by      by      by      by
by      by      by      by      by      by      by      by      by
by      by      by      by

And he coredumps.
I can't give you a backtrace of the coredump because my gdb doesn't
recognize the
core fileformat...