From owner-freebsd-ports@FreeBSD.ORG Mon Dec 27 09:31:19 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3015416A4CE for ; Mon, 27 Dec 2004 09:31:19 +0000 (GMT) Received: from creme-brulee.marcuscom.com (creme-brulee.marcuscom.com [24.172.16.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4DA443D41 for ; Mon, 27 Dec 2004 09:31:18 +0000 (GMT) (envelope-from marcus@marcuscom.com) Received: from shumai.marcuscom.com (shumai.marcuscom.com [192.168.1.4]) iBR9VgfV093145; Mon, 27 Dec 2004 04:31:42 -0500 (EST) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Brian Reichert In-Reply-To: <20041227060718.GB213@numachi.com> References: <200412230648.52325.dejan.lesjak@ijs.si> <200412222352.23671.krinklyfig@spymac.com> <20041224.001015.126530386.yasu@utahime.org> <20041224.084254.53107655.yasu@utahime.org> <20041227060718.GB213@numachi.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-zelyP2OOTly4J/74ucdc" Organization: MarcusCom, Inc. Date: Mon, 27 Dec 2004 04:31:14 -0500 Message-Id: <1104139874.58257.13.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 FreeBSD GNOME Team Port cc: KIMURA Yasuhiro cc: freebsd-ports@freebsd.org Subject: Re: Update to X.org 6.8.1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Dec 2004 09:31:19 -0000 --=-zelyP2OOTly4J/74ucdc Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2004-12-27 at 01:07 -0500, Brian Reichert wrote: > On Fri, Dec 24, 2004 at 08:42:54AM +0900, KIMURA Yasuhiro wrote: > > From: KIMURA Yasuhiro > > Subject: Re: Update to X.org 6.8.1 > > Date: Fri, 24 Dec 2004 00:10:15 +0900 (JST) > >=20 > > > Then I can leave everything to my PC and sleep now. > > >=20 > > > Thank you, and good night. > >=20 > > Good morning. > >=20 > > When I woke up, I found all packages successfully updated to 6.8.1. > >=20 > > But I also found mozilla, firefox, thunderbird, rhythmbox, etc crash > > at startup time as following.=20 >=20 > I wanted to provide a cheery 'me too': konqueror dies with: >=20 > kioslave: ####### CRASH ###### protocol =3D http pid =3D 26738 signal = =3D 11 > kioslave: ####### CRASH ###### protocol =3D http pid =3D 26739 signal = =3D 11 > kioslave: ####### CRASH ###### protocol =3D http pid =3D 26740 signal = =3D 11 >=20 > (This was after a full rebuild of '-R -f kdebase'.) >=20 > galeon: >=20 > GThread-ERROR **: file gthread-posix.c: line 137 (g_thread_impl_init): > error 'Invalid argument' during 'pthread_getschedparam (pthread_self(), > &policy, &sched)' > aborting... > Abort (core dumped) > % QThread: internal error: zero data for running thread. > ICE default IO error handler doing an exit(), pid =3D 26735, errno =3D = 2 >=20 > mozilla: >=20 > % mozilla > Error: No running window found. > Segmentation fault >=20 > Thankfully 'links -g' still works, so I can get some work > done... >=20 > Anyone have any insight on what's going on here? The problem has to do with weak pthread symbols being part of libX11, and libX11 be explicitly linked to binaries such as Mozilla. What happens is the pthread stub symbols from libX11 are used instead of the real (also weak) symbols from libc_r. This was not a problem in XFree86 or X.Org 6.7.1 since the pthread stubs were in a separate library (libXThrStub) that was never explicitly linked to any binaries, and thus that library was always linked in after libc_r. Passing -pthread to the compiler will cause it to pass -lc_r to the linker, but as one of the last arguments. Thus in X.Org 6.8.1 the pthread symbols are resolved from libX11 first, and bad things happen. This was posted to freebsd-x11@ as a workaround, http://lists.freebsd.org/pipermail/freebsd-x11/2004-December/001360.html but a safer (perhaps easier) workaround would be to revert back to XFree86 until a fix can be committed. Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-zelyP2OOTly4J/74ucdc Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBz9Zib2iPiv4Uz4cRAhCcAJ4oefcA8/6mz/9jnXYmFwno3w7prQCgmCo6 iSH14yeGbeituscnGepL8jo= =dYaw -----END PGP SIGNATURE----- --=-zelyP2OOTly4J/74ucdc--