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

Re: (ITS#4143) back-bdb condition not inited in tool



donn@u.washington.edu wrote:
> Full_Name: Donn Cave
> Version: OPENLDAP_REL_ENG_2_3
> OS: NetBSD 2.0
> URL: 
> Submission from: (NULL) (128.95.135.150)
>
>
> slapadd crashes on exit, because it never initialized bdb_tool_index_cond but
> tries to broadcast it in bdb_tool_entry_close().
>
> Where it would have done this in bdb_tool_entry_open(), bdb_tool_info is 0 and
> slapMode is 2 (not SLAP_TOOL_QUICK.)
>
> Reported error is "slapadd: Error detected by libpthread: Invalid condition
> variable."  The pthread library aborts.

A fix is in HEAD, please test. Thanks for the report.

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