Update to X.org 6.8.1
Joe Marcus Clarke
marcus at marcuscom.com
Mon Dec 27 01:31:19 PST 2004
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 at utahime.org>
> > Subject: Re: Update to X.org 6.8.1
> > Date: Fri, 24 Dec 2004 00:10:15 +0900 (JST)
> >
> > > Then I can leave everything to my PC and sleep now.
> > >
> > > Thank you, and good night.
> >
> > Good morning.
> >
> > When I woke up, I found all packages successfully updated to 6.8.1.
> >
> > But I also found mozilla, firefox, thunderbird, rhythmbox, etc crash
> > at startup time as following.
>
> I wanted to provide a cheery 'me too': konqueror dies with:
>
> kioslave: ####### CRASH ###### protocol = http pid = 26738 signal = 11
> kioslave: ####### CRASH ###### protocol = http pid = 26739 signal = 11
> kioslave: ####### CRASH ###### protocol = http pid = 26740 signal = 11
>
> (This was after a full rebuild of '-R -f kdebase'.)
>
> galeon:
>
> 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 = 26735, errno = 2
>
> mozilla:
>
> % mozilla
> Error: No running window found.
> Segmentation fault
>
> Thankfully 'links -g' still works, so I can get some work
> done...
>
> 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
--
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20041227/85bec6ac/attachment.bin
More information about the freebsd-ports
mailing list