Subject: Re: pthread_mutex_unlock
To: None <>
From: Christian Biere <>
List: pkgsrc-users
Date: 01/18/2007 17:40:12
Sverre Froyen wrote:
> On Wednesday 17 January 2007 16:03, Christian Biere wrote:
> > David H. Gutteridge wrote:
> >
> > There hasn't been any release of gftp since 2005. So there's little hope
> > any of the unresolved bugs gets fixed any time soon.
> >
> > > I never bothered PRing it upstream, but if someone was to do so, they
> > > might want to point out that this problem can (presumably) be
> > > duplicated on other OSes like Linux by enabling glib2's
> > > G_ERRORCHECK_MUTEXES macro, which makes glib2 handle these excess calls
> > > like NetBSD does.
> >
> > It has been reported here:
> >
> Perhaps this info and the environment variable work-around could be added to 
> the package install message.

I'd rather patch it with a hack to hide the issue, if nobody knows how to fix
it correctly. Setting this variable will hide all thread-related issues and
there might be more than this. Further, I suspect, sooner or later all users
are going to put the variable into their environment and nothing will be
reported nor fixed at all. Often setting this variable will fix nothing at all
and the software will just silently hang/fail later without any useful
diagnosis message.