Date: Mon, 27 Dec 2004 04:31:14 -0500 From: Joe Marcus Clarke <marcus@marcuscom.com> To: Brian Reichert <reichert@numachi.com> Cc: freebsd-ports@freebsd.org Subject: Re: Update to X.org 6.8.1 Message-ID: <1104139874.58257.13.camel@shumai.marcuscom.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-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 <yasu@utahime.org> > > 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1104139874.58257.13.camel>