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

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

Full_Name: Donn Cave
OS: NetBSD 2.0
Submission from: (NULL) (

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.