Issue 8151 - test062 sporadically seg faults
Summary: test062 sporadically seg faults
Status: VERIFIED DUPLICATE of issue 7639
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: 2.5.0
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-21 09:40 UTC by Michael Ströder
Modified: 2020-04-17 20:59 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Michael Ströder 2015-05-21 09:40:47 UTC
Full_Name: 
Version: git master 66ab6bafa8e290d842f68e683e3cd3ee63f513be
OS: openSUSE Linux x86_64
URL: 
Submission from: (NULL) (84.178.24.246)


test062 in git master sometimes seg faults with hdb and mdb.

Core was generated by
`/usr/src/michael/openldap-git/master/openldap/servers/slapd/.libs/lt-slapd
-s0'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007fc961c38c3d in syncprov_free_syncop (so=0x7fc954103950, unlink=1) at
syncprov.c:811
811			for ( sop = &so->s_si->si_ops; *sop; sop = &(*sop)->s_next ) {
Missing separate debuginfos, use: zypper install
cyrus-sasl-crammd5-debuginfo-2.1.26-11.1.x86_64
cyrus-sasl-debuginfo-2.1.26-11.1.x86_64
cyrus-sasl-digestmd5-debuginfo-2.1.26-11.1.x86_64
cyrus-sasl-gs2-debuginfo-2.1.26-11.1.x86_64
cyrus-sasl-gssapi-debuginfo-2.1.26-11.1.x86_64
cyrus-sasl-ntlm-debuginfo-2.1.26-11.1.x86_64
cyrus-sasl-otp-debuginfo-2.1.26-11.1.x86_64
cyrus-sasl-plain-debuginfo-2.1.26-11.1.x86_64
cyrus-sasl-scram-debuginfo-2.1.26-11.1.x86_64 glibc-debuginfo-2.21-5.2.x86_64
krb5-debuginfo-1.13.1-1.2.x86_64 libcom_err2-debuginfo-1.42.12-2.2.x86_64
libdb-4_8-debuginfo-4.8.30-30.2.x86_64 libkeyutils1-debuginfo-1.5.9-47.2.x86_64
libltdl7-debuginfo-2.4.6-2.1.x86_64 libopenssl1_0_0-debuginfo-1.0.1k-3.1.x86_64
libpcre1-debuginfo-8.37-1.1.x86_64 libsasl2-3-debuginfo-2.1.26-11.1.x86_64
libselinux1-debuginfo-2.3-4.3.x86_64 libz1-debuginfo-1.2.8-7.2.x86_64
unixODBC-debuginfo-2.3.2-5.2.x86_64



(gdb) bt full
#0  0x00007fc961c38c3d in syncprov_free_syncop (so=0x7fc954103950, unlink=1) at
syncprov.c:811
        sop = 0x6a626f006769666e
        sr = 0x62644960
        srnext = 0x7fc954003270
        ga = 0x7fc954103330
        gnext = 0x100000
#1  0x00007fc961c396a0 in syncprov_qtask (ctx=0x7fc962644bf0,
arg=0x7fc954103950) at syncprov.c:1005
        so = 0x7fc954103950
        opbuf = {ob_op = {o_hdr = 0x7fc962644960, o_tag = 99, o_time =
1432200195, o_tin % = 0, o_bd = 0x7fc962644660, o_req_dn = {bv_len = 9, 
              bv_val = 0x7fc95410a9e2 "cn=config"}, o_req_ndn = {bv_len = 9,
bv_val = 0x7fc95410a9ec "cn=config"}, o_request = {oq_add = {rs_modlist = 0x2, 
                rs_e = 0xffffffffffffffff}, oq_bind = {rb_method = 2, rb_cred =
{bv_len = 18446744073709551615, bv_val = 0x0}, rb_edn = {bv_len = 0, bv_val =
0x0}, 
                rb_ssf = 1410349536, rb_mech = {bv_len = 15, bv_val =
0x7fc95410a9f6 "(objectClass=*)"}}, oq_compar= D {rs_ava = 0x2}, oq_modify =
{rs_mods = {
                  rs_modlist = 0x2, rs_no_opattrs = -1 '\377'}, rs_increment =
0}, oq_modrdn = {rs_mods = {rs_modlist = 0x2, rs_no_opattrs = -1 '\377'}, 
                rs_deleteoldrdn = 0, rs_newrdn = {bv_len = 0, bv_val = 0x0},
rs_nnewrdn = {bv_len = 140502675503584, 
                  bv_val = 0xf <error: Cannot access memory at address 0xf>},
rs_newSup = 0x7fc95410a9f6, rs_nnewSup = 0x0}, oq_search = {rs_scope = 2,
rs_deref = 0, 
                rs_slimit = -1, rs_tlimit = -1, rs_limit = 0x0, rs_attrsonly =
0, rs_attrs = 0x0, rs_filter = 0x7fc9541039e0, rs_filterstr = {bv_len = 15, 
                  bv_val = 0x7fc95410a9f6 "(objectClass=*)"}}, oq_abandon =
{rs_msgid = 2}, oq_cancel = {rs_msgid = 2}, oq_extended = {rs_reqoid = {bv_len =
2, 
                  bv_val = 0xffffffffffffffff <error: Cannot access memory at
address 0xffffffffffffffff>}, rs_flags = 0, rs_reqdata = 0x0}, oq_pwdexop =
{rs_extended = {
                  rs_reqoid = {bv_len = 2, bv_val = 0xffffffffffffffff <error:
Cannot access memory at address 0xffffffffffffffff>}, rs_flags = 0, rs_reqdata =
0x0}, 
                rs_old = {bv_len = 0, bv_val = 0x7fc9541039e0 "\207"}, rs_new =
{bv_len = 15, bv_val = 0x7fc95410a9f6 "(objectClass=*)"}, rs_mods = 0x0, 
                rs_modtail = 0x0}}, o_abandon = 0, o_cancel = 0, o_groups = 0x0,
o_do_not_cache = 1 '\001', o_is_auth_check = 0 '\000', o_dont_replicate = 0
'\000', 
            o_acl_priv = ACL_NONE, o_nocaching = 0 '\000', o_delete_glue_parent
= 0 '\000', o_no_schema_check = 0 '\000', o_no_subordinate_glue = 0 '\000', 
            o_ctrlflag = '\000' <repeats 20 times>,
"\001\000\000\000\000\000\000\000\000\000\000", o_controls = 0x7fc962644aa8,
o_authz = {sai_method = 128, sai_mech = {
                bv_len = 0, bv_val = 0x0}, sai_dn = {bv_len = 9, bv_val =
0x7fc95410a9d8 "cn=config"}, sai_ndn = {bv_len = 9, bv_val = 0x7fc95410a9d8
"cn=config"}, 
              sai_ssf = 0, sai_transport_ssf = 0, sai_tls_ssf = 0, sai_sasl_ssf
= 0}, o_ber = 0x0, o_res_ber = 0x0, o_callback = 0x0, o_ctrls = 0x0, o_csn =
{bv_len = 0, 
              bv_val = 0x0}, o_private = 0x0, o_extra = {slh_first = 0x0},
o_next = {stqe_next = 0x0}}, ob_hdr = {oh_opid = 1, oh_connid = 1003, oh_conn =
0x1bb5730, 
            oh_msgid = 2, oh_protocol = 3, oh_tid = 140502915897088,
oh_threadctx = 0x7fc962644bf0, oh_tmpmemctx = 0x7fc954002350, 
            oh_tmpmfuncs = 0x765980 <slap_sl_mfuncs>, oh_counters =
0x7fc954002240, oh_log_prefix = "conn=1003 op=1", '\000' <repeats 241 times>},
ob_controls = {
            0x0 <repeats 32 times>}}
        op = 0x7fc9626447f0
        be = {bd_info = 0x760de0 <slap_binfo>, bd_self = 0x1b72470, be_ctrls =
'\000' <repeats 15 times>, "\001", '\000' <repeats 16 times>, "\001", be_flags =
131328, 
          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 = 0x1b72670, be_nsuffix = 0x1b726c0, be_schemadn = {bv_len = 0, bv_val
= 0x0}, 
          be_schemandn = {bv_len = 0, bv_val = 0x0}, be_rootdn = {bv_len = 9,
bv_val = 0x1b72610 "cn=config"}, be_rootndn = {bv_len = 9, bv_val = 0x1b72630
"cn=config"}, 
          be_rootpw = {bv_len = 8, bv_val = 0x1b72930 "D/nFIIJ7"},
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 = 0x1c6e000, be_dfltaccess =
ACL_NONE, 
          be_extra_anlist = 0x0, be_update_ndn = {bv_len = 0, bv_val = 0x0},
be_update_refs = 0x0, be_pending_csn_list = 0x1b58ff0, be_pcl_mutex = {__data =
{__lock = 0, 
              __count = 0, __owner = 0, __nusers = 0, __kind = 0, __spins = 0,
__elision = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = '\000' <repeats
39 times>, 
            __align = 0}, be_syncinfo = 0x0, be_pb = 0x0, be_cf_ocs = 0x0,
be_private = 0x766680 <cfBackInfo>, be_next = {stqe_next = 0x0}}
        rc = 0
#2  0x00007fc967987ec3 in ldap_int_thread_pool_wrapper (xpool=0x1b4e640) at
tpool.c:958
        pq = 0x1b4e640
        pool = 0x1b4e550
        task = 0x7fc954112e30
        work_list = 0x1b4e6b0
        ctx = {ltu_pq = 0x1b4e640, ltu_id = 140502915897088, ltu_key = {{ltk_key
= 0x43f901 <conn_counter_init>, ltk_data = 0x7fc954002240, 
              ltk_free = 0x43f753 <conn_counter_destroy>}, {ltk_key = 0x4b3ff5
<slap_sl_mem_init>, ltk_data = 0x7fc954002350, ltk_free = 0x4b3e1a
<slap_sl_mem_destroy>}, 
            {ltk_key = 0x45a859 <slap_op_free>, ltk_data = 0x7fc954002eb0,
ltk_free = 0x45a7ac <slap_op_q_destroy>}, {ltk_key = 0x0, ltk_data =
0x7fc95410bff0, 
              ltk_free = 0x0}, {ltk_key = 0x0, ltk_data = 0x0, ltk_free = 0x0}
<repeats 28 times>}}
        kctx = 0x0
        i = 32
        keyslot = 837
        hash = 1269620549
        pool_lock = 0
        freeme = 0
        __PRETTY_FUNCTION__ = "ldap_int_thread_pool_wrapper"
#3  0x00007fc965e5f484 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#4  0x00007fc965b9da4d in clone () from /lib64/libc.so.6
No symbol table info available.
Comment 1 Howard Chu 2015-05-21 14:09:44 UTC
michael@stroeder.com wrote:
> Full_Name:
> Version: git master 66ab6bafa8e290d842f68e683e3cd3ee63f513be
> OS: openSUSE Linux x86_64
> URL:
> Submission from: (NULL) (84.178.24.246)
>
>
> test062 in git master sometimes seg faults with hdb and mdb.

config delete support is still WIP. Tests in master are known to fail from 
time to time, do not file ITSs for these.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/

Comment 2 Howard Chu 2015-05-21 14:10:58 UTC
changed state Open to Closed
Comment 3 Howard Chu 2015-05-21 14:38:42 UTC
changed state Closed to Active
moved from Incoming to Development
Comment 4 Quanah Gibson-Mount 2020-04-17 20:59:44 UTC

*** This issue has been marked as a duplicate of issue 7639 ***