Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Mar 2004 12:13:17 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Edwin Culp <eculp@viviendaatualcance.com.mx>
Cc:        freebsd-current@freebsd.org
Subject:   Re: fix for libpthread
Message-ID:  <20040304201317.GB75841@xor.obsecurity.org>
In-Reply-To: <20040304062344.xy1sgw00040k80ww@mail.viviendaatualcance.com.mx>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <alfred@freebsd.org>:
>=20
> >* Alfred Perlstein <alfred@freebsd.org> [040303 02:46] wrote:
> >>* David Xu <davidxu@freebsd.org> [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--



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