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

test008-concurrency coredump (ITS#2866)



Full_Name: Hallvard B Furuseth
Version: HEAD
OS: Solaris
URL: 
Submission from: (NULL) (158.36.148.34)
Submitted by: hallvard


OpenLDAP was configured with
CPPFLAGS="-DLDAP_LOCALIZE" ol_cv_bdb_compat=yes ./configure
and linked with db-4.1.24 and Electric Fence.

The core dump was produced by looping over test008
with environment variable EF_PROTECT_BELOW=1, though I don't know if
the latter has any relevance.

I have saved the core dump and the tests/testrun/ directory and can
debug further upon request.

./run test008
Cleaning up test run directory leftover from previous run.
Running ./scripts/test008-concurrency...
running defines.sh
Running slapadd to build slapd database...

  Electric Fence 2.2.0 Copyright (C) 1987-1999 Bruce Perens <bruce@perens.com>
Waiting 5 seconds for slapadd to build slapd database...
Starting slapd on TCP/IP port 9011...
Using ldapsearch to check that slapd is running...
Waiting 5 seconds for slapd to start...
Using tester for concurrent server access...
PID=25966 - Search(500): base="o=university of michigan,c=us",
filter="cn=Barbara Jensen".
PID=25967 - Read(1000): entry="cn=Barbara Jensen, ou=Information Technology
Division, ou=People, o=University of Michigan, c=US".
PID=25968 - Modrdn(50): entry="cn=Dorothy Stevens,ou=Alumni
Association,ou=People,o=University of Michigan,c=US".
PID=25969 - Add/Delete(50): entry="cn=James A Jones 2,ou=Alumni
Association,ou=People,o=University of Michigan,c=US".
PID=25970 - Search(500): base="ou=people,o=university of michigan,c=us",
filter="cn=Bjorn Jensen".
PID=25972 - Modrdn(50): entry="cn=John Doe,ou=Information Technology
Division,ou=People,o=University of Michigan,c=US".
PID=25979 - Read(1000): entry="ou=Alumni Association, ou=People, o=University of
Michigan, c=US".
PID=25974 - Search(500): base="ou=people,o=university of michigan,c=us",
filter="cn=James A Jones 1".
PID=25980 - Modrdn(50): entry="cn=James A Jones 2,ou=Information Technology
Division,ou=People,o=University of Michigan,c=US".
PID=25981 - Add/Delete(50): entry="cn=James A Jones 5,o=University of
Michigan,c=US".
PID=25982 - Search(500): base="o=university of michigan,c=us", filter="cn=Alumni
Assoc Staff".
PID=25973 - Add/Delete(50): entry="cn=James A Jones 3,ou=Alumni
Association,ou=People,o=University of Michigan,c=US".
PID=25971 - Read(1000): entry="cn=ITD Staff,ou=Groups,o=University of
Michigan,c=US".
PID=25976 - Modrdn(50): entry="cn=Ursula Hampster,ou=Alumni
Association,ou=People,o=University of Michigan,c=US".
PID=25978 - Search(500): base="o=university of michigan,c=us", filter="cn=Bjorn
Jensen".
PID=25977 - Add/Delete(50): entry="cn=James A Jones 4,ou=People,o=University of
Michigan,c=US".
PID=25983 - Read(1000): entry="cn=James A Jones 1, ou=Alumni Association,
ou=People, o=University of Michigan, c=US".
PID=25975 - Read(1000): entry="ou=Groups, o=University of Michigan, c=US".
 PID=25967 - Read done.
 PID=25979 - Read done.
 PID=25971 - Read done.
 PID=25983 - Read done.
 PID=25975 - Read done.
 PID=25966 - Search done.
 PID=25982 - Search done.
 PID=25978 - Search done.
 PID=25970 - Search done.
 PID=25974 - Search done.
 PID=25968 - Modrdn done.
 PID=25972 - Modrdn done.
ldap_deleteldap_addldap_delete: ldap_addCan't contact LDAP server (81)
: Can't contact LDAP server (81)
: Can't contact LDAP server (81)
: Can't contact LDAP server (81)
ldap_modrdn: Can't contact LDAP server (81)
ldap_modrdn: Can't contact LDAP server (81)
 PID=25980 - Modrdn done.
 PID=25981 - Add/Delete done.
 PID=25977 - Add/Delete done.
 PID=25973 - Add/Delete done.
 PID=25969 - Add/Delete done.
 PID=25976 - Modrdn done.
25938 Segmentation Fault - core dumped
Using ldapsearch to retrieve all the entries...
./scripts/test008-concurrency: kill: no such process
ldapsearch failed (1)!


bash$ gdb ../servers/slapd/slapd core
Core was generated by `../servers/slapd/slapd -s0 -f ./testrun/slapd.1.conf -h
ldap://localhost:9011/'.
Program terminated with signal 11, Segmentation fault.
#0  0x0011d6fc in ber_dupbv_x (dst=0xecc01778, src=0xf12ca000, ctx=0x0)
    at memory.c:525
525		AC_MEMCPY( new->bv_val, src->bv_val, src->bv_len );
(gdb) bt
#0  0x0011d6fc in ber_dupbv_x (dst=0xecc01778, src=0xf12ca000, ctx=0x0)
    at memory.c:525
#1  0x0011d76c in ber_dupbv (dst=0xecc01778, src=0xf12ca000) at memory.c:536
#2  0x00099ed0 in slap_get_commit_csn (op=0xecd56000, csn=0xecc01778)
    at ctxcsn.c:60
#3  0x000ba1dc in bdb_csn_commit (op=0xecd56000, rs=0xecc01ab0, 
    tid=0xe8b6a000, ei=0xf43c8000, suffix_ei=0xecc0189c, ctxcsn_e=0xecc01898, 
    ctxcsn_added=0xecc01894, locker=2147487653) at ctxcsn.c:68
#4  0x000bcbe8 in bdb_delete (op=0xecd56000, rs=0xecc01ab0) at delete.c:496
#5  0x0005286c in do_delete (op=0xecd56000, rs=0xecc01ab0) at delete.c:216
#6  0x00033934 in connection_operation (ctx=0xecc01b78, arg_v=0xecd56000)
    at connection.c:1014
#7  0x000df46c in ldap_int_thread_pool_wrapper (xpool=0xfc00a000)
    at tpool.c:467
(gdb) frame 0
#0  0x0011d6fc in ber_dupbv_x (dst=0xecc01778, src=0xf12ca000, ctx=0x0)
    at memory.c:525
525		AC_MEMCPY( new->bv_val, src->bv_val, src->bv_len );
(gdb) print *new
$1 = {bv_len = 0, bv_val = 0xe95aa000 ""}
(gdb) print *src
Cannot access memory at address 0xf12ca000
(gdb) frame 2
#2  0x00099ed0 in slap_get_commit_csn (op=0xecd56000, csn=0xecc01778)
    at ctxcsn.c:60
60			ber_dupbv( csn, committed_csne->csn );
(gdb) print *op
$2 = {o_opid = 90, o_connid = 12, o_conn = 0xf43a7f40, o_bd = 0xfbc14000, 
  o_msgid = 91, o_protocol = 3, o_tag = 74, o_time = 1070897538, o_req_dn = {
    bv_len = 80, 
    bv_val = 0xeee82244 "cn=James A Jones 3,ou=Alumni
Association,ou=People,o=University of Michigan,c=US"}, o_req_ndn = {bv_len = 80,

    bv_val = 0xeee8232c "cn=james a jones 3,ou=alumni
association,ou=people,o=university of michigan,c=us"}, o_request = {oq_add =
{rs_e = 0x0}, oq_bind = {
      rb_method = 0, rb_cred = {bv_len = 0, bv_val = 0x0}, rb_edn = {
        bv_len = 0, bv_val = 0x0}, rb_ssf = 0}, oq_compare = {rs_ava = 0x0}, 
    oq_modify = {rs_modlist = 0x0}, oq_modrdn = {rs_newrdn = {bv_len = 0, 
        bv_val = 0x0}, rs_nnewrdn = {bv_len = 0, bv_val = 0x0}, 
      rs_newSup = 0x0, rs_nnewSup = 0x0, rs_deleteoldrdn = 0}, oq_search = {
      rs_scope = 0, rs_deref = 0, rs_slimit = 0, rs_tlimit = 0, 
      rs_attrsonly = 0, rs_attrs = 0x0, rs_filter = 0x0, rs_filterstr = {
        bv_len = 0, bv_val = 0x0}}, oq_abandon = {rs_msgid = 0}, oq_cancel = {
      rs_msgid = 0}, oq_extended = {rs_reqoid = {bv_len = 0, bv_val = 0x0}, 
      rs_reqdata = 0x0}}, o_tid = 0, o_abandon = 0, o_cancel = 0, 
  o_groups = 0x0, o_do_not_cache = 0 '\0', o_is_auth_check = 0 '\0', 
  o_managedsait = 0 '\0', o_noop = 0 '\0', o_proxy_authz = 0 '\0', 
  o_subentries = 0 '\0', o_subentries_visibility = 0 '\0', o_assert = 0 '\0', 
  o_valuesreturnfilter = 0 '\0', o_permissive_modify = 0 '\0', 
  o_domain_scope = 0 '\0', o_preread = 0 '\0', o_postread = 0 '\0', 
  o_preread_attrs = 0x0, o_postread_attrs = 0x0, o_pagedresults = 0 '\0', 
  o_pagedresults_size = 0, o_pagedresults_state = {ps_be = 0x0, ps_cookie = 0, 
    ps_id = 0}, o_sync = 0 '\0', o_sync_mode = 0 '\0', o_sync_state = {
    ctxcsn = 0x0, sid = -1, octet_str = 0x0, rid = -1, sc_next = {
      stqe_next = 0x0}}, o_sync_rhint = 0, o_sync_cid = {bv_len = 0, 
    bv_val = 0x0}, o_sync_slog_size = -1, o_sync_csn = {bv_len = 32, 
    bv_val = 0xed744000 "20031208153218Z#000002#00#000000"}, 
  o_sync_slog_omitcsn = {bv_len = 0, bv_val = 0x0}, o_sync_slog_len = 0, 
  o_sync_slog_list = {stqh_first = 0x0, stqh_last = 0xecd560cc}, 
  o_ps_entries = 0, o_no_psearch = 0, o_ps_link = {le_next = 0x0, 
    le_prev = 0x0}, o_pm_list = {lh_first = 0x0}, o_authz = {sai_method = 0, 
    sai_mech = {bv_len = 0, bv_val = 0x0}, sai_dn = {bv_len = 40, 
      bv_val = 0xecee2000 "cn=Manager,o=University of Michigan,c=US"}, 
    sai_ndn = {bv_len = 40, 
      bv_val = 0xee372000 "cn=manager,o=university of michigan,c=us"}, 
    sai_ssf = 0, sai_transport_ssf = 0, sai_tls_ssf = 0, sai_sasl_ssf = 0}, 
  o_ber = 0xee312000, o_res_ber = 0x0, o_callback = 0x0, o_ctrls = 0x0, 
  o_threadctx = 0xecc01b78, o_tmpmemctx = 0xf133e000, o_tmpmfuncs = 0x155920, 
  o_private = 0xecc018d8, o_next = {stqe_next = 0x0}, o_assertion = 0x0, 
  o_vrFilter = 0x0, o_nocaching = 0}
(gdb) print *csn
$3 = {bv_len = 0, bv_val = 0xe95aa000 ""}
(gdb) print *csne
$4 = {csn = 0xf4464000, opid = 32, connid = 14, state = 1, csn_link = {
    tqe_next = 0xed740000, tqe_prev = 0xfbc140b0}}
(gdb) print csne
$5 = (struct slap_csn_entry *) 0xf29c2000
(gdb) print committed_csne
$6 = (struct slap_csn_entry *) 0xf1362000
(gdb) print *committed_csne
Cannot access memory at address 0xf1362000
(gdb) print i
$7 = 0
(gdb) frame 3
#3  0x000ba1dc in bdb_csn_commit (op=0xecd56000, rs=0xecc01ab0, 
    tid=0xe8b6a000, ei=0xf43c8000, suffix_ei=0xecc0189c, ctxcsn_e=0xecc01898, 
    ctxcsn_added=0xecc01894, locker=2147487653) at ctxcsn.c:68
68		slap_get_commit_csn( op, &max_committed_csn );
(gdb) print *rs
$8 = {sr_type = REP_RESULT, sr_tag = 0, sr_msgid = 0, sr_err = 0, 
  sr_matched = 0x0, sr_text = 0x0, sr_ref = 0x0, sr_ctrls = 0x0, sr_un = {
    sru_sasl = {r_sasldata = 0x0}, sru_extended = {r_rspoid = 0x0, 
      r_rspdata = 0x0}, sru_search = {r_entry = 0x0, r_attrs = 0x0, 
      r_nentries = 0, r_v2ref = 0x0}}, sr_flags = 0}
(gdb) print *tid
$9 = {mgrp = 0xf45a2000, parent = 0x0, last_lsn = {file = 1, 
    offset = 5898193}, txnid = 2147487653, off = 7256, lock_timeout = 0, 
  expire = 0, txn_list = 0x0, links = {tqe_next = 0xed768000, 
    tqe_prev = 0xf45a2004}, events = {tqh_first = 0x0, tqh_last = 0xe8b6a02c}, 
  kids = {tqh_first = 0x0, tqh_last = 0xe8b6a034}, klinks = {tqe_next = 0x0, 
    tqe_prev = 0x0}, api_internal = 0x0, cursors = 0, 
  abort = 0xff320ad8 <__txn_abort>, commit = 0xff320730 <__txn_commit>, 
  discard = 0xff320d10 <__txn_discard>, id = 0xff3210c4 <__txn_id>, 
  prepare = 0xff320e50 <__txn_prepare>, 
  set_timeout = 0xff3210cc <__txn_set_timeout>, flags = 17}
(gdb) print *ei
$10 = {bei_parent = 0xf3316000, bei_id = 199, bei_state = 10, bei_nrdn = {
    bv_len = 18, bv_val = 0xee2a6000 "cn=james a jones 3"}, 
  bei_e = 0xe8a9e000, bei_kids = 0x0, bei_kids_mutex = {
    __pthread_mutex_flags = {__pthread_mutex_flag1 = 4, 
      __pthread_mutex_flag2 = 0 '\0', __pthread_mutex_ceiling = 0 '\0', 
      __pthread_mutex_type = 0, __pthread_mutex_magic = 19800}, 
    __pthread_mutex_lock = {__pthread_mutex_lock64 = {
        __pthread_mutex_pad = "\0\0\0\0\0\0\0"}, __pthread_mutex_lock32 = {
        __pthread_ownerpid = 0, __pthread_lockword = 0}, 
      __pthread_mutex_owner64 = 0}, __pthread_mutex_data = 0}, 
  bei_lrunext = 0xf3906000, bei_lruprev = 0xf3316000}
(gdb) print *suffix_ei
$11 = (EntryInfo *) 0x9a3b0
(gdb) print **suffix_ei
$12 = {bei_parent = 0x40020ce7, bei_id = 16777216, bei_state = -802947072, 
  bei_nrdn = {bv_len = 3523723244, 
    bv_val = 0xd007a044 <Address 0xd007a044 out of bounds>}, 
  bei_e = 0xd0022004, bei_kids = 0xd0226008, bei_kids_mutex = {
    __pthread_mutex_flags = {__pthread_mutex_flag1 = 53255, 
      __pthread_mutex_flag2 = 160 ' ', __pthread_mutex_ceiling = 68 'D', 
      __pthread_mutex_type = 53250, __pthread_mutex_magic = 0}, 
    __pthread_mutex_lock = {__pthread_mutex_lock64 = {
        __pthread_mutex_pad = "Ð\"`\004Ò\a¿ì"}, __pthread_mutex_lock32 = {
        __pthread_ownerpid = 3491913732, __pthread_lockword = 3523723244}, 
      __pthread_mutex_owner64 = 14997655282917031916}, 
    __pthread_mutex_data = 10380832333247963148}, bei_lrunext = 0xd007bfec, 
  bei_lruprev = 0xc0222010}
(gdb) print *ctxcsn_e
$13 = (Entry *) 0xf1326000
(gdb) print **ctxcsn_e
$14 = {e_id = 20, e_name = {bv_len = 41, 
    bv_val = 0xf136e000 "cn=ldapsync,o=university of michigan,c=us"}, 
  e_nname = {bv_len = 41, 
    bv_val = 0xf1372000 "cn=ldapsync,o=university of michigan,c=us"}, 
  e_attrs = 0xf1286000, e_ocflags = 0, e_bv = {bv_len = 0, bv_val = 0x0}, 
  e_private = 0xf3332000}
(gdb) print *ctxcsn_added
$15 = 0
(gdb) print bdb
$16 = (struct bdb_info *) 0xfbc5c000
(gdb) print *bdb
$17 = {bi_dbenv = 0xf4562000, bi_dbenv_home = 0xf7a16000 "./testrun/db.1.a", 
  bi_dbenv_xflags = 0, bi_dbenv_mode = 384, bi_ndatabases = 6, 
  bi_databases = 0xf45ba000, bi_database_mutex = {__pthread_mutex_flags = {
      __pthread_mutex_flag1 = 4, __pthread_mutex_flag2 = 0 '\0', 
      __pthread_mutex_ceiling = 0 '\0', __pthread_mutex_type = 0, 
      __pthread_mutex_magic = 19800}, __pthread_mutex_lock = {
      __pthread_mutex_lock64 = {__pthread_mutex_pad = "\0\0\0\0\0\0\0"}, 
      __pthread_mutex_lock32 = {__pthread_ownerpid = 0, 
        __pthread_lockword = 0}, __pthread_mutex_owner64 = 0}, 
    __pthread_mutex_data = 0}, bi_db_opflags = 0, bi_defaultmask = 0, 
  bi_cache = {c_maxsize = 1000, c_cursize = 17, c_dntree = {bei_parent = 0x0, 
      bei_id = 0, bei_state = 0, bei_nrdn = {bv_len = 0, bv_val = 0x0}, 
      bei_e = 0x0, bei_kids = 0xf3912000, bei_kids_mutex = {
        __pthread_mutex_flags = {__pthread_mutex_flag1 = 4, 
          __pthread_mutex_flag2 = 0 '\0', __pthread_mutex_ceiling = 0 '\0', 
          __pthread_mutex_type = 0, __pthread_mutex_magic = 19800}, 
        __pthread_mutex_lock = {__pthread_mutex_lock64 = {
            __pthread_mutex_pad = "\0\0\0\0\0\0\0"}, __pthread_mutex_lock32 = {
            __pthread_ownerpid = 0, __pthread_lockword = 0}, 
          __pthread_mutex_owner64 = 0}, __pthread_mutex_data = 0}, 
      bei_lrunext = 0x0, bei_lruprev = 0x0}, c_eifree = 0xf02a6000, 
    c_idtree = 0xf332a000, c_lruhead = 0xf3332000, c_lrutail = 0xf093e000, 
    c_rwlock = 0xf7a1a000, lru_mutex = {__pthread_mutex_flags = {
        __pthread_mutex_flag1 = 4, __pthread_mutex_flag2 = 0 '\0', 
        __pthread_mutex_ceiling = 0 '\0', __pthread_mutex_type = 0, 
        __pthread_mutex_magic = 19800}, __pthread_mutex_lock = {
        __pthread_mutex_lock64 = {__pthread_mutex_pad = "\0\0\0\0\0\0\0"}, 
        __pthread_mutex_lock32 = {__pthread_ownerpid = 0, 
          __pthread_lockword = 0}, __pthread_mutex_owner64 = 0}, 
      __pthread_mutex_data = 0}}, bi_attrs = 0xf7a6e000, 
  bi_search_stack = 0x0, bi_search_stack_depth = 16, bi_txn_cp = 0, 
  bi_txn_cp_min = 0, bi_txn_cp_kbyte = 0, bi_lock_detect = 1, bi_shm_key = 0, 
  bi_lastid = 200, bi_lastid_mutex = {__pthread_mutex_flags = {
      __pthread_mutex_flag1 = 4, __pthread_mutex_flag2 = 0 '\0', 
      __pthread_mutex_ceiling = 0 '\0', __pthread_mutex_type = 0, 
      __pthread_mutex_magic = 19800}, __pthread_mutex_lock = {
      __pthread_mutex_lock64 = {__pthread_mutex_pad = "\0\0\0\0\0\0\0"}, 
      __pthread_mutex_lock32 = {__pthread_ownerpid = 0, 
        __pthread_lockword = 0}, __pthread_mutex_owner64 = 0}, 
    __pthread_mutex_data = 0}, bi_psearch_list = {lh_first = 0x0}, 
  bi_pslist_mutex = {__pthread_mutex_flags = {__pthread_mutex_flag1 = 0, 
      __pthread_mutex_flag2 = 0 '\0', __pthread_mutex_ceiling = 0 '\0', 
      __pthread_mutex_type = 0, __pthread_mutex_magic = 0}, 
    __pthread_mutex_lock = {__pthread_mutex_lock64 = {
        __pthread_mutex_pad = "\0\0\0\0\0\0\0"}, __pthread_mutex_lock32 = {
        __pthread_ownerpid = 0, __pthread_lockword = 0}, 
      __pthread_mutex_owner64 = 0}, __pthread_mutex_data = 0}, 
  bi_session_list = {lh_first = 0x0}, bi_idl_cache_max_size = 0, 
  bi_idl_cache_size = 0, bi_idl_tree = 0x0, bi_idl_lru_head = 0x0, 
  bi_idl_lru_tail = 0x0, bi_idl_tree_rwlock = 0x0, bi_idl_tree_lrulock = {
    __pthread_mutex_flags = {__pthread_mutex_flag1 = 0, 
      __pthread_mutex_flag2 = 0 '\0', __pthread_mutex_ceiling = 0 '\0', 
      __pthread_mutex_type = 0, __pthread_mutex_magic = 0}, 
    __pthread_mutex_lock = {__pthread_mutex_lock64 = {
        __pthread_mutex_pad = "\0\0\0\0\0\0\0"}, __pthread_mutex_lock32 = {
        __pthread_ownerpid = 0, __pthread_lockword = 0}, 
      __pthread_mutex_owner64 = 0}, __pthread_mutex_data = 0}}
(gdb) print ctxcsn_ndn
$18 = {bv_len = 41, 
  bv_val = 0xeee82414 "cn=ldapsync,o=university of michigan,c=us"}
(gdb) print &ctxcsn_ndn
$19 = (struct berval *) 0xecc01798
(gdb) print ctxcsn_ei
$20 = (EntryInfo *) 0xf3332000
(gdb) print *ctxcsn_ei
$21 = {bei_parent = 0xf3906000, bei_id = 20, bei_state = 10, bei_nrdn = {
    bv_len = 11, bv_val = 0xf4122000 "cn=ldapsync"}, bei_e = 0xf1326000, 
  bei_kids = 0x0, bei_kids_mutex = {__pthread_mutex_flags = {
      __pthread_mutex_flag1 = 4, __pthread_mutex_flag2 = 0 '\0', 
      __pthread_mutex_ceiling = 0 '\0', __pthread_mutex_type = 0, 
      __pthread_mutex_magic = 19800}, __pthread_mutex_lock = {
      __pthread_mutex_lock64 = {__pthread_mutex_pad = "\0\0\0\0\0\0\0"}, 
      __pthread_mutex_lock32 = {__pthread_ownerpid = 0, 
        __pthread_lockword = 0}, __pthread_mutex_owner64 = 0}, 
    __pthread_mutex_data = 0}, bei_lrunext = 0xf29a2000, bei_lruprev = 0x0}
(gdb) print ctxcsn_lock
$22 = {off = 282808, ndx = 526, gen = 1583, mode = DB_LOCK_READ}
(gdb) print max_committed_csn
$23 = {bv_len = 0, bv_val = 0xe95aa000 ""}
(gdb) print suffix_lock
$24 = {off = 3904299008, ndx = 4008190904, gen = 29, mode = 1297824}
(gdb) print rc
$25 = 0
(gdb) print ret
$26 = -320217088
(gdb) print e
$27 = (Entry *) 0xe8a9e000
(gdb) print *e
$28 = {e_id = 199, e_name = {bv_len = 80, 
    bv_val = 0xece9e000 "cn=James A Jones 3,ou=Alumni
Association,ou=People,o=University of Michigan,c=US"}, e_nname = {bv_len = 80, 
    bv_val = 0xf01ca000 "cn=james a jones 3,ou=alumni
association,ou=people,o=university of michigan,c=us"}, e_attrs = 0xf035e000,
e_ocflags = 256, e_bv = {
    bv_len = 0, bv_val = 0x0}, e_private = 0xf43c8000}
(gdb) frame 4
#4  0x000bcbe8 in bdb_delete (op=0xecd56000, rs=0xecc01ab0) at delete.c:496
496			rc = bdb_csn_commit( op, rs, ltid, ei, &suffix_ei,
(gdb) print matched
$29 = (Entry *) 0x0
(gdb) print pdn
$30 = {bv_len = 61, 
  bv_val = 0xeee8233f "ou=alumni association,ou=people,o=university of
michigan,c=us"}
(gdb) print e
$31 = (Entry *) 0xe8a9e000
(gdb) print *e
$32 = {e_id = 199, e_name = {bv_len = 80, 
    bv_val = 0xece9e000 "cn=James A Jones 3,ou=Alumni
Association,ou=People,o=University of Michigan,c=US"}, e_nname = {bv_len = 80, 
    bv_val = 0xf01ca000 "cn=james a jones 3,ou=alumni
association,ou=people,o=university of michigan,c=us"}, e_attrs = 0xf035e000,
e_ocflags = 256, e_bv = {
    bv_len = 0, bv_val = 0x0}, e_private = 0xf43c8000}
(gdb) print p
$33 = (Entry *) 0x0
(gdb) print ei
$34 = (EntryInfo *) 0xf43c8000
(gdb) print *ei
$35 = {bei_parent = 0xf3316000, bei_id = 199, bei_state = 10, bei_nrdn = {
    bv_len = 18, bv_val = 0xee2a6000 "cn=james a jones 3"}, 
  bei_e = 0xe8a9e000, bei_kids = 0x0, bei_kids_mutex = {
    __pthread_mutex_flags = {__pthread_mutex_flag1 = 4, 
      __pthread_mutex_flag2 = 0 '\0', __pthread_mutex_ceiling = 0 '\0', 
      __pthread_mutex_type = 0, __pthread_mutex_magic = 19800}, 
    __pthread_mutex_lock = {__pthread_mutex_lock64 = {
        __pthread_mutex_pad = "\0\0\0\0\0\0\0"}, __pthread_mutex_lock32 = {
        __pthread_ownerpid = 0, __pthread_lockword = 0}, 
      __pthread_mutex_owner64 = 0}, __pthread_mutex_data = 0}, 
  bei_lrunext = 0xf3906000, bei_lruprev = 0xf3316000}
(gdb) print eip
$36 = (EntryInfo *) 0xf3316000
(gdb) print *eip
$37 = {bei_parent = 0xf39ea000, bei_id = 4, bei_state = 0, bei_nrdn = {
    bv_len = 21, bv_val = 0xf331e000 "ou=alumni association"}, 
  bei_e = 0xf3346000, bei_kids = 0xf2b4e000, bei_kids_mutex = {
    __pthread_mutex_flags = {__pthread_mutex_flag1 = 4, 
      __pthread_mutex_flag2 = 0 '\0', __pthread_mutex_ceiling = 0 '\0', 
      __pthread_mutex_type = 0, __pthread_mutex_magic = 19800}, 
    __pthread_mutex_lock = {__pthread_mutex_lock64 = {
        __pthread_mutex_pad = "\0\0\0\0\0\0\0"}, __pthread_mutex_lock32 = {
        __pthread_ownerpid = 0, __pthread_lockword = 0}, 
      __pthread_mutex_owner64 = 0}, __pthread_mutex_data = 0}, 
  bei_lrunext = 0xf43c8000, bei_lruprev = 0xf29ea000}
(gdb) print manageDSAit
$38 = 0
(gdb) print ltid
$39 = (DB_TXN *) 0xe8b6a000
(gdb) print *ltid
$40 = {mgrp = 0xf45a2000, parent = 0x0, last_lsn = {file = 1, 
    offset = 5898193}, txnid = 2147487653, off = 7256, lock_timeout = 0, 
  expire = 0, txn_list = 0x0, links = {tqe_next = 0xed768000, 
    tqe_prev = 0xf45a2004}, events = {tqh_first = 0x0, tqh_last = 0xe8b6a02c}, 
  kids = {tqh_first = 0x0, tqh_last = 0xe8b6a034}, klinks = {tqe_next = 0x0, 
    tqe_prev = 0x0}, api_internal = 0x0, cursors = 0, 
  abort = 0xff320ad8 <__txn_abort>, commit = 0xff320730 <__txn_commit>, 
  discard = 0xff320d10 <__txn_discard>, id = 0xff3210c4 <__txn_id>, 
  prepare = 0xff320e50 <__txn_prepare>, 
  set_timeout = 0xff3210cc <__txn_set_timeout>, flags = 17}
(gdb) print lt2
$41 = (DB_TXN *) 0xe8b6e000
(gdb) print *lt2
Cannot access memory at address 0xe8b6e000
(gdb) print opinfo
$42 = {boi_bdb = 0xfbc14000, boi_txn = 0xe8b6a000, boi_lock = {off = 0, 
    ndx = 0, gen = 0, mode = DB_LOCK_NG}, boi_err = 0, 
  boi_locker = 2147487653, boi_acl_cache = 0}
(gdb) print locker
$43 = 2147487653
(gdb) print lock
$44 = {off = 283888, ndx = 97, gen = 1194, mode = DB_LOCK_READ}
(gdb) print plock
$45 = {off = 282088, ndx = 625, gen = 1462, mode = DB_LOCK_READ}
(gdb) print noop
$46 = 0
(gdb) print num_retries
$47 = 0
(gdb) print ps_list
$48 = (Operation *) 0x0
(gdb) print rc
$49 = 24
(gdb) print suffix_ei
$50 = (EntryInfo *) 0x9a3b0
(gdb) print *suffix_ei
$51 = {bei_parent = 0x40020ce7, bei_id = 16777216, bei_state = -802947072, 
  bei_nrdn = {bv_len = 3523723244, 
    bv_val = 0xd007a044 <Address 0xd007a044 out of bounds>}, 
  bei_e = 0xd0022004, bei_kids = 0xd0226008, bei_kids_mutex = {
    __pthread_mutex_flags = {__pthread_mutex_flag1 = 53255, 
      __pthread_mutex_flag2 = 160 ' ', __pthread_mutex_ceiling = 68 'D', 
      __pthread_mutex_type = 53250, __pthread_mutex_magic = 0}, 
    __pthread_mutex_lock = {__pthread_mutex_lock64 = {
        __pthread_mutex_pad = "Ð\"`\004Ò\a¿ì"}, __pthread_mutex_lock32 = {
        __pthread_ownerpid = 3491913732, __pthread_lockword = 3523723244}, 
      __pthread_mutex_owner64 = 14997655282917031916}, 
    __pthread_mutex_data = 10380832333247963148}, bei_lrunext = 0xd007bfec, 
  bei_lruprev = 0xc0222010}
(gdb) print ctxcsn_e
$52 = (Entry *) 0xf1326000
(gdb) print *ctxcsn_e
$53 = {e_id = 20, e_name = {bv_len = 41, 
    bv_val = 0xf136e000 "cn=ldapsync,o=university of michigan,c=us"}, 
  e_nname = {bv_len = 41, 
    bv_val = 0xf1372000 "cn=ldapsync,o=university of michigan,c=us"}, 
  e_attrs = 0xf1286000, e_ocflags = 0, e_bv = {bv_len = 0, bv_val = 0x0}, 
  e_private = 0xf3332000}
(gdb) print ctxcsn_added
$54 = 0
(gdb) print num_ctrls
$55 = 0
(gdb) frame 5
#5  0x0005286c in do_delete (op=0xecd56000, rs=0xecc01ab0) at delete.c:216
216				if ( (op->o_bd->be_delete)( op, rs ) == 0 ) {
(gdb) print dn
$56 = {bv_len = 80, 
  bv_val = 0xf4440005 "cn=James A Jones 3,ou=Alumni
Association,ou=People,o=University of Michigan,c=US"}