pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: slapd: Error detected by libpthread: Invalid mutex




To: Jean-Luc Wasmer <jl+netbsd%lists.wasmer.ca@localhost>

Subject: Re: slapd: Error detected by libpthread: Invalid mutex

From: Matthias Scheler <tron%zhadum.org.uk@localhost>

Date: Sun, 27 May 2007 18:46:08 +0100


On Sun, May 27, 2007 at 12:05:22PM -0400, Jean-Luc Wasmer wrote:
> Is this another misuse of the pthread library (if so, is there a way 
> around it) or a NetBSD pthread implementation bug?

That's an application bug.

> 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".

        Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/



Follow-Ups:

Re: slapd: Error detected by libpthread: Invalid mutex
From: Jean-Luc Wasmer


References:

slapd: Error detected by libpthread: Invalid mutex
From: Jean-Luc Wasmer




Prev by Date: slapd: Error detected by libpthread: Invalid mutex

Next by Date: Re: slapd: Error detected by libpthread: Invalid mutex

Previous by Thread: slapd: Error detected by libpthread: Invalid mutex

Next by Thread: Re: slapd: Error detected by libpthread: Invalid mutex

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index