On Wed, May 06, 2015 at 05:48:53PM +0000, alexoz66@gmail.com wrote:
When those two overlays are configured in this order: {0}memberof, {1}dds,=
slapd
will segfault at startup if dds finds a dynamicObject entry that is past i=
ts
expiration time. This does not occur if an object expires while slapd is running, only during startup.
Program received signal SIGSEGV, Segmentation fault. 0x000000000051c232 in memberof_isGroupOrMember (op=3D0x7fffffffd960, mci=3D= 0xa444f8) at memberof.c:293 293 an[ 0 ].an_name =3D an[ 0 ].an_desc->ad_cname; (gdb) bt full #0 0x000000000051c232 in memberof_isGroupOrMember (op=3D0x7fffffffd960, mc= i=3D0xa444f8) at memberof.c:293 rs2 =3D {sr_type =3D REP_RESULT, sr_tag =3D 0, sr_msgid =3D 0, sr_e= rr =3D 0, sr_matched =3D 0x0, sr_text =3D 0x0, sr_ref =3D 0x0, sr_ctrls =3D= 0x0, sr_un =3D {sru_search =3D {r_entry =3D 0x0, r_attr_flags =3D 0, r_ope= rational_attrs =3D 0x0, r_attrs =3D 0x0, r_nentries =3D 0, r_v2ref =3D 0x0}= , sru_sasl =3D {r_sasldata =3D 0x0}, sru_extended =3D {r_rspoid =3D 0x0, r_= rspdata =3D 0x0}}, sr_flags =3D 0} on =3D 0x8caa80 mo =3D 0x8cac70 op2 =3D {o_hdr =3D 0x7fffffffdad0, o_tag =3D 99, o_time =3D 1430939= 704, o_tincr =3D 2, o_bd =3D 0x7fffffffd680, o_req_dn =3D {bv_len =3D 25, b= v_val =3D 0xa444a8 "cn=3Dtest,dc=3Dexample,dc=3Dcom"}, o_req_ndn =3D {bv_le= n =3D 25, bv_val =3D 0xa444a8 "cn=3Dtest,dc=3Dexample,dc=3Dcom"}, o_request= =3D {oq_add =3D {rs_modlist =3D 0x0, rs_e =3D 0xffffffff00000001}, oq_bind= =3D {rb_method =3D 0, rb_cred =3D {bv_len =3D 18446744069414584321, bv_val= =3D 0x0}, rb_edn =3D {bv_len =3D 0, bv_val =3D 0x7fffffffd360 "`\325\377\3= 77\377\177"}, rb_ssf =3D 10763168, rb_mech =3D {bv_len =3D 69, bv_val =3D 0= xa42aa8 "(&(objectClass=3DdynamicObject)(entryExpireTimestamp<=3D2015050619= 15P"}}, oq_compare =3D {rs_ava =3D 0x0}, oq_modify =3D {rs_mods =3D {rs_mod= list =3D 0x0, rs_no_opattrs =3D 1 '\001'}, rs_increment =3D 0}, oq_modrdn = =3D {rs_mods =3D {rs_modlist =3D 0x0, rs_no_opattrs =3D 1 '\001'}, rs_delet= eoldrdn =3D 0, rs_newrdn =3D {bv_len =3D 0, bv_val =3D 0x7fffffffd360 "`\32= 5\377\377\377\177"}, rs_nnewrdn =3D {bv_len =3D 10763168, bv_val =3D 0x45 <= error: Cannot access memory at address 0x45>}, rs_newSup =3D 0xa42aa8, rs_n= newSup =3D 0x0}, oq_search =3D {rs_scope =3D 0, rs_deref =3D 0, rs_slimit = =3D 1, rs_tlimit =3D -1, rs_limit =3D 0x0, rs_attrsonly =3D 0, rs_attrs =3D= 0x7fffffffd360, rs_filter =3D 0xa43ba0, rs_filterstr =3D {bv_len =3D 69, b= v_val =3D 0xa42aa8 "(&(objectClass=3DdynamicObject)(entryExpireTimestamp<= =3D201505061915P"}}, oq_abandon =3D {rs_msgid =3D 0}, oq_cancel =3D {rs_msg= id =3D 0}, oq_extended =3D {rs_reqoid =3D {bv_len =3D 0, bv_val =3D 0xfffff= fff00000001 <error: Cannot access memory at address 0xffffffff00000001>}, r= s_flags =3D 0, rs_reqdata =3D 0x0}, oq_pwdexop =3D {rs_extended =3D {rs_req= oid =3D {bv_len =3D 0, bv_val =3D 0xffffffff00000001 <error: Cannot access = memory at address 0xffffffff00000001>}, rs_flags =3D 0, rs_reqdata =3D 0x0}= , rs_old =3D {bv_len =3D 140737488343904, bv_val =3D 0xa43ba0 "\240"}, rs_n= ew =3D {bv_len =3D 69, bv_val =3D 0xa42aa8 "(&(objectClass=3DdynamicObject)= (entryExpireTimestamp<=3D201505061915P"}, rs_mods =3D 0x0, rs_modtail =3D 0= x0}}, o_abandon =3D 0, o_cancel =3D 0, o_groups =3D 0x0, o_do_not_cache =3D= 0 '\000', o_is_auth_check =3D 0 '\000', o_dont_replicate =3D 0 '\000', o_a= cl_priv =3D ACL_NONE, o_nocaching =3D 0 '\000', o_delete_glue_parent =3D 0 = '\000', o_no_schema_check =3D 0 '\000', o_no_subordinate_glue =3D 0 '\000',= o_ctrlflag =3D '\000' <repeats 31 times>, o_controls =3D 0x7fffffffdc18, o= _authz =3D {sai_method =3D 0, sai_mech =3D {bv_len =3D 0, bv_val =3D 0x0}, = sai_dn =3D {bv_len =3D 25, bv_val =3D 0x8ca830 "cn=3Droot,dc=3Dexample,dc= =3Dcom"}, sai_ndn =3D {bv_len =3D 25, bv_val =3D 0x8ca860 "cn=3Droot,dc=3De= xample,dc=3Dcom"}, sai_ssf =3D 0, sai_transport_ssf =3D 0, sai_tls_ssf =3D = 0, sai_sasl_ssf =3D 0}, o_ber =3D 0x0, o_res_ber =3D 0x0, o_callback =3D 0x= 7fffffffd3b0, o_ctrls =3D 0x0, o_csn =3D {bv_len =3D 0, bv_val =3D 0x0}, o_= private =3D 0x0, o_extra =3D {slh_first =3D 0x0}, o_next =3D {stqe_next =3D= 0x0}} cb =3D {sc_next =3D 0x0, sc_response =3D 0x51beec <memberof_saveMem= ber_cb>, sc_cleanup =3D 0x0, sc_writewait =3D 0x0, sc_private =3D 0x7ffffff= fd340} bi =3D 0x8caa80 an =3D {{an_name =3D {bv_len =3D 140737488344416, bv_val =3D 0x7fff= ffffd740 "`\250\214"}, an_desc =3D 0x0, an_flags =3D 15, an_oc =3D 0x5}, {a= n_name =3D {bv_len =3D 0, bv_val =3D 0x0}, an_desc =3D 0x7fffffffd740, an_f= lags =3D 10758752, an_oc =3D 0x18}} iswhat =3D MEMBEROF_IS_NONE mc =3D {ad =3D 0x0, vals =3D 0x0, foundit =3D 0} __PRETTY_FUNCTION__ =3D "memberof_isGroupOrMember" #1 0x000000000051e097 in memberof_op_delete (op=3D0x7fffffffd960, rs=3D0x7= fffffffd8b0) at memberof.c:783 on =3D 0x8caa80 mo =3D 0x8cac70 sc =3D 0xa444d0 mci =3D 0xa444f8 oex =3D 0x0 #2 0x00000000004baa58 in overlay_op_walk (op=3D0x7fffffffd960, rs=3D0x7fff= ffffd8b0, which=3Dop_delete, oi=3D0x8ca890, on=3D0x8caa80) at backover.c:681 bi =3D 0x8caa80 rc =3D 32768 #3 0x00000000004bad1c in over_op_func (op=3D0x7fffffffd960, rs=3D0x7ffffff= fd8b0, which=3Dop_delete) at backover.c:749 oi =3D 0x8ca890 on =3D 0x8cad30 be =3D 0x8c99d0 db =3D {bd_info =3D 0x8caa80, bd_self =3D 0x8c99d0, be_ctrls =3D "= 000\001\001\001\000\001\000\000\001\000\000\001\001\000\001\001", '\000' <r= epeats 16 times>, "\001", be_flags =3D 3336, be_restrictops =3D 0, be_requi= res =3D 0, be_ssf_set =3D {sss_ssf =3D 0, sss_transport =3D 0, sss_tls =3D = 0, sss_sasl =3D 0, sss_update_ssf =3D 0, sss_update_transport =3D 0, sss_up= date_tls =3D 0, sss_update_sasl =3D 0, sss_simple_bind =3D 0}, be_suffix = =3D 0x8ca650, be_nsuffix =3D 0x8ca680, be_schemadn =3D {bv_len =3D 0, bv_va= l =3D 0x0}, be_schemandn =3D {bv_len =3D 0, bv_val =3D 0x0}, be_rootdn =3D = {bv_len =3D 25, bv_val =3D 0x8ca830 "cn=3Droot,dc=3Dexample,dc=3Dcom"}, be_= rootndn =3D {bv_len =3D 25, bv_val =3D 0x8ca860 "cn=3Droot,dc=3Dexample,dc= =3Dcom"}, be_rootpw =3D {bv_len =3D 6, bv_val =3D 0x8ca5b0 "secret"}, be_ma= x_deref_depth =3D 15, be_def_limit =3D {lms_t_soft =3D 3600, lms_t_hard =3D= 0, lms_s_soft =3D 500, lms_s_hard =3D 0, lms_s_unchecked =3D -1, lms_s_pr = =3D 0, lms_s_pr_hide =3D 0, lms_s_pr_total =3D 0}, be_limits =3D 0x0, be_ac= l =3D 0x0, be_dfltaccess =3D ACL_READ, be_extra_anlist =3D 0x0, be_update_n= dn =3D {bv_len =3D 0, bv_val =3D 0x0}, be_update_refs =3D 0x0, be_pending_c= sn_list =3D 0x93dda0, be_pcl_mutex =3D {__data =3D {__lock =3D 0, __count = =3D 0, __owner =3D 0, __nusers =3D 0, __kind =3D 0, __spins =3D 0, __elisio= n =3D 0, __list =3D {__prev =3D 0x0, __next =3D 0x0}}, __size =3D '\000' <r= epeats 39 times>, __align =3D 0}, be_syncinfo =3D 0x0, be_pb =3D 0x0, be_cf= _ocs =3D 0x802d40 <mdbocs>, be_private =3D 0x7ffff7f2a010, be_next =3D {stq= e_next =3D 0x0}} cb =3D {sc_next =3D 0x7fffffffd930, sc_response =3D 0x4b9acc <over_= back_response>, sc_cleanup =3D 0x0, sc_writewait =3D 0x0, sc_private =3D 0x= 8ca890} sc =3D 0x1ffffda98 rc =3D 32768 __PRETTY_FUNCTION__ =3D "over_op_func" #4 0x00000000004baece in over_op_delete (op=3D0x7fffffffd960, rs=3D0x7ffff= fffd8b0) at backover.c:806 No locals. #5 0x00000000005177ce in dds_expire (ctx=3D0x825dc0 <ldap_int_main_thrctx>= , di=3D0x8caf20) at dds.c:221 conn =3D {c_struct_state =3D SLAP_C_UNINITIALIZED, c_conn_state =3D= SLAP_C_INVALID, c_conn_idx =3D -1, c_sd =3D 0, c_close_reason =3D 0x0, c_m= utex =3D {__data =3D {__lock =3D 0, __count =3D 0, __owner =3D 0, __nusers = =3D 0, __kind =3D 0, __spins =3D 0, __elision =3D 0, __list =3D {__prev =3D= 0x0, __next =3D 0x0}}, __size =3D '\000' <repeats 39 times>, __align =3D 0= }, c_sb =3D 0x0, c_starttime =3D 0, c_activitytime =3D 0, c_connid =3D 1844= 6744073709551615, c_peer_domain =3D {bv_len =3D 0, bv_val =3D 0x57d3a0 ""},= c_peer_name =3D {bv_len =3D 0, bv_val =3D 0x57d3a0 ""}, c_listener =3D 0x5= 85740 <dummy_list>, c_sasl_bind_mech =3D {bv_len =3D 0, bv_val =3D 0x0}, c_= sasl_dn =3D {bv_len =3D 0, bv_val =3D 0x0}, c_sasl_authz_dn =3D {bv_len =3D= 0, bv_val =3D 0x0}, c_authz_backend =3D 0x0, c_authz_cookie =3D 0x0, c_aut= hz =3D {sai_method =3D 0, sai_mech =3D {bv_len =3D 0, bv_val =3D 0x0}, sai_= dn =3D {bv_len =3D 0, bv_val =3D 0x0}, sai_ndn =3D {bv_len =3D 0, bv_val = =3D 0x0}, sai_ssf =3D 0, sai_transport_ssf =3D 0, sai_tls_ssf =3D 0, sai_sa= sl_ssf =3D 0}, c_protocol =3D 0, c_ops =3D {stqh_first =3D 0x0, stqh_last = =3D 0x0}, c_pending_ops =3D {stqh_first =3D 0x0, stqh_last =3D 0x0}, c_writ= e1_mutex =3D {__data =3D {__lock =3D 0, __count =3D 0, __owner =3D 0, __nus= ers =3D 0, __kind =3D 0, __spins =3D 0, __elision =3D 0, __list =3D {__prev= =3D 0x0, __next =3D 0x0}}, __size =3D '\000' <repeats 39 times>, __align = =3D 0}, c_write1_cv =3D {__data =3D {__lock =3D 0, __futex =3D 0, __total_s= eq =3D 0, __wakeup_seq =3D 0, __woken_seq =3D 0, __mutex =3D 0x0, __nwaiter= s =3D 0, __broadcast_seq =3D 0}, __size =3D '\000' <repeats 47 times>, __al= ign =3D 0}, c_write2_mutex =3D {__data =3D {__lock =3D 0, __count =3D 0, __= owner =3D 0, __nusers =3D 0, __kind =3D 0, __spins =3D 0, __elision =3D 0, = __list =3D {__prev =3D 0x0, __next =3D 0x0}}, __size =3D '\000' <repeats 39= times>, __align =3D 0}, c_write2_cv =3D {__data =3D {__lock =3D 0, __futex= =3D 0, __total_seq =3D 0, __wakeup_seq =3D 0, __woken_seq =3D 0, __mutex = =3D 0x0, __nwaiters =3D 0, __broadcast_seq =3D 0}, __size =3D '\000' <repea= ts 47 times>, __align =3D 0}, c_currentber =3D 0x0, c_writers =3D 0, c_writ= ing =3D 0 '\000', c_sasl_bind_in_progress =3D 0 '\000', c_writewaiter =3D 0= '\000', c_sasl_layers =3D 0 '\000', c_sasl_done =3D 0 '\000', c_sasl_authc= tx =3D 0x0, c_sasl_sockctx =3D 0x0, c_sasl_extra =3D 0x0, c_sasl_cbind =3D = 0x0, c_sasl_bindop =3D 0x0, c_txn =3D 0, c_txn_backend =3D 0x0, c_txn_ops = =3D {stqh_first =3D 0x0, stqh_last =3D 0x0}, c_pagedresults_state =3D {ps_b= e =3D 0x0, ps_size =3D 0, ps_count =3D 0, ps_cookie =3D 0, ps_cookieval =3D= {bv_len =3D 0, bv_val =3D 0x0}}, c_n_ops_received =3D 0, c_n_ops_executing= =3D 0, c_n_ops_pending =3D 0, c_n_ops_completed =3D 0, c_n_get =3D 0, c_n_= read =3D 0, c_n_write =3D 0, c_extensions =3D 0x0, c_clientfunc =3D 0x0, c_= clientarg =3D 0x0, c_send_ldap_result =3D 0x44239d <slap_send_ldap_result>,= c_send_search_entry =3D 0x443071 <slap_send_search_entry>, c_send_search_r= eference =3D 0x445030 <slap_send_search_reference>, c_send_ldap_extended = =3D 0x442bee <slap_send_ldap_extended>, c_send_ldap_intermediate =3D 0x442e= 5f <slap_send_ldap_intermediate>} opbuf =3D {ob_op =3D {o_hdr =3D 0x7fffffffdad0, o_tag =3D 74, o_tim= e =3D 1430939704, o_tincr =3D 2, o_bd =3D 0x7fffffffd680, o_req_dn =3D {bv_= len =3D 25, bv_val =3D 0xa444a8 "cn=3Dtest,dc=3Dexample,dc=3Dcom"}, o_req_n= dn =3D {bv_len =3D 25, bv_val =3D 0xa444a8 "cn=3Dtest,dc=3Dexample,dc=3Dcom= "}, o_request =3D {oq_add =3D {rs_modlist =3D 0x2, rs_e =3D 0x10ffffffff}, = oq_bind =3D {rb_method =3D 2, rb_cred =3D {bv_len =3D 73014444031, bv_val = =3D 0x0}, rb_edn =3D {bv_len =3D 0, bv_val =3D 0x800dc0 <anlist_no_attrs> "= \003"}, rb_ssf =3D 10763168, rb_mech =3D {bv_len =3D 69, bv_val =3D 0xa42aa= 8 "(&(objectClass=3DdynamicObject)(entryExpireTimestamp<=3D201505061915P"}}= , oq_compare =3D {rs_ava =3D 0x2}, oq_modify =3D {rs_mods =3D {rs_modlist = =3D 0x2, rs_no_opattrs =3D -1 '\377'}, rs_increment =3D 0}, oq_modrdn =3D {= rs_mods =3D {rs_modlist =3D 0x2, rs_no_opattrs =3D -1 '\377'}, rs_deleteold= rdn =3D 0, rs_newrdn =3D {bv_len =3D 0, bv_val =3D 0x800dc0 <anlist_no_attr= s> "\003"}, rs_nnewrdn =3D {bv_len =3D 10763168, bv_val =3D 0x45 <error: Ca= nnot access memory at address 0x45>}, rs_newSup =3D 0xa42aa8, rs_nnewSup = =3D 0x0}, oq_search =3D {rs_scope =3D 2, rs_deref =3D 0, rs_slimit =3D -1, = rs_tlimit =3D 16, rs_limit =3D 0x0, rs_attrsonly =3D 0, rs_attrs =3D 0x800d= c0 <anlist_no_attrs>, rs_filter =3D 0xa43ba0, rs_filterstr =3D {bv_len =3D = 69, bv_val =3D 0xa42aa8 "(&(objectClass=3DdynamicObject)(entryExpireTimesta= mp<=3D201505061915P"}}, oq_abandon =3D {rs_msgid =3D 2}, oq_cancel =3D {rs_= msgid =3D 2}, oq_extended =3D {rs_reqoid =3D {bv_len =3D 2, bv_val =3D 0x10= ffffffff <error: Cannot access memory at address 0x10ffffffff>}, rs_flags = =3D 0, rs_reqdata =3D 0x0}, oq_pwdexop =3D {rs_extended =3D {rs_reqoid =3D = {bv_len =3D 2, bv_val =3D 0x10ffffffff <error: Cannot access memory at addr= ess 0x10ffffffff>}, rs_flags =3D 0, rs_reqdata =3D 0x0}, rs_old =3D {bv_len= =3D 8392128, bv_val =3D 0xa43ba0 "\240"}, rs_new =3D {bv_len =3D 69, bv_va= l =3D 0xa42aa8 "(&(objectClass=3DdynamicObject)(entryExpireTimestamp<=3D201= 505061915P"}, rs_mods =3D 0x0, rs_modtail =3D 0x0}}, o_abandon =3D 0, o_can= cel =3D 0, o_groups =3D 0x0, o_do_not_cache =3D 0 '\000', o_is_auth_check = =3D 0 '\000', o_dont_replicate =3D 0 '\000', o_acl_priv =3D ACL_NONE, o_noc= aching =3D 0 '\000', o_delete_glue_parent =3D 0 '\000', o_no_schema_check = =3D 0 '\000', o_no_subordinate_glue =3D 0 '\000', o_ctrlflag =3D '\000' <re= peats 31 times>, o_controls =3D 0x7fffffffdc18, o_authz =3D {sai_method =3D= 0, sai_mech =3D {bv_len =3D 0, bv_val =3D 0x0}, sai_dn =3D {bv_len =3D 25,= bv_val =3D 0x8ca830 "cn=3Droot,dc=3Dexample,dc=3Dcom"}, sai_ndn =3D {bv_le= n =3D 25, bv_val =3D 0x8ca860 "cn=3Droot,dc=3Dexample,dc=3Dcom"}, sai_ssf = =3D 0, sai_transport_ssf =3D 0, sai_tls_ssf =3D 0, sai_sasl_ssf =3D 0}, o_b= er =3D 0x0, o_res_ber =3D 0x0, o_callback =3D 0x7fffffffd650, o_ctrls =3D 0= x0, o_csn =3D {bv_len =3D 0, bv_val =3D 0x0}, o_private =3D 0x0, o_extra = =3D {slh_first =3D 0x0}, o_next =3D {stqe_next =3D 0x0}}, ob_hdr =3D {oh_op= id =3D 0, oh_connid =3D 18446744073709551615, oh_conn =3D 0x7fffffffdd20, o= h_msgid =3D 0, oh_protocol =3D 0, oh_tid =3D 140737354057472, oh_threadctx = =3D 0x825dc0 <ldap_int_main_thrctx>, oh_tmpmemctx =3D 0xa42a60, oh_tmpmfunc= s =3D 0x8012a0 <slap_sl_mfuncs>, oh_counters =3D 0x826340 <slap_counters>, = oh_log_prefix =3D "conn=3D-1 op=3D0", '\000' <repeats 243 times>}, ob_contr= ols =3D {0x0 <repeats 32 times>}} op =3D 0x7fffffffd960 sc =3D {sc_next =3D 0x0, sc_response =3D 0x440aa1 <slap_null_cb>, s= c_cleanup =3D 0x0, sc_writewait =3D 0x0, sc_private =3D 0x0} dc =3D {dc_ndnlist =3D 0xa44490} de =3D 0xa44490 dep =3D 0x7fffffffd920 rs =3D {sr_type =3D REP_RESULT, sr_tag =3D 101, sr_msgid =3D 0, sr_= err =3D 0, sr_matched =3D 0x0, sr_text =3D 0x0, sr_ref =3D 0x0, sr_ctrls = =3D 0x0, sr_un =3D {sru_search =3D {r_entry =3D 0x0, r_attr_flags =3D 0, r_= operational_attrs =3D 0x0, r_attrs =3D 0x0, r_nentries =3D 0, r_v2ref =3D 0= x0}, sru_sasl =3D {r_sasldata =3D 0x0}, sru_extended =3D {r_rspoid =3D 0x0,= r_rspdata =3D 0x0}}, sr_flags =3D 0} expire =3D 1430939704 tsbuf =3D "20150506191504Z\000\320\330\377\377\377\177" ts =3D {bv_len =3D 15, bv_val =3D 0x7fffffffd890 "20150506191504Z"} ndeletes =3D 0 ntotdeletes =3D 0 rc =3D 0 extra =3D 0x5ab533 "" #6 0x000000000051b714 in dds_db_open (be=3D0x7fffffffe0a0, cr=3D0x7fffffff= e2b0) at dds.c:1747 on =3D 0x8cad30 di =3D 0x8caf20 rc =3D 0 thrctx =3D 0x825dc0 <ldap_int_main_thrctx> #7 0x00000000004b9845 in over_db_open (be=3D0x8c99d0, cr=3D0x7fffffffe2b0)= at backover.c:157 oi =3D 0x8ca890 on =3D 0x8cad30 db =3D {bd_info =3D 0x8ca890, bd_self =3D 0x8c99d0, be_ctrls =3D "= 000\001\001\001\000\001\000\000\001\000\000\001\001\000\001\001", '\000' <r= epeats 16 times>, "\001", be_flags =3D 68872, be_restrictops =3D 0, be_requ= ires =3D 0, be_ssf_set =3D {sss_ssf =3D 0, sss_transport =3D 0, sss_tls =3D= 0, sss_sasl =3D 0, sss_update_ssf =3D 0, sss_update_transport =3D 0, sss_u= pdate_tls =3D 0, sss_update_sasl =3D 0, sss_simple_bind =3D 0}, be_suffix = =3D 0x8ca650, be_nsuffix =3D 0x8ca680, be_schemadn =3D {bv_len =3D 0, bv_va= l =3D 0x0}, be_schemandn =3D {bv_len =3D 0, bv_val =3D 0x0}, be_rootdn =3D = {bv_len =3D 25, bv_val =3D 0x8ca830 "cn=3Droot,dc=3Dexample,dc=3Dcom"}, be_= rootndn =3D {bv_len =3D 25, bv_val =3D 0x8ca860 "cn=3Droot,dc=3Dexample,dc= =3Dcom"}, be_rootpw =3D {bv_len =3D 6, bv_val =3D 0x8ca5b0 "secret"}, be_ma= x_deref_depth =3D 15, be_def_limit =3D {lms_t_soft =3D 3600, lms_t_hard =3D= 0, lms_s_soft =3D 500, lms_s_hard =3D 0, lms_s_unchecked =3D -1, lms_s_pr = =3D 0, lms_s_pr_hide =3D 0, lms_s_pr_total =3D 0}, be_limits =3D 0x0, be_ac= l =3D 0x0, be_dfltaccess =3D ACL_READ, be_extra_anlist =3D 0x0, be_update_n= dn =3D {bv_len =3D 0, bv_val =3D 0x0}, be_update_refs =3D 0x0, be_pending_c= sn_list =3D 0x93dda0, be_pcl_mutex =3D {__data =3D {__lock =3D 0, __count = =3D 0, __owner =3D 0, __nusers =3D 0, __kind =3D 0, __spins =3D 0, __elisio= n =3D 0, __list =3D {__prev =3D 0x0, __next =3D 0x0}}, __size =3D '\000' <r= epeats 39 times>, __align =3D 0}, be_syncinfo =3D 0x0, be_pb =3D 0x0, be_cf= _ocs =3D 0x802d40 <mdbocs>, be_private =3D 0x7ffff7f2a010, be_next =3D {stq= e_next =3D 0x0}} rc =3D 0 #8 0x000000000043c44b in backend_startup_one (be=3D0x8c99d0, cr=3D0x7fffff= ffe2b0) at backend.c:224 rc =3D 0 __PRETTY_FUNCTION__ =3D "backend_startup_one" #9 0x000000000043c995 in backend_startup (be=3D0x8c99d0) at backend.c:330 i =3D 1 rc =3D 0 bi =3D 0x0 cr =3D {err =3D 0, msg =3D '\000' <repeats 255 times>} #10 0x0000000000468ac3 in slap_startup (be=3D0x0) at init.c:220 rc =3D 1024 #11 0x0000000000405d16 in main (argc=3D7, argv=3D0x7fffffffe618) at main.c:= 997 i =3D -1 no_detach =3D 1 rc =3D 0 urls =3D 0x877090 "ldap://:9000" username =3D 0x0 groupname =3D 0x0 sandbox =3D 0x0 syslogUser =3D 160 pid =3D 32767 waitfds =3D {1, 32767} g_argc =3D 7 g_argv =3D 0x7fffffffe618 configfile =3D 0x8770b0 "slapd.conf" configdir =3D 0x0 serverName =3D 0x7fffffffe870 "slapd" serverMode =3D 1 scp =3D 0x0 scp_entry =3D 0x0 debug_unknowns =3D 0x0 syslog_unknowns =3D 0x0 serverNamePrefix =3D 0x57ce80 "" l =3D 140737354130688 slapd_pid_file_unlink =3D 0 slapd_args_file_unlink =3D 0 firstopt =3D 0 __PRETTY_FUNCTION__ =3D "main"
mo->mo_ad_member is NULL. dds is first in the stack and we are in dds_db_op= en, so memberof_db_open has not run yet.