[389-users] Segfault

Edward Z. Yang ezyang at MIT.EDU
Fri Oct 8 18:56:56 UTC 2010


After manually attaching GDB, we caught a segfault on one of the dirsrvs.  The
server's name is old-faithful.  Here's the backtrace (with one set of debugging
info missing; I can grab that and reload the core dump if you want me to.)
File a bug, or do you think it's an upstream bug?  The core dump probably
contains sensitive info, so let us know if there are specific things you
want us to do with it.

(gdb) thread 10
[Switching to thread 10 (Thread 31829)]#0  getrn (lh=0x7fe34c004d20, data=0x7fe36ac45350, rhash=<value optimized out>)
    at lhash.c:425
425                     if (n1->hash != hash)
(gdb) bt
#0  getrn (lh=0x7fe34c004d20, data=0x7fe36ac45350, rhash=<value optimized out>) at lhash.c:425
#1  0x00007fe36a96d9d6 in lh_insert (lh=0x7fe34c004d20, data=0x7fe36ac45350) at lhash.c:189
#2  0x00007fe36a9700c9 in int_err_set_item (d=0x7fe36ac45350) at err.c:407
#3  0x00007fe36a96fa4c in err_load_strings (lib=0, str=0x7fe36ac45350) at err.c:676
#4  0x00007fe36a970fb1 in ERR_load_ERR_strings () at err.c:662
#5  0x00007fe36a971199 in ERR_load_crypto_strings () at err_all.c:113
#6  0x00007fe36022d857 in openssl_init (cryptoctx=0x7fe358006218) at pkinit_crypto_openssl.c:2350
#7  pkinit_init_plg_crypto (cryptoctx=0x7fe358006218) at pkinit_crypto_openssl.c:277
#8  0x00007fe360222b68 in pkinit_client_plugin_init (context=0x7fe358003830, blob=0x7fe3612b0e40) at pkinit_clnt.c:1362
#9  0x0000003ab92557eb in krb5_init_preauth_context (kcontext=0x7fe358003830) at preauth2.c:146
#10 0x0000003ab925628a in krb5_preauth_request_context_init (context=0x7fe358003830) at preauth2.c:305
#11 0x0000003ab9249ee6 in krb5_get_init_creds (context=0x7fe358003830, creds=0x7fe3612b13c0, client=0x7fe3580021c0, 
    prompter=0, prompter_data=0x0, start_time=0, in_tkt_service=0x0, options=0x7fe358002a50, 
    gak_fct=0x3ab924bac0 <krb5_get_as_key_keytab>, gak_data=0x7fe3580021a0, use_master=0x7fe3612b123c, as_reply=0x0)
    at get_in_tkt.c:1167
#12 0x0000003ab924bcce in krb5_get_init_creds_keytab (context=0x7fe358003830, creds=0x7fe3612b13c0, client=0x7fe3580021c0, 
    arg_keytab=0x7fe3580021a0, start_time=0, in_tkt_service=0x0, options=0x0) at gic_keytab.c:109
#13 0x0000003c618602f7 in set_krb5_creds (authid=<value optimized out>, username=<value optimized out>, 
    passwd=<value optimized out>, realm=<value optimized out>, vals=0x7fe358002bd0) at ldap/servers/slapd/ldaputil.c:1483
#14 0x0000003c61860a95 in ldap_sasl_set_interact_vals (ld=0x7fe358002270, 
    bindid=0x7fe358003700 "uid=ldap/old-faithful.mit.edu,ou=People,dc=scripts,dc=mit,dc=edu", creds=0x7fe358000d40 "", 
    mech=<value optimized out>, serverctrls=0x0, returnedctrls=0x7fe3612b1ab8, msgidp=0x0)
    at ldap/servers/slapd/ldaputil.c:928
#15 slapd_ldap_sasl_interactive_bind (ld=0x7fe358002270, 
    bindid=0x7fe358003700 "uid=ldap/old-faithful.mit.edu,ou=People,dc=scripts,dc=mit,dc=edu", creds=0x7fe358000d40 "", 
    mech=<value optimized out>, serverctrls=0x0, returnedctrls=0x7fe3612b1ab8, msgidp=0x0)
    at ldap/servers/slapd/ldaputil.c:1044
#16 0x0000003c61860d17 in slapi_ldap_bind (ld=0x7fe358002270, 
    bindid=0x7fe358003700 "uid=ldap/old-faithful.mit.edu,ou=People,dc=scripts,dc=mit,dc=edu", creds=<value optimized out>, 
    mech=<value optimized out>, serverctrls=0x0, returnedctrls=0x7fe3612b1ab8, timeout=0x0, msgidp=0x0)
    at ldap/servers/slapd/ldaputil.c:751
#17 0x00007fe3685927db in bind_and_check_pwp (conn=0x1480220) at ldap/servers/plugins/replication/repl5_connection.c:1750
#18 conn_connect (conn=0x1480220) at ldap/servers/plugins/replication/repl5_connection.c:1136
#19 0x00007fe36859aee7 in acquire_replica (prp=0x1480380, prot_oid=<value optimized out>, ruv=0x7fe3612b1d20)
    at ldap/servers/plugins/replication/repl5_protocol_util.c:168
#20 0x00007fe368595897 in repl5_inc_run (prp=0x1480380) at ldap/servers/plugins/replication/repl5_inc_protocol.c:828
#21 0x00007fe36859a3d5 in prot_thread_main (arg=0x14aedd0) at ldap/servers/plugins/replication/repl5_protocol.c:311
#22 0x0000003abee29593 in _pt_root (arg=0x14ad530) at ../../../mozilla/nsprpub/pr/src/pthreads/ptthread.c:228
#23 0x0000003ab6207761 in start_thread (arg=0x7fe3612b2710) at pthread_create.c:301
#24 0x0000003ab5ae151d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Cheers,
Edward



More information about the 389-users mailing list