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

slapd dumps core - with 32 ou's on seperate back end ldbm db - With the gdb o/p




Hi,

I tried now with the "non stripped" version of slapd in the source/ldap
/servers/slapd/slapd directory and gives the same problem exactly after the 12th
ou . The gdb output is given below . Hope this would be of use to debug .

(gdb) where
#0  0xef554d1c in __sigprocmask () from /usr/lib/libthread.so.1
#1  0xef54ba44 in _resetsig () from /usr/lib/libthread.so.1
#2  0xef54b18c in _sigon () from /usr/lib/libthread.so.1
#3  0xef54dfe0 in _thrp_kill () from /usr/lib/libthread.so.1
#4  0xef5ba5d8 in abort () from /usr/lib/libc.so.1
#5  0xea254 in Letext ()
#6  0x2c1f0 in entry_free (e=0x26729048) at entry.c:327
#7  0x2af10 in do_add (conn=0x26719bb8, op=0x26733350) at add.c:311
#8  0x27570 in connection_operation (arg_v=0x2672f830) at connection.c:880
#9  0x6b6e0 in ldap_int_thread_pool_wrapper (pool=0x11ca08) at tpool.c:379
(gdb) up
#1  0xef54ba44 in _resetsig () from /usr/lib/libthread.so.1
(gdb) up
#2  0xef54b18c in _sigon () from /usr/lib/libthread.so.1
(gdb) up
#3  0xef54dfe0 in _thrp_kill () from /usr/lib/libthread.so.1
(gdb) up
#4  0xef5ba5d8 in abort () from /usr/lib/libc.so.1
(gdb) up
#5  0xea254 in Letext ()
(gdb) up
#6  0x2c1f0 in entry_free (e=0x26729048) at entry.c:327
327             assert( e->e_private == NULL );
(gdb) up
#7  0x2af10 in do_add (conn=0x26719bb8, op=0x26733350) at add.c:311
311                     entry_free( e );
(gdb) up
#8  0x27570 in connection_operation (arg_v=0x2672f830) at connection.c:880
880                     rc = do_add( conn, arg->co_op );
(gdb) up
#9  0x6b6e0 in ldap_int_thread_pool_wrapper (pool=0x11ca08) at tpool.c:379
379                     (ctx->ltc_start_routine)(ctx->ltc_arg);

can someone help us on this problem .

Regards
Susanth







Susanth_TS@satyam-infoway.com on 07/18/2001 12:57:13 PM
                                                              
                                                              
                                                              
  To:          openldap-bugs@OpenLDAP.org                     
                                                              
  cc:          (bcc: Susanth TS/Satyam)                       
                                                              
                                                              
                                                              
  Subject      slapd dumps core - with 32 ou's on seperate    
  :            back end ldbm db                               
                                                              









Hi,
         Here we are trying to use openldap for authentication of users .

The version on openldap used is "2.0.x" taken from root of CVS
Installed on sun os
configured with option "./configure --enable-meta --enable-rewrite
--enable-ldap"


The schema has been designed in such a way that we have multiple ou's on
individiual
ldbm databse( purpose of seperate backend ldbm database is for selective
replication) . I have given below  a portion of slapd.conf. Here the ou 's being
"tamilnadu" and "maharashtra".We have around 32 similar ou's defined in
slapd.conf file

database     ldbm
suffix              "ou=tamilnadu,o=xyz"
rootdn           "cn=Manager,o=xyz"
rootpw           bumbum
directory       /mail/chennai
index default pres,eq
index uid

database     ldbm
suffix              "ou=tamilnadu,o=xyz"
rootdn           "cn=Manager,o=xyz"
rootpw            bumbum
directory        /mail/maharashtra
index default pres,eq
index uid

database      ldbm
suffix               "o=xyz"
rootdn           "cn=Manager,o=xyz"
rootpw            bumbum
directory        /mail/ldbm
index default pres,eq
index objectClass

When i do an ldapadd for all the 32 ou's . slapd terminiates with a core dump
exaclty after adding the 12th "ou". Which is shown below.

     sh-2.02# ldapadd -x -D "cn=Manager,o=xyz" -w password -f enter1.ldif
     adding new entry "ou=unknown,o=xyz"

     adding new entry "ou=tamilnadu,o=xyz"

     adding new entry "ou=maharashtra,o=xyz"

     adding new entry "ou=gujarat,o=xyz"

     adding new entry "ou=delhi,o=xyz"

     adding new entry "ou=punjab,o=xyz"

     adding new entry "ou=bengal,o=xyz"

     adding new entry "ou=karnataka,o=xyz"

     adding new entry "ou=andhra,o=xyz"

     adding new entry "ou=kerala,o=xyz"

     adding new entry "ou=uttar,o=xyz"

     adding new entry "ou=madhya,o=xyz"

     adding new entry "ou=pondicherry,o=xyz"
     ldap_add: Unknown error


gdb of slapd with the core dumped gives

     (gdb) where
     #0  0xef554d1c in __sigprocmask () from /usr/lib/libthread.so.1
     #1  0xef54ba44 in _resetsig () from /usr/lib/libthread.so.1
     #2  0xef54b18c in _sigon () from /usr/lib/libthread.so.1
     #3  0xef54dfe0 in _thrp_kill () from /usr/lib/libthread.so.1
     #4  0xef5ba5d8 in abort () from /usr/lib/libc.so.1
     #5  0xea254 in __eprintf ()
     #6  0x2c1f0 in entry_free ()
     #7  0x2af10 in do_add ()
     #8  0x27570 in connection_done ()
     #9  0x6b6e0 in ldap_pvt_thread_pool_destroy ()

Can somebody help us on this.. Thanks in advance

Regards
Susanth
Satyam Infoway Ltd