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

Re: (ITS#5728) back-bdb should release entries before writing to network



Quanah Gibson-Mount wrote:
> --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?

slapo-rwm was using the wrong entry_release() function... Fixed in HEAD.
>
> 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


-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/