Full_Name: Nickolas Stanchenko Version: 1.1 OS: Redhat Linux 2.0.36 URL: ftp://ftp.openldap.org/incoming/ Submission from: (NULL) (195.14.43.67) When I tried find people from MS Outlook Express, I got following results: (Client : MS WinNT 4.0 SP4, Server : Redhat 5.1 (Kernel 2.0.36) ) ** slapd -d 1 ** slapd starting do_bind unknown version 3 send_ldap_result 2::version not supported do_bind do_bind: version 2 dn() method 128 send_ldap_result 0:: do_search Segmentation fault ** gdb core file ** Program terminated with signal 11, Segmentation Fault #0 0x400d0fe7 in ?? () backtrace: #0 0x400d0fe7 in ?? () #1 0x400600f6 in ?? () ITS 15 -- same problem Thanks, Nickolay
changed notes changed state Open to Feedback
At 07:34 AM 12/24/98 GMT, stna@yahoo.com wrote: > ** gdb core file ** > > Program terminated with signal 11, Segmentation Fault > > #0 0x400d0fe7 in ?? () > > backtrace: > > #0 0x400d0fe7 in ?? () > #1 0x400600f6 in ?? () Can load 'gdb /path/to/servers/slapd/.libs/slapd core' and then do the backtrace? Kurt
moved from Incoming to Software
changed state Feedback to Closed
On Thu, 24 Dec 1998 stna@yahoo.com wrote: > Full_Name: Nickolas Stanchenko > Version: 1.1 > OS: Redhat Linux 2.0.36 > URL: ftp://ftp.openldap.org/incoming/ > Submission from: (NULL) (195.14.43.67) > > When I tried find people from MS Outlook Express, I got following results: Same Result when quering slapd from ud: At the beginning we do a cb to "o=Siber Hegner, c=CH" from within ud: + lear:/usr/home/afm # /usr/local/libexec/slapd -d 1 -f /usr/local/etc/openldap/slapd.conf + slapd 1.1-Release (Thu Dec 24 13:22:32 MET 1998) + afm@lear:/usr/home/afm/Sources/ldap/servers/slapd + slapd starting + do_bind + do_bind: version 2 dn () method 128 + send_ldap_result 0:: + do_search + <= dereferencing dn o=Siber Hegner,c=CH + dn2entry_r: dn: o=Siber Hegner,c=CH + => dn2id( "o=Siber Hegner,c=CH" ) + => ldbm_cache_open( "/usr/tmp/dn2id.dbb", 66, 600 ) + <= ldbm_cache_open (opened 0) + <= dn2id 3 + => id2entry_r( 3 ) + => ldbm_cache_open( "/usr/tmp/id2entry.dbb", 66, 600 ) + <= ldbm_cache_open (opened 1) + => str2entry + <= str2entry 0x807fda0 + <= id2entry_r( 3 ) (disk) + ====> cache_return_entry_r + dn2entry_r: dn: o=Siber Hegner,c=CH + => dn2id( "o=Siber Hegner,c=CH" ) + => ldbm_cache_open( "/usr/tmp/dn2id.dbb", 66, 600 ) + <= ldbm_cache_open (cache 0) + <= dn2id 3 + => id2entry_r( 3 ) + ====> cache_find_entry_dn2id: found id: 3 rw: 0 + <= id2entry_r 0x807fda0 (cache) + <= checking for alias for dn o=Siber Hegner, c=CH + ====> cache_return_entry_r + <= returning deref DN of o=Siber Hegner, c=CH + using base o=Siber Hegner,c=CH + base_candidates: base: o=Siber Hegner,c=CH + dn2entry_r: dn: o=Siber Hegner,c=CH + => dn2id( "o=Siber Hegner,c=CH" ) + => ldbm_cache_open( "/usr/tmp/dn2id.dbb", 66, 600 ) + <= ldbm_cache_open (cache 0) + <= dn2id 3 + => id2entry_r( 3 ) + ====> cache_find_entry_dn2id: found id: 3 rw: 0 + <= id2entry_r 0x807fda0 (cache) + ====> cache_return_entry_r + => id2entry_r( 3 ) + ====> cache_find_entry_dn2id: found id: 3 rw: 0 + <= id2entry_r 0x807fda0 (cache) + <= checking for alias for dn o=Siber Hegner, c=CH + ====> cache_return_entry_r + => send_search_entry (o=Siber Hegner, c=CH) + <= send_search_entry + ====> cache_return_entry_r + send_ldap_result 0:: Now we send the search query (uid=stucker): + do_search + Segmentation fault + lear:/usr/home/afm # There exists an object with dn "uid=stucker,o=Siber Hegner,c=CH" in the directory. No problem when doing the search from ldapsearch or many other tools. Andreas Mueller -- Dr. Andreas Mueller, Beratung und Entwicklung Bubental 53, CH - 8852 Altendorf Email: andreas.mueller@othello.ch Voice: +41 55 4621483 Fax: +41 55 4621485
Please apply: http://www.OpenLDAP.org/devel/cvsweb.cgi/servers/slapd/back-ldbm/search.c.diff?r1=1.7.2.6&r2=1.7.2.7 Then please duplicate it using ldapsearch, preferrable using one of the test databases. % cd tests % ../servers/slapd/slapd -d 1 -p 9009 data/slapd-master.conf >& master.log & % ldapsearch -h localhost -p 9009 -v -d 1 ... then: % gdb ../servers/slapd/slapd core (gdb) bt Thanks. At 11:12 PM 12/24/98 GMT, afm@othello.ch wrote: > >On Thu, 24 Dec 1998 stna@yahoo.com wrote: >> Full_Name: Nickolas Stanchenko >> Version: 1.1 >> OS: Redhat Linux 2.0.36 >> URL: ftp://ftp.openldap.org/incoming/ >> Submission from: (NULL) (195.14.43.67) >> >> When I tried find people from MS Outlook Express, I got following results: >Same Result when quering slapd from ud: > >At the beginning we do a cb to "o=Siber Hegner, c=CH" from within >ud: >+ lear:/usr/home/afm # /usr/local/libexec/slapd -d 1 -f /usr/local/etc/openldap/slapd.conf >+ slapd 1.1-Release (Thu Dec 24 13:22:32 MET 1998) >+ afm@lear:/usr/home/afm/Sources/ldap/servers/slapd >+ slapd starting >+ do_bind >+ do_bind: version 2 dn () method 128 >+ send_ldap_result 0:: >+ do_search >+ <= dereferencing dn o=Siber Hegner,c=CH >+ dn2entry_r: dn: o=Siber Hegner,c=CH >+ => dn2id( "o=Siber Hegner,c=CH" ) >+ => ldbm_cache_open( "/usr/tmp/dn2id.dbb", 66, 600 ) >+ <= ldbm_cache_open (opened 0) >+ <= dn2id 3 >+ => id2entry_r( 3 ) >+ => ldbm_cache_open( "/usr/tmp/id2entry.dbb", 66, 600 ) >+ <= ldbm_cache_open (opened 1) >+ => str2entry >+ <= str2entry 0x807fda0 >+ <= id2entry_r( 3 ) (disk) >+ ====> cache_return_entry_r >+ dn2entry_r: dn: o=Siber Hegner,c=CH >+ => dn2id( "o=Siber Hegner,c=CH" ) >+ => ldbm_cache_open( "/usr/tmp/dn2id.dbb", 66, 600 ) >+ <= ldbm_cache_open (cache 0) >+ <= dn2id 3 >+ => id2entry_r( 3 ) >+ ====> cache_find_entry_dn2id: found id: 3 rw: 0 >+ <= id2entry_r 0x807fda0 (cache) >+ <= checking for alias for dn o=Siber Hegner, c=CH >+ ====> cache_return_entry_r >+ <= returning deref DN of o=Siber Hegner, c=CH >+ using base o=Siber Hegner,c=CH >+ base_candidates: base: o=Siber Hegner,c=CH >+ dn2entry_r: dn: o=Siber Hegner,c=CH >+ => dn2id( "o=Siber Hegner,c=CH" ) >+ => ldbm_cache_open( "/usr/tmp/dn2id.dbb", 66, 600 ) >+ <= ldbm_cache_open (cache 0) >+ <= dn2id 3 >+ => id2entry_r( 3 ) >+ ====> cache_find_entry_dn2id: found id: 3 rw: 0 >+ <= id2entry_r 0x807fda0 (cache) >+ ====> cache_return_entry_r >+ => id2entry_r( 3 ) >+ ====> cache_find_entry_dn2id: found id: 3 rw: 0 >+ <= id2entry_r 0x807fda0 (cache) >+ <= checking for alias for dn o=Siber Hegner, c=CH >+ ====> cache_return_entry_r >+ => send_search_entry (o=Siber Hegner, c=CH) >+ <= send_search_entry >+ ====> cache_return_entry_r >+ send_ldap_result 0:: > >Now we send the search query (uid=stucker): >+ do_search >+ Segmentation fault >+ lear:/usr/home/afm # >There exists an object with dn "uid=stucker,o=Siber Hegner,c=CH" >in the directory. No problem when doing the search from >ldapsearch or many other tools. > > Andreas Mueller > >-- >Dr. Andreas Mueller, Beratung und Entwicklung >Bubental 53, CH - 8852 Altendorf >Email: andreas.mueller@othello.ch >Voice: +41 55 4621483 Fax: +41 55 4621485 > > > > >
On Fri, 25 Dec 1998 Kurt@openldap.org wrote: > Please apply: > http://www.OpenLDAP.org/devel/cvsweb.cgi/servers/slapd/back-ldbm/search.c.diff?r1=1.7.2.6&r2=1.7.2.7 This patch fixes the problem (ud search crashing slapd) reported earlier. At least for the queries through which I stumbled on the problem. Thanks a lot. Andreas Mueller -- Dr. Andreas Mueller, Beratung und Entwicklung Bubental 53, CH - 8852 Altendorf Email: andreas.mueller@othello.ch Voice: +41 55 4621483 Fax: +41 55 4621485
changed notes
moved from Software to Software Bugs
Same as ITS#15. ITS#12 changes fixed problem.