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

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



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.