From owner-freebsd-current@FreeBSD.ORG Mon Aug 29 19:36:08 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A49D416A41F for ; Mon, 29 Aug 2005 19:36:08 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 476BA43D46 for ; Mon, 29 Aug 2005 19:36:08 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.ntplx.net (8.13.4/8.13.4/NETPLEX) with ESMTP id j7TJa7YX005058; Mon, 29 Aug 2005 15:36:07 -0400 (EDT) Date: Mon, 29 Aug 2005 15:36:06 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Clive Lin In-Reply-To: <20050829192022.GB47151@tongi.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) Cc: freebsd-current@freebsd.org, Jiawei Ye Subject: Re: Strange threading issue with apache2 WITH_THREADS=1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Aug 2005 19:36:08 -0000 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