Re: (ITS#6086) OpenLDAP 2.4.16 segfault
by quanah@zimbra.com
--On Thursday, April 30, 2009 8:33 PM +0000 quanah(a)zimbra.com wrote:
> Full_Name: Quanah Gibson-Mount
> Version: 2.4.16
> OS: Linux 2.6
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (75.111.29.239)
>
>
> OpenLDAP segfaulted. Dunno why:
It would look like it was in thread 1 that the segfault occurred.
--Quanah
--
Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra :: the leader in open source messaging and collaboration
14 years, 4 months
(ITS#6086) OpenLDAP 2.4.16 segfault
by quanah@zimbra.com
Full_Name: Quanah Gibson-Mount
Version: 2.4.16
OS: Linux 2.6
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (75.111.29.239)
OpenLDAP segfaulted. Dunno why:
Core was generated by `/usr/sbin/slapd -f /etc/ldap/slapd.conf'.
Program terminated with signal 11, Segmentation fault.
Thread 10 (process 27166):
#0 0x00007f901ddd3b78 in epoll_wait () from /lib/libc.so.6
No symbol table info available.
#1 0x000000000042f6e0 in slapd_daemon_task (ptr=<value optimized out>) at
/tmp/buildd/openldap-2.4.16/servers/slapd/daemon.c:2291
revents = (struct epoll_event *) 0x7f902006d010
tv = {tv_sec = 68, tv_usec = 0}
rtask = <value optimized out>
ns = <value optimized out>
at = 0
now = 24
tvp = (struct timeval *) 0x41c1d100
cat = {tv_sec = 1241113707, tv_usec = 0}
l = <value optimized out>
last_idle_check = 0
ebadf = 0
#2 0x00007f901e05dfc7 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#3 0x00007f901ddd35ad in clone () from /lib/libc.so.6
No symbol table info available.
#4 0x0000000000000000 in ?? ()
No symbol table info available.
Thread 9 (process 27167):
#0 0x00007f901e061d29 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
No symbol table info available.
#1 0x00007f901fcd614d in ?? () from /usr/lib/libldap_r-2.4.so.2
No symbol table info available.
#2 0x00007f901e05dfc7 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#3 0x00007f901ddd35ad in clone () from /lib/libc.so.6
No symbol table info available.
#4 0x0000000000000000 in ?? ()
No symbol table info available.
Thread 8 (process 27200):
#0 0x00007f901e061d29 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
No symbol table info available.
#1 0x00007f901fcd614d in ?? () from /usr/lib/libldap_r-2.4.so.2
No symbol table info available.
#2 0x00007f901e05dfc7 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#3 0x00007f901ddd35ad in clone () from /lib/libc.so.6
No symbol table info available.
#4 0x0000000000000000 in ?? ()
No symbol table info available.
#0 0x00007f901e05e715 in pthread_join () from /lib/libpthread.so.0
No symbol table info available.
#1 0x000000000042c8dc in slapd_daemon () at
/tmp/buildd/openldap-2.4.16/servers/slapd/daemon.c:2665
listener_tid = 1103223120
rc = 0
#2 0x000000000041a8c7 in main (argc=3, argv=0x7fff2812ae08) at
/tmp/buildd/openldap-2.4.16/servers/slapd/main.c:948
i = <value optimized out>
no_detach = 0
rc = 0
urls = 0x0
username = 0x0
groupname = 0x0
sandbox = 0x0
syslogUser = 160
configfile = 0x1749010 "/etc/ldap/slapd.conf"
configdir = 0x0
serverName = 0x7fff2812ceae "slapd"
scp = <value optimized out>
scp_entry = <value optimized out>
debug_unknowns = (char **) 0x0
syslog_unknowns = (char **) 0x0
slapd_pid_file_unlink = 1
slapd_args_file_unlink = 1
firstopt = <value optimized out>
__PRETTY_FUNCTION__ = "main"
Thread 6 (process 28340):
#0 0x00007f901e061d29 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
No symbol table info available.
#1 0x00007f901fcd614d in ?? () from /usr/lib/libldap_r-2.4.so.2
No symbol table info available.
#2 0x00007f901e05dfc7 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#3 0x00007f901ddd35ad in clone () from /lib/libc.so.6
No symbol table info available.
#4 0x0000000000000000 in ?? ()
No symbol table info available.
Thread 5 (process 28341):
#0 0x000000000047713b in oc_bvfind (ocname=0x19a7c2a0) at
/tmp/buildd/openldap-2.4.16/servers/slapd/oc.c:182
oir = <value optimized out>
#1 0x0000000000477d6f in is_entry_objectclass (e=0x1b96a58, oc=0x1798550,
flags=0) at /tmp/buildd/openldap-2.4.16/servers/slapd/oc.c:102
objectClass = (ObjectClass *) 0x0
attr = (Attribute *) 0x7f8e86a1cc38
bv = (struct berval *) 0x19a7c2a0
__PRETTY_FUNCTION__ = "is_entry_objectclass"
#2 0x00007f901b222f6b in hdb_entry_get (op=0xe80aae0, ndn=0x4460b770,
oc=0x1798550, at=0x17fb630, rw=0, ent=0x4460a4e8) at id2entry.c:384
bdb = (struct bdb_info *) 0x17f6d20
boi = (struct bdb_op_info *) 0x0
txn = (DB_TXN *) 0xe6c07b0
e = (Entry *) 0x1b96a58
ei = (EntryInfo *) 0xce48c20
rc = 0
at_name = <value optimized out>
lock = {off = 447464, ndx = 2921, gen = 120803, mode = DB_LOCK_READ}
#3 0x00000000004962d7 in overlay_entry_get_ov (op=0xe80aae0, dn=0x4460b770,
oc=0x1798550, ad=0x17fb630, rw=0, e=0x4460a4e8, on=0x0)
at /tmp/buildd/openldap-2.4.16/servers/slapd/backover.c:364
oi = (slap_overinfo *) 0x17f9f10
be = (BackendDB *) 0x17f6b90
db = {bd_info = 0x17f6b90, bd_self = 0x17f9f10, be_ctrls =
"ÿÿÿÿ\000\000\000\0000£`D\000\000\000\000\000\000\000\000\r\000\000\000`\a\005\036\220\177\000\000",
be_flags = 27074544, be_restrictops = 25299664, be_requires = 1147184352,
be_ssf_set = {sss_ssf = 0, sss_transport = 0, sss_tls = 24420848, sss_sasl = 0,
sss_update_ssf = 321,
sss_update_transport = 0, sss_update_tls = 500506072, sss_update_sasl =
32656, sss_simple_bind = 24}, be_suffix = 0x4460a3d0, be_nsuffix = 0x4460a310,
be_schemadn = {bv_len = 5,
bv_val = 0x17fcf90 "£"}, be_schemandn = {bv_len = 1, bv_val = 0x6a02
<Address 0x6a02 out of bounds>}, be_rootdn = {bv_len = 0,
bv_val = 0xfefefefefefefeff <Address 0xfefefefefefefeff out of bounds>},
be_rootndn = {bv_len = 18446744069414584320, bv_val = 0x0}, be_rootpw = {bv_len
= 0, bv_val = 0x0},
be_max_deref_depth = 0, be_def_limit = {lms_t_soft = 0, lms_t_hard = 0,
lms_s_soft = 14, lms_s_hard = 505910357, lms_s_unchecked = 32656, lms_s_pr = 16,
lms_s_pr_hide = 0,
lms_s_pr_total = 1147184484}, be_limits = 0x4460a4e4, be_acl = 0x4460a5f0,
be_dfltaccess = 1147184752, be_update_ndn = {bv_len = 1147184352, bv_val = 0x0},
be_update_refs = 0x174a1f0,
be_pending_csn_list = 0x141, be_pcl_mutex = {__data = {__lock = 500777990,
__count = 32656, __owner = 243434336, __nusers = 0, __kind = 505911004, __spins
= 32656, __list = {
__prev = 0x3000000030, __next = 0x0}},
__size = "\006DÙ\035\220\177\000\000`\203\202\016\000\000\000\000Ü\226'\036\220\177\000\0000\000\000\0000\000\000\000\000\000\000\000\000\000\000",
__align = 140256952796166},
be_syncinfo = 0x0, be_pb = 0x0, be_cf_ocs = 0x0, be_private = 0x2, be_next =
{stqe_next = 0x1}}
bi = (BackendInfo *) 0x17f9f10
rc = <value optimized out>
#4 0x0000000000496de7 in over_entry_get_rw (op=0x0, dn=0x1757fe0, oc=0x0,
ad=0xce48c20, rw=25128632, e=0x19c64f0) at
/tmp/buildd/openldap-2.4.16/servers/slapd/backover.c:396
__PRETTY_FUNCTION__ = "over_entry_get_rw"
#5 0x00000000004401e1 in fe_acl_group (op=0xe80aae0, target=0x1b95658,
gr_ndn=0x4460b770, op_ndn=0xe80abe8, group_oc=0x1798550, group_at=0x17fb630)
at /tmp/buildd/openldap-2.4.16/servers/slapd/backend.c:1402
e = <value optimized out>
o_priv = (void *) 0x0
e_priv = <value optimized out>
a = <value optimized out>
rc = 32
g = (GroupAssertion *) 0x0
be = (Backend *) 0x72fda0
oex = <value optimized out>
#6 0x000000000043e59e in backend_group (op=0xe80aae0, target=0x1757fe0,
gr_ndn=0x0, op_ndn=0xce48c20, group_oc=0x17f6eb8, group_at=0x19c64f0)
at /tmp/buildd/openldap-2.4.16/servers/slapd/backend.c:1597
rc = <value optimized out>
oex = {oe = {oe_next = {sle_next = 0x0}, oe_key = 0x43e520}, oe_db =
0x4460b9b0}
#7 0x000000000045557c in slap_access_allowed (op=0xe80aae0, e=0x1b95658,
desc=0x17fcd30, val=0x4460bc08, access=ACL_COMPARE, state=0x4460b6f0,
maskp=0x4460b898)
at /tmp/buildd/openldap-2.4.16/servers/slapd/acl.c:1620
i = 0
ret = <value optimized out>
count = 4
a = (AccessControl *) 0x17fb300
accessmaskbuf = "\030«\200\016\000\000\000\000 ·`D\000\000\000\000 ž"
mask = 1
control = <value optimized out>
access_level = <value optimized out>
attr = 0x17c5870 "suPrivilegeGroup"
matches = {dn_count = 100, dn_data = {{rm_so = 0, rm_eo = 0} <repeats
100 times>}, val_count = 100, val_data = {{rm_so = 0, rm_eo = 0} <repeats 100
times>}}
acl_state = {as_vi_acl = 0x0, as_vd_acl = 0x0, as_vd_ad = 0x0,
as_recorded = ACL_STATE_NOT_RECORDED, as_vd_acl_count = 0, as_result = 0,
as_fe_done = 0}
__PRETTY_FUNCTION__ = "slap_access_allowed"
#8 0x00000000004571cd in fe_access_allowed (op=0xe80aae0, e=0x1,
desc=0x17fcd30, val=0x4460bc08, access=ACL_COMPARE, state=0x0,
maskp=0x4460b898)
at /tmp/buildd/openldap-2.4.16/servers/slapd/acl.c:360
be_orig = (BackendDB *) 0x4460b9b0
rc = -2036216776
#9 0x0000000000453160 in access_allowed_mask (op=0xe80aae0, e=0x1b95658,
desc=0x17fcd30, val=0x4460bc08, access=ACL_COMPARE, state=0x0, maskp=0x0)
at /tmp/buildd/openldap-2.4.16/servers/slapd/acl.c:462
ret = 1
be_null = 0
accessmaskbuf = " ž`D\000\000\000\000(\f\"\033\220\177\000\000\000"
mask = 1
access_level = <value optimized out>
attr = 0x17c5870 "suPrivilegeGroup"
state_init = {as_vi_acl = 0x0, as_vd_acl = 0x0, as_vd_ad = 0x0,
as_recorded = ACL_STATE_NOT_RECORDED, as_vd_acl_count = 0, as_result = 0,
as_fe_done = 0}
__PRETTY_FUNCTION__ = "access_allowed_mask"
#10 0x00007f901b2127a2 in hdb_compare (op=0xe80aae0, rs=0x4460bca0) at
compare.c:138
bdb = (struct bdb_info *) 0x17f6d20
e = (Entry *) 0x1b95658
ei = (EntryInfo *) 0x623ed20
a = <value optimized out>
rtxn = (DB_TXN *) 0xe6c07b0
lock = {off = 820488, ndx = 3187, gen = 2247, mode = DB_LOCK_READ}
#11 0x0000000000496447 in overlay_op_walk (op=0xe80aae0, rs=0x4460bca0,
which=op_compare, oi=0x17f9f10, on=0x0) at
/tmp/buildd/openldap-2.4.16/servers/slapd/backover.c:669
rc = 32768
#12 0x0000000000496ec3 in over_op_func (op=0xe80aae0, rs=0x1, which=op_bind) at
/tmp/buildd/openldap-2.4.16/servers/slapd/backover.c:721
oi = (slap_overinfo *) 0x19c64f0
on = (slap_overinst *) 0x17f6eb8
be = (BackendDB *) 0x17f6b90
db = {bd_info = 0x7f901b4319a0, bd_self = 0x17f6b90, be_ctrls =
"\000\001\001\001\000\001\000\000\001\000\000\001\001\000\001\000\001", '\0'
<repeats 15 times>, "\001",
be_flags = 55560, 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 =
0x17f8240, be_nsuffix = 0x17f8270, be_schemadn = {bv_len = 0, bv_val = 0x0},
be_schemandn = {bv_len = 0,
bv_val = 0x0}, be_rootdn = {bv_len = 29, bv_val = 0x17f8530
"cn=manager,dc=stanford,dc=edu"}, be_rootndn = {bv_len = 29, bv_val = 0x17f8580
"cn=manager,dc=stanford,dc=edu"},
be_rootpw = {bv_len = 0, bv_val = 0x0}, 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 = 0x1895150, be_acl =
0x17f83c0, be_dfltaccess = ACL_READ, be_update_ndn = {bv_len = 0, bv_val = 0x0},
be_update_refs = 0x1895220,
be_pending_csn_list = 0x19cd1d0, be_pcl_mutex = {__data = {__lock = 0, __count
= 0, __owner = 0, __nusers = 0, __kind = 0, __spins = 0, __list = {__prev = 0x0,
__next = 0x0}},
__size = '\0' <repeats 39 times>, __align = 0}, be_syncinfo = 0x17fa380,
be_pb = 0x0, be_cf_ocs = 0x7f901b4312c0, be_private = 0x17f6d20, be_next =
{stqe_next = 0x189abe0}}
cb = {sc_next = 0x0, sc_response = 0x496130 <over_back_response>,
sc_cleanup = 0, sc_private = 0x17f9f10}
rc = -2036216776
__PRETTY_FUNCTION__ = "over_op_func"
#13 0x00000000004476d5 in fe_op_compare (op=0xe80aae0, rs=0x4460bca0) at
/tmp/buildd/openldap-2.4.16/servers/slapd/compare.c:287
entry = (Entry *) 0x0
ava = (AttributeAssertion *) 0x4460bc00
bd = (BackendDB *) 0x72fda0
#14 0x0000000000447f6d in do_compare (op=0xe80aae0, rs=0x4460bca0) at
/tmp/buildd/openldap-2.4.16/servers/slapd/compare.c:132
dn = {bv_len = 69, bv_val = 0x7f8e7a4df117
"suRegID=10bb74e66877487684118e9a08e0f296,cn=people,dc=stanford,dc=edu"}
desc = {bv_len = 16, bv_val = 0x7f8e7a4df160 "suPrivilegeGroup"}
value = {bv_len = 13, bv_val = 0x7f8e7a4df172 "registry:view"}
ava = {aa_desc = 0x17fcd30, aa_value = {bv_len = 13, bv_val = 0xe87aac0
"registry:view"}}
#15 0x0000000000432526 in connection_operation (ctx=0x4460be00, arg_v=<value
optimized out>) at /tmp/buildd/openldap-2.4.16/servers/slapd/connection.c:1097
rc = <value optimized out>
op = (Operation *) 0xe80aae0
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 = 110
opidx = SLAP_OP_COMPARE
conn = (Connection *) 0x7f901a1112d0
memctx = (void *) 0xe80af40
memctx_null = (void *) 0x0
__PRETTY_FUNCTION__ = "connection_operation"
#16 0x000000000043301d in connection_read_thread (ctx=0x4460be00, argv=<value
optimized out>) at /tmp/buildd/openldap-2.4.16/servers/slapd/connection.c:1223
s = 321
#17 0x00007f901fcd60fa in ?? () from /usr/lib/libldap_r-2.4.so.2
No symbol table info available.
#18 0x00007f901e05dfc7 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#19 0x00007f901ddd35ad in clone () from /lib/libc.so.6
No symbol table info available.
#20 0x0000000000000000 in ?? ()
No symbol table info available.
Thread 4 (process 32549):
#0 0x00007f901e064384 in __lll_lock_wait () from /lib/libpthread.so.0
No symbol table info available.
#1 0x00007f901e05fbf0 in _L_lock_102 () from /lib/libpthread.so.0
No symbol table info available.
#2 0x00007f901e05f4fe in pthread_mutex_lock () from /lib/libpthread.so.0
No symbol table info available.
#3 0x00007f901f76f047 in __db_pthread_mutex_lock () from /usr/lib/libdb-4.7.so
No symbol table info available.
#4 0x00007f901f7f03f8 in __lock_get_internal () from /usr/lib/libdb-4.7.so
No symbol table info available.
#5 0x00007f901f7f1028 in __lock_get () from /usr/lib/libdb-4.7.so
No symbol table info available.
#6 0x00007f901f82a274 in __db_lget () from /usr/lib/libdb-4.7.so
No symbol table info available.
#7 0x00007f901f782bbc in __bam_get_root () from /usr/lib/libdb-4.7.so
No symbol table info available.
#8 0x00007f901f782f7e in __bam_search () from /usr/lib/libdb-4.7.so
No symbol table info available.
#9 0x00007f901f7734d6 in ?? () from /usr/lib/libdb-4.7.so
No symbol table info available.
#10 0x00007f901f774caf in ?? () from /usr/lib/libdb-4.7.so
No symbol table info available.
#11 0x00007f901f81bd5d in __dbc_get () from /usr/lib/libdb-4.7.so
No symbol table info available.
#12 0x00007f901f825124 in __dbc_get_pp () from /usr/lib/libdb-4.7.so
No symbol table info available.
#13 0x00007f901b221f48 in hdb_dn2id (op=0x7f8e7812b630, in=0x4120fbe8,
ei=0x4120fbd0, txn=0x7f8e7812bb90, lock=0x4120fc60) at dn2id.c:794
bdb = (struct bdb_info *) 0x17f6d20
db = <value optimized out>
key = {data = 0x4120fb38, size = 8, ulen = 8, dlen = 0, doff = 0,
app_data = 0x0, flags = 260}
data = {data = 0x7f8e78026958, size = 26, ulen = 78, dlen = 78, doff =
0, app_data = 0x0, flags = 288}
cursor = (DBC *) 0x5bbe240
rc = 0
nrlen = <value optimized out>
d = (diskNode *) 0x7f8e78026958
ptr = <value optimized out>
idp = 792633534417207296
parentID = <value optimized out>
#14 0x00007f901b2291b2 in hdb_cache_find_ndn (op=0x7f8e7812b630,
txn=0x7f8e7812bb90, ndn=0x412112d0, res=0x4120fcd0) at cache.c:451
lock = {off = 1016280, ndx = 1230, gen = 1202, mode = DB_LOCK_READ}
bdb = (struct bdb_info *) 0x17f6d20
ei = {bei_parent = 0x4bbbac0, bei_id = 140250239660792, bei_lockpad =
-11008, bei_state = 412, bei_finders = 0, bei_nrdn = {bv_len = 58,
bv_val = 0x182bb70
"cn=gsbwebauthprivileged,cn=applications,dc=stanford,dc=edu"}, bei_rdn = {bv_len
= 140256980430708, bv_val = 0x7f901a0163b8 ""}, bei_modrdns = -1917771464,
bei_ckids = 32654, bei_dkids = 27026672, bei_e = 0x0, bei_kids = 0x11a0163b8,
bei_kids_mutex = {__data = {__lock = 527888109, __count = 32656, __owner =
27055360, __nusers = 0,
__kind = 0, __spins = 0, __list = {__prev = 0x19cd500, __next =
0x4120fd40}},
__size = "íîv\037\220\177\000\000\000Õ\234\001", '\0' <repeats 13 times>,
"Õ\234\001\000\000\000\000@ý A\000\000\000", __align = 140256979906285},
bei_lrunext = 0x140000,
bei_lruprev = 0x7f901f7ef42d}
eip = (EntryInfo *) 0x4bbbac0
ei2 = (EntryInfo *) 0x0
rc = 1092681056
ptr = <value optimized out>
#15 0x00007f901b220b60 in hdb_dn2entry (op=0x7f8e7812b630, tid=0x7f8e7812bb90,
dn=0x412112d0, e=0x4120fd60, matched=0, lock=0x4120fd40) at dn2entry.c:47
ei = (EntryInfo *) 0x0
rc = <value optimized out>
rc2 = <value optimized out>
#16 0x00007f901b222efb in hdb_entry_get (op=0x7f8e7812b630, ndn=0x412112d0,
oc=0x1798550, at=0x17fb630, rw=0, ent=0x41210048) at id2entry.c:354
bdb = (struct bdb_info *) 0x17f6d20
boi = (struct bdb_op_info *) 0x0
txn = (DB_TXN *) 0x7f8e7812bb90
e = <value optimized out>
ei = <value optimized out>
rc = 0
at_name = 0x17927b0 "member"
lock = {off = 0, ndx = 2960, gen = 14636, mode = DB_LOCK_READ}
#17 0x00000000004962d7 in overlay_entry_get_ov (op=0x7f8e7812b630,
dn=0x412112d0, oc=0x1798550, ad=0x17fb630, rw=0, e=0x41210048, on=0x0)
at /tmp/buildd/openldap-2.4.16/servers/slapd/backover.c:364
oi = (slap_overinfo *) 0x17f9f10
be = (BackendDB *) 0x17f6b90
db = {bd_info = 0x100, bd_self = 0x7f8e86923548, be_ctrls =
"£\000\000\000\000\000\000\000à\221u\001\000\000\000\000\b\214\202\001\000\000\000\000\bþD\000\000\000\000\000@",
be_flags = 0, be_restrictops = 25332736, be_requires = 28927960, be_ssf_set =
{sss_ssf = 0, sss_transport = 0, sss_tls = 528413741, sss_sasl = 6,
sss_update_ssf = 2014492208,
sss_update_transport = 32654, sss_update_tls = 0, sss_update_sasl = 0,
sss_simple_bind = 27026672}, be_suffix = 0x5, be_nsuffix = 0x180ea80,
be_schemadn = {bv_len = 5,
bv_val = 0x180ea80 "£"}, be_schemandn = {bv_len = 1092686416, bv_val = 0x0},
be_rootdn = {bv_len = 4523443, bv_val = 0x6d5e8 <Address 0x6d5e8 out of
bounds>}, be_rootndn = {
bv_len = 27026672, bv_val = 0x1b967d8 "Ÿô\003"}, be_rootpw = {bv_len =
140249875507256, bv_val = 0x7f8e78026818 "0¶\177\001"}, be_max_deref_depth =
528414243, be_def_limit = {
lms_t_soft = 32656, lms_t_hard = 2013423616, lms_s_soft = 32654, lms_s_hard
= 2013423664, lms_s_unchecked = 32654, lms_s_pr = 2014492208, lms_s_pr_hide =
32654,
lms_s_pr_total = 2013423640}, be_limits = 0x1b96a58, be_acl =
0x7f901b22355d, be_dfltaccess = ACL_NONE, be_update_ndn = {bv_len = 0, bv_val =
0x7f8e7812b630 " ·\022x\216\177"},
be_update_refs = 0x4120ff40, be_pending_csn_list = 0x31, be_pcl_mutex =
{__data = {__lock = 4816547, __count = 0, __owner = 25127824, __nusers = 0,
__kind = 5, __spins = 0, __list = {
__prev = 0x180ea80, __next = 0x5}},
__size = "£~I\000\000\000\000\000\220k\177\001\000\000\000\000\005\000\000\000\000\000\000\000\200ê\200\001\000\000\000\000\005\000\000\000\000\000\000",
__align = 4816547},
be_syncinfo = 0x1825500, be_pb = 0x41211250, be_cf_ocs = 0x0, be_private =
0x4508a3, be_next = {stqe_next = 0x1c}}
bi = (BackendInfo *) 0x17f9f10
rc = <value optimized out>
#18 0x0000000000496de7 in over_entry_get_rw (op=0x7f901a016ab8, dn=0x0,
oc=0x7f901e067990, ad=0xffffffffffffffff, rw=1, e=0x0) at
/tmp/buildd/openldap-2.4.16/servers/slapd/backover.c:396
__PRETTY_FUNCTION__ = "over_entry_get_rw"
#19 0x00000000004401e1 in fe_acl_group (op=0x7f8e7812b630, target=0x1b967d8,
gr_ndn=0x412112d0, op_ndn=0x7f8e7812b738, group_oc=0x1798550,
group_at=0x17fb630)
at /tmp/buildd/openldap-2.4.16/servers/slapd/backend.c:1402
e = <value optimized out>
o_priv = (void *) 0x0
e_priv = <value optimized out>
a = <value optimized out>
rc = 32
g = (GroupAssertion *) 0x0
be = (Backend *) 0x72fda0
oex = <value optimized out>
#20 0x000000000043e59e in backend_group (op=0x7f8e7812b630, target=0x0,
gr_ndn=0x7f901e067990, op_ndn=0xffffffffffffffff, group_oc=0x1, group_at=0x0)
at /tmp/buildd/openldap-2.4.16/servers/slapd/backend.c:1597
rc = <value optimized out>
oex = {oe = {oe_next = {sle_next = 0x0}, oe_key = 0x43e520}, oe_db =
0x41391a10}
#21 0x000000000045557c in slap_access_allowed (op=0x7f8e7812b630, e=0x1b967d8,
desc=0x180b940, val=0x7f8e78026398, access=ACL_SEARCH, state=0x41211250,
maskp=0x412113f8)
at /tmp/buildd/openldap-2.4.16/servers/slapd/acl.c:1620
i = 0
ret = <value optimized out>
count = 66
a = (AccessControl *) 0x182b720
accessmaskbuf =
"\200\001\000\000\000\000\000\000\024\023!A\000\000\000\000R\004"
mask = 1
control = <value optimized out>
access_level = <value optimized out>
attr = 0x17c23f0 "suGeneralID"
matches = {dn_count = 100, dn_data = {{rm_so = -1, rm_eo = -1}, {rm_so =
0, rm_eo = 0} <repeats 99 times>}, val_count = 100, val_data = {{rm_so = -1,
rm_eo = -1}, {rm_so = 0,
rm_eo = 0} <repeats 99 times>}}
acl_state = {as_vi_acl = 0x0, as_vd_acl = 0x0, as_vd_ad = 0x0,
as_recorded = ACL_STATE_NOT_RECORDED, as_vd_acl_count = 0, as_result = 0,
as_fe_done = 0}
__PRETTY_FUNCTION__ = "slap_access_allowed"
#22 0x00000000004571cd in fe_access_allowed (op=0x7f8e7812b630, e=0x1,
desc=0x180b940, val=0x7f8e78026398, access=ACL_SEARCH, state=0x0,
maskp=0x412113f8)
at /tmp/buildd/openldap-2.4.16/servers/slapd/acl.c:360
be_orig = (BackendDB *) 0x41391a10
rc = 0
#23 0x0000000000453160 in access_allowed_mask (op=0x7f8e7812b630, e=0x1b967d8,
desc=0x180b940, val=0x7f8e78026398, access=ACL_SEARCH, state=0x0, maskp=0x0)
at /tmp/buildd/openldap-2.4.16/servers/slapd/acl.c:462
ret = 1
be_null = 0
accessmaskbuf = " m\177\001\000\000\000\000
í#\006\000\000\000\000\210\232"
mask = 1
access_level = <value optimized out>
attr = 0x17c23f0 "suGeneralID"
state_init = {as_vi_acl = 0x0, as_vd_acl = 0x0, as_vd_ad = 0x0,
as_recorded = ACL_STATE_NOT_RECORDED, as_vd_acl_count = 0, as_result = 0,
as_fe_done = 0}
__PRETTY_FUNCTION__ = "access_allowed_mask"
#24 0x000000000044fba3 in test_ava_filter (op=0x7f901a016ab8, e=0x0,
ava=0x7f8e78026390, type=163) at
/tmp/buildd/openldap-2.4.16/servers/slapd/filterentry.c:540
rc = <value optimized out>
a = <value optimized out>
__PRETTY_FUNCTION__ = "test_ava_filter"
#25 0x00000000004505b3 in test_filter (op=0x7f8e7812b630, e=0x1b967d8,
f=0x7f8e780263c8) at /tmp/buildd/openldap-2.4.16/servers/slapd/filterentry.c:88
rc = <value optimized out>
#26 0x00007f901b21ae05 in hdb_search (op=0x7f8e7812b630, rs=0x41392ca0) at
search.c:913
scopeok = 1
bdb = (struct bdb_info *) 0x17f6d20
id = 259262
cursor = 1
lastid = 18446744073709551615
candidates = {1, 259262, 676237, 0 <repeats 31 times>, 8, 24818960,
24809728, 4679713, 24818960, 24809800, 0, 4652771, 0, 1092688232, 24505200,
24809800, 140250037427120, 4508553,
1092688232, 140250240445464, 12, 140256980430708, 140256888318392,
140250239279416, 27026672, 0, 4731267512, 140256979906285, 27055360, 0,
27055360, 1092688232, 1094263984, 2, 0,
140250125388264, 1092688252, 4435256, 1092688232, 7516992, 140249875399584, 0,
12, 1, 11, 24809800, 24505200, 140250037018256, 0, 0, 140253465764152,
1094264352, 1094264424, 5389231280,
1094263984, 25799536, 1094263984, 140256902792273, 1094263984, 1092688392,
140256900679024, 1094264352, 1094263984, 1092688336, 0, 1094263984, 25127824,
25139600, 1094263984,
1094264352, 1094263984, 1094264352, 140249876577168, 25141488, 1094263984,
1094264352, 1094263488, 1094264352, 140249876577168, 4809112, 25141488,
25141488, 1094263984, 1094264352,
1094263488, 1094264352, 1094263984, 4809112, 25141488, 25127824,
1099528470784, 281479288455169, 1, 0, 1, 55560, 0, 0, 0, 0, 0, 0, 0, 25133632,
25133680, 0, 0, 0, 0, 29, 25134384, 29,
25134464, 0, 0, 15461882265615, 2147483648000, 18446744069414584320, 0, 0,
25776464, 25134016, 5, 0, 0, 25776672, 27054544, 0, 0, 0, 0, 0, 25142144, 0,
140256909398720, 25128224,
25799648, 1094263888, 24533728, 1092688984, 1094263888, 1094263888,
1094264464, 4462207, 1092689184, 1094263888, 1094264352, 0, 1094263984,
1094264352, 0, 4473337, 79412144, 25128224,
113557792, 4111, 0, 140250037427312, 256, 140250119814104, 163, 24498720,
140249875510712, 1092689236, 1092689184, 140250239788376, 27055360,
140250239788376, 27055360, 140250239805264,
1782, 140256980430708, 140256888317112, 140250239279416, 27026672, 0,
4731266232, 140256979906285, 27055360, 0, 27055360, 1094263200, 1310720,
140256980431917, 0, 0, 27026672, 1,
1094263984, 1094263320, 1094264352...}
scopes = {0 <repeats 62487 times>, 4096, 140249893363408, 8191,
1094246368, 140256952613832, 2049, 1180161, 1, 33188, 0, 0, 309, 4096, 8,
1241047303, 0, 1240634912, 0, 1240634912,
0, 0, 0, 0, 0, 18446744073709551615, 1094236360, 140256952662510,
140249893363408, 140256952662848, 140249893363408, 140256990101813, 8191,
140256952668942, 0, 140256952672082, 0,
140249875349536, 140249893363408, 0, 1094246368, 1094270408, 1094245224,
140256952418421, 1094236571, 140249876575349, 2, 1094246368, 1094270408,
140256953108699, 1094244776,
1094244752, 1094244784, 1094269264, 1094236567, 0, 1094236560, 1094270528,
140249893363408, 12884901888, 3, 1, 1094270536, 1094270488, 8534995790117797898,
3904112040093971045,
2873252292013620, 8223683361994967552, 2338042715858498405,
8247611994986671971, 7594793480294593633, 2335244403110602092, 11460606652268, 0
<repeats 636 times>, 128, 80, 0, 0, 0,
140249939387376, 25769803776, 0, 80, 140256955673056, 80, 1094242064, 10,
27138, 140256952695416, 1094241872, 1094246432, 80, 140256953186287,
141828410064896, 18396945001654255616,
4105314558, 1094241920, 0, 140256953058473, 32768, 0, 16777216, 1094241968, 0,
140256953186017, 6912, 18446462598732840960, 2363114411, 1094242016, 0,
140256953058473, 2048,
18446462598732840960, 16777343, 0, 12, 140256953186017, 562962838323220,
116558063592408, 4294967296, 65556, 0, 1688935776387072, 18446744073709551615,
11862699674314, 563035852767296,
116558063592408, 12842975242, 141828410114068, 18396945001654255616,
1688939864924414, 18446744073709551615, 11862699674314, 0 <repeats 229 times>,
140256952998329, 0, 0,
140256990101504, 4096, 435662320, 140256952662848, 435662320, 140256990101905,
479, 140256952668942, 0, 140256952620999, 0, 42949672961, 1094244432, 435662320,
1094244432, 4222428296,
1094244432, 1094244400, 480, 140256952658733, 1094244440, 1094269200,
1094244911, 140256943572343, 2050, 8589934592, 1094246456, 1094269192, 512,
1094245072, 1094244912, 1094244432,
1094244432, 1094244408, 1094244404, 512...}
e = (Entry *) 0x1b967d8
base = {e_id = 8, e_name = {bv_len = 1094260564, bv_val = 0x0}, e_nname
= {bv_len = 28, bv_val = 0x1a40ac60 "cn=people,dc=stanford,dc=edu"}, e_attrs =
0x7f8e8db8bad8,
e_ocflags = 27055360, e_bv = {bv_len = 140250239805432, bv_val = 0x552
<Address 0x552 out of bounds>}, e_private = 0x5bdc000}
e_root = (Entry *) 0x1a47468
matched = (Entry *) 0x0
ei = (EntryInfo *) 0x13a09a30
realbase = {bv_len = 28, bv_val = 0x1a40ac60
"cn=people,dc=stanford,dc=edu"}
mask = <value optimized out>
manageDSAit = <value optimized out>
tentries = 1
nentries = 1
idflag = 0
lock = {off = 1450216, ndx = 2657, gen = 2068, mode = DB_LOCK_READ}
opinfo = (struct bdb_op_info *) 0x0
ltid = (DB_TXN *) 0x7f8e7812bb90
oex = <value optimized out>
#27 0x0000000000496447 in overlay_op_walk (op=0x7f8e7812b630, rs=0x41392ca0,
which=op_search, oi=0x17f9f10, on=0x0) at
/tmp/buildd/openldap-2.4.16/servers/slapd/backover.c:669
rc = 32768
#28 0x0000000000496ec3 in over_op_func (op=0x7f8e7812b630, rs=0x1,
which=503740816) at /tmp/buildd/openldap-2.4.16/servers/slapd/backover.c:721
oi = (slap_overinfo *) 0x0
on = (slap_overinst *) 0x1
be = (BackendDB *) 0x17f6b90
db = {bd_info = 0x7f901b4319a0, bd_self = 0x17f6b90, be_ctrls =
"\000\001\001\001\000\001\000\000\001\000\000\001\001\000\001\000\001", '\0'
<repeats 15 times>, "\001",
be_flags = 55560, 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 =
0x17f8240, be_nsuffix = 0x17f8270, be_schemadn = {bv_len = 0, bv_val = 0x0},
be_schemandn = {bv_len = 0,
bv_val = 0x0}, be_rootdn = {bv_len = 29, bv_val = 0x17f8530
"cn=manager,dc=stanford,dc=edu"}, be_rootndn = {bv_len = 29, bv_val = 0x17f8580
"cn=manager,dc=stanford,dc=edu"},
be_rootpw = {bv_len = 0, bv_val = 0x0}, 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 = 0x1895150, be_acl =
0x17f83c0, be_dfltaccess = ACL_READ, be_update_ndn = {bv_len = 0, bv_val = 0x0},
be_update_refs = 0x1895220,
be_pending_csn_list = 0x19cd1d0, be_pcl_mutex = {__data = {__lock = 0, __count
= 0, __owner = 0, __nusers = 0, __kind = 0, __spins = 0, __list = {__prev = 0x0,
__next = 0x0}},
__size = '\0' <repeats 39 times>, __align = 0}, be_syncinfo = 0x17fa380,
be_pb = 0x0, be_cf_ocs = 0x7f901b4312c0, be_private = 0x17f6d20, be_next =
{stqe_next = 0x189abe0}}
cb = {sc_next = 0x0, sc_response = 0x496130 <over_back_response>,
sc_cleanup = 0, sc_private = 0x17f9f10}
rc = 0
__PRETTY_FUNCTION__ = "over_op_func"
#29 0x00000000004346d1 in fe_op_search (op=0x7f8e7812b630, rs=0x41392ca0) at
/tmp/buildd/openldap-2.4.16/servers/slapd/search.c:366
bd = (BackendDB *) 0x72fda0
#30 0x0000000000434ecc in do_search (op=0x7f8e7812b630, rs=0x41392ca0) at
/tmp/buildd/openldap-2.4.16/servers/slapd/search.c:217
base = {bv_len = 30, bv_val = 0x387d3aa "cn=people, dc=stanford,
dc=edu"}
siz = 19
i = 19
#31 0x0000000000432526 in connection_operation (ctx=0x41392e00, arg_v=<value
optimized out>) at /tmp/buildd/openldap-2.4.16/servers/slapd/connection.c:1097
rc = <value optimized out>
op = (Operation *) 0x7f8e7812b630
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 = 0x1b967d8},
sru_extended = {r_rspoid = 0x1b967d8 "Ÿô\003", r_rspdata = 0x0}, sru_search
= {r_entry = 0x1b967d8, r_attr_flags = 0, r_operational_attrs = 0x0, r_attrs =
0x0, r_nentries = 0,
r_v2ref = 0x0}}, sr_flags = 0}
tag = 99
opidx = SLAP_OP_SEARCH
conn = (Connection *) 0x7f901a0f6890
memctx = (void *) 0x7f8e7800c3a0
memctx_null = (void *) 0x0
__PRETTY_FUNCTION__ = "connection_operation"
#32 0x000000000043301d in connection_read_thread (ctx=0x41392e00, argv=<value
optimized out>) at /tmp/buildd/openldap-2.4.16/servers/slapd/connection.c:1223
s = 166
#33 0x00007f901fcd60fa in ?? () from /usr/lib/libldap_r-2.4.so.2
No symbol table info available.
#34 0x00007f901e05dfc7 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#35 0x00007f901ddd35ad in clone () from /lib/libc.so.6
No symbol table info available.
#36 0x0000000000000000 in ?? ()
No symbol table info available.
Thread 3 (process 32550):
#0 0x00007f901dd79d07 in ?? () from /lib/libc.so.6
No symbol table info available.
#1 0x00007f901dd7ba78 in malloc () from /lib/libc.so.6
No symbol table info available.
#2 0x00007f901ce7258b in profile_node_iterator_create () from
/usr/lib/libkrb5.so.3
No symbol table info available.
#3 0x00007f901ce77b68 in profile_get_value () from /usr/lib/libkrb5.so.3
No symbol table info available.
#4 0x00007f901ce781a2 in profile_get_integer () from /usr/lib/libkrb5.so.3
No symbol table info available.
#5 0x00007f901ce557d9 in ?? () from /usr/lib/libkrb5.so.3
No symbol table info available.
#6 0x00007f901d0a9d3e in ?? () from /usr/lib/libgssapi_krb5.so.2
No symbol table info available.
#7 0x00007f901d2c165d in ?? () from /usr/lib/sasl2/libgssapiv2.so.2
No symbol table info available.
#8 0x00007f901f0cae0f in sasl_server_step () from /usr/lib/libsasl2.so.2
No symbol table info available.
#9 0x000000000048096a in slap_sasl_bind (op=0x1a051710, rs=0x44e0cca0) at
/tmp/buildd/openldap-2.4.16/servers/slapd/sasl.c:1506
ctx = (sasl_conn_t *) 0x7f8e80000020
response = {bv_len = 0, bv_val = 0x0}
reslen = 0
sc = <value optimized out>
#10 0x000000000044eb18 in fe_op_bind (op=0x1a051710, rs=0x44e0cca0) at
/tmp/buildd/openldap-2.4.16/servers/slapd/bind.c:280
bd = (BackendDB *) 0x72fda0
#11 0x000000000044f394 in do_bind (op=0x1a051710, rs=0x44e0cca0) at
/tmp/buildd/openldap-2.4.16/servers/slapd/bind.c:205
ber = (BerElement *) 0x7f8e791c3cf0
version = 3
method = 163
mech = {bv_len = 6, bv_val = 0x7f8e816f3f6e "GSSAPI"}
dn = {bv_len = 0, bv_val = 0x7f8e816f3f6a ""}
tag = <value optimized out>
be = <value optimized out>
#12 0x0000000000432526 in connection_operation (ctx=0x44e0ce00, arg_v=<value
optimized out>) at /tmp/buildd/openldap-2.4.16/servers/slapd/connection.c:1097
rc = <value optimized out>
op = (Operation *) 0x1a051710
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 = 96
opidx = SLAP_OP_BIND
conn = (Connection *) 0x7f901a111850
memctx = (void *) 0x13cc96c0
memctx_null = (void *) 0x0
__PRETTY_FUNCTION__ = "connection_operation"
#13 0x000000000043301d in connection_read_thread (ctx=0x44e0ce00, argv=<value
optimized out>) at /tmp/buildd/openldap-2.4.16/servers/slapd/connection.c:1223
s = 323
#14 0x00007f901fcd60fa in ?? () from /usr/lib/libldap_r-2.4.so.2
No symbol table info available.
#15 0x00007f901e05dfc7 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#16 0x00007f901ddd35ad in clone () from /lib/libc.so.6
No symbol table info available.
#17 0x0000000000000000 in ?? ()
No symbol table info available.
Thread 2 (process 32551):
#0 0x0000000000442cae in slap_send_search_entry (op=0x19f1c320, rs=0x4560dca0)
at /tmp/buildd/openldap-2.4.16/servers/slapd/result.c:1000
first = 1
desc = (AttributeDescription *) 0x1837a20
finish = 0
berbuf = {
buffer = "\002\000\001\000\000\000\000\000ÿÿÿÿÿÿÿÿ", '\0' <repeats 16 times>,
" \024©\002\000\000\000\000 \024©\002\000\000\000\000ÄB©\002\000\000\000\000@C©\002",
'\0' <repeats 12 times>,
"`ò¬\031\000\000\000\000\200\021©\002\000\000\000\000XV¹\001\000\000\000\000
Ãñ\031\000\000\000\000\000\000\000\000\006", '\0' <repeats 19 times>,
"ðÈ`E\000\000\000\000\001\000\000\000\000\000\000\000
Ãñ\031\000\000\000\000hÉ`E\000\000\000\000ž\021©\002\000\000\000\000XV¹\001\000\000\000\000
Ãñ\031\000\000\000\000³\005E", '\0' <repeats 21 times>, "XV¹\001", '\0' <repeats
43 times>, ialign = 65538, lalign = 65538, falign = 9.18382988e-41, dalign =
3.2380074297143616e-319, palign = 0x10002 <Address 0x10002 out of bounds>}
ber = (BerElement *) 0x4548c400
a = (Attribute *) 0x7f8e86e64f98
i = 0
rc = 52
bytes = <value optimized out>
userattrs = 1
acl_state = {as_vi_acl = 0x0, as_vd_acl = 0x0, as_vd_ad = 0x1837a20,
as_recorded = ACL_STATE_RECORDED, as_vd_acl_count = 0, as_result = 0, as_fe_done
= 0}
attrsonly = 0
ad_entry = <value optimized out>
e_flags = (char **) 0x0
#1 0x00007f901b21af78 in hdb_search (op=0x19f1c320, rs=0x4560dca0) at
search.c:959
bois = {boi_oe = {oe_next = {sle_next = 0x0}, oe_key = 0x17f6d20},
boi_txn = 0x0, boi_locks = 0x4560c730, boi_err = 0, boi_acl_cache = 0 '\0',
boi_flag = 1 '\001'}
blis = {bli_next = 0x0, bli_lock = {off = 826120, ndx = 3187, gen = 838,
mode = DB_LOCK_READ}, bli_id = 156753, bli_flag = 1}
scopeok = 1
bdb = (struct bdb_info *) 0x17f6d20
id = 156753
cursor = 2
lastid = 18446744073709551615
candidates = {2, 19115, 156753, 27053152, 140256779649080,
140256980973600, 27026672, 0, 140256779649080, 140256979907032, 27053152,
140253486034144, 0, 140253487912376, 27053024,
140256980949607, 140250241488920, 0, 2377195832, 1162397872, 1162397856,
27026672, 11526265962609246208, 140253465764504, 140253465764152,
3377639591347667, 11526789755345829888,
140256979906285, 0, 140253465764152, 140253565269136, 1, 140253487912376,
140256980912464, 8, 24818960, 24809728, 4679713, 24818960, 24809800, 0, 4652771,
6775216, 1162398056, 24505200,
24809800, 140249918633600, 4508553, 1162398056, 22148536, 1, 0, 0, 1162397940,
27069248, 140250239974696, 27055360, 140250239974696, 27055360, 140250240005136,
5, 1162398056,
1163973808, 2, 0, 140250125379064, 1162398076, 4435256, 1162398056, 7516992,
430764640, 0, 12, 1, 11, 24809800, 24505200, 27055360, 0, 0, 0, 1163974176,
1163974248, 5458941104,
1163973808, 25799536, 1163973808, 140256902792273, 1163973808, 1162398216,
140256900679024, 1163974176, 1163973808, 1162398160, 0, 1163973808, 25127824,
25139600, 1163973808,
1163974176, 1163973808, 1163974176, 332145232, 25141488, 1163973808,
1163974176, 1163973312, 1163974176, 332145232, 4809112, 25141488, 25141488,
1163973808, 1163974176, 1163973312,
1163974176, 1163973808, 4809112, 25141488, 25127824, 1099528470784,
281479288455169, 1, 0, 1, 55560, 0, 0, 0, 0, 0, 0, 0, 25133632, 25133680, 0, 0,
0, 0, 29, 25134384, 29, 25134464, 0,
0, 15461882265615, 2147483648000, 18446744069414584320, 0, 0, 25776464,
25134016, 5, 0, 0, 25776672, 27054544, 0, 0, 0, 0, 0, 25142144, 0,
140256909398720, 25128224, 25799648,
1163973712, 24533728, 1162398808, 1163973712, 1163973712, 1163974288, 4462207,
1162399008, 1163973712, 1163974176, 0, 1163973808, 1163974176, 0, 4473337,
79412144, 25128224, 329292336,
4111, 1162398928, 140249918633792, 256, 140250125388224, 163, 24498720,
44639128, 1162399060, 1162399008, 140250240864584, 27055360, 140250240864584,
27055360, 140250240896880...}
scopes = {0 <repeats 62487 times>, 4096, 438287552, 8191, 1163956192,
140256952613832, 2049, 1180161, 1, 33188, 0, 0, 309, 4096, 8, 1241047257, 0,
1240634912, 0, 1240634912, 0, 0,
0, 0, 0, 18446744073709551615, 1163946184, 140256952662510, 438287552,
140256952662848, 438287552, 140256990101813, 8191, 140256952668942, 0,
140256952672082, 0, 140256955673056,
438287552, 0, 1163956192, 1163980232, 1163955048, 140256952418421, 1163946395,
332145573, 2, 1163956192, 1163980232, 140256953108699, 1163954600, 1163954576,
1163954608, 1163979088,
1163946391, 0, 1163946384, 1163980352, 438287552, 12884901888, 3, 1,
1163980360, 1163980312, 8534995790117797898, 3904112040093971045,
2873252292013620, 8223683361994967552,
2338042715858498405, 8247611994986671971, 7594793480294593633,
2335244403110602092, 11460606652268, 0 <repeats 636 times>, 128, 80, 0, 0, 0,
140249918527968, 25769803776, 0, 80,
140249875349536, 80, 1163951888, 10, 27138, 140256952695416, 1163951696,
1163956256, 80, 140256953186287, 141828410064896, 18396945001654255616,
4105314558, 1163951744, 0,
140256953058473, 32768, 0, 16777216, 1163951792, 0, 140256953186017, 6912,
18446462598732840960, 2363114411, 1163951840, 0, 140256953058473, 2048,
18446462598732840960, 16777343, 0, 12,
140256953186017, 562962838323220, 116558063592487, 4294967296, 65556, 0,
1688935776387072, 18446744073709551615, 11862699674314, 563035852767296,
116558063592487, 12842975242,
141828410114068, 18396945001654255616, 1688939864924414, 18446744073709551615,
11862699674314, 0 <repeats 229 times>, 140256952998329, 0, 0, 140256990101504,
4096, 140249893815472,
140256952662848, 140249893815472, 140256990101905, 479, 140256952668942, 0,
140256952620999, 0, 42949672961, 1163954256, 140249893815472, 1163954256,
4222428296, 1163954256, 1163954224,
480, 140256952658733, 1163954264, 1163979024, 1163954735, 140256943572343,
2050, 8589934592, 1163956280, 1163979016, 512, 1163954896, 1163954736,
1163954256, 1163954256, 1163954232,
1163954228, 512...}
e = (Entry *) 0x1b95658
base = {e_id = 8, e_name = {bv_len = 1163970388, bv_val = 0x0}, e_nname
= {bv_len = 28, bv_val = 0x7f8e7a65cb80 "cn=people,dc=stanford,dc=edu"}, e_attrs
= 0x7f8e8db8bad8,
e_ocflags = 27055360, e_bv = {bv_len = 140250239805432, bv_val = 0x552
<Address 0x552 out of bounds>}, e_private = 0x5bdc000}
e_root = (Entry *) 0x1a47468
matched = (Entry *) 0x0
ei = (EntryInfo *) 0x623ed20
realbase = {bv_len = 28, bv_val = 0x7f8e7a65cb80
"cn=people,dc=stanford,dc=edu"}
mask = <value optimized out>
manageDSAit = <value optimized out>
tentries = 2
nentries = 2
idflag = 0
lock = {off = 826120, ndx = 3187, gen = 838, mode = DB_LOCK_READ}
opinfo = (struct bdb_op_info *) 0x0
ltid = (DB_TXN *) 0x13cc2250
oex = <value optimized out>
#2 0x0000000000496447 in overlay_op_walk (op=0x19f1c320, rs=0x4560dca0,
which=op_search, oi=0x17f9f10, on=0x0) at
/tmp/buildd/openldap-2.4.16/servers/slapd/backover.c:669
rc = 32768
#3 0x0000000000496ec3 in over_op_func (op=0x19f1c320, rs=0x0, which=25393696)
at /tmp/buildd/openldap-2.4.16/servers/slapd/backover.c:721
oi = (slap_overinfo *) 0x19c64f0
on = (slap_overinst *) 0x0
be = (BackendDB *) 0x17f6b90
db = {bd_info = 0x7f901b4319a0, bd_self = 0x17f6b90, be_ctrls =
"\000\001\001\001\000\001\000\000\001\000\000\001\001\000\001\000\001", '\0'
<repeats 15 times>, "\001",
be_flags = 55560, 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 =
0x17f8240, be_nsuffix = 0x17f8270, be_schemadn = {bv_len = 0, bv_val = 0x0},
be_schemandn = {bv_len = 0,
bv_val = 0x0}, be_rootdn = {bv_len = 29, bv_val = 0x17f8530
"cn=manager,dc=stanford,dc=edu"}, be_rootndn = {bv_len = 29, bv_val = 0x17f8580
"cn=manager,dc=stanford,dc=edu"},
be_rootpw = {bv_len = 0, bv_val = 0x0}, 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 = 0x1895150, be_acl =
0x17f83c0, be_dfltaccess = ACL_READ, be_update_ndn = {bv_len = 0, bv_val = 0x0},
be_update_refs = 0x1895220,
be_pending_csn_list = 0x19cd1d0, be_pcl_mutex = {__data = {__lock = 0, __count
= 0, __owner = 0, __nusers = 0, __kind = 0, __spins = 0, __list = {__prev = 0x0,
__next = 0x0}},
__size = '\0' <repeats 39 times>, __align = 0}, be_syncinfo = 0x17fa380,
be_pb = 0x0, be_cf_ocs = 0x7f901b4312c0, be_private = 0x17f6d20, be_next =
{stqe_next = 0x189abe0}}
cb = {sc_next = 0x0, sc_response = 0x496130 <over_back_response>,
sc_cleanup = 0, sc_private = 0x17f9f10}
rc = 2
__PRETTY_FUNCTION__ = "over_op_func"
#4 0x00000000004346d1 in fe_op_search (op=0x19f1c320, rs=0x4560dca0) at
/tmp/buildd/openldap-2.4.16/servers/slapd/search.c:366
bd = (BackendDB *) 0x72fda0
#5 0x0000000000434ecc in do_search (op=0x19f1c320, rs=0x4560dca0) at
/tmp/buildd/openldap-2.4.16/servers/slapd/search.c:217
base = {bv_len = 28, bv_val = 0x7f8e7a65e107
"cn=People,dc=Stanford,dc=EDU"}
siz = 0
i = 1163976192
#6 0x0000000000432526 in connection_operation (ctx=0x4560de00, arg_v=<value
optimized out>) at /tmp/buildd/openldap-2.4.16/servers/slapd/connection.c:1097
rc = <value optimized out>
op = (Operation *) 0x19f1c320
rs = {sr_type = REP_SEARCH, 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 = 0x1b95658},
sru_extended = {r_rspoid = 0x1b95658 "", r_rspdata = 0x21}, sru_search =
{r_entry = 0x1b95658, r_attr_flags = 33, r_operational_attrs = 0x0, r_attrs =
0x0, r_nentries = 0,
r_v2ref = 0x0}}, sr_flags = 4}
tag = 99
opidx = SLAP_OP_SEARCH
conn = (Connection *) 0x7f901a111b10
memctx = (void *) 0x19acf260
memctx_null = (void *) 0x0
__PRETTY_FUNCTION__ = "connection_operation"
#7 0x000000000043301d in connection_read_thread (ctx=0x4560de00, argv=<value
optimized out>) at /tmp/buildd/openldap-2.4.16/servers/slapd/connection.c:1223
s = 324
#8 0x00007f901fcd60fa in ?? () from /usr/lib/libldap_r-2.4.so.2
No symbol table info available.
#9 0x00007f901e05dfc7 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#10 0x00007f901ddd35ad in clone () from /lib/libc.so.6
No symbol table info available.
#11 0x0000000000000000 in ?? ()
No symbol table info available.
Thread 1 (process 28339):
#0 0x00007f901dd7f2d6 in strncmp () from /lib/libc.so.6
No symbol table info available.
#1 0x00000000004b1ae0 in avl_insert (root=0x5bdc050, data=0x623ed20,
fcmp=0x7f901b2279d0 <bdb_rdn_cmp>, fdup=0x4b1610 <avl_dup_error>)
at /tmp/buildd/openldap-2.4.16/libraries/liblutil/avl.c:95
t = (Avlnode *) 0x0
p = (Avlnode *) 0xa3dd030
s = (Avlnode *) 0xa3dd030
q = (Avlnode *) 0x0
a = <value optimized out>
cmp = 96321536
ncmp = <value optimized out>
#2 0x00007f901b228907 in hdb_cache_find_parent (op=0xe7c9460, txn=0xe6c0690,
id=<value optimized out>, res=0x43608968) at cache.c:593
bdb = <value optimized out>
ei = {bei_parent = 0x623ed20, bei_id = 156753, bei_lockpad = 27936,
bei_state = 383, bei_finders = 0, bei_nrdn = {bv_len = 40, bv_val = 0xa282b60
""}, bei_rdn = {bv_len = 40,
bv_val = 0xa287060 "P+(\n"}, bei_modrdns = 455245934, bei_ckids = 0,
bei_dkids = 1, bei_e = 0x17f6e90, bei_kids = 0x0, bei_kids_mutex = {__data =
{__lock = 1128825904, __count = 0,
__owner = 113557800, __nusers = 1, __kind = 1, __spins = 1, __list =
{__prev = 0x0, __next = 0x434884a4}},
__size = "0\204HC\000\000\000\000(ÁÄ\006\001\000\000\000\001\000\000\000\001",
'\0' <repeats 11 times>, "€\204HC\000\000\000", __align = 1128825904},
bei_lrunext = 0x2,
bei_lruprev = 0x7f8e8dc74968}
eip = {bei_parent = 0x19cd500, bei_id = 8, bei_lockpad = 0, bei_state =
0, bei_finders = 0, bei_nrdn = {bv_len = 2, bv_val = 0x43488430 ""}, bei_rdn =
{bv_len = 140256980439216,
bv_val = 0x17f6d20 "\200&\235\001"}, bei_modrdns = 216304672, bei_ckids = 0,
bei_dkids = 1, bei_e = 0x7f901b2270b4, bei_kids = 0x17f6d80, bei_kids_mutex =
{__data = {
__lock = 103017760, __count = 1, __owner = 216304680, __nusers = 0, __kind
= 9, __spins = 0, __list = {__prev = 0x17f6d80, __next = 0xc350}},
__size = " í#\006\001\000\000\000(\214ä\f\000\000\000\000\t\000\000\000\000\000\000\000\200m\177\001\000\000\000\000PÃ\000\000\000\000\000",
__align = 4397985056},
bei_lrunext = 0x24a3f, bei_lruprev = 0x7f901b2275b9}
ei2 = (EntryInfo *) 0x5bdc000
ein = (EntryInfo *) 0x0
eir = (EntryInfo *) 0x623ed20
rc = 0
#3 0x00007f901b228db5 in hdb_cache_find_id (op=0xe7c9460, tid=0xe6c0690,
id=156753, eip=0x43608968, flag=0, lock=0x436088f0) at cache.c:905
bdb = (struct bdb_info *) 0x17f6d20
ep = (Entry *) 0x0
rc = <value optimized out>
load = <value optimized out>
ei = {bei_parent = 0x0, bei_id = 156753, bei_lockpad = 0, bei_state = 0,
bei_finders = 0, bei_nrdn = {bv_len = 0, bv_val = 0x0}, bei_rdn = {bv_len = 0,
bv_val = 0x0},
bei_modrdns = 0, bei_ckids = 0, bei_dkids = 0, bei_e = 0x0, bei_kids = 0x0,
bei_kids_mutex = {__data = {__lock = 0, __count = 0, __owner = 0, __nusers = 0,
__kind = 0, __spins = 0,
__list = {__prev = 0x0, __next = 0x0}}, __size = '\0' <repeats 39 times>,
__align = 0}, bei_lrunext = 0x0, bei_lruprev = 0x0}
#4 0x00007f901b21a96c in hdb_search (op=0xe7c9460, rs=0x43609ca0) at
search.c:705
scopeok = 0
bdb = (struct bdb_info *) 0x17f6d20
id = 156753
cursor = 2
lastid = 18446744073709551615
candidates = {2, 19115, 156753, 27053152, 140256781350456,
140256980973600, 27026672, 0, 140256781350456, 140256979907032, 27053152,
140253486406320, 0, 140253487912376, 27053024,
140256980949607, 140250241489520, 0, 2377195832, 1128827056, 1128827040,
27026672, 11526294506961895424, 140253465764504, 140253465764152,
3377639591354313, 11526789755345829888,
140256979906285, 0, 140253465764152, 140253661162072, 1, 140253487912376,
140256980912464, 8, 24818960, 24809728, 4679713, 24818960, 24809800, 0, 4652771,
10277760, 1128827240,
24505200, 24809800, 140250038317296, 4508553, 1128827240, 22148536, 1, 0, 0,
1128827124, 27069248, 140250240355016, 27055360, 140250240355016, 27055360,
140250240381864, 31, 1128827240,
1130402992, 2, 0, 140250116673344, 1128827260, 4435256, 1128827240, 7516992,
243454912, 0, 12, 1, 11, 24809800, 24505200, 27055360, 0, 0, 0, 1130403360,
1130403432, 5425370288,
1130402992, 25799536, 1130402992, 140256902792273, 1130402992, 1128827400,
140256900679024, 1130403360, 1130402992, 1128827344, 0, 1130402992, 25127824,
25139600, 1130402992,
1130403360, 1130402992, 1130403360, 241960592, 25141488, 1130402992,
1130403360, 1130402496, 1130403360, 241960592, 4809112, 25141488, 25141488,
1130402992, 1130403360, 1130402496,
1130403360, 1130402992, 4809112, 25141488, 25127824, 1099528470784,
281479288455169, 1, 0, 1, 55560, 0, 0, 0, 0, 0, 0, 0, 25133632, 25133680, 0, 0,
0, 0, 29, 25134384, 29, 25134464, 0,
0, 15461882265615, 2147483648000, 18446744069414584320, 0, 0, 25776464,
25134016, 5, 0, 0, 25776672, 27054544, 0, 0, 0, 0, 0, 25142144, 0,
140256909398720, 25128224, 25799648,
1130402896, 24533728, 1128827992, 1130402896, 1130402896, 1130403472, 4462207,
1128828192, 1130402896, 1130403360, 0, 1130402992, 1130403360, 0, 4473337,
25128224, 241016192, 216304760,
4111, 1128828112, 140250038317488, 256, 140250125382144, 163, 24498720,
262650856, 1128828244, 1128828192, 140250240036376, 27055360, 140250240036376,
27055360, 140250240065040...}
scopes = {0 <repeats 62487 times>, 4096, 140250009660992, 8191,
1130385376, 140256952613832, 2049, 1180161, 1, 33188, 0, 0, 309, 4096, 8,
1241032939, 0, 1240634912, 0, 1240634912,
0, 0, 0, 0, 0, 18446744073709551615, 1130375368, 140256952662510,
140250009660992, 140256952662848, 140250009660992, 140256990101813, 8191,
140256952668942, 0, 140256952672082, 0,
140250009567264, 140250009660992, 0, 1130385376, 1130409416, 1130384232,
140256952418421, 1130375579, 140250012002149, 2, 1130385376, 1130409416,
140256953108699, 1130383784,
1130383760, 1130383792, 1130408272, 1130375575, 0, 1130375568, 1130409536,
140250009660992, 12884901888, 3, 1, 1130409544, 1130409496, 8534995790117797898,
3904112040093971045,
2873252292013620, 8223683361994967552, 2338042715858498405,
8247611994986671971, 7594793480294593633, 2335244403110602092, 11460606652268, 0
<repeats 636 times>, 128, 80, 0, 0, 0,
140249919308272, 25769803776, 0, 80, 140250009567264, 80, 1130381072, 10,
27138, 140256952695416, 1130380880, 1130385440, 80, 140256953186287,
141828410064896, 18396945001654255616,
4105314558, 1130380928, 0, 140256953058473, 32768, 0, 16777216, 1130380976, 0,
140256953186017, 6912, 18446462598732840960, 2363114411, 1130381024, 0,
140256953058473, 2048,
18446462598732840960, 16777343, 0, 12, 140256953186017, 562962838323220,
116558063590495, 4294967296, 65556, 0, 1688935776387072, 18446744073709551615,
11862699674314, 563035852767296,
116558063590495, 12842975242, 141828410114068, 18396945001654255616,
1688939864924414, 18446744073709551615, 11862699674314, 0 <repeats 229 times>,
140256952998329, 0, 0,
140256990101504, 4096, 140250050203712, 140256952662848, 140250050203712,
140256990101905, 479, 140256952668942, 0, 140256952620999, 0, 42949672961,
1130383440, 140250050203712,
1130383440, 4222428296, 1130383440, 1130383408, 480, 140256952658733,
1130383448, 1130408208, 1130383919, 140256943572343, 2050, 8589934592,
1130385464, 1130408200, 512, 1130384080,
1130383920, 1130383440, 1130383440, 1130383416, 1130383412, 512...}
e = (Entry *) 0x1b6da18
base = {e_id = 8, e_name = {bv_len = 1130399572, bv_val = 0x0}, e_nname
= {bv_len = 28, bv_val = 0x30e86a0 "cn=people,dc=stanford,dc=edu"}, e_attrs =
0x7f8e8db8d2d8,
e_ocflags = 27055360, e_bv = {bv_len = 140250239807952, bv_val = 0x552
<Address 0x552 out of bounds>}, e_private = 0x5bdc000}
e_root = (Entry *) 0x1a47468
matched = (Entry *) 0x0
ei = (EntryInfo *) 0x0
realbase = {bv_len = 28, bv_val = 0x30e86a0
"cn=people,dc=stanford,dc=edu"}
mask = <value optimized out>
manageDSAit = 28760600
tentries = 2
nentries = 2
idflag = 0
lock = {off = 0, ndx = 3517, gen = 628, mode = DB_LOCK_READ}
opinfo = (struct bdb_op_info *) 0x0
ltid = (DB_TXN *) 0xe6c0690
oex = <value optimized out>
#5 0x0000000000496447 in overlay_op_walk (op=0xe7c9460, rs=0x43609ca0,
which=op_search, oi=0x17f9f10, on=0x0) at
/tmp/buildd/openldap-2.4.16/servers/slapd/backover.c:669
rc = 32768
#6 0x0000000000496ec3 in over_op_func (op=0xe7c9460, rs=0x17f6e64, which=40) at
/tmp/buildd/openldap-2.4.16/servers/slapd/backover.c:721
oi = (slap_overinfo *) 0xa
on = (slap_overinst *) 0x0
be = (BackendDB *) 0x17f6b90
db = {bd_info = 0x7f901b4319a0, bd_self = 0x17f6b90, be_ctrls =
"\000\001\001\001\000\001\000\000\001\000\000\001\001\000\001\000\001", '\0'
<repeats 15 times>, "\001",
be_flags = 55560, 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 =
0x17f8240, be_nsuffix = 0x17f8270, be_schemadn = {bv_len = 0, bv_val = 0x0},
be_schemandn = {bv_len = 0,
bv_val = 0x0}, be_rootdn = {bv_len = 29, bv_val = 0x17f8530
"cn=manager,dc=stanford,dc=edu"}, be_rootndn = {bv_len = 29, bv_val = 0x17f8580
"cn=manager,dc=stanford,dc=edu"},
be_rootpw = {bv_len = 0, bv_val = 0x0}, 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 = 0x1895150, be_acl =
0x17f83c0, be_dfltaccess = ACL_READ, be_update_ndn = {bv_len = 0, bv_val = 0x0},
be_update_refs = 0x1895220,
be_pending_csn_list = 0x19cd1d0, be_pcl_mutex = {__data = {__lock = 0, __count
= 0, __owner = 0, __nusers = 0, __kind = 0, __spins = 0, __list = {__prev = 0x0,
__next = 0x0}},
__size = '\0' <repeats 39 times>, __align = 0}, be_syncinfo = 0x17fa380,
be_pb = 0x0, be_cf_ocs = 0x7f901b4312c0, be_private = 0x17f6d20, be_next =
{stqe_next = 0x189abe0}}
cb = {sc_next = 0x0, sc_response = 0x496130 <over_back_response>,
sc_cleanup = 0, sc_private = 0x17f9f10}
rc = 0
__PRETTY_FUNCTION__ = "over_op_func"
#7 0x00000000004346d1 in fe_op_search (op=0xe7c9460, rs=0x43609ca0) at
/tmp/buildd/openldap-2.4.16/servers/slapd/search.c:366
bd = (BackendDB *) 0x72fda0
#8 0x0000000000434ecc in do_search (op=0xe7c9460, rs=0x43609ca0) at
/tmp/buildd/openldap-2.4.16/servers/slapd/search.c:217
base = {bv_len = 28, bv_val = 0x7f8e81b108e7
"cn=People,dc=Stanford,dc=EDU"}
siz = 0
i = 1130405376
#9 0x0000000000432526 in connection_operation (ctx=0x43609e00, arg_v=<value
optimized out>) at /tmp/buildd/openldap-2.4.16/servers/slapd/connection.c:1097
rc = <value optimized out>
op = (Operation *) 0xe7c9460
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 = 99
opidx = SLAP_OP_SEARCH
conn = (Connection *) 0x7f901a111590
memctx = (void *) 0xe82d3c0
memctx_null = (void *) 0x0
__PRETTY_FUNCTION__ = "connection_operation"
#10 0x000000000043301d in connection_read_thread (ctx=0x43609e00, argv=<value
optimized out>) at /tmp/buildd/openldap-2.4.16/servers/slapd/connection.c:1223
s = 322
#11 0x00007f901fcd60fa in ?? () from /usr/lib/libldap_r-2.4.so.2
No symbol table info available.
#12 0x00007f901e05dfc7 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#13 0x00007f901ddd35ad in clone () from /lib/libc.so.6
No symbol table info available.
#14 0x0000000000000000 in ?? ()
No symbol table info available.
14 years, 4 months
(ITS#6085) hdb segfault in adding entry
by quanah@zimbra.com
Full_Name: Quanah Gibson-Mount
Version: 2.4.16
OS: Linux 2.6
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (75.111.29.239)
(gdb) bt
#0 0x00007f66c8646ed5 in raise () from /lib/libc.so.6
#1 0x00007f66c86483f3 in abort () from /lib/libc.so.6
#2 0x00007f66c863fdc9 in __assert_fail () from /lib/libc.so.6
#3 0x00007f66c5b38f1d in bdb_entryinfo_add_internal (bdb=0x214cd20,
ei=0x43d51670, res=0x43d51718) at cache.c:377
#4 0x00007f66c5b3a1d6 in hdb_cache_find_ndn (op=0xc8a4bd0, txn=0xc8d92e0,
ndn=0x21eaa88, res=0x43d51770) at cache.c:464
#5 0x00007f66c5b31b60 in hdb_dn2entry (op=0xc8a4bd0, tid=0xc8d92e0,
dn=0x21eaa88, e=0x43d51800, matched=0, lock=0x43d517e0) at dn2entry.c:47
#6 0x00007f66c5b33efb in hdb_entry_get (op=0xc8a4bd0, ndn=0x21eaa88,
oc=0x20ee550, at=0x2151630, rw=0, ent=0x43d51ae8) at id2entry.c:354
#7 0x00000000004962d7 in overlay_entry_get_ov (op=0xc8a4bd0, dn=0x21eaa88,
oc=0x20ee550, ad=0x2151630, rw=0, e=0x43d51ae8, on=0x0)
at /tmp/buildd/openldap-2.4.16/servers/slapd/backover.c:364
#8 0x0000000000496de7 in over_entry_get_rw (op=0x26cf, dn=0x356b, oc=0x6,
ad=0xffffffffffffffff, rw=605237120, e=0x7f66c89639b0)
at /tmp/buildd/openldap-2.4.16/servers/slapd/backover.c:396
#9 0x00000000004401e1 in fe_acl_group (op=0xc8a4bd0, target=0x0,
gr_ndn=0x21eaa88, op_ndn=0xc8a4cd8, group_oc=0x20ee550, group_at=0x2151630)
at /tmp/buildd/openldap-2.4.16/servers/slapd/backend.c:1402
#10 0x000000000043e59e in backend_group (op=0xc8a4bd0, target=0x356b,
gr_ndn=0x6, op_ndn=0xffffffffffffffff, group_oc=0x7f6524132f80,
group_at=0x7f66c89639b0)
at /tmp/buildd/openldap-2.4.16/servers/slapd/backend.c:1597
#11 0x0000000000485f50 in limits_check (op=0xc8a4bd0, rs=0x43d52ca0) at
/tmp/buildd/openldap-2.4.16/servers/slapd/limits.c:117
#12 0x00000000004346b9 in fe_op_search (op=0xc8a4bd0, rs=0x43d52ca0) at
/tmp/buildd/openldap-2.4.16/servers/slapd/search.c:364
#13 0x0000000000434ecc in do_search (op=0xc8a4bd0, rs=0x43d52ca0) at
/tmp/buildd/openldap-2.4.16/servers/slapd/search.c:217
#14 0x0000000000432526 in connection_operation (ctx=0x43d52e00, arg_v=<value
optimized out>) at /tmp/buildd/openldap-2.4.16/servers/slapd/connection.c:1097
#15 0x000000000043301d in connection_read_thread (ctx=0x43d52e00, argv=<value
optimized out>) at /tmp/buildd/openldap-2.4.16/servers/slapd/connection.c:1223
#16 0x00007f66ca5e70fa in ?? () from /usr/lib/libldap_r-2.4.so.2
#17 0x00007f66c896efc7 in start_thread () from /lib/libpthread.so.0
#18 0x00007f66c86e45ad in clone () from /lib/libc.so.6
#19 0x0000000000000000 in ?? ()
#0 0x00007f66c8646ed5 in raise () from /lib/libc.so.6
No symbol table info available.
#1 0x00007f66c86483f3 in abort () from /lib/libc.so.6
No symbol table info available.
#2 0x00007f66c863fdc9 in __assert_fail () from /lib/libc.so.6
No symbol table info available.
#3 0x00007f66c5b38f1d in bdb_entryinfo_add_internal (bdb=0x214cd20,
ei=0x43d51670, res=0x43d51718) at cache.c:377
rc = <value optimized out>
ei2 = (EntryInfo *) 0x308c630
__PRETTY_FUNCTION__ = "bdb_entryinfo_add_internal"
#4 0x00007f66c5b3a1d6 in hdb_cache_find_ndn (op=0xc8a4bd0, txn=0xc8d92e0,
ndn=0x21eaa88, res=0x43d51770) at cache.c:464
lock = {off = 940136, ndx = 1169, gen = 49285, mode = DB_LOCK_READ}
bdb = (struct bdb_info *) 0x214cd20
ei = {bei_parent = 0x25cb6a0, bei_id = 15, bei_lockpad = 0, bei_state =
0, bei_finders = 0, bei_nrdn = {bv_len = 12,
bv_val = 0x21e5820 "cn=ldapadmin,cn=applications,dc=stanford,dc=edu"},
bei_rdn = {bv_len = 12, bv_val = 0x7f65241331c0 "cn=ldapAdmin"}, bei_modrdns =
0, bei_ckids = 0, bei_dkids = 0,
bei_e = 0x0, bei_kids = 0x0, bei_kids_mutex = {__data = {__lock = 0, __count =
0, __owner = 0, __nusers = 0, __kind = 0, __spins = 0, __list = {__prev = 0x8,
__next = 0x43d51754}},
__size = '\0' <repeats 24 times>,
"\b\000\000\000\000\000\000\000T\027ÕC\000\000\000", __align = 0}, bei_lrunext =
0x0, bei_lruprev = 0x1c}
eip = (EntryInfo *) 0x25cb6a0
ei2 = (EntryInfo *) 0x0
rc = 0
ptr = <value optimized out>
#5 0x00007f66c5b31b60 in hdb_dn2entry (op=0xc8a4bd0, tid=0xc8d92e0,
dn=0x21eaa88, e=0x43d51800, matched=0, lock=0x43d517e0) at dn2entry.c:47
ei = (EntryInfo *) 0x0
rc = <value optimized out>
rc2 = <value optimized out>
#6 0x00007f66c5b33efb in hdb_entry_get (op=0xc8a4bd0, ndn=0x21eaa88,
oc=0x20ee550, at=0x2151630, rw=0, ent=0x43d51ae8) at id2entry.c:354
bdb = (struct bdb_info *) 0x214cd20
boi = (struct bdb_op_info *) 0x0
txn = (DB_TXN *) 0xc8d92e0
e = <value optimized out>
ei = <value optimized out>
rc = 0
at_name = 0x20e87b0 "member"
lock = {off = 2049, ndx = 526104, gen = 0, mode = DB_LOCK_READ}
#7 0x00000000004962d7 in overlay_entry_get_ov (op=0xc8a4bd0, dn=0x21eaa88,
oc=0x20ee550, ad=0x2151630, rw=0, e=0x43d51ae8, on=0x0)
at /tmp/buildd/openldap-2.4.16/servers/slapd/backover.c:364
oi = (slap_overinfo *) 0x214ff10
be = (BackendDB *) 0x214cb90
db = {bd_info = 0x209f2f0, bd_self = 0x0, be_ctrls = "
\000\000$e\177\000\000\001ÿÿÿ\000\000\000\000\v\000\000\000\000\000\000\000@\033ÕC\000\000\000\000È",
be_flags = 140079425702520, be_restrictops = 15, be_requires =
140079426371546, be_ssf_set = {sss_ssf = 4294967041, sss_transport = 0, sss_tls
= 11, sss_sasl = 0,
sss_update_ssf = 1138039616, sss_update_transport = 13361, sss_update_tls =
5038792, sss_update_sasl = 0, sss_simple_bind = 471789968}, be_suffix =
0x7f6524141c7c, be_nsuffix = 0x8,
be_schemadn = {bv_len = 140079426366434, bv_val = 0x1ff4 <Address 0x1ff4 out
of bounds>}, be_schemandn = {bv_len = 140079426373714, bv_val = 0x8 <Address 0x8
out of bounds>},
be_rootdn = {bv_len = 21, bv_val = 0x3000000010 <Address 0x3000000010 out of
bounds>}, be_rootndn = {bv_len = 140072373730416, bv_val = 0x2010 <Address
0x2010 out of bounds>},
be_rootpw = {bv_len = 140072372404256, bv_val = 0x214ff10 "\200kN"},
be_max_deref_depth = 210389968, be_def_limit = {lms_t_soft = 0, lms_t_hard =
34917264, lms_s_soft = 0,
lms_s_hard = 1138044064, lms_s_unchecked = 0, lms_s_pr = 0, lms_s_pr_hide =
0, lms_s_pr_total = 0}, be_limits = 0x8000, be_acl = 0x60, be_dfltaccess =
210389968, be_update_ndn = {
bv_len = 1138044064, bv_val = 0xc <Address 0xc out of bounds>},
be_update_refs = 0x496447, be_pending_csn_list = 0x214ff10, be_pcl_mutex =
{__data = {__lock = 210389968, __count = 0,
__owner = 34917264, __nusers = 0, __kind = 210390024, __spins = 0, __list
= {__prev = 0x72fda0, __next = 0x63}},
__size = "ÐK\212\f\000\000\000\000\220Ë\024\002\000\000\000\000\bL\212\f\000\000\000\000 ýr\000\000\000\000\000c\000\000\000\000\000\000",
__align = 210389968},
be_syncinfo = 0x43d52e00, be_pb = 0x496ec3, be_cf_ocs = 0x7f66c5d429a0,
be_private = 0x214cb90, be_next = {stqe_next = 0x10001010100}}
bi = (BackendInfo *) 0x214ff10
rc = <value optimized out>
#8 0x0000000000496de7 in over_entry_get_rw (op=0x26cf, dn=0x356b, oc=0x6,
ad=0xffffffffffffffff, rw=605237120, e=0x7f66c89639b0)
at /tmp/buildd/openldap-2.4.16/servers/slapd/backover.c:396
__PRETTY_FUNCTION__ = "over_entry_get_rw"
#9 0x00000000004401e1 in fe_acl_group (op=0xc8a4bd0, target=0x0,
gr_ndn=0x21eaa88, op_ndn=0xc8a4cd8, group_oc=0x20ee550, group_at=0x2151630)
at /tmp/buildd/openldap-2.4.16/servers/slapd/backend.c:1402
e = <value optimized out>
o_priv = (void *) 0x0
e_priv = <value optimized out>
a = <value optimized out>
rc = 32
g = (GroupAssertion *) 0x0
be = (Backend *) 0x72fda0
oex = <value optimized out>
#10 0x000000000043e59e in backend_group (op=0xc8a4bd0, target=0x356b,
gr_ndn=0x6, op_ndn=0xffffffffffffffff, group_oc=0x7f6524132f80,
group_at=0x7f66c89639b0)
at /tmp/buildd/openldap-2.4.16/servers/slapd/backend.c:1597
rc = <value optimized out>
oex = {oe = {oe_next = {sle_next = 0x0}, oe_key = 0x43e520}, oe_db =
0x214cb90}
#11 0x0000000000485f50 in limits_check (op=0xc8a4bd0, rs=0x43d52ca0) at
/tmp/buildd/openldap-2.4.16/servers/slapd/limits.c:117
__PRETTY_FUNCTION__ = "limits_check"
#12 0x00000000004346b9 in fe_op_search (op=0xc8a4bd0, rs=0x43d52ca0) at
/tmp/buildd/openldap-2.4.16/servers/slapd/search.c:364
bd = (BackendDB *) 0x72fda0
#13 0x0000000000434ecc in do_search (op=0xc8a4bd0, rs=0x43d52ca0) at
/tmp/buildd/openldap-2.4.16/servers/slapd/search.c:217
base = {bv_len = 28, bv_val = 0x7f652417d5f7
"cn=People,dc=Stanford,dc=EDU"}
siz = 0
i = 1138044416
#14 0x0000000000432526 in connection_operation (ctx=0x43d52e00, arg_v=<value
optimized out>) at /tmp/buildd/openldap-2.4.16/servers/slapd/connection.c:1097
rc = <value optimized out>
op = (Operation *) 0xc8a4bd0
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 = 99
opidx = SLAP_OP_SEARCH
conn = (Connection *) 0x7f66c4a007d0
memctx = (void *) 0xa3a6210
memctx_null = (void *) 0x0
__PRETTY_FUNCTION__ = "connection_operation"
#15 0x000000000043301d in connection_read_thread (ctx=0x43d52e00, argv=<value
optimized out>) at /tmp/buildd/openldap-2.4.16/servers/slapd/connection.c:1223
s = 125
#16 0x00007f66ca5e70fa in ?? () from /usr/lib/libldap_r-2.4.so.2
No symbol table info available.
#17 0x00007f66c896efc7 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#18 0x00007f66c86e45ad in clone () from /lib/libc.so.6
No symbol table info available.
#19 0x0000000000000000 in ?? ()
No symbol table info available.
14 years, 4 months
Re: (ITS#6082) ppolicy password checker module should make possible to return error to the client
by hyc@symas.com
Guillaume.Rousse(a)inria.fr wrote:
> Full_Name: Guillaume Rousse
> Version: 2.4.16
> OS: Linux
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (195.83.212.136)
>
>
> Current implementation of password checker doesn't allow exact errors returned
> by the external module to be returned to the client, for security reason. They
> are only available in server logs. Quoting man page:
>
> If the password is unacceptable, the server will return an error to the client,
> and ppErrStr may be used to return a human-readable textual explanation of the
> error.
>
> As it is already difficult to have strong password policies accepted by users,
> making this behaviour configurable, exactly the same way the ppolicy_use_lockout
> option allows the servers to return more information if wanted to the client,
> would be desirable.
Hmm. Perhaps the default behavior here is overly paranoid; I think it's fair
to explain to a user why their password was rejected in a PasswordModify
request. If they've already provided the correct old password, it doesn't seem
that there's any security exposure here.
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
14 years, 4 months
Re: (ITS#6084) ppolicy should allow scheduled password expiration
by hyc@symas.com
Guillaume.Rousse(a)inria.fr wrote:
> Full_Name: Guillaume Rousse
> Version: 2.4.16
> OS: Linux
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (195.83.212.136)
>
>
> Current ppolicy implementation allows to administratively lock a password, by
> setting pwdAccountLockedTime attribute to '000001010000Z' value. However,
> despite this value actually being a generalized date, setting it to any other
> date in the future doesn't work as expected. Moreover, this is an operational
> attribute, which is primarily supposed to be handled by slapd itself.
>
> As a consequence, a normal pwdExpirationDate attribute, which itself would set
> a
> boolean operational attribute pwdExpired attribute to a true value, would be
> desirable.
Since the ppolicy module's behavior is dictated by the Behera draft, any
suggestions for changes in this area should probably first be raised on the
ietf-ldapext mailing list.
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
14 years, 4 months
Re: (ITS#6083) ppolicy should also support invocation of an external password checker
by hyc@symas.com
Guillaume.Rousse(a)inria.fr wrote:
> Full_Name: Guillaume Rousse
> Version: 2.4.16
> OS: Linux
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (195.83.212.136)
>
>
> Current implementation of ppolicy only accept an internal plugin as password
> checker. However, writing native code is more difficult for many sysadmins than
> using script languages. Moreover, it's also less safe, as any crash will
> endanger the whole slapd process. Allowing to run an external process for
> checking password would be desirable.
If you're talking about writing a checker feature that fork/execs an external
script interpreter, then I'll say up front that this is not a good idea, and
we've already been deprecating anything else that operates this way (like
back-shell). fork()/system()/spawn() whatever don't mix well with pthreads and
will most likely corrupt something.
As for isolation/crash vulnerability - this is a *password checker* - it is
already a sensitive piece of code. If you're deploying a custom module without
adequate testing or code review, you're already in trouble.
You could of course take a similar approach as back-sock - open a socket to
some other daemon that performs your checks for you. You then have to decide
how to behave when the external process isn't answering...
Ultimately, what you do inside your checker module is your own business. I see
no action needed on our part; this ITS will be closed.
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
14 years, 4 months
(ITS#6084) ppolicy should allow scheduled password expiration
by Guillaume.Rousse@inria.fr
Full_Name: Guillaume Rousse
Version: 2.4.16
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (195.83.212.136)
Current ppolicy implementation allows to administratively lock a password, by
setting pwdAccountLockedTime attribute to '000001010000Z' value. However,
despite this value actually being a generalized date, setting it to any other
date in the future doesn't work as expected. Moreover, this is an operational
attribute, which is primarily supposed to be handled by slapd itself.
As a consequence, a normal pwdExpirationDate attribute, which itself would set
a
boolean operational attribute pwdExpired attribute to a true value, would be
desirable.
14 years, 4 months
(ITS#6083) ppolicy should also support invocation of an external password checker
by Guillaume.Rousse@inria.fr
Full_Name: Guillaume Rousse
Version: 2.4.16
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (195.83.212.136)
Current implementation of ppolicy only accept an internal plugin as password
checker. However, writing native code is more difficult for many sysadmins than
using script languages. Moreover, it's also less safe, as any crash will
endanger the whole slapd process. Allowing to run an external process for
checking password would be desirable.
14 years, 4 months
(ITS#6082) ppolicy password checker module should make possible to return error to the client
by Guillaume.Rousse@inria.fr
Full_Name: Guillaume Rousse
Version: 2.4.16
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (195.83.212.136)
Current implementation of password checker doesn't allow exact errors returned
by the external module to be returned to the client, for security reason. They
are only available in server logs. Quoting man page:
If the password is unacceptable, the server will return an error to the client,
and ppErrStr may be used to return a human-readable textual explanation of the
error.
As it is already difficult to have strong password policies accepted by users,
making this behaviour configurable, exactly the same way the ppolicy_use_lockout
option allows the servers to return more information if wanted to the client,
would be desirable.
14 years, 4 months