Strange threading issue with apache2 WITH_THREADS=1

Daniel Eischen deischen at freebsd.org
Mon Aug 29 19:36:08 GMT 2005


On Tue, 30 Aug 2005, Clive Lin wrote:

> On Mon, Aug 29, 2005 at 09:18:27AM +0800, Jiawei Ye wrote:
> > I have been using www/apache2 with WITH_THREADS=1 for a long time on a
> > -current system. With a recent world upgrade, I start to get "Fatal
> > error Dead thread has assumed at line 158 in file
> > src/lib/libpthread/thread/thr_exit.c (errno = 0)" and httpd no longer
> > functions. Rebuilding kernel/world/libpthread does not seem to make
> > any difference, nor does rebuilding www/apache2 itself.
> >
> > Any suggestions?
>
> try putting
>
> WITH_APACHE2=yes
> WITH_MPM=worker
>
> in /etc/make.conf, and portupgrade apache.
>
> also, try some "suggestions" as described in libmap.conf(5)

How about try making sure you're not using multiple thread
libraries at the same time.  After upgrading, libpthread's
version # was bumped along with everything else.  ldd(1)
is your friend.

-- 
DE



More information about the freebsd-current mailing list