Subject: Re: pthreads since 8/08/03
To: None <current-users@NetBSD.org>
From: Alan Barrett <firstname.lastname@example.org>
Date: 08/15/2003 10:05:36
On Fri, 15 Aug 2003, Gilbert Fernandes wrote:
> ogg123: Error detected by libpthread: Destroying
> condition variable in use.
> Detected by file "/autobuild/HEAD/src/lib/libpthread/pthread_cond.c",
> line 93, function "pthread_cond_destroy".
> See pthread(3) for information.
> Abort (core dumped)
This usually means that the application (ogg123) has bugs, such that
it tries to do things that are not valid in terms of the pthread
API. NetBSD's pthread implementation detects the error and aborts the
If you have a very recent -current, read the pthread(3) man page and set
the environment variable PTHREAD_DIAGASSERT to a value that includes "A"
(to tell it not to abort). If you have an older -current, try setting
PTHREAD_ERRROMODE=print or PTHREAD_ERRORMODE=ignore.
--apb (Alan Barrett)