On NetBSD 3.1, test008-concurrency dies trying to allocate
8388608 bytes -

   search_candidates: base="dc=example,dc=com" (0x00000001) scope=2
   ch_malloc of 8388608 bytes failed
assertion "0" failed: file "ch_malloc.c", line 57, function "ch_malloc"

   #0  0xbd9980fb in kill () from /usr/lib/libc.so.12
   #1  0xbda1917f in abort () from /usr/lib/libc.so.12
   #2  0xbd9e309a in __assert13 () from /usr/lib/libc.so.12
   #3  0x08077bce in ch_malloc (size=8388608) at ch_malloc.c:57
   #4  0x080c18e6 in search_stack (op=0x8435000) at search.c:1008
   #5  0x080c1c4d in search_candidates (op=0x8435000, rs=0xb8fffd58,
       e=0xb8f3fa58, locker=70, ids=0xb8f7fa88, scopes=0xb8f3fa88)
       at search.c:1094
#6 0x080c13d3 in bdb_search (op=0x8435000, rs=0xb8fffd58) at search.c:573 #7 0x0806390f in fe_op_search (op=0x8435000, rs=0xb8fffd58) at search.c:368 #8 0x08063195 in do_search (op=0x8435000, rs=0xb8fffd58) at search.c:217 #9 0x080617a8 in connection_operation (ctx=0xb8fffe28, arg_v=0x8435000)
       at connection.c:1084
   #10 0x080619ae in connection_read_thread (ctx=0xb8fffe28, argv=0xa)
    at connection.c:1211
#11 0x0814f21c in ldap_int_thread_pool_wrapper (xpool=0x830a380) at tpool.c:625
   #12 0xbda4917d in pthread_create () from /usr/lib/libpthread.so.0

search.c:1008
ret = ch_malloc( bdb->bi_search_stack_depth * BDB_IDL_UM_SIZE
                        * sizeof( ID ) );


source acquired via cvs ca 10 AM PST - same failure
with rel_eng_2_3 and rel_eng_2_4.

Also, same failure with test039-glue-ldap-concurrency - could
be a pattern here.

        Donn Cave, [EMAIL PROTECTED]


Reply via email to