Subject: Re: invalid mutex in named
To: None <current-users@NetBSD.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: current-users
Date: 08/08/2007 09:08:14
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) 



  Jeremy C. Reed