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

Re: commit: ldap/servers/slapd main.c (init schema early)



Donn Cave writes:
> Works for NetBSD 2.0.  Without this change, slapd -T a fails:
>
>    slapd: Error detected by libpthread: Invalid mutex.
>    Detected by file "/big/builds/ab/netbsd-2-0- RELEASE/src/lib/
> libpthread/pthread_mutex.c", line 133, function "pthread_mutex_destroy".

Can you get a backtrace to see which mutex?  That looks like another
problem - that slapd destroys a mutex it never initialized.  If moving
ldap_pvt_thread_initialize() fixes it, it might just be hiding the bug.
BTW, which OpenLDAP version?

-- 
Hallvard