Subject: Re: invalid mutex in named
To: Jeremy C. Reed <reed@reedmedia.net>
From: Geert Hendrickx <ghen@telenet.be>
List: current-users
Date: 08/08/2007 16:19:36
On Wed, Aug 08, 2007 at 09:08:14AM -0500, Jeremy C. Reed wrote:
> On Wed, 8 Aug 2007, Julian Coleman wrote:
> 
> > > I read through it yesterday and before. And I have missed it. Can someone 
> > > please tell me how?
> > 
> > Set the `PTHREAD_DIAGASSERT' environment variable to "A", or maybe "AE".
> 
> I had that in the next sentence in the email you replied too :)
> 
> I now tried with AE also. (I used Ae before.)
> 
> named: Error detected by libpthread: Invalid mutex.
> Detected by file "/usr/src/lib/libpthread/pthread_mutex.c", line 334, 
> function "pthread_mutex_unlock".
> See pthread(3) for information.
> Abort (core dumped) 
> glacier:/opt/rainier/pkgsrc/wip/spamd-devel$ PTHREAD_DIAGASSERT=AE 
> /usr/local/mem.c:814: fatal error: RUNTIME_CHECK(((__libc_mutex_unlock(((&lock))) == 
> 0) ? 0 : 34) == 0) failed
> Abort (core dumped) 


Does this also happen if you compile a recent BIND *release*? (instead of
code from cvs)

	Geert