From owner-freebsd-stable@FreeBSD.ORG Sun Mar 30 20:44:44 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 959C6106566C for ; Sun, 30 Mar 2008 20:44:44 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 0AF348FC14 for ; Sun, 30 Mar 2008 20:44:44 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Jg4OM-00011f-3x for freebsd-stable@freebsd.org; Sun, 30 Mar 2008 20:44:38 +0000 Received: from 78-1-75-10.adsl.net.t-com.hr ([78.1.75.10]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 30 Mar 2008 20:44:38 +0000 Received: from ivoras by 78-1-75-10.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 30 Mar 2008 20:44:38 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Ivan Voras Date: Sun, 30 Mar 2008 22:44:28 +0200 Lines: 127 Message-ID: References: <47EDD0EE.7090803@lozenetz.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig85157DAAE51E2A90AD9976AE" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 78-1-75-10.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) In-Reply-To: <47EDD0EE.7090803@lozenetz.org> X-Enigmail-Version: 0.95.6 Sender: news Subject: Re: why does my apache-worker broke after upgrade to 6_3_RELEASE? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Mar 2008 20:44:44 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig85157DAAE51E2A90AD9976AE Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Anton - Valqk wrote: > Hi group, > does anyone has idea > why the #$#$#$%$%#$%$@#$% upgrade to latest 6_3_RELEASE > broke my apache-worker?!??? > In logs I get: > Fatal error 'kse_exit() failed for system scope thread' at line 1215 in= > file /usr/src/lib/libpthread/thread/thr_kern.c (errno =3D 22) >=20 > I don't think it's a suggested behavior? > This broke my apache for christ sake!!! > Not pretty sure about all other threaded apps..... > after 10 times I've rebuilded my port from scratch and seeing that it's= > not a problem with this, > I've found a solution: > adding in /etc/libmap.conf >=20 > [httpd] > libpthread.so.2 libthr.so.2 > libpthread.so libthr.so Since many people (including myself) have upgraded from 6.something to=20 6.3-RELEASE without problems, it's probably something specific to your=20 own system. Have you tried rebuilding world instead of port? What does `ldd /usr/local/sbin/httpd` say when you remove libmap.conf? Here's what it says on one of my 6.3 systems: > ldd /usr/local/sbin/httpd /usr/local/sbin/httpd: libm.so.4 =3D> /lib/libm.so.4 (0x80068c000) libaprutil-1.so.2 =3D> /usr/local/lib/libaprutil-1.so.2 (0x8007a= 8000) libexpat.so.6 =3D> /usr/local/lib/libexpat.so.6 (0x8008c0000) libiconv.so.3 =3D> /usr/local/lib/libiconv.so.3 (0x8009e2000) libapr-1.so.2 =3D> /usr/local/lib/libapr-1.so.2 (0x800bd3000) libcrypt.so.3 =3D> /lib/libcrypt.so.3 (0x800cfa000) libpthread.so.2 =3D> /lib/libpthread.so.2 (0x800e13000) libc.so.6 =3D> /lib/libc.so.6 (0x800f3e000) What is your result? Try `ident /lib/libpthread.so.2`, here's my result (amd64): > ident /lib/libpthread.so.2 /lib/libpthread.so.2: $FreeBSD: src/lib/csu/amd64/crti.S,v 1.7 2004/03/21 01:39:01 peter = Exp $ $FreeBSD: src/lib/csu/amd64/crtn.S,v 1.6 2004/03/21 01:39:01 peter = Exp $ $FreeBSD: src/lib/libpthread/thread/thr_pselect.c,v 1.5 2003/12/09 = 02:20:56 davidxu Exp $ $FreeBSD: src/lib/libpthread/thread/thr_connect.c,v 1.2 2003/12/09 = 23:40:27 deischen Exp $ $FreeBSD: src/lib/libpthread/thread/thr_accept.c,v 1.2 2003/12/09=20 23:40:27 deischen Exp $ $FreeBSD: src/lib/libpthread/thread/thr_sigaltstack.c,v 1.2=20 2004/01/02 00:38:42 davidxu Exp $ $FreeBSD: src/lib/libpthread/thread/thr_printf.c,v 1.4 2004/02/10=20 20:42:33 cperciva Exp $ $FreeBSD: src/lib/libpthread/thread/thr_kern.c,v 1.116.2.1=20 2006/03/16 23:29:07 deischen Exp $ $FreeBSD: src/lib/libpthread/arch/amd64/amd64/enter_uts.S,v 1.5=20 2004/07/31 01:53:21 davidxu Exp $ $FreeBSD: src/lib/libpthread/arch/amd64/amd64/context.S,v 1.7.8.1=20 2006/03/16 23:29:06 deischen Exp $ $FreeBSD: src/lib/libc/gen/sigsetops.c,v 1.8 2002/02/01 00:57:29=20 obrien Exp $ $FreeBSD: src/lib/libc/string/bcopy.c,v 1.6 2003/10/26 03:55:58=20 peter Exp $ $FreeBSD: src/lib/libc/string/bzero.c,v 1.2 2002/03/22 21:53:19=20 obrien Exp $ $FreeBSD: src/lib/libc/string/memset.c,v 1.8 2002/09/01 21:53:46=20 robert Exp $ $FreeBSD: src/lib/libc/amd64/sys/cerror.S,v 1.14 2005/04/21=20 12:47:08 kan Exp $ $FreeBSD: src/lib/libc/string/memcpy.c,v 1.2 2002/03/22 21:53:19=20 obrien Exp $ $FreeBSD: src/lib/libc/string/bcopy.c,v 1.6 2003/10/26 03:55:58=20 peter Exp $ $FreeBSD: src/lib/libc/string/memset.c,v 1.8 2002/09/01 21:53:46=20 robert Exp $ $FreeBSD: src/lib/libc/string/strcpy.c,v 1.7 2002/09/06 11:24:06=20 tjr Exp $ $FreeBSD: src/lib/libc/string/strlen.c,v 1.4 2002/03/21 18:44:54=20 obrien Exp $ Also, are you sure as to what you upgraded to? Are your kernel and world = in sync? KSE was removed from 8-CURRENT so it could be a problem if you=20 somehow got binaries or libraries from 8-CURRENT. > anywayz, can anyone answer me plz why did I get to this state? If nothing obvious pops up from the above, you could maybe create an=20 archive of all files ldd says are loaded by httpd so developers can take = a look at it. --------------enig85157DAAE51E2A90AD9976AE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH7/usldnAQVacBcgRApz/AKC7evepjACtEWnZdVThbXuYMqUXLQCfccWu DxAdT+y7F6BDAX2Eo16z98A= =gM82 -----END PGP SIGNATURE----- --------------enig85157DAAE51E2A90AD9976AE--