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

Fwd: Re: slapd crashes silently with new libc6 (ITS#2168)



 From: Lawrence Walton <lawrence@the-penguin.otak.com
 To: Pierangelo Masarati <openldap-its@OpenLDAP.org
 Subject: Re: slapd crashes silently with new libc6 (ITS#2168)
 X-Operating-System: Linux 2.5.47 on an i686
 

 Sorry about the delay, I wanteed to have _some_ meaninful 
 data before I replied.
 
 
 Pierangelo Masarati [openldap-its@OpenLDAP.org] wrote:
>  You should rather post a message to openldap-software list,
>  since there is no evidence of a bug in the code; however I
>  suggest, if possible, to run with debug enabled (e.g. start
>  slapd with -d <level 
 
 I did 2, 4, and 256 all times it died without spitting any error
 when it died.
 
 I tried to do 4095, but after a couple hours, many users complaining
 and about 6.3 gigs of a syslog I gave up.
 
 
 
> (the highest possible compatibly with
>  the operativity of the server and the availability of resources), 
>  and try to find some significant info from the logs right 
>  before the crash; a backtrace from gdb would also be very 
>  helpful; you should run slapd form inside gdb with -d 0 to
>  prevent slapd from forking and going into background.
 
 After quite a few false starts
 I got a backtrace with debuging symbols.
 
 
 
 (gdb) bt
 #0  0x403559e3 in re_exec () from /lib/libc.so.6
 #1  0x403557c3 in re_exec () from /lib/libc.so.6
 #2  0x40350ae3 in re_exec () from /lib/libc.so.6
 #3  0x403501f2 in regexec () from /lib/libc.so.6
 #4  0x08068e78 in acl_get (a=0x80ec8b8, count=0xbf3ff840, be=0x80de220, 
     op=0x973a590, e=0x8227228, desc=0x43aebcc0, nmatch=10, matches=0xbf3ff7cc)
     at /home/lawrence/openldap27/openldap-2.0.27/servers/slapd/acl.c:268
 #5  0x08068863 in access_allowed (be=0x80de220, conn=0x4048809c, op=0x973a590, 
     e=0x8227228, desc=0x43aebcc0, val=0x0, access=ACL_SEARCH)
     at /home/lawrence/openldap27/openldap-2.0.27/servers/slapd/acl.c:170
 #6  0x08067e35 in test_substrings_filter (be=0x80de220, conn=0x4048809c, 
     op=0x973a590, e=0x8227228, f=0x43afa200)
     at /home/lawrence/openldap27/openldap-2.0.27/servers/slapd/filterentry.c:335
 #7  0x0806752e in test_filter (be=0x80de220, conn=0x4048809c, op=0x973a590, 
     e=0x8227228, f=0x43afa200)
     at /home/lawrence/openldap27/openldap-2.0.27/servers/slapd/filterentry.c:78
 #8  0x08067d1c in test_filter_or (be=0x80de220, conn=0x4048809c, op=0x973a590, 
     e=0x8227228, flist=0x43afa200)
     at /home/lawrence/openldap27/openldap-2.0.27/servers/slapd/filterentry.c:303
 #9  0x0806778f in test_filter (be=0x80de220, conn=0x4048809c, op=0x973a590, 
     e=0x8227228, f=0x43afd3f8)
     at /home/lawrence/openldap27/openldap-2.0.27/servers/slapd/filterentry.c:109
 #10 0x08085061 in ldbm_back_search (be=0x80de220, conn=0x4048809c, 
     op=0x973a590, base=0x43afd6d8 "ou=business,dc=otak.com,o=top", 
     nbase=0x43e02e28 "OU=BUSINESS,DC=OTAK.COM,O=TOP", scope=2, deref=0, 
     slimit=100, tlimit=36000, filter=0x43afd3f8, 
     filterstr=0x43e02f88 "(|(cn=jess*)(mail=jess*)(sn=jess*))", 
     attrs=0x43ad88e8, attrsonly=0)
     at /home/lawrence/openldap27/openldap-2.0.27/servers/slapd/back-ldbm/search.c:280
 #11 0x08054837 in do_search (conn=0x4048809c, op=0x973a590)
     at /home/lawrence/openldap27/openldap-2.0.27/servers/slapd/search.c:278
 #12 0x08052d33 in connection_operation (arg_v=0x9730de8)
     at /home/lawrence/openldap27/openldap-2.0.27/servers/slapd/connection.c:831
 #13 0x400205e7 in ldap_pvt_thread_pool_destroy () from /usr/lib/libldap_r.so.2
 #14 0x4025c048 in pthread_start_thread () from /lib/libpthread.so.0
 #15 0x4025c08e in pthread_start_thread_event () from /lib/libpthread.so.0
 
 I could not step through the frames, because slapd was
 not letting me fire up another copy.
 
 daemon: bind(6) failed errno=98 (Address already in use)
 
 -- 
 *--* Mail: lawrence@otak.com
 *--* Voice: 425.739.4247
 *--* Fax: 425.827.9577
 *--* HTTP://www.otak-k.com/~lawrence/
 --------------------------------------
 - - - - - - O t a k  i n c . - - - - - 
 
 

----- End forwarded message -----

-- 
*--* Mail: lawrence@otak.com
*--* Voice: 425.739.4247
*--* Fax: 425.827.9577
*--* HTTP://www.otak-k.com/~lawrence/
--------------------------------------
- - - - - - O t a k  i n c . - - - - -