Subject: Re: no libao-nas?
To: Julio M. Merino Vidal <>
From: Geert Hendrickx <>
List: tech-pkg
Date: 03/24/2005 17:37:05
On Thu, Mar 24, 2005 at 04:29:22PM +0100, Geert Hendrickx wrote:
> I created a libao-nas plugin package, but then any application using
> libao with the nas-plugin dies with pthread errors: 
> Mar 24 16:24 : player process died from signal: 6
> mpd: Error detected by libpthread: Unlocking unlocked mutex.  
> Detected by file "/big/builds/ab/netbsd-2-0-RELEASE/src/lib/libpthread/pthread_mutex.c", line 345, function "pthread_mutex_unlock".
> See pthread(3) for information.
> What's all that?  

Ok I did some research...  libpthread kills the application because of
mutex errors in the libao-nas code.  The plugin works fine when I set
PTHREAD_DIAGASSERT=A in my environment before starting the application.