[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: ITS#3950



At 05:42 PM 1/5/2006, Kurt D. Zeilenga wrote:
>At 04:00 PM 1/5/2006, Howard Chu wrote:
>>I reworked most of the yield() calls in daemon.c, and those changes are in RE23. However, the BDB library itself makes yield() calls as well, which I ignored. It seems we should apply the patch in ITS#3950 after all. 
>
>We likely need to do so conditionally.
>
>On FreeBSD 4, using select(2) here causes test008 to run forever
>(or, at least very much longer than normal).

replacing the select(2) call with a usleep(2) call with argument
of zero (0) works much better on FreeBSD4.


>(gdb) thread apply all bt
>
>Thread 16 (process 68556, thread 3):
>#0  0x28fb20db in _thread_kern_sched () from /usr/lib/libc_r.so.4
>#1  0x28fad41c in _thread_sig_handler () from /usr/lib/libc_r.so.4
>#2  0xbfbfffac in ?? ()
>#3  0x28fafa01 in select () from /usr/lib/libc_r.so.4
>#4  0x8165a1c in ldap_pvt_thread_yield () at thr_posix.c:217
>#5  0x282e32e9 in __os_yield () from /usr/pkg/lib/libdb-4.4.so.0
>#6  0x2823da89 in __db_tas_mutex_lock () from /usr/pkg/lib/libdb-4.4.so.0
>#7  0x282c7872 in __lock_get_internal () from /usr/pkg/lib/libdb-4.4.so.0
>#8  0x282c6e83 in __lock_get () from /usr/pkg/lib/libdb-4.4.so.0
>#9  0x282a7dc8 in __db_lget () from /usr/pkg/lib/libdb-4.4.so.0
>#10 0x2824c95c in __bam_get_root () from /usr/pkg/lib/libdb-4.4.so.0
>#11 0x2824cc78 in __bam_search () from /usr/pkg/lib/libdb-4.4.so.0
>#12 0x28242c80 in __bam_c_search () from /usr/pkg/lib/libdb-4.4.so.0
>#13 0x282401b5 in __bam_c_get () from /usr/pkg/lib/libdb-4.4.so.0
>#14 0x2829cafc in __db_c_get () from /usr/pkg/lib/libdb-4.4.so.0
>#15 0x282a32e3 in __db_get () from /usr/pkg/lib/libdb-4.4.so.0
>#16 0x282a31b3 in __db_get_pp () from /usr/pkg/lib/libdb-4.4.so.0
>#17 0x80fda1b in bdb_dn2id (op=0x82c0c00, txn=0x0, dn=0xde4e990, ei=0xde4e984)
>    at dn2id.c:271
>#18 0x80f940d in bdb_cache_find_ndn (op=0x82c0c00, txn=0x0, ndn=0x82c0c1c, 
>    res=0xde4e9d8) at cache.c:330
>#19 0x80fd0b2 in bdb_dn2entry (op=0x82c0c00, tid=0x0, dn=0x82c0c1c, 
>    e=0xde4ea24, matched=1, locker=51, lock=0xde4ea2c) at dn2entry.c:48
>#20 0x80ca408 in bdb_referrals (op=0x82c0c00, rs=0xde4ed70) at referral.c:54
>#21 0x807e332 in backend_check_referrals (op=0x82c0c00, rs=0xde4ed70)
>    at backend.c:1193
>#22 0x807935b in fe_op_add (op=0x82c0c00, rs=0xde4ed70) at add.c:266
>#23 0x8079150 in do_add (op=0x82c0c00, rs=0xde4ed70) at add.c:182
>#24 0x8073c78 in connection_operation (ctx=0xde4ee3c, arg_v=0x82c0c00)
>    at connection.c:1307
>#25 0x8073fe7 in connection_read_thread (ctx=0xde4ee3c, argv=0x23)
>    at connection.c:1434
>#26 0x8165155 in ldap_int_thread_pool_wrapper (xpool=0x825d480) at tpool.c:615
>#27 0x28f744d8 in _thread_start () from /usr/lib/libc_r.so.4
>#28 0x0 in ?? ()
>
>Thread 15 (process 68556, thread 15):
>#0  0x28fb20db in _thread_kern_sched () from /usr/lib/libc_r.so.4
>#1  0x28fb28b8 in _thread_kern_sched_state () from /usr/lib/libc_r.so.4
>#2  0x28fb5314 in _flockfile_debug () from /usr/lib/libc_r.so.4
>#3  0x28fb53ba in flockfile () from /usr/lib/libc_r.so.4
>#4  0x28fce88d in fputs () from /usr/lib/libc_r.so.4
>#5  0x8185c48 in lutil_debug (debug=261, level=4, fmt=0x81941b6 "    attrs:")
>    at debug.c:72
>#6  0x8075aab in do_search (op=0xa534c00, rs=0x9523d70) at search.c:171
>#7  0x8073c78 in connection_operation (ctx=0x9523e3c, arg_v=0xa534c00)
>    at connection.c:1307
>#8  0x8073fe7 in connection_read_thread (ctx=0x9523e3c, argv=0xd)
>    at connection.c:1434
>#9  0x8165155 in ldap_int_thread_pool_wrapper (xpool=0x825d480) at tpool.c:615
>#10 0x28f744d8 in _thread_start () from /usr/lib/libc_r.so.4
>#11 0x0 in ?? ()
>
>Thread 14 (process 68556, thread 2):
>#0  0x28fb3858 in __sys_poll () from /usr/lib/libc_r.so.4
>#1  0x28faf7cc in _select () from /usr/lib/libc_r.so.4
>#2  0x28fafa01 in select () from /usr/lib/libc_r.so.4
>#3  0x8165a1c in ldap_pvt_thread_yield () at thr_posix.c:217
>#4  0x282e32e9 in __os_yield () from /usr/pkg/lib/libdb-4.4.so.0
>#5  0x2823da89 in __db_tas_mutex_lock () from /usr/pkg/lib/libdb-4.4.so.0
>#6  0x282c7872 in __lock_get_internal () from /usr/pkg/lib/libdb-4.4.so.0
>#7  0x282c6e83 in __lock_get () from /usr/pkg/lib/libdb-4.4.so.0
>#8  0x282a7dc8 in __db_lget () from /usr/pkg/lib/libdb-4.4.so.0
>#9  0x2824c95c in __bam_get_root () from /usr/pkg/lib/libdb-4.4.so.0
>#10 0x2824cc78 in __bam_search () from /usr/pkg/lib/libdb-4.4.so.0
>#11 0x28242c80 in __bam_c_search () from /usr/pkg/lib/libdb-4.4.so.0
>#12 0x282401b5 in __bam_c_get () from /usr/pkg/lib/libdb-4.4.so.0
>#13 0x2829cafc in __db_c_get () from /usr/pkg/lib/libdb-4.4.so.0
>#14 0x282a32e3 in __db_get () from /usr/pkg/lib/libdb-4.4.so.0
>#15 0x282a31b3 in __db_get_pp () from /usr/pkg/lib/libdb-4.4.so.0
>#16 0x80fda1b in bdb_dn2id (op=0xe55b200, txn=0x0, dn=0xe24e790, ei=0xe24e784)
>    at dn2id.c:271
>#17 0x80f940d in bdb_cache_find_ndn (op=0xe55b200, txn=0x0, ndn=0xe55b21c, 
>    res=0xe24e7d8) at cache.c:330
>#18 0x80fd0b2 in bdb_dn2entry (op=0xe55b200, tid=0x0, dn=0xe55b21c, 
>    e=0xe24e824, matched=1, locker=49, lock=0xe24e82c) at dn2entry.c:48
>#19 0x80ca408 in bdb_referrals (op=0xe55b200, rs=0xe24ed70) at referral.c:54
>#20 0x807e332 in backend_check_referrals (op=0xe55b200, rs=0xe24ed70)
>    at backend.c:1193
>#21 0x8085ee0 in fe_op_modify (op=0xe55b200, rs=0xe24ed70) at modify.c:343
>#22 0x80857c2 in do_modify (op=0xe55b200, rs=0xe24ed70) at modify.c:200
>#23 0x8073c78 in connection_operation (ctx=0xe24ee3c, arg_v=0xe55b200)
>    at connection.c:1307
>#24 0x8073fe7 in connection_read_thread (ctx=0xe24ee3c, argv=0x22)
>    at connection.c:1434
>#25 0x8165155 in ldap_int_thread_pool_wrapper (xpool=0x825d480) at tpool.c:615
>#26 0x28f744d8 in _thread_start () from /usr/lib/libc_r.so.4
>#27 0x0 in ?? ()
>
>Thread 13 (process 68556, thread 5):
>#0  0x28fb20db in _thread_kern_sched () from /usr/lib/libc_r.so.4
>#1  0x28fad41c in _thread_sig_handler () from /usr/lib/libc_r.so.4
>#2  0xbfbfffac in ?? ()
>#3  0x28fafa01 in select () from /usr/lib/libc_r.so.4
>#4  0x8165a1c in ldap_pvt_thread_yield () at thr_posix.c:217
>#5  0x282e32e9 in __os_yield () from /usr/pkg/lib/libdb-4.4.so.0
>#6  0x2823da89 in __db_tas_mutex_lock () from /usr/pkg/lib/libdb-4.4.so.0
>#7  0x282c7872 in __lock_get_internal () from /usr/pkg/lib/libdb-4.4.so.0
>#8  0x282c6e83 in __lock_get () from /usr/pkg/lib/libdb-4.4.so.0
>#9  0x282a7dc8 in __db_lget () from /usr/pkg/lib/libdb-4.4.so.0
>#10 0x2824c95c in __bam_get_root () from /usr/pkg/lib/libdb-4.4.so.0
>#11 0x2824cc78 in __bam_search () from /usr/pkg/lib/libdb-4.4.so.0
>#12 0x28242c80 in __bam_c_search () from /usr/pkg/lib/libdb-4.4.so.0
>#13 0x282401b5 in __bam_c_get () from /usr/pkg/lib/libdb-4.4.so.0
>#14 0x2829cafc in __db_c_get () from /usr/pkg/lib/libdb-4.4.so.0
>#15 0x282a32e3 in __db_get () from /usr/pkg/lib/libdb-4.4.so.0
>#16 0x282a31b3 in __db_get_pp () from /usr/pkg/lib/libdb-4.4.so.0
>#17 0x80fda1b in bdb_dn2id (op=0xe55b600, txn=0x0, dn=0xd64b990, ei=0xd64b984)
>    at dn2id.c:271
>#18 0x80f940d in bdb_cache_find_ndn (op=0xe55b600, txn=0x0, ndn=0xe55b61c, 
>    res=0xd64b9d8) at cache.c:330
>#19 0x80fd0b2 in bdb_dn2entry (op=0xe55b600, tid=0x0, dn=0xe55b61c, 
>    e=0xd64ba24, matched=1, locker=59, lock=0xd64ba2c) at dn2entry.c:48
>#20 0x80ca408 in bdb_referrals (op=0xe55b600, rs=0xd64bd70) at referral.c:54
>#21 0x807e332 in backend_check_referrals (op=0xe55b600, rs=0xd64bd70)
>    at backend.c:1193
>#22 0x807935b in fe_op_add (op=0xe55b600, rs=0xd64bd70) at add.c:266
>#23 0x8079150 in do_add (op=0xe55b600, rs=0xd64bd70) at add.c:182
>#24 0x8073c78 in connection_operation (ctx=0xd64be3c, arg_v=0xe55b600)
>    at connection.c:1307
>#25 0x8073fe7 in connection_read_thread (ctx=0xd64be3c, argv=0x1e)
>    at connection.c:1434
>#26 0x8165155 in ldap_int_thread_pool_wrapper (xpool=0x825d480) at tpool.c:615
>#27 0x28f744d8 in _thread_start () from /usr/lib/libc_r.so.4
>#28 0x0 in ?? ()
>
>Thread 12 (process 68556, thread 7):
>#0  0x28fb20db in _thread_kern_sched () from /usr/lib/libc_r.so.4
>#1  0x28fad41c in _thread_sig_handler () from /usr/lib/libc_r.so.4
>#2  0xbfbfffac in ?? ()
>#3  0x28fafa01 in select () from /usr/lib/libc_r.so.4
>#4  0x8165a1c in ldap_pvt_thread_yield () at thr_posix.c:217
>#5  0x282e32e9 in __os_yield () from /usr/pkg/lib/libdb-4.4.so.0
>#6  0x2823da89 in __db_tas_mutex_lock () from /usr/pkg/lib/libdb-4.4.so.0
>#7  0x282c7872 in __lock_get_internal () from /usr/pkg/lib/libdb-4.4.so.0
>#8  0x282c6e83 in __lock_get () from /usr/pkg/lib/libdb-4.4.so.0
>#9  0x282a7dc8 in __db_lget () from /usr/pkg/lib/libdb-4.4.so.0
>#10 0x2824c95c in __bam_get_root () from /usr/pkg/lib/libdb-4.4.so.0
>#11 0x2824cc78 in __bam_search () from /usr/pkg/lib/libdb-4.4.so.0
>#12 0x28242c80 in __bam_c_search () from /usr/pkg/lib/libdb-4.4.so.0
>#13 0x282401b5 in __bam_c_get () from /usr/pkg/lib/libdb-4.4.so.0
>#14 0x2829cafc in __db_c_get () from /usr/pkg/lib/libdb-4.4.so.0
>#15 0x282a32e3 in __db_get () from /usr/pkg/lib/libdb-4.4.so.0
>#16 0x282a31b3 in __db_get_pp () from /usr/pkg/lib/libdb-4.4.so.0
>#17 0x80fda1b in bdb_dn2id (op=0xe55b000, txn=0x0, dn=0xce49b70, ei=0xce49b64)
>    at dn2id.c:271
>#18 0x80f940d in bdb_cache_find_ndn (op=0xe55b000, txn=0x0, ndn=0xe55b01c, 
>    res=0xce49bb8) at cache.c:330
>#19 0x80fd0b2 in bdb_dn2entry (op=0xe55b000, tid=0x0, dn=0xe55b01c, 
>    e=0xce49c04, matched=1, locker=58, lock=0xce49c0c) at dn2entry.c:48
>#20 0x80ca408 in bdb_referrals (op=0xe55b000, rs=0xce49d70) at referral.c:54
>#21 0x807e332 in backend_check_referrals (op=0xe55b000, rs=0xce49d70)
>    at backend.c:1193
>#22 0x8087d88 in fe_op_modrdn (op=0xe55b000, rs=0xce49d70) at modrdn.c:274
>#23 0x80879d5 in do_modrdn (op=0xe55b000, rs=0xce49d70) at modrdn.c:185
>#24 0x8073c78 in connection_operation (ctx=0xce49e3c, arg_v=0xe55b000)
>    at connection.c:1307
>#25 0x8073fe7 in connection_read_thread (ctx=0xce49e3c, argv=0x21)
>    at connection.c:1434
>#26 0x8165155 in ldap_int_thread_pool_wrapper (xpool=0x825d480) at tpool.c:615
>#27 0x28f744d8 in _thread_start () from /usr/lib/libc_r.so.4
>#28 0x0 in ?? ()
>
>Thread 11 (process 68556, thread 4):
>#0  0x28fb20db in _thread_kern_sched () from /usr/lib/libc_r.so.4
>#1  0x28fb28b8 in _thread_kern_sched_state () from /usr/lib/libc_r.so.4
>#2  0x28fb5314 in _flockfile_debug () from /usr/lib/libc_r.so.4
>#3  0x28fb53ba in flockfile () from /usr/lib/libc_r.so.4
>#4  0x28fe2701 in vfprintf () from /usr/lib/libc_r.so.4
>#5  0x28fe2336 in fprintf () from /usr/lib/libc_r.so.4
>#6  0x8075dcc in do_search (op=0xe55b400, rs=0xda4ed70) at search.c:211
>#7  0x8073c78 in connection_operation (ctx=0xda4ee3c, arg_v=0xe55b400)
>    at connection.c:1307
>#8  0x8073fe7 in connection_read_thread (ctx=0xda4ee3c, argv=0x20)
>    at connection.c:1434
>#9  0x8165155 in ldap_int_thread_pool_wrapper (xpool=0x825d480) at tpool.c:615
>#10 0x28f744d8 in _thread_start () from /usr/lib/libc_r.so.4
>#11 0x0 in ?? ()
>
>Thread 10 (process 68556, thread 8):
>#0  0x28fb20db in _thread_kern_sched () from /usr/lib/libc_r.so.4
>#1  0x28fb28b8 in _thread_kern_sched_state () from /usr/lib/libc_r.so.4
>#2  0x28fb5314 in _flockfile_debug () from /usr/lib/libc_r.so.4
>#3  0x28fb53ba in flockfile () from /usr/lib/libc_r.so.4
>#4  0x28fce88d in fputs () from /usr/lib/libc_r.so.4
>#5  0x8185c48 in lutil_debug (debug=261, level=4, 
>    fmt=0x819415b "    %d %d %d\n") at debug.c:72
>#6  0x807582e in do_search (op=0x82c0a00, rs=0xc145d70) at search.c:123
>#7  0x8073c78 in connection_operation (ctx=0xc145e3c, arg_v=0x82c0a00)
>    at connection.c:1307
>#8  0x8073fe7 in connection_read_thread (ctx=0xc145e3c, argv=0x24)
>    at connection.c:1434
>#9  0x8165155 in ldap_int_thread_pool_wrapper (xpool=0x825d480) at tpool.c:615
>#10 0x28f744d8 in _thread_start () from /usr/lib/libc_r.so.4
>#11 0x0 in ?? ()
>
>Thread 9 (process 68556, thread 11):
>#0  0x28fb20db in _thread_kern_sched () from /usr/lib/libc_r.so.4
>#1  0x28fad41c in _thread_sig_handler () from /usr/lib/libc_r.so.4
>#2  0xbfbfffac in ?? ()
>#3  0x28fafa01 in select () from /usr/lib/libc_r.so.4
>#4  0x8165a1c in ldap_pvt_thread_yield () at thr_posix.c:217
>#5  0x282e32e9 in __os_yield () from /usr/pkg/lib/libdb-4.4.so.0
>#6  0x2823da89 in __db_tas_mutex_lock () from /usr/pkg/lib/libdb-4.4.so.0
>#7  0x282c7872 in __lock_get_internal () from /usr/pkg/lib/libdb-4.4.so.0
>#8  0x282c6e83 in __lock_get () from /usr/pkg/lib/libdb-4.4.so.0
>#9  0x282a7dc8 in __db_lget () from /usr/pkg/lib/libdb-4.4.so.0
>#10 0x2824c95c in __bam_get_root () from /usr/pkg/lib/libdb-4.4.so.0
>#11 0x2824cc78 in __bam_search () from /usr/pkg/lib/libdb-4.4.so.0
>#12 0x28242c80 in __bam_c_search () from /usr/pkg/lib/libdb-4.4.so.0
>#13 0x282401b5 in __bam_c_get () from /usr/pkg/lib/libdb-4.4.so.0
>#14 0x2829cafc in __db_c_get () from /usr/pkg/lib/libdb-4.4.so.0
>#15 0x282a32e3 in __db_get () from /usr/pkg/lib/libdb-4.4.so.0
>#16 0x282a31b3 in __db_get_pp () from /usr/pkg/lib/libdb-4.4.so.0
>#17 0x80fdc54 in bdb_dn2id_children (op=0xa534a00, txn=0xaa3a700, e=0xf069000)
>    at dn2id.c:321
>#18 0x80f9c87 in bdb_cache_children (op=0xa534a00, txn=0xaa3a700, e=0xf069000)
>    at cache.c:906
>#19 0x80c89f1 in bdb_modrdn (op=0xa534a00, rs=0xa532d70) at modrdn.c:208
>#20 0x8087e46 in fe_op_modrdn (op=0xa534a00, rs=0xa532d70) at modrdn.c:317
>#21 0x80879d5 in do_modrdn (op=0xa534a00, rs=0xa532d70) at modrdn.c:185
>#22 0x8073c78 in connection_operation (ctx=0xa532e3c, arg_v=0xa534a00)
>    at connection.c:1307
>#23 0x8073fe7 in connection_read_thread (ctx=0xa532e3c, argv=0x1c)
>    at connection.c:1434
>#24 0x8165155 in ldap_int_thread_pool_wrapper (xpool=0x825d480) at tpool.c:615
>#25 0x28f744d8 in _thread_start () from /usr/lib/libc_r.so.4
>#26 0x0 in ?? ()
>
>Thread 8 (process 68556, thread 10):
>#0  0x28fb20db in _thread_kern_sched () from /usr/lib/libc_r.so.4
>#1  0x28fb28b8 in _thread_kern_sched_state () from /usr/lib/libc_r.so.4
>#2  0x28fb5314 in _flockfile_debug () from /usr/lib/libc_r.so.4
>#3  0x28fb53ba in flockfile () from /usr/lib/libc_r.so.4
>#4  0x28fce88d in fputs () from /usr/lib/libc_r.so.4
>#5  0x8185c48 in lutil_debug (debug=261, level=1, 
>    fmt=0x81ac620 "bdb_modify_internal: 0x%08lx: %s\n") at debug.c:72
>#6  0x80c6b36 in bdb_modify_internal (op=0xa534600, tid=0xf86d300, 
>    modlist=0xe457600, e=0xae3a72c, text=0xae3ad84, textbuf=0xae3a76c "", 
>    textlen=256) at modify.c:46
>#7  0x80c7d77 in bdb_modify (op=0xa534600, rs=0xae3ad70) at modify.c:481
>#8  0x808602c in fe_op_modify (op=0xa534600, rs=0xae3ad70) at modify.c:400
>#9  0x80857c2 in do_modify (op=0xa534600, rs=0xae3ad70) at modify.c:200
>#10 0x8073c78 in connection_operation (ctx=0xae3ae3c, arg_v=0xa534600)
>    at connection.c:1307
>#11 0x8073fe7 in connection_read_thread (ctx=0xae3ae3c, argv=0xf)
>    at connection.c:1434
>#12 0x8165155 in ldap_int_thread_pool_wrapper (xpool=0x825d480) at tpool.c:615
>#13 0x28f744d8 in _thread_start () from /usr/lib/libc_r.so.4
>#14 0x0 in ?? ()
>
>Thread 7 (process 68556, thread 14):
>#0  0x28fb20db in _thread_kern_sched () from /usr/lib/libc_r.so.4
>#1  0x28fb28b8 in _thread_kern_sched_state () from /usr/lib/libc_r.so.4
>#2  0x28fb5314 in _flockfile_debug () from /usr/lib/libc_r.so.4
>#3  0x28fb53ba in flockfile () from /usr/lib/libc_r.so.4
>#4  0x28fce88d in fputs () from /usr/lib/libc_r.so.4
>#5  0x8185c48 in lutil_debug (debug=261, level=4, 
>    fmt=0x81bcdd0 "bdb_idl_delete_key: %lx %s\n") at debug.c:72
>#6  0x8102582 in bdb_idl_delete_key (be=0x8255d00, db=0x9928800, 
>    tid=0xaa3a100, key=0x99248d4, id=10) at idl.c:902
>#7  0x8103cca in bdb_key_change (be=0x8255d00, db=0x9928800, txn=0xaa3a100, 
>    k=0xa63684c, id=10, op=2) at key.c:97
>#8  0x81032e1 in indexer (op=0x82c0600, txn=0xaa3a100, ad=0x8260480, 
>    atname=0x825e9bc, vals=0x9d2b5a0, id=10, opid=2, mask=1814) at index.c:244
>#9  0x8103430 in index_at_values (op=0x82c0600, txn=0xaa3a100, ad=0x8260480, 
>    type=0x825e980, tags=0x8260490, vals=0x9d2b5a0, id=10, opid=2)
>    at index.c:324
>#10 0x81034ee in bdb_index_values (op=0x82c0600, txn=0xaa3a100, 
>    desc=0x8260480, vals=0x9d2b5a0, id=10, opid=2) at index.c:373
>#11 0x80c731a in bdb_modify_internal (op=0x82c0600, tid=0xaa3a100, 
>    modlist=0xaf3b5a0, e=0x9924b0c, text=0x9924d84, 
>    textbuf=0x9924b4c "modify/add: cn: value #0 already exists", textlen=256)
>    at modify.c:233
>#12 0x80c9908 in bdb_modrdn (op=0x82c0600, rs=0x9924d70) at modrdn.c:602
>#13 0x8087e46 in fe_op_modrdn (op=0x82c0600, rs=0x9924d70) at modrdn.c:317
>#14 0x80879d5 in do_modrdn (op=0x82c0600, rs=0x9924d70) at modrdn.c:185
>#15 0x8073c78 in connection_operation (ctx=0x9924e3c, arg_v=0x82c0600)
>    at connection.c:1307
>#16 0x8073fe7 in connection_read_thread (ctx=0x9924e3c, argv=0xe)
>    at connection.c:1434
>#17 0x8165155 in ldap_int_thread_pool_wrapper (xpool=0x825d480) at tpool.c:615
>#18 0x28f744d8 in _thread_start () from /usr/lib/libc_r.so.4
>#19 0x0 in ?? ()
>
>Thread 6 (process 68556, thread 12):
>#0  0x28fb20db in _thread_kern_sched () from /usr/lib/libc_r.so.4
>#1  0x28fad41c in _thread_sig_handler () from /usr/lib/libc_r.so.4
>#2  0xbfbfffac in ?? ()
>#3  0x28fafa01 in select () from /usr/lib/libc_r.so.4
>#4  0x8165a1c in ldap_pvt_thread_yield () at thr_posix.c:217
>#5  0x282e32e9 in __os_yield () from /usr/pkg/lib/libdb-4.4.so.0
>#6  0x2823da89 in __db_tas_mutex_lock () from /usr/pkg/lib/libdb-4.4.so.0
>#7  0x282c7872 in __lock_get_internal () from /usr/pkg/lib/libdb-4.4.so.0
>#8  0x282c6e83 in __lock_get () from /usr/pkg/lib/libdb-4.4.so.0
>#9  0x282a7dc8 in __db_lget () from /usr/pkg/lib/libdb-4.4.so.0
>#10 0x2824c95c in __bam_get_root () from /usr/pkg/lib/libdb-4.4.so.0
>#11 0x2824cc78 in __bam_search () from /usr/pkg/lib/libdb-4.4.so.0
>#12 0x28242c80 in __bam_c_search () from /usr/pkg/lib/libdb-4.4.so.0
>#13 0x282401b5 in __bam_c_get () from /usr/pkg/lib/libdb-4.4.so.0
>#14 0x2829cafc in __db_c_get () from /usr/pkg/lib/libdb-4.4.so.0
>#15 0x282a32e3 in __db_get () from /usr/pkg/lib/libdb-4.4.so.0
>#16 0x282a31b3 in __db_get_pp () from /usr/pkg/lib/libdb-4.4.so.0
>#17 0x80fda1b in bdb_dn2id (op=0xa534e00, txn=0x0, dn=0xa06d920, ei=0xa06d914)
>    at dn2id.c:271
>#18 0x80f940d in bdb_cache_find_ndn (op=0xa534e00, txn=0x0, ndn=0xa534e1c, 
>    res=0xa06d968) at cache.c:330
>#19 0x80fd0b2 in bdb_dn2entry (op=0xa534e00, tid=0x0, dn=0xa534e1c, 
>    e=0xa06da0c, matched=1, locker=34, lock=0xa06da14) at dn2entry.c:48
>#20 0x80cb09e in bdb_search (op=0xa534e00, rs=0xa12dd70) at search.c:373
>#21 0x8076163 in fe_op_search (op=0xa534e00, rs=0xa12dd70) at search.c:355
>#22 0x8075e19 in do_search (op=0xa534e00, rs=0xa12dd70) at search.c:217
>#23 0x8073c78 in connection_operation (ctx=0xa12de3c, arg_v=0xa534e00)
>    at connection.c:1307
>#24 0x8073fe7 in connection_read_thread (ctx=0xa12de3c, argv=0x25)
>    at connection.c:1434
>#25 0x8165155 in ldap_int_thread_pool_wrapper (xpool=0x825d480) at tpool.c:615
>#26 0x28f744d8 in _thread_start () from /usr/lib/libc_r.so.4
>#27 0x0 in ?? ()
>
>Thread 5 (process 68556, thread 13):
>#0  0x28fb20db in _thread_kern_sched () from /usr/lib/libc_r.so.4
>#1  0x28fad41c in _thread_sig_handler () from /usr/lib/libc_r.so.4
>#2  0xbfbfffac in ?? ()
>#3  0x28fafa01 in select () from /usr/lib/libc_r.so.4
>#4  0x8165a1c in ldap_pvt_thread_yield () at thr_posix.c:217
>#5  0x282e32e9 in __os_yield () from /usr/pkg/lib/libdb-4.4.so.0
>#6  0x2823da89 in __db_tas_mutex_lock () from /usr/pkg/lib/libdb-4.4.so.0
>#7  0x282c7872 in __lock_get_internal () from /usr/pkg/lib/libdb-4.4.so.0
>#8  0x282c6e83 in __lock_get () from /usr/pkg/lib/libdb-4.4.so.0
>#9  0x282a7dc8 in __db_lget () from /usr/pkg/lib/libdb-4.4.so.0
>#10 0x2824c95c in __bam_get_root () from /usr/pkg/lib/libdb-4.4.so.0
>#11 0x2824cc78 in __bam_search () from /usr/pkg/lib/libdb-4.4.so.0
>#12 0x28242c80 in __bam_c_search () from /usr/pkg/lib/libdb-4.4.so.0
>#13 0x282401b5 in __bam_c_get () from /usr/pkg/lib/libdb-4.4.so.0
>#14 0x2829cafc in __db_c_get () from /usr/pkg/lib/libdb-4.4.so.0
>#15 0x282a32e3 in __db_get () from /usr/pkg/lib/libdb-4.4.so.0
>#16 0x282a31b3 in __db_get_pp () from /usr/pkg/lib/libdb-4.4.so.0
>#17 0x80fda1b in bdb_dn2id (op=0xa534000, txn=0xf068a00, dn=0x9d2a860, 
>    ei=0x9d2a854) at dn2id.c:271
>#18 0x80f940d in bdb_cache_find_ndn (op=0xa534000, txn=0xf068a00, 
>    ndn=0x9d2db8c, res=0x9d2a8a8) at cache.c:330
>#19 0x80fd0b2 in bdb_dn2entry (op=0xa534000, tid=0xf068a00, dn=0x9d2db8c, 
>    e=0x9d2a91c, matched=1, locker=2147483689, lock=0x9d2a944) at dn2entry.c:48
>#20 0x80f7666 in bdb_add (op=0xa534000, rs=0x9d2ad70) at add.c:138
>#21 0x8079546 in fe_op_add (op=0xa534000, rs=0x9d2ad70) at add.c:340
>#22 0x8079150 in do_add (op=0xa534000, rs=0x9d2ad70) at add.c:182
>#23 0x8073c78 in connection_operation (ctx=0x9d2ae3c, arg_v=0xa534000)
>    at connection.c:1307
>#24 0x8073fe7 in connection_read_thread (ctx=0x9d2ae3c, argv=0x10)
>    at connection.c:1434
>#25 0x8165155 in ldap_int_thread_pool_wrapper (xpool=0x825d480) at tpool.c:615
>#26 0x28f744d8 in _thread_start () from /usr/lib/libc_r.so.4
>#27 0x0 in ?? ()
>
>Thread 4 (process 68556, thread 9):
>#0  0x28fb20db in _thread_kern_sched () from /usr/lib/libc_r.so.4
>#1  0x28fb28b8 in _thread_kern_sched_state () from /usr/lib/libc_r.so.4
>#2  0x28fb5314 in _flockfile_debug () from /usr/lib/libc_r.so.4
>#3  0x28fb53ba in flockfile () from /usr/lib/libc_r.so.4
>#4  0x28fce88d in fputs () from /usr/lib/libc_r.so.4
>#5  0x8185c48 in lutil_debug (debug=261, level=1, 
>    fmt=0x819dc70 "oc_check_allowed type \"%s\"\n") at debug.c:72
>#6  0x809d480 in oc_check_allowed (at=0x8259e00, ocl=0xa130820, sc=0x829eb80)
>    at schema_check.c:527
>#7  0x809d315 in entry_schema_check (op=0xa534200, e=0xbb4372c, 
>    oldattrs=0xe863720, manage=0, text=0xbb43d84, textbuf=0xbb4376c "", 
>    textlen=256) at schema_check.c:460
>#8  0x80c722d in bdb_modify_internal (op=0xa534200, tid=0xe75d300, 
>    modlist=0xe4575c0, e=0xbb4372c, text=0xbb43d84, textbuf=0xbb4376c "", 
>    textlen=256) at modify.c:208
>#9  0x80c7d77 in bdb_modify (op=0xa534200, rs=0xbb43d70) at modify.c:481
>#10 0x808602c in fe_op_modify (op=0xa534200, rs=0xbb43d70) at modify.c:400
>#11 0x80857c2 in do_modify (op=0xa534200, rs=0xbb43d70) at modify.c:200
>#12 0x8073c78 in connection_operation (ctx=0xbb43e3c, arg_v=0xa534200)
>    at connection.c:1307
>#13 0x8073fe7 in connection_read_thread (ctx=0xbb43e3c, argv=0x1d)
>    at connection.c:1434
>#14 0x8165155 in ldap_int_thread_pool_wrapper (xpool=0x825d480) at tpool.c:615
>#15 0x28f744d8 in _thread_start () from /usr/lib/libc_r.so.4
>#16 0x0 in ?? ()
>
>Thread 3 (process 68556, thread 16):
>#0  0x28fb20db in _thread_kern_sched () from /usr/lib/libc_r.so.4
>#1  0x28fad41c in _thread_sig_handler () from /usr/lib/libc_r.so.4
>#2  0xbfbfffac in ?? ()
>#3  0x28fafa01 in select () from /usr/lib/libc_r.so.4
>#4  0x8165a1c in ldap_pvt_thread_yield () at thr_posix.c:217
>#5  0x282e32e9 in __os_yield () from /usr/pkg/lib/libdb-4.4.so.0
>#6  0x2823da89 in __db_tas_mutex_lock () from /usr/pkg/lib/libdb-4.4.so.0
>#7  0x282c7872 in __lock_get_internal () from /usr/pkg/lib/libdb-4.4.so.0
>#8  0x282c6e83 in __lock_get () from /usr/pkg/lib/libdb-4.4.so.0
>#9  0x282a7dc8 in __db_lget () from /usr/pkg/lib/libdb-4.4.so.0
>#10 0x2824c95c in __bam_get_root () from /usr/pkg/lib/libdb-4.4.so.0
>#11 0x2824cc78 in __bam_search () from /usr/pkg/lib/libdb-4.4.so.0
>#12 0x28242c80 in __bam_c_search () from /usr/pkg/lib/libdb-4.4.so.0
>#13 0x282401b5 in __bam_c_get () from /usr/pkg/lib/libdb-4.4.so.0
>#14 0x2829cafc in __db_c_get () from /usr/pkg/lib/libdb-4.4.so.0
>#15 0x282a32e3 in __db_get () from /usr/pkg/lib/libdb-4.4.so.0
>#16 0x282a31b3 in __db_get_pp () from /usr/pkg/lib/libdb-4.4.so.0
>#17 0x80fda1b in bdb_dn2id (op=0xa534800, txn=0xf068900, dn=0x8c1d860, 
>    ei=0x8c1d854) at dn2id.c:271
>#18 0x80f940d in bdb_cache_find_ndn (op=0xa534800, txn=0xf068900, 
>    ndn=0xc146a4c, res=0x8c1d8a8) at cache.c:330
>#19 0x80fd0b2 in bdb_dn2entry (op=0xa534800, tid=0xf068900, dn=0xc146a4c, 
>    e=0x8c1d91c, matched=1, locker=2147483688, lock=0x8c1d944) at dn2entry.c:48
>#20 0x80f7666 in bdb_add (op=0xa534800, rs=0x8c1dd70) at add.c:138
>#21 0x8079546 in fe_op_add (op=0xa534800, rs=0x8c1dd70) at add.c:340
>#22 0x8079150 in do_add (op=0xa534800, rs=0x8c1dd70) at add.c:182
>#23 0x8073c78 in connection_operation (ctx=0x8c1de3c, arg_v=0xa534800)
>    at connection.c:1307
>#24 0x8073fe7 in connection_read_thread (ctx=0x8c1de3c, argv=0x19)
>    at connection.c:1434
>#25 0x8165155 in ldap_int_thread_pool_wrapper (xpool=0x825d480) at tpool.c:615
>#26 0x28f744d8 in _thread_start () from /usr/lib/libc_r.so.4
>#27 0x0 in ?? ()
>
>Thread 2 (process 68556, thread 6):
>#0  0x28fb20db in _thread_kern_sched () from /usr/lib/libc_r.so.4
>#1  0x28fad41c in _thread_sig_handler () from /usr/lib/libc_r.so.4
>#2  0xbfbfffac in ?? ()
>#3  0x2823da89 in __db_tas_mutex_lock () from /usr/pkg/lib/libdb-4.4.so.0
>#4  0x282c7872 in __lock_get_internal () from /usr/pkg/lib/libdb-4.4.so.0
>#5  0x282c6e83 in __lock_get () from /usr/pkg/lib/libdb-4.4.so.0
>#6  0x282a7dc8 in __db_lget () from /usr/pkg/lib/libdb-4.4.so.0
>#7  0x2824c95c in __bam_get_root () from /usr/pkg/lib/libdb-4.4.so.0
>#8  0x2824cc78 in __bam_search () from /usr/pkg/lib/libdb-4.4.so.0
>#9  0x28242c80 in __bam_c_search () from /usr/pkg/lib/libdb-4.4.so.0
>#10 0x282401b5 in __bam_c_get () from /usr/pkg/lib/libdb-4.4.so.0
>#11 0x2829cafc in __db_c_get () from /usr/pkg/lib/libdb-4.4.so.0
>#12 0x282a32e3 in __db_get () from /usr/pkg/lib/libdb-4.4.so.0
>#13 0x282a31b3 in __db_get_pp () from /usr/pkg/lib/libdb-4.4.so.0
>#14 0x80fda1b in bdb_dn2id (op=0x82c0e00, txn=0xf86d100, dn=0xd24b9f0, 
>    ei=0xd24b9e4) at dn2id.c:271
>#15 0x80f940d in bdb_cache_find_ndn (op=0x82c0e00, txn=0xf86d100, 
>    ndn=0xd24ba94, res=0xd24ba88) at cache.c:330
>#16 0x80c9551 in bdb_modrdn (op=0x82c0e00, rs=0xd24bd70) at modrdn.c:512
>#17 0x8087e46 in fe_op_modrdn (op=0x82c0e00, rs=0xd24bd70) at modrdn.c:317
>#18 0x80879d5 in do_modrdn (op=0x82c0e00, rs=0xd24bd70) at modrdn.c:185
>#19 0x8073c78 in connection_operation (ctx=0xd24be3c, arg_v=0x82c0e00)
>    at connection.c:1307
>#20 0x8073fe7 in connection_read_thread (ctx=0xd24be3c, argv=0x14)
>    at connection.c:1434
>#21 0x8165155 in ldap_int_thread_pool_wrapper (xpool=0x825d480) at tpool.c:615
>#22 0x28f744d8 in _thread_start () from /usr/lib/libc_r.so.4
>#23 0x0 in ?? ()
>
>Thread 1 (process 68556, thread 1):
>#0  0x28fb20db in _thread_kern_sched () from /usr/lib/libc_r.so.4
>#1  0x28fb28b8 in _thread_kern_sched_state () from /usr/lib/libc_r.so.4
>#2  0x28fb5314 in _flockfile_debug () from /usr/lib/libc_r.so.4
>#3  0x28fb53ba in flockfile () from /usr/lib/libc_r.so.4
>#4  0x28fce88d in fputs () from /usr/lib/libc_r.so.4
>#5  0x8185697 in ber_error_print (
>    data=0x91216ec "<= ldap_dn2bv(cn=bjorn jensen,ou=information technology division,ou=people,dc=example,dc=com)=0 Success\n") at bprint.c:79
>#6  0x8179456 in ldap_log_printf (ld=0x0, loglvl=1, 
>    fmt=0x8203537 "<= ldap_dn2bv(%s)=%d %s\n") at print.c:60
>#7  0x8172c11 in ldap_dn2bv_x (dn=0xa535224, bv=0xa53441c, flags=272, 
>    ctx=0x9d2b900) at getdn.c:3313
>#8  0x8083b39 in dnPrettyNormal (syntax=0x0, val=0x9121c04, pretty=0xa534414, 
>    normal=0xa53441c, ctx=0x9d2b900) at dn.c:934
>#9  0x80856de in do_modify (op=0xa534400, rs=0x9121d70) at modify.c:178
>#10 0x8073c78 in connection_operation (ctx=0x9121e3c, arg_v=0xa534400)
>    at connection.c:1307
>#11 0x8073fe7 in connection_read_thread (ctx=0x9121e3c, argv=0x17)
>    at connection.c:1434
>#12 0x8165155 in ldap_int_thread_pool_wrapper (xpool=0x825d480) at tpool.c:615
>#13 0x28f744d8 in _thread_start () from /usr/lib/libc_r.so.4
>#14 0x0 in ?? ()
>#0  0x28fb3858 in __sys_poll () from /usr/lib/libc_r.so.4