From owner-freebsd-current@FreeBSD.ORG Thu Mar 4 12:13:31 2004 Return-Path: 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 931FA16A4CE for ; Thu, 4 Mar 2004 12:13:31 -0800 (PST) Received: from mta4.rcsntx.swbell.net (mta4.rcsntx.swbell.net [151.164.30.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 64C2843D41 for ; Thu, 4 Mar 2004 12:13:31 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (ab130f224ff8dfa2654de205453c8653@adsl-67-119-53-203.dsl.lsan03.pacbell.net [67.119.53.203])i24KDIrA028028; Thu, 4 Mar 2004 14:13:18 -0600 (CST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 8AB9351724; Thu, 4 Mar 2004 12:13:17 -0800 (PST) Date: Thu, 4 Mar 2004 12:13:17 -0800 From: Kris Kennaway To: Edwin Culp Message-ID: <20040304201317.GB75841@xor.obsecurity.org> References: <20040303061144.GE56622@elvis.mu.org> <404592F5.1060206@freebsd.org> <20040303104657.GG56622@elvis.mu.org> <20040303105149.GH56622@elvis.mu.org> <20040304062344.xy1sgw00040k80ww@mail.viviendaatualcance.com.mx> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8P1HSweYDcXXzwPJ" Content-Disposition: inline In-Reply-To: <20040304062344.xy1sgw00040k80ww@mail.viviendaatualcance.com.mx> User-Agent: Mutt/1.4.2.1i cc: freebsd-current@freebsd.org Subject: Re: fix for libpthread X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2004 20:13:31 -0000 --8P1HSweYDcXXzwPJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 04, 2004 at 06:23:44AM -0600, Edwin Culp wrote: > Quoting Alfred Perlstein : >=20 > >* Alfred Perlstein [040303 02:46] wrote: > >>* David Xu [040303 00:09] wrote: > >>> Alfred Perlstein wrote: > >>> > >This assertion doesn't seem necessary. Apply to >=20 > >>>src/lib/libpthread/thread/thr_spinlock.c > >>> > > >>> As I saw some reports in the -CURRENT list, the panic is always >=20 > >>triggered by mix up > >>> of libc_r and libpthread in same program. So to avoid other=20 > >>mysterious > crashes, > >>> I'd like keep the code there, it is now used to check the problem. > >> > >>Can you clarify? Without this patch mplayer refuses to work for > >>me and crashes at startup. With the patch it runs just fine. > >> > >>Is there a workaround? >=20 > I've been forced to compile a couple of ports by using CFLAGS+=3D-pthread= in=20 > my > /etc/make.conf and it has solved the problem with them. =20 > net/openldap22-server > is an example. Under normal conditions, I have it commented out. Hmm, that port indeed doesn't seem to be using threads in the build..did it used to? Kris --8P1HSweYDcXXzwPJ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAR43dWry0BWjoQKURAojPAKDtozpSmN4DfJg3fwBgmJoZcTTnkQCgzU1I LODqFblzku2i7n+8CEW4USI= =jj0j -----END PGP SIGNATURE----- --8P1HSweYDcXXzwPJ--