--On Monday, October 06, 2008 10:22 PM +0000 hyc@OpenLDAP.org wrote:
back-bdb/hdb should set the REP_ENTRY_MUSTRELEASE flag when calling slap_send_search_entry() to prevent this situation.
This fix breaks back-relay?
Core was generated by `/home/quanah/q/openldap-2.4.12/servers/slapd/.libs/lt-slapd -s0 -f /home/quanah'. Program terminated with signal 6, Aborted. #0 0x00000038dc030015 in raise () from /lib64/libc.so.6 (gdb) bt #0 0x00000038dc030015 in raise () from /lib64/libc.so.6 #1 0x00000038dc031980 in abort () from /lib64/libc.so.6 #2 0x00000038dc029726 in __assert_fail () from /lib64/libc.so.6 #3 0x0000000000441be3 in entry_clean (e=0x1924ce18) at entry.c:483 #4 0x0000000000441ccd in entry_free (e=0x1924ce18) at entry.c:514 #5 0x00000000004458a4 in be_entry_release_rw (op=0x19440d80, e=0x1924ce18, rw=0) at backend.c:869 #6 0x00002b0efc860e42 in rwm_send_entry (op=0x19440d80, rs=0x41cf7c80) at rwm.c:1370 #7 0x00002b0efc8612c9 in rwm_response (op=0x19440d80, rs=0x41cf7c80) at rwm.c:1562 #8 0x00000000004b7751 in over_back_response (op=0x19440d80, rs=0x41cf7c80) at backover.c:235 #9 0x0000000000448aee in slap_response_play (op=0x19440d80, rs=0x41cf7c80) at result.c:307 #10 0x000000000044a6aa in slap_send_search_entry (op=0x19440d80, rs=0x41cf7c80) at result.c:792 #11 0x00002b0efbdb8a9f in bdb_search (op=0x19440d80, rs=0x41cf7c80) at search.c:927 #12 0x00002b0efbfed03c in relay_back_op (op=0x19440d80, rs=0x41cf7c80, bd=0x191ce440, func=0x2b0efbdb6ab6 <bdb_search>, fail_mode=2952790069) at op.c:148 #13 0x00002b0efbfed216 in relay_back_op_search (op=0x19440d80, rs=0x41cf7c80) at op.c:218 #14 0x00000000004b8666 in overlay_op_walk (op=0x19440d80, rs=0x41cf7c80, which=op_search, oi=0x191d0100, on=0x0) at backover.c:667 #15 0x00000000004b8869 in over_op_func (op=0x19440d80, rs=0x41cf7c80, which=op_search) at backover.c:719 #16 0x00000000004b88ff in over_op_search (op=0x19440d80, rs=0x41cf7c80) at backover.c:741 #17 0x0000000000437568 in fe_op_search (op=0x19440d80, rs=0x41cf7c80) at search.c:366 #18 0x0000000000436ea7 in do_search (op=0x19440d80, rs=0x41cf7c80) at search.c:217 #19 0x0000000000433c6b in connection_operation (ctx=0x41cf7dd0, arg_v=0x19440d80) at connection.c:1084 #20 0x0000000000434186 in connection_read_thread (ctx=0x41cf7dd0, argv=0xc) at connection.c:1210 #21 0x00002b0ef9dcb9d7 in ldap_int_thread_pool_wrapper (xpool=0x19172610) at tpool.c:663 #22 0x00000038dcc061b5 in start_thread () from /lib64/libpthread.so.0 #23 0x00000038dc0cd36d in clone () from /lib64/libc.so.6 #24 0x0000000000000000 in ?? ()
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration