[Date Prev][Date Next]
Re: (ITS#6853) slapadd/slapindex -q hang
On 03/04/2011 05:56 PM, email@example.com wrote:
> firstname.lastname@example.org wrote:
>> On 03/04/2011 04:08 PM, email@example.com wrote:
>>> This indicates that the trickle task is still waiting for a signal on its
>>> condition variable. Which is a bit odd since bdb_tool_entry_close() already
>>> signals it before slap_tool_destroy() is called.
>>> It might be illuminating to run slapadd under gdb with a breakpoint on
>>> bdb_tool_entry_close(), and singlestep through the first few lines of that
>>> function where it issues the signal, and see if the trickle task actually
>>> reacts or not.
>> Setting a breakpoint on bdb_tool_entry_close() and then either
>> continuing or stepping through the function allows slapadd to exit cleanly.
> A fix for this is now in HEAD, please test.
> back-bdb/tools.c 1.140
Tested, and working. Thanks for the fix.