Full_Name: Hallvard B Furuseth Version: HEAD OS: Linux URL: Submission from: (NULL) (129.240.6.233) Submitted by: hallvard
"./run -b ldif test034-translucent" crashes in str2entry2() at: entry.c:298: if( ad_prev->ad_type->sat_equality && because ad_prev == NULL - which got through due to this statement: entry.c:278: if (( ad_prev && ad != ad_prev ) || ( i == lines )) {
(gdb) backtrace full #0 0x080778b9 in str2entry2 (s=0x0, checkvals=1) at entry.c:298 j = 0 k = 0 rc = 0 e = (Entry *) 0x1bca12d4 type = (struct berval *) 0x1bc4af40 vals = (struct berval *) 0x1bc4af50 nvals = (struct berval *) 0x1bc4af60 freeval = 0x1bc4af70 "" ad = (AttributeDescription *) 0x1bc4b100 ad_prev = (AttributeDescription *) 0x0 text = 0x819642b "attribute type undefined" next = 0x1bc4af0d "" attr_cnt = 0 i = 0 lines = 0 ahead = {a_desc = 0x0, a_vals = 0x0, a_nvals = 0x8189305, a_numvals = 465874688, a_flags = 477302072, a_next = 0x1bcabc2c, a_comp_data = 0x0} atail = (Attribute *) 0x1bcabc2c #1 0x08076c28 in str2entry (s=0x1bc4af00 "dn") at entry.c:100 No locals. #2 0x0810084a in get_entry_for_fd (fd=12, pdn=0x1c730de4, pndn=0x1c730ddc) at ldif.c:339 entry = 0x1bc4af00 "dn" ldentry = (Entry *) 0x0 #3 0x08100a99 in get_entry (op=0x1bb0bc30, base_path=0x1bc315b0) at ldif.c:379 path = {bv_len = 100, bv_val = 0x1bc4adc8 "/usit/bombur/site/hbf/scratch/ldap/ol/HEAD/tests/testrun/db.2.a/o=translucent/ou=users/uid=fred.ldif"} pdn = {bv_len = 22, bv_val = 0x1bd2c185 "ou=users,o=translucent"} pndn = {bv_len = 22, bv_val = 0x1bd2c1e5 "ou=users,o=translucent"} fd = 12 #4 0x081018f1 in ldif_back_referrals (op=0x1bb0bc30, rs=0x1c731138) at ldif.c:719 li = (struct ldif_info *) 0x1bc315b0 entry = (Entry *) 0x1c730fc8 rc = 0 #5 0x080e1c31 in overlay_op_walk (op=0x1bb0bc30, rs=0x1c731138, which=op_aux_chk_referrals, oi=0x1bc31e80, on=0x0) at backover.c:653 func = (BI_op_bind **) 0x81dc15c rc = 32768 #6 0x080e1de6 in over_op_func (op=0x1bb0bc30, rs=0x1c731138, which=op_aux_chk_referrals) at backover.c:705 oi = (slap_overinfo *) 0x1bc31e80 on = (slap_overinst *) 0x1bc31fb0 be = (BackendDB *) 0x1bc31470 db = {bd_info = 0x81dc130, be_ctrls = '\0' <repeats 18 times>, "\001", '\0' <repeats 13 times>, "\001", be_flags = 259, be_restrictops = 0, be_requires = 0, be_ssf_set = { sss_ssf = 0, sss_transport = 0, sss_tls = 0, sss_sasl = 0, sss_update_ssf = 0, sss_update_transport = 0, sss_update_tls = 0, sss_update_sasl = 0, sss_simple_bind = 0}, be_suffix = 0x1bc31a18, be_nsuffix = 0x1bc31a58, be_schemadn = {bv_len = 0, bv_val = 0x0}, be_schemandn = {bv_len = 0, bv_val = 0x0}, be_rootdn = {bv_len = 13, bv_val = 0x1bc31cf8 "o=translucent"}, be_rootndn = {bv_len = 13, bv_val = 0x1bc31d80 "o=translucent"}, be_rootpw = {bv_len = 6, bv_val = 0x1bc31e00 "secret"}, be_max_deref_depth = 15, be_def_limit = { lms_t_soft = 3600, lms_t_hard = 0, lms_s_soft = 500, lms_s_hard = 0, lms_s_unchecked = -1, lms_s_pr = 0, lms_s_pr_hide = 0, lms_s_pr_total = 0}, be_limits = 0x0, be_acl = 0x0, be_dfltaccess = ACL_READ, be_update_ndn = {bv_len = 0, bv_val = 0x0}, be_update_refs = 0x0, be_pending_csn_list = 0x1bb23530, be_pcl_mutex = { wrapped = {__m_reserved = 0, __m_count = 0, __m_owner = 0x0, __m_kind = 2, __m_lock = {__status = 0, __spinlock = 0}}, usage = { magic = ldap_debug_magic, self = 3829197487, mem = {ptr = 0x0, num = 0}, state = ldap_debug_state_inited}, owner = 4294967295}, be_pcl_mutexp = 0x1bc31538, be_syncinfo = 0x0, be_pb = 0x0, be_cf_ocs = 0x81deca0, be_private = 0x1bc315b0, be_next = {stqe_next = 0x0}} cb = {sc_next = 0x0, sc_response = 0x80e10c3 <over_back_response>, sc_cleanup = 0, sc_private = 0x1bc31e80} rc = 32768 __PRETTY_FUNCTION__ = "over_op_func" #7 0x080e1fbe in over_aux_chk_referrals (op=0x1bb0bc30, rs=0x1c731138) at backover.c:787 No locals. #8 0x0807c586 in backend_check_referrals (op=0x1bb0bc30, rs=0x1c731138) at backend.c:1301 No locals. #9 0x0808b143 in fe_op_modrdn (op=0x1bb0bc30, rs=0x1c731138) at modrdn.c:274 newSuperior_be = (Backend *) 0x0 pdn = {bv_len = 0, bv_val = 0x0} op_be = (BackendDB *) 0x1bc31470 bd = (BackendDB *) 0x81e3aa0 #10 0x0808acb3 in do_modrdn (op=0x1bb0bc30, rs=0x1c731138) at modrdn.c:186 dn = {bv_len = 31, bv_val = 0x1bc4abe7 "uid=fred,ou=users,o=translucent"} newrdn = {bv_len = 11, bv_val = 0x1bc4ac08 "uid=someguy"} newSuperior = {bv_len = 0, bv_val = 0x0} deloldrdn = 0 pnewSuperior = {bv_len = 0, bv_val = 0x0} nnewSuperior = {bv_len = 0, bv_val = 0x0} length = 0 #11 0x0806b483 in connection_operation (ctx=0x1c731214, arg_v=0x1bb0bc30) at connection.c:1083 rc = 80 op = (Operation *) 0x1bb0bc30 rs = {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_attr_flags = 0, r_operational_attrs = 0x0, r_attrs = 0x0, r_nentries = 0, r_v2ref = 0x0}}, sr_flags = 0} tag = 108 opidx = SLAP_OP_MODRDN conn = (Connection *) 0x1be539e0 memctx = (void *) 0x1bb0c048 memctx_null = (void *) 0x0 memsiz = 1048576 __PRETTY_FUNCTION__ = "connection_operation" #12 0x0806b943 in connection_read_thread (ctx=0x1c731214, argv=0x9) at connection.c:1210 rc = 0 cri = {op = 0x1bb0bc30, func = 0, arg = 0x0, ctx = 0x1c731214, nullop = 0} s = 9 #13 0x08144a1c in ldap_int_thread_pool_wrapper (xpool=0x1bb50e30) at tpool.c:625 pool = (struct ldap_int_thread_pool_s *) 0x1bb50e30 task = (ldap_int_thread_task_t *) 0x1bb24400 ctx = {ltu_id = 477305760, ltu_key = {{ltk_key = 0x806b05d, ltk_data = 0x1bb778b0, ltk_free = 0x806aefe <conn_counter_destroy>}, { ltk_key = 0x80cb901, ltk_data = 0x1bb0c048, ltk_free = 0x80cb738 <slap_sl_mem_destroy>}, {ltk_key = 0x8082923, ltk_data = 0x0, ltk_free = 0x80828a0 <slap_op_q_destroy>}, { ltk_key = 0x0, ltk_data = 0x0, ltk_free = 0} <repeats 29 times>}} kctx = (ldap_int_thread_userctx_t *) 0x0 i = 32 keyslot = 426 hash = 5776810 __PRETTY_FUNCTION__ = "ldap_int_thread_pool_wrapper" #14 0x00a633cc in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #15 0x008cb1ae in clone () from /lib/tls/libc.so.6 No symbol table info available.