Subject: Re: mozilla, wxGTK, ogg123 [Re: galeon and threads on -current]
To: Lubomir Sedlacik <>
From: Patrick Welche <>
List: current-users
Date: 04/30/2003 15:53:38
On Wed, Apr 30, 2003 at 02:29:46PM +0200, Lubomir Sedlacik wrote:
>  Error detected, file "/cvs/src/lib/libpthread/pthread_mutex.c", line 338,
>  function "pthread_mutex_unlock": Unlocking mutex owned by another thread.

libpthread is now if you like a debugging libpthread, a bit like malloc..
cf src/lib/libpthread/pthread.c's cvs log:

revision 1.17
date: 2003/04/23 19:35:47;  author: nathanw;  state: Exp;  lines: +49 -2
Introduce a pthread__error() macro, for detected application errors as
opposed to internal errors. The setting of the PTHREAD_ERRORMODE
environment variable determines the runtime behavior. Valid settings
are "ignore", "abort", and "print". The default is currently "abort".

So AFAICT the solutions are:
- fix and add a patch to pkgsrc
- tell the original software developers about it
- be lazy and set PTHREAD_ERRORMODE=print