(gdb) bt full
#0  0x00007fe3de60d890 in idl_new_range_fetch (be=be@entry=0x56178e0f1a00, db=<optimized out>, lowerkey=lowerkey@entry=0x7fe3d4984cc0, upperkey=upperkey@entry=0x7fe3d4984c90, txn=txn@entry=0x0, ai=0x56178e1b37a0, flag_err=flag_err@entry=0x7fe3d49892ec, allidslimit=allidslimit@entry=4000, sizelimit=-1, expire_time=expire_time@entry=0x7fe3d4984c40, lookthrough_limit=lookthrough_limit@entry=-1, operator=operator@entry=772) at ldap/servers/slapd/back-ldbm/idl_new.c:619
        i = 7
        remaining = 15
        ret = <optimized out>
        idl_rc = <optimized out>
        cursor = 0x56178f00fd40
        idl = 0x56178f01c0a0
        cur_key = {data = 0x0, size = 3, ulen = 4, dlen = 0, doff = 0, app_data = 0x0, flags = 16}
        data = {data = 0x7fe3d4982b10, size = 8192, ulen = 8192, dlen = 0, doff = 0, app_data = 0x0, flags = 2048}
        id = <optimized out>
        count = <optimized out>
        buffer = "\004\000\001)\000\000\000\000\004\000\001(\000\000\000\000\004\000\001'\000\000\000\000\004\000\001&\000\000\000\000\004\000\001%\000\000\000\000\004\000\001$\000\000\000\000\004\000\001#\000\000\000\000\003\000\001=3\000\000\000\004\000\001\"\000\000\000\000\004\000\001!\000\000\000\000\004\000\001 \000\000\000\000\004\000\001\037\000\000\000\000\004\000\001\036\000\000\000\000\004\000\001\035\000\000\000\000\004\000\001\034\000\000\000\000\004\000\001\033\000\000\000\000\004\000\001\032\000\000\000\000\004\000\001\031\000\000\000\000\004\000\001\030\000\000\000\000\004\000\001\027\000\000\000\000\004\000\001\026\000\000\000\000\004\000\001\025\000\000\000\000\004\000\001\024\000\000\000\000\004\000\001\023\000\000\000\000\004\000\001\022\000\000\000\000"...
        ptr = <optimized out>
        dataret = {data = 0x0, size = 4, ulen = 0, dlen = 0, doff = 0, app_data = 0x0, flags = 0}
        s_txn = {back_txn_txn = 0x0}
        li = <optimized out>
        saved_key = 0x56178e8c3728
        coreop = 4
        key = <optimized out>
        suffix = <optimized out>
        leftover = 0x56178e289e00
        leftoverlen = <optimized out>
        leftovercnt = 15
#1  0x00007fe3de61d70c in index_range_read_ext (pb=pb@entry=0x56178f01e480, be=be@entry=0x56178e0f1a00, type=type@entry=0x56178e219670 "parentid", indextype=<optimized out>, operator=772, val=<optimized out>, nextval=0x0, range=0, txn=0x7fe3d4986db0, err=0x7fe3d49892ec, allidslimit=4000) at ldap/servers/slapd/back-ldbm/index.c:1511
        li = <optimized out>
        db = 0x56178e3a5600
        db_txn = 0x0
        dbc = 0x56178f00fb00
        lowerkey = {data = 0x0, size = 4, ulen = 0, dlen = 0, doff = 0, app_data = 0x0, flags = 16}
        upperkey = {data = 0x0, size = 0, ulen = 0, dlen = 0, doff = 0, app_data = 0x0, flags = 0}
        cur_key = {data = 0x56178e8c3730, size = 4, ulen = 0, dlen = 0, doff = 0, app_data = 0x0, flags = 16}
        data = {data = 0x0, size = 4, ulen = 0, dlen = 0, doff = 0, app_data = 0x0, flags = 16}
        idl = 0x0
        prefix = 0x7fe3de87d02c <prefix_EQUALITY> "="
        realbuf = 0x56178e8c37e0 " 7\214\216\027V"
        nextrealbuf = <optimized out>
        reallen = <optimized out>
        nextreallen = <optimized out>
        plen = <optimized out>
        i = <optimized out>
        ai = 0x56178e1b37a0
        lookthrough_limit = -1
---Type <return> to continue, or q <return> to quit---
        is_and = 0
        sizelimit = -1
        expire_time = {tv_sec = 0, tv_nsec = 0}
        timelimit = -1
        sr = 0x56178f0158c0
        isroot = 1
        coreop = 4
        op = 0x56178e1a0000
#2  0x00007fe3de606334 in range_candidates (pb=pb@entry=0x56178f01e480, be=be@entry=0x56178e0f1a00, type=0x56178e219670 "parentid", low_val=<optimized out>, high_val=<optimized out>, err=0x7fe3d49892ec, sattr=0x7fe3d4986ef0, allidslimit=4000) at ldap/servers/slapd/back-ldbm/filterindex.c:581
        idl = 0x0
        low = 0x56178e219720
        high = 0x0
        lows = 0x56178e219730
        highs = 0x0
        txn = {back_txn_txn = 0x0}
        operator = <optimized out>
        op = 0x56178e1a0000
#3  0x00007fe3de6068b4 in ava_candidates (pb=pb@entry=0x56178f01e480, be=be@entry=0x56178e0f1a00, f=f@entry=0x56178f0fd680, ftype=165, err=0x7fe3d49892ec, allidslimit=4000, range=0, nextf=0x0)
    at ldap/servers/slapd/back-ldbm/filterindex.c:240
        type = 0x56178e219670 "parentid"
        indextype = 0x0
        sv = {bv = {bv_len = 0, bv_val = 0x0}, v_csnset = 0x0, v_flags = 0}
        bval = 0x56178f0fd6a8
        ivals = 0x0
        idl = 0x0
        unindexed = 0
        sattr =
          {a_type = 0x56178e219750 "parentid", a_present_values = {num = 0, max = 0, sorted = 0x0, va = 0x0}, a_flags = 263, a_plugin = 0x56178e135340, a_deleted_values = {num = 0, max = 0, sorted = 0x0, va = 0x0}, a_listtofree = 0x0, a_next = 0x0, a_deletioncsn = 0x0, a_mr_eq_plugin = 0x56178e135600, a_mr_ord_plugin = 0x0, a_mr_sub_plugin = 0x0}
        txn = {back_txn_txn = 0x0}
        pr_idx = -1
        pb_op = 0x56178e1a0000
        pb_conn = 0x0
#4  0x00007fe3de606ea8 in filter_candidates_ext (pb=pb@entry=0x56178f01e480, be=be@entry=0x56178e0f1a00, base=base@entry=0x56178f00ad60 "dc=local,dc=nonet", f=0x56178f0fd680, nextf=nextf@entry=0x0, range=range@entry=0, err=err@entry=0x7fe3d49892ec, allidslimit=allidslimit@entry=4000) at ldap/servers/slapd/back-ldbm/filterindex.c:107
        li = <optimized out>
        result = 0x0
        ftype = <optimized out>
#5  0x00007fe3de64347a in subtree_candidates (pb=pb@entry=0x56178f01e480, be=0x56178e0f1a00, base=base@entry=0x56178f00ad60 "dc=local,dc=nonet", e=e@entry=0x56178e1a3200, filter=0x56178f0fd680, managedsait=1, allids_before_scopingp=allids_before_scopingp@entry=0x7fe3d49892dc, err=err@entry=0x7fe3d49892ec) at ldap/servers/slapd/back-ldbm/ldbm_search.c:1147
        focref = 0x0
        forr = 0x0
        ftop = <optimized out>
        candidates = <optimized out>
        has_tombstone_filter = <optimized out>
        isroot = 0
        allidslimit = <optimized out>
---Type <return> to continue, or q <return> to quit---
        op = 0x0
        is_bulk_import = 0
#6  0x00007fe3de644bb9 in build_candidate_list (candidates=0x7fe3d4989318, lookup_returned_allidsp=0x7fe3d49892dc, scope=<optimized out>, base=0x56178f00ad60 "dc=local,dc=nonet", e=<optimized out>, be=<optimized out>, pb=0x56178f01e480) at ldap/servers/slapd/back-ldbm/ldbm_search.c:954
        filter = 0x56178f0fd680
        err = 0
        li = 0x56178e0d8a00
        managedsait = 1
        r = 0
        rc = <optimized out>
        expire_time = {tv_sec = 0, tv_nsec = 0}
        vlv_response_control = {targetPosition = -1909764672, contentCount = 22039, result = 0}
        vlv_rc = 0
        lookthrough_limit = 0
        abandoned = 0
        be = 0x56178e0f1a00
        inst = 0x56178e148820
        li = 0x56178e0d8a00
        e = 0x56178e1a3200
        candidates = 0x0
        base = 0x56178f00ad60 "dc=local,dc=nonet"
        basesdn = 0x56178f167350
        scope = 2
        controls = 0x56178f00aae0
        operation = 0x56178e1a0000
        addr = 0x56178e1a00f0
        estimate = 0
        sort = 0
        vlv = <optimized out>
        sort_spec = 0x0
        is_sorting_critical = <optimized out>
        is_sorting_critical_orig = 0
        sort_control = 0x0
        virtual_list_view = 0
        vlv_spec = 0x0
        is_vlv_critical = 0
        vlv_request_control = {beforeCount = 0, afterCount = 0, tag = 0, index = 0, contentCount = 0, value = {bv_len = 0, bv_val = 0x0}}
        sr = <optimized out>
        tmp_err = -1
        tmp_desc = 0x0
        lookup_returned_allids = 0
        backend_count = 0
        print_once = 1
        txn = {back_txn_txn = 0x0}
        rc = <optimized out>
#7  0x00007fe3de644bb9 in ldbm_back_search (pb=0x56178f01e480) at ldap/servers/slapd/back-ldbm/ldbm_search.c:612
        rc = <optimized out>
        expire_time = {tv_sec = 0, tv_nsec = 0}
---Type <return> to continue, or q <return> to quit---
        vlv_response_control = {targetPosition = -1909764672, contentCount = 22039, result = 0}
        vlv_rc = 0
        lookthrough_limit = 0
        abandoned = 0
        be = 0x56178e0f1a00
        inst = 0x56178e148820
        li = 0x56178e0d8a00
        e = 0x56178e1a3200
        candidates = 0x0
        base = 0x56178f00ad60 "dc=local,dc=nonet"
        basesdn = 0x56178f167350
        scope = 2
        controls = 0x56178f00aae0
        operation = 0x56178e1a0000
        addr = 0x56178e1a00f0
        estimate = 0
        sort = 0
        vlv = <optimized out>
        sort_spec = 0x0
        is_sorting_critical = <optimized out>
        is_sorting_critical_orig = 0
        sort_control = 0x0
        virtual_list_view = 0
        vlv_spec = 0x0
        is_vlv_critical = 0
        vlv_request_control = {beforeCount = 0, afterCount = 0, tag = 0, index = 0, contentCount = 0, value = {bv_len = 0, bv_val = 0x0}}
        sr = <optimized out>
        tmp_err = -1
        tmp_desc = 0x0
        lookup_returned_allids = 0
        backend_count = 0
        print_once = 1
        txn = {back_txn_txn = 0x0}
        rc = <optimized out>
#8  0x00007fe3eab419f2 in op_shared_search (pb=pb@entry=0x56178f01e480, send_result=send_result@entry=1) at ldap/servers/slapd/opshared.c:763
        be_suffix = 0x56178e20e930
        err = 0
        next_be = 0x0
        base = 0x56178f00a7e0 "dc=local,dc=nonet"
        normbase = <optimized out>
        fstr = 0x7fe3ddd94da2 "(parentid>=1)"
        scope = 2
        be = 0x56178e0f1a00
        be_single = 0x56178e0f1a00
        be_list = {0x0 <repeats 1001 times>}
        referral_list =
          {0x0 <repeats 37 times>, 0x7fe3e9ce8080, 0x5, 0x7fe3d498b768, 0x7fe3d498b770, 0x7fe3d498d984, 0x0, 0x7fe3e94b09e4 <ber_write+100>, 0xb, 0x56178e332980, 0x56178f016a50, 0x7fe3e94afd86 <ber_put_ostring+182>, 0x7fe3d498b768, 0x87007fe3e993c240, 0xb, 0xa01a20de57dbea00, 0x0, 0x56178f016a50, 0x7fe3e970138a, 0x7fe3e94b4f40, 0x56178e33298c, 0x7fe3e94b09e4 <ber_write+100>, 0x12, 0x7fe3ddd89b7b, 0x56178f016a50, 0x7f---Type <return> to continue, or q <return> to quit---
e3e94afd86 <ber_put_ostring+182>, 0x56178f016a50, 0x7fe3e94af9ce <ber_put_seqorset+286>, 0x12, 0x1dbea00, 0x56178f016a50, 0xa01a20de57dbea00, 0x7fe3e9700990, 0x56178f016a50, 0x7fe3e97022d4, 0x7fe3e94b0188 <ber_printf+168>, 0x561700000010, 0x7fe3d498b820, 0x7fe3d498b7c0, 0xa01a20de57dbea00, 0x7fe3e9914060 <ldap_int_global_options>, 0x56178f016a50, 0x56178f016a50, 0x56178f178052, 0x56178f016a50, 0x56178e332980, 0x7fe3ddd84b05, 0x56178f016a50, 0x7fe3ddd84b05, 0x7fe3ddd8f762, 0x56178f00ccc0, 0x7fe3e96d21aa <ldap_build_search_req+394>, 0x0, 0x0, 0x258, 0x0, 0x0, 0x7fe3d498dab0, 0x0 <repeats 215 times>, 0x7fe3e795aab9 <recvmsg+57>, 0x0, 0x7fe3e798090d <make_request+429>, 0x100008000, 0x0, 0x100000000000000, 0x7fe3d498bf50, 0x0, 0x7fe3e798090d <make_request+429>, 0x200001600, 0x0, 0x6e50a8c0ffff0000, 0x7fe3d498bf80, 0x0, 0x0, 0x100000800, 0x0, 0x100007fffff0000, 0x0, 0x0, 0x7fe3e798090d <make_request+429>, 0x2000300000014, 0x12fa5b7c049e, 0x100000000, 0x10014, 0x0, 0x6001401000000, 0xffffffffffffffff, 0x66100000661, 0x8000080008, 0x5800000463, 0x5b7c049e00020014, 0x801602000012fa, 0x1000800000002, 0x200086e50a8c0, 0x400086e50a8c0, 0x30009ff53a8c0, 0x30687465, 0x8000080008, 0xffffffff00060014, 0x617ffffffff, 0x618, 0x0 <repeats 188 times>, 0x7fe3e94b48a3 <ber_sockbuf_ctrl+387>, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7fe3e94b48a3 <ber_sockbuf_ctrl+387>, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7fe3e94b48a3 <ber_sockbuf_ctrl+387>, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7fe3e94b48a3 <ber_sockbuf_ctrl+387>, 0x0, 0x7fe3e94b48a3 <ber_sockbuf_ctrl+387>, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7fe3e94b48a3 <ber_sockbuf_ctrl+387>, 0x0 <repeats 11 times>, 0x7fe3e993bf24 <tcmalloc::CentralFreeList::FetchFromOneSpans(int, void**, void**)+164>, 0x0, 0x7fe3e9cefc00, 0x1, 0x7fe3d498c868, 0x7fe3d498c870, 0x56178f0ab040, 0x7fe3d498cf50, 0x7fe3e78d7dcc <__GI__IO_default_xsputn+284>, 0x0, 0x56178d88a840, 0x7fe3e9cefc00, 0x7fe3eab9c564, 0x7fe3d498ce00, 0x7fe3e7c1e0a0 <_IO_strn_jumps>, 0x7fe3d498cf88, 0x7fe3eab9c556, 0x7fe3d498ce10, 0x7fe3e78a356b <vfprintf+315>, 0x7fe3d498cc30, 0x1, 0xffffffff, 0x100, 0x7fe3d498cc40, 0x7fe3e78b47fc <__GI__IO_vfscanf+1900>, 0xffff0038, 0x100, 0x7fe3d498cc60, 0x7fe3e78d7dcc <__GI__IO_default_xsputn+284>, 0x7fe3d498c980, 0x7fe3e78d7dcc <__GI__IO_default_xsputn+284>, 0x0...}
        attrlistbuf = "\003\000\000\000\000\000\000\000@\000\000\000\000\000\000\000\320٘\324\343\177\000\000 N\217\350\343\177\000\000S/\272\352\343\177\000\000\200٘\324\343\177\000\000\000\000\000\000\000\000\000\000h/\272\352\343\177\000\000i/\272\352\343\177\000\000NQ\217\350\343\177\000\000\340٘\324\377\377\377\377", '\000' <repeats 16 times>, "_ט\324\343\177\000\000`ט\324\343\177\000\000\036\000\000\000\343\177\000\000\260ؘ\324\343\177\000\000\261ؘ\324\343\177\000\000\000\000\000\000\000\000\000\000\030ؘ\324\000\000\000\000 ؘ\324\343\177\000\000L\f\267\352\343\177\000 \300\206+\216\027V\000\000X7\214\216\027V\000\000\000\000\000\000\000\000\000\000X7\214\216\027V\000\000\200"...
        attrliststr = <optimized out>
        attrs = 0x0
        rc = -1
        internal_op = <optimized out>
        basesdn = 0x56178f167470
        sdn = 0x56178f167350
        operation = 0x56178e1a0000
        referral = 0x0
        proxydn = 0x0
        proxystr = 0x0
        proxy_err = <optimized out>
        errtext = 0x0
        nentries = 0
        pnentries = 0
        flag_search_base_found = 0
        flag_no_such_object = 0
        flag_referral = 0
        flag_psearch = <optimized out>
        err_code = 0
        ctrlp = 0x56178f00aae0
        ctl_value = 0x0
        iscritical = 1
        be_name = <optimized out>
        index = 0
        sent_result = 0
        pr_stat = 0
        pb_conn = 0x0
        pagesize = -1
        estimate = 0
        curr_search_count = <optimized out>
        pr_be = <optimized out>
        pr_search_result = <optimized out>
        pr_idx = -1
---Type <return> to continue, or q <return> to quit---
        orig_sdn = 0x0
        free_sdn = 1
#9  0x00007fe3eab53557 in search_internal_callback_pb (pb=pb@entry=0x56178f01e480, callback_data=callback_data@entry=0x7fe3d498dc00, prc=prc@entry=0x7fe3ddd60a20 <get_result>, psec=psec@entry=0x7fe3ddd60e20 <send_entry>, prec=prec@entry=0x0) at ldap/servers/slapd/plugin_internal_op.c:727
        controls = 0x56178f00aae0
        op = 0x56178e1a0000
        filter = 0x56178f0fd680
        fstr = 0x56178e219800 "(parentid>=1)"
        callback_handler_data = {p_res_callback = 0x7fe3ddd60a20 <get_result>, p_srch_entry_callback = 0x7fe3ddd60e20 <send_entry>, p_ref_entry_callback = 0x0, callback_data = 0x7fe3d498dc00}
        scope = 2
        ifstr = 0x7fe3ddd94da2 "(parentid>=1)"
        opresult = -573175264
        rc = 0
        tmp_attrs = 0x0
#10 0x00007fe3eab53a79 in slapi_search_internal_callback_pb (pb=pb@entry=0x56178f01e480, callback_data=callback_data@entry=0x7fe3d498dc00, prc=prc@entry=0x7fe3ddd60a20 <get_result>, psec=psec@entry=0x7fe3ddd60e20 <send_entry>, prec=prec@entry=0x0) at ldap/servers/slapd/plugin_internal_op.c:518
#11 0x00007fe3ddd61709 in repl5_tot_run (prp=0x56178f0d9400) at ldap/servers/plugins/replication/repl5_tot_protocol.c:526
        rc = <optimized out>
        cb_data =
          {prp = 0x56178f0d9400, rc = 0, num_entries = 0, sleep_on_busy = 0, last_busy = 1534854302, lock = 0x56178f01a000, result_tid = 0x56178e03be60, message_id_list = 0x0, abort = 0, stop_result_thread = 0, last_message_id_sent = 5, last_message_id_received = 5, flowcontrol_detection = 0}
        pb = 0x56178f01e480
        ctrls = <optimized out>
        hostname = 0x56178f00a9e0 "cms1.lab.local.nonet"
        portnum = <optimized out>
        area_sdn = 0x56178f00cc00
        remote_schema_csn = 0x0
        init_retry = <optimized out>
        replica = <optimized out>
        rid = <optimized out>
        suffix = 0x56178f0b8300
        instances = 0x56178e332a50
        be = <optimized out>
        is_entryrdn = 1
#12 0x00007fe3ddd4bd0a in prot_thread_main (arg=0x56178f016000) at ldap/servers/plugins/replication/repl5_protocol.c:288
        dn = 0x0
        replica = 0x56178f0e4000
        replica_obj = 0x56178f0c6260
        rp = 0x56178f016000
        done = 0
        agmt = 0x56178e1a7200
#13 0x00007fe3e890cbab in _pt_root () at /lib64/libnspr4.so
#14 0x00007fe3e82acdd5 in start_thread () at /lib64/libpthread.so.0
#15 0x00007fe3e7959b3d in clone () at /lib64/libc.so.6
