pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pthread_mutex_unlock
David H. Gutteridge wrote:
> >I'm getting following error when running gftp:
> >gftp-gtk: Error detected by libpthread: Unlocking unlocked mutex.
> >Detected by file "/usr/src/lib/libpthread/pthread_mutex.c", line 369,
> >function "pthread_mutex_unlock".
>
> >I thought I could patch gftp upstream, but the code looks fine to me.
>
> >I think this problem is known, but what is the solution ? (except
> >using PTHREAD_DIAGASSERT = A).
>
> I PRed this back in 2005, it's here:
> http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=31104
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:
http://bugzilla.gnome.org/show_bug.cgi?id=373411
--
Christian
Home |
Main Index |
Thread Index |
Old Index