Subject: Re: anyone using slapd monitor backend ?
To: Dave Huang <firstname.lastname@example.org>
From: Dick Davies <email@example.com>
Date: 11/22/2004 11:28:53
* Dave Huang <firstname.lastname@example.org> [1110 09:10]:
> On Mon, Nov 22, 2004 at 08:47:39AM +0000, Dick Davies wrote:
> > PTHREAD_DIAGASSERT=A
> > in /etc/rc.d/slapd
> > fixes the crash.
> It is my understanding that PTHREAD_DIAGASSERT catches buggy code that
> does incorrect things with pthreads (destroying a mutex that has
> already been destroyed, for example). Setting it to "A" just causes it
> to ignore the errors and continue (i.e., destroying a mutex that has
> already been destroyed just does nothing, instead of aborting);
> however, the code that uses pthreads is still buggy. I seem to recall
> the rationale for having it abort by default is that it's better to
> detect buggy code, so that it can be fixed, rather than just
> blissfully ignoring the bugs.
That's why I only set it in the rc script :) I'll feed this back to the
openldap people now I'm back in service.
My life, and by extension everyone else's, is meaningless. - Bender
Rasputin :: Jack of All Trades - Master of Nuns