Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Oct 2004 17:52:20 -0400
From:      jason <jason@ec.rr.com>
To:        Drew Tomlinson <drew@mykitchentable.net>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Pthreads Bug & Bacula
Message-ID:  <41840D14.5000006@ec.rr.com>
In-Reply-To: <4183F8AE.6060006@mykitchentable.net>
References:  <4183F8AE.6060006@mykitchentable.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Drew Tomlinson wrote:

> Can anyone tell me if or when the pthreads bug was fixed in version 
> 4?  Google searches show some indication it was fixed in 4.9 and other 
> information that it was fixed in 4.10.  I'm running 4.9-RELEASE-p4.
>
> Currently I'm following the instructions in pthreads-fix.txt but with 
> my DLT30 drive, I can see this will take many hours.  I would really 
> appreciate it if someone can save me the time.  :)  I will upgrade to 
> 4.10 if I need to but would rather not if I don't have to.  I don't 
> want to fix what isn't broken!  :)
>
> Thanks,
>
> Drew
>
I was just updating my system yesterday and ran into the pthread bug.  I 
had updated libxml2 and it was compiled with pthreads.  To fix it I 
removed /var/db/ports/libxml2/options.  When I recompiled it asked for a 
config, and I told it no pthreads.  Now it works fine.  So to answer 
your question the "bug" was never fixed because it is a design 
implementation issue.  FreeBSD just exposes it right away instead of far 
off randomly in the future when you have long uptime(had to do with pids 
being recycled) so the general rule was disable them.

Hope this helps.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41840D14.5000006>