Subject: Re: slapd: Error detected by libpthread: Invalid mutex
To: Matthias Scheler <tron@zhadum.org.uk>
From: Jean-Luc Wasmer <jl+netbsd@lists.wasmer.ca>
List: pkgsrc-users
Date: 05/27/2007 14:21:51
Matthias Scheler wrote:
>> Program received signal SIGABRT, Aborted.
>> 0xbb87dfff in kill () from /usr/lib/libc.so.12
>> (gdb) backtrace
>> #0  0xbb87dfff in kill () from /usr/lib/libc.so.12
>> #1  0xbb94adb3 in pthread__errorfunc () from /usr/lib/libpthread.so.0
>> #2  0xbb9491fe in pthread_mutex_destroy () from /usr/lib/libpthread.so.0
>> #3  0xbbbbd1eb in ldap_pvt_thread_mutex_destroy () from 
>> /usr/pkg/lib/libldap_r-2.3.so.0
>>     
>
> It looks like the application is trying to destroy an uninitialized mutex.
> It might work if you set the enviroment variable "PTHREAD_DIAGASSERT"
> to "A".
>   
That disables the core dump but I still get the error (2 times now).

Jean-Luc