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

Segmentation Fault - Help desired



I am having some problems I could REALLY use some help with. This has been the same problem for over a month, and any advise or even a response would be GREATLY appreciated!

I have compiled the HEAD branch of OpenLDAP (CVS version 2002-04-03) with BerkeleyDB 4, OpenSSL, MIT Kerberos 5-1.2.4, and Cyrus SASL 1.5.27. I tried to use SASL 2.1.2, but it errored when calling the sasl_server_new().

The compile appears to proceed normally. However, I see Segmentation Fault when I attempt to use GSSAPI with Kerberos. The session follows:

*** CLIENT ***
# ldapsearch -H ldap://scripts.georgefox.edu/ -I -b "" -s base -LLL supportedSASLMechanisms
SASL/GSSAPI authentication started
SASL Interaction
Please enter your authorization name: abrock
ldap_sasl_interactive_bind_s: Can't contact LDAP server (81)
#


*** SERVER ***
# ./ldap debug -1
starting LDAP daemon:Segmentation Fault - core dumped
 slapd.
# tail debug.txt
  0230:  5d 03 d4 cb 25 a3 63 a9  03 92 27 a0 62 76 80 c3   ]...%.c...'.bv..
  0240:  73 a5 19 78 a2 a7 3c                               s..x..<
ber_scanf fmt (}}) ber:
ber_dump: buf=0x0020db38 ptr=0x0020dd97 end=0x0020dd97 len=0

>>> dnPrettyNormal: <>
<<< dnPrettyNormal: <>, <>
do_sasl_bind: dn () mech GSSAPI
conn=0 op=1 BIND dn="" method=163
==> sasl_bind: dn="" mech=GSSAPI datalen=579
# gdb /usr/local/libexec/slapd -c /usr/local/etc/core
GNU gdb 5.1.1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.8"...(no debugging symbols found)...
Core was generated by `/usr/local/libexec/slapd -f /usr/local/etc/openldap/slapd.conf -d -1 -h ldap://'.
Program terminated with signal 9, Killed.
Reading symbols from /usr/lib/libdb-4.0.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libdb-4.0.so
Reading symbols from /usr/lib/libdb-3.3.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libdb-3.3.so
Reading symbols from /usr/lib/libpam.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libpam.so.1
Reading symbols from /usr/local/lib/libgssapi_krb5.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libgssapi_krb5.so.2
Reading symbols from /usr/lib/libresolv.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libresolv.so.2
Reading symbols from /usr/local/lib/libkrb5.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libkrb5.so.3
Reading symbols from /usr/local/lib/libk5crypto.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libk5crypto.so.3
Reading symbols from /usr/local/lib/libcom_err.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libcom_err.so.3
Reading symbols from /usr/lib/libgen.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgen.so.1
Reading symbols from /usr/lib/libnsl.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libnsl.so.1
Reading symbols from /usr/lib/libsocket.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libsocket.so.1
Reading symbols from /usr/lib/libdl.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libdl.so.1
Reading symbols from /usr/lib/libpthread.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libpthread.so.1
Reading symbols from /usr/lib/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/librt.so.1
Reading symbols from /usr/lib/libc.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libc.so.1
Reading symbols from /usr/lib/libmp.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libmp.so.2
Reading symbols from /usr/lib/libaio.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libaio.so.1
Reading symbols from /usr/platform/SUNW,Ultra-250/lib/libc_psr.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/platform/SUNW,Ultra-250/lib/libc_psr.so.1
Reading symbols from /usr/lib/libthread.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libthread.so.1
Reading symbols from /usr/lib/sasl/libcrammd5.so...done.
Loaded symbols for /usr/lib/sasl/libcrammd5.so
Reading symbols from /usr/lib/sasl/libdigestmd5.so...done.
Loaded symbols for /usr/lib/sasl/libdigestmd5.so
Reading symbols from /usr/lib/sasl/libgssapiv2.so...done.
Loaded symbols for /usr/lib/sasl/libgssapiv2.so
Reading symbols from /usr/lib/sasl/libanonymous.so...done.
Loaded symbols for /usr/lib/sasl/libanonymous.so
Reading symbols from /usr/lib/sasl/libplain.so...done.
Loaded symbols for /usr/lib/sasl/libplain.so
Reading symbols from /usr/lib/sasl/liblogin.so...done.
Loaded symbols for /usr/lib/sasl/liblogin.so
#0 0xff09c3ec in ?? ()
(gdb) bt
#0 0xff09c3ec in ?? ()
#1 0xff09f108 in ?? ()
#2 0xff09f3c0 in ?? ()
#3 0xff07266c in ?? ()
#4 0xff0723f0 in ?? ()
#5 0xff251d4c in ?? ()
#6 0xff251f18 in ?? ()
#7 0xff258048 in ?? ()
#8 0xfece1750 in ?? ()
#9 0x000af704 in sasl_server_start ()
#10 0x000671c4 in slap_sasl_bind ()
#11 0x00049f1c in do_bind ()
#12 0x000344b8 in connection_done ()
#13 0x00087488 in ldap_pvt_thread_pool_destroy ()
(gdb) quit
#



****************************************************************************** * Anthony Brock abrock@georgefox.edu * * Director of Network Services George Fox University * ******************************************************************************