Quanah Gibson-Mount wrote:
Please test RE 24 in preparation for 2.4.10. Thanks!
Unfortunately, I got a crash / double-free in test045 with back-hdb.
(gdb) thr apply all bt
Thread 5 (process 16427): #0 0x00002ad5c572b5d5 in pthread_join () from /lib64/libpthread.so.0 #1 0x0000000000430ba2 in slapd_daemon () at ../../../r24/servers/slapd/daemon.c:2643 #2 0x0000000000420684 in main (argc=8, argv=0x7fffe5fd96c8) at ../../../r24/servers/slapd/main.c:948
Thread 4 (process 16430): #0 0x00002ad5c65ea8b8 in ?? () from /lib64/libc.so.6 #1 0x0000000000432e5a in slapd_daemon_task (ptr=<value optimized out>) at ../../../r24/servers/slapd/daemon.c:2281 #2 0x00002ad5c572a09e in start_thread () from /lib64/libpthread.so.0 #3 0x00002ad5c65ea4cd in clone () from /lib64/libc.so.6 #4 0x0000000000000000 in ?? ()
Thread 3 (process 16432): #0 0x00002ad5c572e746 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x0000000000542e88 in ldap_int_thread_pool_wrapper (xpool=0x8b5720) at ../../../r24/libraries/libldap_r/tpool.c:654 #2 0x00002ad5c572a09e in start_thread () from /lib64/libpthread.so.0 #3 0x00002ad5c65ea4cd in clone () from /lib64/libc.so.6 #4 0x0000000000000000 in ?? ()
Thread 2 (process 16434): #0 0x00002ad5c65f52b8 in __lll_mutex_lock_wait () from /lib64/libc.so.6 #1 0x00002ad5c659a0cf in _L_lock_3936 () from /lib64/libc.so.6 #2 0x00002ad5c6596f2b in free () from /lib64/libc.so.6 #3 0x00000000005684f1 in ber_free_buf (ber=0xed5ca0) at ../../../r24/libraries/liblber/io.c:192 #4 0x0000000000568575 in ber_free (ber=0xed5ca0, freebuf=0) at ../../../r24/libraries/liblber/io.c:212 #5 0x0000000000447b00 in slap_op_free (op=0xbd27c0, ctx=dwarf2_read_address: Corrupted DWARF expression. ) at ../../../r24/servers/slapd/operation.c:83 #6 0x0000000000435965 in connection_operation (ctx=0x42002de0, arg_v=<value optimized out>) at ../../../r24/servers/slapd/connection.c:1131 #7 0x000000000043603d in connection_read_thread (ctx=0x42002de0, argv=<value optimized out>) at ../../../r24/servers/slapd/connection.c:1211 #8 0x0000000000542e3a in ldap_int_thread_pool_wrapper (xpool=0x8b5720) at ../../../r24/libraries/libldap_r/tpool.c:663 #9 0x00002ad5c572a09e in start_thread () from /lib64/libpthread.so.0 #10 0x00002ad5c65ea4cd in clone () from /lib64/libc.so.6 #11 0x0000000000000000 in ?? ()
Thread 1 (process 16433): #0 0x00002ad5c6559535 in raise () from /lib64/libc.so.6 #1 0x00002ad5c655a990 in abort () from /lib64/libc.so.6 #2 0x00002ad5c65906db in __libc_message () from /lib64/libc.so.6 #3 0x00002ad5c65958fe in malloc_printerr () from /lib64/libc.so.6 ---Type <return> to continue, or q <return> to quit--- #4 0x00002ad5c6596f36 in free () from /lib64/libc.so.6 #5 0x0000000000529192 in syncprov_free_syncop (so=0xedcd50) at ../../../../r24/servers/slapd/overlays/syncprov.c:753 #6 0x0000000000529df2 in syncprov_search_response (op=0xcd32c0, rs=0x41801c90) at ../../../../r24/servers/slapd/overlays/syncprov.c:2110 #7 0x0000000000443da5 in slap_response_play (op=0xcd32c0, rs=0x41801c90) at ../../../r24/servers/slapd/result.c:307 #8 0x000000000044686c in send_ldap_response (op=0x402b, rs=0x4031) at ../../../r24/servers/slapd/result.c:381 #9 0x00000000004474c3 in slap_send_ldap_result (op=0xcd32c0, rs=0x41801c90) at ../../../r24/servers/slapd/result.c:642 #10 0x00000000004abeaf in hdb_search (op=0xcd32c0, rs=0x41801c90) at search.c:928 #11 0x0000000000490312 in overlay_op_walk (op=0xcd32c0, rs=0x41801c90, which=op_search, oi=0x92fae0, on=0x0) at ../../../r24/servers/slapd/backover.c:646 #12 0x0000000000490895 in over_op_func (op=0xcd32c0, rs=0x41801c90, which=op_search) at ../../../r24/servers/slapd/backover.c:698 #13 0x0000000000437a56 in fe_op_search (op=0xcd32c0, rs=0x41801c90) at ../../../r24/servers/slapd/search.c:366 #14 0x00000000004381e2 in do_search (op=0xcd32c0, rs=0x41801c90) at ../../../r24/servers/slapd/search.c:217 #15 0x0000000000435aab in connection_operation (ctx=0x41801de0, arg_v=<value optimized out>) at ../../../r24/servers/slapd/connection.c:1084 #16 0x000000000043603d in connection_read_thread (ctx=0x41801de0, argv=<value optimized out>) at ../../../r24/servers/slapd/connection.c:1211 #17 0x0000000000542e3a in ldap_int_thread_pool_wrapper (xpool=0x8b5720) at ../../../r24/libraries/libldap_r/tpool.c:663 #18 0x00002ad5c572a09e in start_thread () from /lib64/libpthread.so.0 #19 0x00002ad5c65ea4cd in clone () from /lib64/libc.so.6 #20 0x0000000000000000 in ?? () (gdb)