[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#3634) Slapd sometimes crashes after starting the same search action three times
Pierangelo,
I've reproduced the error again. The command 'bt full' gives a NULL value for variable 'a' (frame #3).
I (and two colleagues) don't understand how this is possible. Do you?
Because this is a new core, i give all the information again.
Greetings,
Gerrit.
The definition of orgCode:
attributetype ( 1.3.6.1.4.1.9211.1.0.6
NAME 'orgCode'
DESC 'Organization specific'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
O.S.: RedHat 4.0 ES
System: HP Proliant ML370 with two 2.8 GHz XEON processors (four processors to OS)
Openldap configuration (stripped):
loglevel 5
pidfile /usr/local/var/slapd.pid
argsfile /usr/local/var/slapd.args
sizelimit 50000
timelimit 3600
sockbuf_max_incoming_auth 8000000
idletimeout 0
schemacheck on
defaultsearchbase "o=org,c=nl"
allow bind_v2
database bdb
checkpoint 250 15
suffix "o=Org,c=NL"
directory /usr/local/openldap/openldapDB
mode 0600
index objectClass eq
index cn eq,sub
index ou eq,sub
index ....
access to dn.regex="orgcode=(.*),ou=lb,o=org,c=nl" attr="data"
by dn.regex="cn=updater,orgcode=$1,ou=lb,o=org,c=nl" write
by * read
access to *
by self write
by * read
Logfile:
Apr 20 12:15:06 localhost slapd[5979]: slapd starting
Apr 20 12:15:06 localhost slapd[5979]: connection_get(10)
Apr 20 12:15:06 localhost slapd[5979]: connection_get(10): got connid=0
Apr 20 12:15:06 localhost slapd[5979]: connection_read(10): checking for input on id=0
Apr 20 12:15:06 localhost slapd[5979]: ber_get_next on fd 10 failed errno=11 (Resource temporarily unavailable)
Apr 20 12:15:06 localhost slapd[5979]: connection_get(11)
Apr 20 12:15:06 localhost slapd[5979]: connection_get(11): got connid=1
Apr 20 12:15:06 localhost slapd[5979]: connection_read(11): checking for input on id=1
Apr 20 12:15:06 localhost slapd[5979]: ber_get_next on fd 11 failed errno=11 (Resource temporarily unavailable)
Apr 20 12:15:06 localhost slapd[5979]: connection_get(12)
Apr 20 12:15:06 localhost slapd[5979]: connection_get(12): got connid=2
Apr 20 12:15:06 localhost slapd[5979]: connection_read(12): checking for input on id=2
Apr 20 12:15:06 localhost slapd[5979]: do_search
Apr 20 12:15:06 localhost slapd[5979]: ber_get_next on fd 12 failed errno=11 (Resource temporarily unavailable)
Apr 20 12:15:06 localhost slapd[5979]: do_search
Apr 20 12:15:06 localhost slapd[5979]: >>> dnPrettyNormal: <orgCode=3251, ou=LB, o=org, c=NL>
Apr 20 12:15:06 localhost slapd[5979]: >>> dnPrettyNormal: <orgCode=3251, ou=LB, o=org, c=NL>
Apr 20 12:15:06 localhost slapd[5979]: <<< dnPrettyNormal: <orgCode=3251,ou=LB,o=org,c=NL>, <orgCode=3251,ou=lb,o=org,c=nl>
Apr 20 12:15:06 localhost slapd[5979]: <<< dnPrettyNormal: <orgCode=3251,ou=LB,o=org,c=NL>, <orgCode=3251,ou=lb,o=org,c=nl>
Apr 20 12:15:06 localhost slapd[5979]: SRCH "orgCode=3251, ou=LB, o=org, c=NL" 1 0
Apr 20 12:15:06 localhost slapd[5979]: SRCH "orgCode=3251, ou=LB, o=org, c=NL" 1 0
Apr 20 12:15:06 localhost slapd[5979]: 0 1000 0
Apr 20 12:15:06 localhost slapd[5979]: 0 1000 0
Apr 20 12:15:06 localhost slapd[5979]: filter: (&(&(activeEntry=0)(objectClass=distList)(!(listOwner=*)))(!(modifyTimestamp<=20050322090524Z)))
Apr 20 12:15:06 localhost slapd[5979]: filter: (&(&(activeEntry=0)(objectClass=distList)(!(listOwner=*)))(!(modifyTimestamp<=20050322090524Z)))
Apr 20 12:15:06 localhost slapd[5979]: attrs:
Apr 20 12:15:06 localhost slapd[5979]: attrs:
Apr 20 12:15:06 localhost slapd[5979]: orgID
Apr 20 12:15:06 localhost slapd[5979]: orgID
Apr 20 12:15:06 localhost slapd[5979]:
Apr 20 12:15:06 localhost slapd[5979]:
Apr 20 12:15:06 localhost slapd[5979]: ==> limits_get: conn=0 op=0 dn="[anonymous]"
Apr 20 12:15:06 localhost slapd[5979]: ==> limits_get: conn=1 op=0 dn="[anonymous]"
Apr 20 12:15:06 localhost slapd[5979]: => bdb_search
Apr 20 12:15:06 localhost slapd[5979]: => bdb_search
Apr 20 12:15:06 localhost slapd[5979]: bdb_dn2entry("orgCode=3251,ou=lb,o=org,c=nl")
Apr 20 12:15:06 localhost slapd[5979]: bdb_dn2entry("orgCode=3251,ou=lb,o=org,c=nl")
Apr 20 12:15:06 localhost slapd[5979]: => bdb_dn2id( "o=org,c=nl" )
Apr 20 12:15:06 localhost slapd[5979]: => bdb_dn2id( "o=org,c=nl" )
Apr 20 12:15:06 localhost slapd[5979]: <= bdb_dn2id: got id=0x00000001
Apr 20 12:15:06 localhost slapd[5979]: <= bdb_dn2id: got id=0x00000001
Apr 20 12:15:06 localhost slapd[5979]: => bdb_dn2id( "ou=lb,o=org,c=nl" )
Apr 20 12:15:06 localhost slapd[5979]: => bdb_dn2id( "ou=lb,o=org,c=nl" )
Apr 20 12:15:06 localhost slapd[5979]: <= bdb_dn2id: got id=0x00000002
Apr 20 12:15:06 localhost slapd[5979]: <= bdb_dn2id: got id=0x00000002
Apr 20 12:15:06 localhost slapd[5979]: => bdb_dn2id( "orgCode=3251,ou=lb,o=org,c=nl" )
Apr 20 12:15:06 localhost slapd[5979]: => bdb_dn2id( "orgCode=3251,ou=lb,o=org,c=nl" )
Apr 20 12:15:06 localhost slapd[5979]: <= bdb_dn2id: got id=0x0000042d
Apr 20 12:15:06 localhost slapd[5979]: <= bdb_dn2id: got id=0x0000042d
Apr 20 12:15:06 localhost slapd[5979]: entry_decode: "orgCode=3251,ou=LB,o=org,c=NL"
Apr 20 12:15:06 localhost slapd[5979]: <= entry_decode(orgCode=3251,ou=LB,o=org,c=NL)
Apr 20 12:15:06 localhost slapd[5979]: search_candidates: base="orgCode=3251,ou=lb,o=org,c=nl" (0x0000042d) scope=1
Apr 20 12:15:06 localhost slapd[5979]: search_candidates: base="orgCode=3251,ou=lb,o=org,c=nl" (0x0000042d) scope=1
Apr 20 12:15:06 localhost slapd[5979]: => bdb_dn2idl( "orgCode=3251,ou=lb,o=org,c=nl" )
Apr 20 12:15:06 localhost slapd[5979]: => bdb_dn2idl( "orgCode=3251,ou=lb,o=org,c=nl" )
Apr 20 12:15:06 localhost slapd[5979]: bdb_idl_fetch_key: %orgCode=3251,ou=lb,o=org,c=nl
Apr 20 12:15:06 localhost slapd[5979]: bdb_idl_fetch_key: %orgCode=3251,ou=lb,o=org,c=nl
Apr 20 12:15:06 localhost slapd[5979]: <= bdb_dn2idl: id=998 first=1070 last=289631
Apr 20 12:15:06 localhost slapd[5979]: <= bdb_dn2idl: id=998 first=1070 last=289631
Apr 20 12:15:06 localhost slapd[5979]: => bdb_equality_candidates (objectClass)
Apr 20 12:15:06 localhost slapd[5979]: => bdb_equality_candidates (objectClass)
Apr 20 12:15:06 localhost slapd[5979]: => key_read
Apr 20 12:15:06 localhost slapd[5979]: => key_read
Apr 20 12:15:06 localhost slapd[5979]: bdb_idl_fetch_key: [b49d1940]
Apr 20 12:15:06 localhost slapd[5979]: bdb_idl_fetch_key: [b49d1940]
Apr 20 12:15:06 localhost slapd[5979]: <= bdb_index_read: failed (-30990)
Apr 20 12:15:06 localhost slapd[5979]: <= bdb_index_read: failed (-30990)
Apr 20 12:15:06 localhost slapd[5979]: <= bdb_equality_candidates: id=0, first=0, last=0
Apr 20 12:15:06 localhost slapd[5979]: <= bdb_equality_candidates: id=0, first=0, last=0
Apr 20 12:15:06 localhost slapd[5979]: => bdb_equality_candidates (activeEntry)
Apr 20 12:15:06 localhost slapd[5979]: => bdb_equality_candidates (activeEntry)
Apr 20 12:15:06 localhost slapd[5979]: <= bdb_equality_candidates: (activeEntry) index_param failed (18)
Apr 20 12:15:06 localhost slapd[5979]: <= bdb_equality_candidates: (activeEntry) index_param failed (18)
Apr 20 12:15:06 localhost slapd[5979]: => bdb_equality_candidates (objectClass)
Apr 20 12:15:06 localhost slapd[5979]: => bdb_equality_candidates (objectClass)
Apr 20 12:15:06 localhost slapd[5979]: => key_read
Apr 20 12:15:06 localhost slapd[5979]: => key_read
Apr 20 12:15:06 localhost slapd[5979]: bdb_idl_fetch_key: [db024410]
Apr 20 12:15:06 localhost slapd[5979]: bdb_idl_fetch_key: [db024410]
Apr 20 12:15:06 localhost slapd[5979]: <= bdb_index_read 15993 candidates
Apr 20 12:15:06 localhost slapd[5979]: <= bdb_index_read 15993 candidates
Apr 20 12:15:06 localhost slapd[5979]: <= bdb_equality_candidates: id=15993, first=8, last=289855
Apr 20 12:15:06 localhost slapd[5979]: <= bdb_equality_candidates: id=15993, first=8, last=289855
Apr 20 12:15:06 localhost slapd[5979]: bdb_search_candidates: id=121 first=10618 last=261466
Apr 20 12:15:06 localhost slapd[5979]: bdb_search_candidates: id=121 first=10618 last=261466
Apr 20 12:15:06 localhost slapd[5979]: entry_decode: "orgID=1000154713,orgCode=3251,ou=LB,o=org,c=NL"
Apr 20 12:15:06 localhost slapd[5979]: entry_decode: "orgID=1000154713,orgCode=3251,ou=LB,o=org,c=NL"
Apr 20 12:15:06 localhost slapd[5979]: <= entry_decode(orgID=1000154713,orgCode=3251,ou=LB,o=org,c=NL)
Apr 20 12:15:06 localhost slapd[5979]: <= entry_decode(orgID=1000154713,orgCode=3251,ou=LB,o=org,c=NL)
Apr 20 12:15:06 localhost slapd[5979]: => bdb_dn2id( "orgID=1000154713,orgCode=3251,ou=lb,o=org,c=nl" )
Apr 20 12:15:06 localhost slapd[5979]: => bdb_dn2id( "orgID=1000154713,orgCode=3251,ou=lb,o=org,c=nl" )
Apr 20 12:15:06 localhost slapd[5979]: <= bdb_dn2id: got id=0x0000297a
Core data:
GNU gdb Red Hat Linux (6.1post-1.20040607.62rh)
Core was generated by `/usr/local/src/openldap-2.2.24/servers/slapd/slapd'.
Program terminated with signal 11, Segmentation fault.
(gdb) bt full
#0 0x0076e19e in build_trtable () from /lib/tls/libc.so.6
No symbol table info available.
#1 0x00775234 in re_search_internal () from /lib/tls/libc.so.6
No symbol table info available.
#2 0x00776912 in regexec@@GLIBC_2.3.4 () from /lib/tls/libc.so.6
No symbol table info available.
#3 0x0806f2e8 in access_allowed (op=0x8c26d80, e=0xb3901e88, desc=0x8c28590, val=0xb3a70268, access=ACL_SEARCH,
state=0x0) at acl.c:489
pat = {bv_len = 4, bv_val = 0x2db ""}
got_match = 4
ret = 0
count = 1
a = (AccessControl *) 0x0
be = (Backend *) 0x7efff4
be_null = 0
accessmaskbuf = '\0' <repeats 16 times>, "H"
mask = 1
control = ACL_BREAK
attr = 0x8c09658 "activeEntry"
matches = {{rm_so = 0, rm_eo = 0} <repeats 100 times>}
st_same_attr = 35
state_init = {as_recorded = 0, as_vd_acl = 0x0, as_vi_acl = 0x0, as_vd_acl_mask = 0, as_vd_acl_matches = {{
rm_so = 0, rm_eo = 0} <repeats 100 times>}, as_vd_acl_count = 0, as_vd_access = 0x0, as_vd_access_count = 0,
as_result = 0, as_vd_ad = 0x0}
__PRETTY_FUNCTION__ = "access_allowed"
#4 0x0806cea1 in test_ava_filter (op=0x8c26d80, e=0xb3901e88, ava=0xb3a70264, type=163) at filterentry.c:396
a = (Attribute *) 0x8c26d80
#5 0x0806d54d in test_filter (op=0x8c26d80, e=0xb3901e88, f=0xb3a70284) at filterentry.c:130
rc = -1280900476
#6 0x0806d30d in test_filter (op=0x8c26d80, e=0xb3901e88, f=0xb3a702e4) at filterentry.c:542
rc = -1280900476
#7 0x0806d30d in test_filter (op=0x8c26d80, e=0xb3901e88, f=0xb3a7033c) at filterentry.c:542
rc = -1280900380
#8 0x0809e1e0 in bdb_do_search (op=0x8c26d80, rs=0xb3f71240, sop=0x8c26d80, ps_e=0x0, ps_type=0) at search.c:1132
tmp = (EntryInfo *) 0x8c16ff0
bdb = (struct bdb_info *) 0x8c176d8
stoptime = 1113993106
id = 10618
cursor = 1
candidates = {121, 10618, 10839, 11317, 11777, 12481, 17029, 22712, 23756, 24787, 24842, 25810, 26681, 38838,
39179, 42482, 44508, 46530, 53632, 54014, 65192, 65393, 66067, 67211, 76395, 76461, 78104, 81285, 88601, 92310, 99487,
101096, 101265, 104616, 108495, 109861, 110871, 112672, 112894, 113889, 113929, 114891, 115899, 118450, 118827, 121600,
130273, 133348, 134359, 134735, 138685, 138933, 139248, 139413, 140430, 141346, 142126, 144797, 152533, 157139, 158522,
160079, 160948, 161532, 162520, 162645, 163525, 164522, 169774, 170514, 170516, 171521, 171825, 171871, 172512, 173819,
174525, 174824, 175524, 175832, 176019, 177852, 178557, 179570, 183607, 185642, 187088, 187688, 187811, 190698, 191322,
191695, 192421, 194705, 197725, 203244, 203669, 203770, 204789, 207884, 210872, 212771, 214199, 214344, 216361, 217810,
218816, 228845, 229860, 230329, 231853, 238017, 243386, 248018, 250060, 251065, 252083, 257584, 259323, 261444, 261465,
261466, 30777, 30811, 30932, 31136, 31506, 31563, 31704, 31805, 31837, 32131, 32532, 32833, 32865, 32972, 33408, 33623,
33855, 34334, 34512, 34697, 34873, 34906, 35009, 35447, 35888, 35918, 36117, 36557, 36579, 36618, 36805, 36888, 37346,
37539, 37642, 37757, 37918, 37949, 37974, 38155, 38295, 38369, 38376, 38601, 38621, 38838, 38921, 39179, 39637, 39937,
39969, 39996, 40234, 40581, 40941, 41200, 41391, 41476, 41866, 41955, 41986, 42423, 42482, 42591, 42729, 42958, 43009,
43600, 43968, 44001, 44449, 44508, 44613, 44679, 44700, 44812, 44978, 45414...}
scopes = {0 <repeats 65536 times>}
e = (Entry *) 0xb3901e88
base = {e_id = 1069, e_name = {bv_len = 0, bv_val = 0x0}, e_nname = {bv_len = 35,
bv_val = 0x8c294d8 "orgCode=3251,ou=lb,o=org,c=nl"}, e_attrs = 0x0, e_ocflags = 0, e_bv = {bv_len = 0,
bv_val = 0x0}, e_private = 0x8c28810}
e_root = {e_id = 0, e_name = {bv_len = 0, bv_val = 0x0}, e_nname = {bv_len = 0, bv_val = 0x0}, e_attrs = 0x0,
e_ocflags = 0, e_bv = {bv_len = 0, bv_val = 0x0}, e_private = 0x0}
matched = (Entry *) 0x0
ei = (EntryInfo *) 0xb39011a8
ei_root = {bei_parent = 0x0, bei_id = 0, bei_lockpad = 0 '\0', bei_state = 0, bei_nrdn = {bv_len = 0,
bv_val = 0x0}, bei_e = 0x0, bei_kids = 0x0, bei_kids_mutex = {__m_reserved = 0, __m_count = 0, __m_owner = 0x0,
__m_kind = 0, __m_lock = {__status = 0, __spinlock = 0}}, bei_lrunext = 0x0, bei_lruprev = 0x0}
realbase = {bv_len = 35, bv_val = 0x8c294d8 "orgCode=3251,ou=lb,o=org,c=nl"}
manageDSAit = 0
tentries = 121
lastid = 4294967295
attrs = (AttributeName *) 0xb3a70544
contextcsnand = {f_choice = 0, f_un = {f_un_result = 0, f_un_dn = 0x0, f_un_desc = 0x0, f_un_ava = 0x0,
f_un_ssa = 0x0, f_un_mra = 0x0, f_un_complex = 0x0}, f_next = 0x0}
contextcsnle = {f_choice = 0, f_un = {f_un_result = 0, f_un_dn = 0x0, f_un_desc = 0x0, f_un_ava = 0x0,
f_un_ssa = 0x0, f_un_mra = 0x0, f_un_complex = 0x0}, f_next = 0x0}
cookief = {f_choice = 0, f_un = {f_un_result = 0, f_un_dn = 0x0, f_un_desc = 0x0, f_un_ava = 0x0, f_un_ssa = 0x0,
f_un_mra = 0x0, f_un_complex = 0x0}, f_next = 0x0}
csnfnot = {f_choice = 0, f_un = {f_un_result = 0, f_un_dn = 0x0, f_un_desc = 0x0, f_un_ava = 0x0, f_un_ssa = 0x0,
f_un_mra = 0x0, f_un_complex = 0x0}, f_next = 0x0}
csnfeq = {f_choice = 0, f_un = {f_un_result = 0, f_un_dn = 0x0, f_un_desc = 0x0, f_un_ava = 0x0, f_un_ssa = 0x0,
f_un_mra = 0x0, f_un_complex = 0x0}, f_next = 0x0}
csnfand = {f_choice = 0, f_un = {f_un_result = 0, f_un_dn = 0x0, f_un_desc = 0x0, f_un_ava = 0x0, f_un_ssa = 0x0,
f_un_mra = 0x0, f_un_complex = 0x0}, f_next = 0x0}
csnfge = {f_choice = 0, f_un = {f_un_result = 0, f_un_dn = 0x0, f_un_desc = 0x0, f_un_ava = 0x0, f_un_ssa = 0x0,
f_un_mra = 0x0, f_un_complex = 0x0}, f_next = 0x0}
aa_ge = {aa_desc = 0x0, aa_value = {bv_len = 0, bv_val = 0x0}}
aa_eq = {aa_desc = 0x0, aa_value = {bv_len = 0, bv_val = 0x0}}
aa_le = {aa_desc = 0x0, aa_value = {bv_len = 0, bv_val = 0x0}}
search_context_csn = (struct berval *) 0x0
ctxcsn_lock = {off = 0, ndx = 0, gen = 0, mode = DB_LOCK_NG}
ctrls = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0}
num_ctrls = 0
uuid_attr = {{an_name = {bv_len = 0, bv_val = 0x0}, an_desc = 0x0, an_oc_exclude = 0, an_oc = 0x0}, {an_name = {
bv_len = 0, bv_val = 0x0}, an_desc = 0x0, an_oc_exclude = 0, an_oc = 0x0}}
rc_sync = 0
entry_sync_state = -1
null_attr = {an_name = {bv_len = 0, bv_val = 0x0}, an_desc = 0x0, an_oc_exclude = 0, an_oc = 0x0}
no_sync_state_change = 0
locker = 305
lock = {off = 290632, ndx = 328, gen = 18095, mode = DB_LOCK_READ}
ps_list = (Operation *) 0x8c29be8
sync_send_present_mode = 1
match = 0
mr = (MatchingRule *) 0x0
text = 0x0
syncUUID_set = 0x0
syncUUID_set_cnt = 0
opinfo = (struct bdb_op_info *) 0xb3eaff80
ltid = (DB_TXN *) 0x0
memctx_null = (void *) 0x0
__PRETTY_FUNCTION__ = "bdb_do_search"
#9 0x0809e62b in bdb_search (op=0x8c16ff0, rs=0xb3f71240) at search.c:384
No locals.
#10 0x0805a01d in do_search (op=0x8c26d80, rs=0xb3f71240) at search.c:412
entry = (Entry *) 0x0
base = {bv_len = 38, bv_val = 0x8c26cd0 "orgCode=3251, ou=LB, o=org, c=NL"}
siz = 1
i = 1
manageDSAit = 0
be_manageDSAit = 146894832
#11 0x080595f0 in connection_operation (ctx=0xb3f712c0, arg_v=0x8c26d80) at connection.c:1079
rc = 33
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 = 0xb3901e88}, sru_extended = {r_rspoid = 0xb3901e88 "z)",
r_rspdata = 0x0}, sru_search = {r_entry = 0xb3901e88, r_attrs = 0x0, r_nentries = 0, r_v2ref = 0x0}}, sr_flags = 0}
tag = 99
oldtag = 99
conn = (Connection *) 0xb4373da0
memctx = (void *) 0x8c27c48
memctx_null = (void *) 0x0
__PRETTY_FUNCTION__ = "connection_operation"
#12 0x080ba217 in ldap_int_thread_pool_wrapper (xpool=0x8bd4390) at tpool.c:467
ctx = (ldap_int_thread_ctx_t *) 0x8c249b8
ltc_key = {{ltk_key = 0x80895b4, ltk_data = 0x8c27c48, ltk_free = 0x8089588 <sl_mem_destroy>}, {
ltk_key = 0x8c22558, ltk_data = 0x131, ltk_free = 0x80a6abc <bdb_locker_id_free>}, {ltk_key = 0x8c22559,
ltk_data = 0x8c28880, ltk_free = 0x80a6328 <bdb_txn_free>}, {ltk_key = 0x809b5f0, ltk_data = 0xb2bfd008,
ltk_free = 0x809b5d8 <search_stack_free>}, {ltk_key = 0x0, ltk_data = 0x0, ltk_free = 0} <repeats 28 times>}
tid = 3019316144
i = 146950584
keyslot = 629
hash = 774976818
#13 0x008383ae in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#14 0x00791aee in clone () from /lib/tls/libc.so.6
No symbol table info available.
(gdb) frame 3
#3 0x0806f2e8 in access_allowed (op=0x8c26d80, e=0xb3901e88, desc=0x8c28590, val=0xb3a70268, access=ACL_SEARCH,
state=0x0) at acl.c:489
489 if (regexec(&a->acl_dn_re, e->e_ndn, nmatch, matches, 0))
(gdb) print a
$1 = (AccessControl *) 0x0
(gdb) print e
$4 = (Entry *) 0xb3901e88
(gdb) print *e
$5 = {e_id = 10618, e_name = {bv_len = 57,
bv_val = 0xb3901afc "orgID=1000154713,orgCode=3251,ou=LB,o=org,c=NL"}, e_nname = {bv_len = 57,
bv_val = 0xb3901b37 "orgID=1000154713,orgCode=3251,ou=lb,o=org,c=nl"}, e_attrs = 0xb3901eb0,
e_ocflags = 256, e_bv = {bv_len = 905,
bv_val = 0xb3901af8 "\202\002´9orgID=1000154713,orgCode=3251,ou=LB,o=org,c=NL"}, e_private = 0xb39011a8}
(gdb) print matches[0]@10
$6 = {{rm_so = 0, rm_eo = 0}, {rm_so = 0, rm_eo = 0}, {rm_so = 0, rm_eo = 0}, {rm_so = 0, rm_eo = 0}, {rm_so = 0,
rm_eo = 0}, {rm_so = 0, rm_eo = 0}, {rm_so = 0, rm_eo = 0}, {rm_so = 0, rm_eo = 0}, {rm_so = 0, rm_eo = 0}, {
rm_so = 0, rm_eo = 0}}
(gdb) print matches
$7 = {{rm_so = 0, rm_eo = 0} <repeats 100 times>}
(gdb) print *matches
$8 = {rm_so = 0, rm_eo = 0}
(gdb) quit