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

Re: POSIX_THREADS segfaulting (ITS#11)



Alan Knowles wrote:
> 
> I'm not sure this is that helpful:), but the last line does show
> send_ldap_result 0:àø   :
> Segmentation fault
> 
> Note the strange output characters
> 
> heres the rest, best regards,
> 
> Alan
> 
> using base o=ossc,c=HK
> base_candidates: base: o=ossc,c=HK
> dn2entry_r: dn: o=ossc,c=HK
> => dn2id( "o=ossc,c=HK" )
> => ldbm_cache_open( "/usr/tmp/dn2id.dbb", 66, 600 )
> <= ldbm_cache_open (cache 3)
> <= dn2id 910
> => id2entry_r( 910 )
> ====> cache_find_entry_dn2id: found id: 910 rw: 0
> <= id2entry_r 0x808a738 (cache)
> ====> cache_return_entry_r
> => id2entry_r( 910 )
> ====> cache_find_entry_dn2id: found id: 910 rw: 0
> <= id2entry_r 0x808a738 (cache)
> => send_search_entry (o=ossc, c=HK)
> <= send_search_entry
> ====> cache_return_entry_r
> send_ldap_result 0::
> do_search
> using base
> subtree_candidates: base:
> => filter_candidates
> => list_candidates 0xa1
> => filter_candidates
> => ava_candidates 0xa3
> => index_read( "objectclass" "=" "REFERRAL" )
> => ldbm_cache_open( "/usr/tmp/objectclass.dbb", 66, 600 )
> <= ldbm_cache_open (cache 0)
> <= index_read 0 candidates
> <= ava_candidates 0
> <= filter_candidates 0
> => filter_candidates
> => ava_candidates 0xa3
> => index_read( "member" "=" "O=OSSC, C=HK" )
> => ldbm_cache_open( "/usr/tmp/member.dbb", 66, 600 )
> <= ldbm_cache_open (opened 4)
> <= index_read 0 candidates
> <= ava_candidates 0
> <= filter_candidates 0
> <= list_candidates 0
> <= filter_candidates 0
> send_ldap_result 0:àø   :
> Segmentation fault
> 
> Kurt@openldap.org wrote:
> >
> > I assume this is the same slapd crash you noted on stable
> > when doing:
> >
> > Alan Knowles wrote:
> > ># ldapsearch -b '' 'member=cn=julian knowles,o=ossc,c=hk'
> > >will cause it to segfault. (with or without acls)
> > >   where as
> > ># ldapsearch -b 'c=hk' 'member=cn=julian knowles,o=ossc,c=hk'
> > >will work quite happily
> >
> > (if you were doing a different operation, please provide
> > details).
> >
> > >
> > At 02:53 AM 12/19/98 GMT, alan_k@HK.Super.NET wrote:
> > >Full_Name: Alan Richard Knowles
> > >Version: 1.1 Stable
> > >OS: Linux (Debian 2.0)
> > >URL: ftp://ftp.openldap.org/incoming/
> > >Submission from: (NULL) (202.64.34.22)
> > >
> > >
> > >Seg faults on base searching, (intermitant)
> > >gbd
> > >info stack
> > >#0  0x400dcb04 in __syscall_sigsuspend ()
> > >#1  0x401010ec in svc_fdset ()
> > >#2  0x4006159d in pthread_create ()
> > >#3  0x8049cd5 in main (argc=2, argv=0xbffffcf4) at main.c:189
> > >could be a bug in the implementation of pthreads (not sure how to check which
> > >version I have of this)
> >
> > Can you run slapd with some debugging turned on and provide
> > the relevant entries?   Probably -d 1 would be enough...
> >
> > Thanks, Kurt
> 
> --
> ------------------// Alan's Signature //--------------------
> If the answers not at http://www.hk.super.net/~alan_k , then
> let me now, CAUSE IT'S SUPPOSED TO BE!
> -----------// Alan's Linux Infomation Center //-------------