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

(ITS#5976) seg fault problem starting with version 2.1.14



Full_Name: Allan E. Johannesen
Version: 2.1.15
OS: Red Hat Linux E5
URL: 
Submission from: (NULL) (130.215.36.68)


I somehow missed installing 2.1.14, and was still running 2.1.13.  I found that
2.1.15 did not run on one of my servers (but worked on the other 2).  Looking
back, 2.1.14 had the same problem.  2.1.13, compiled and linked again on that
same client still worked ok, so it doesn't appear that libraries went sour.  The
failure is on a gssapi syncrepl client on an opteron.  The gssapi syncrepl
client on Intel works ok.  The master appears to work ok, too.  The ldap server
was running on appliance4 and was accessing the master on appliance1.

When starting it under debugging -d-1, I got to this:

ldap_sasl_interactive_bind_s: user selected: gssapi
ldap_int_sasl_bind: gssapi
ldap_int_sasl_open: host=appliance1.wpi.edu

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x43377940 (LWP 21161)]
ber_get_tag (ber=0x433762c0) at decode.c:110
110			tag = *(unsigned char *)ber->ber_ptr;
(gdb) where
#0  ber_get_tag (ber=0x433762c0) at decode.c:110
#1  0x0000000000506bdb in ber_skip_tag (ber=0x433762c0, len=0x433763f8) at
decode.c:169
#2  0x0000000000507653 in ber_peek_tag (ber=0x433762c0, len=0x433763f8) at
decode.c:228
#3  0x0000000000502794 in ldap_X509dn2bv (x509_name=<value optimized out>,
bv=0x43376520, func=0, flags=0)
    at tls2.c:1016
#4  0x0000000000502e6b in ldap_pvt_tls_get_my_dn (s=<value optimized out>,
dn=0x43376520, func=0, flags=0)
    at tls2.c:876
#5  0x00000000004ebd8f in ldap_int_sasl_bind (ld=0x16c76810, dn=0x0,
mechs=0x1699c490 "gssapi", sctrls=0x0, 
    cctrls=0x0, flags=2, interact=0x4dc160 <lutil_sasl_interact>,
defaults=0x16d1c370) at cyrus.c:479
#6  0x00000000004ed41c in ldap_sasl_interactive_bind_s (ld=0x16c76810, dn=0x0,
mechs=0x1699c490 "gssapi", 
    serverControls=0x0, clientControls=0x0, flags=2, interact=0x4dc160
<lutil_sasl_interact>, defaults=0x16d1c370)
    at sasl.c:464
#7  0x000000000041584b in slap_client_connect (ldp=0x1699d120, sb=0x1699cf20) at
config.c:1764
#8  0x0000000000479dfa in do_syncrepl (ctx=0x43376d70, arg=<value optimized
out>) at syncrepl.c:560
#9  0x00000000004e588a in ldap_int_thread_pool_wrapper (xpool=0x1693a410) at
tpool.c:663
#10 0x0000003dedc06367 in start_thread () from /lib64/libpthread.so.0
#11 0x0000003ded0d30ad in clone () from /lib64/libc.so.6