Subject: Re: XFree dynamic loader
To: Michael <macallan18@earthlink.net>
From: Nathan J. Williams <nathanw@wasabisystems.com>
List: tech-x11
Date: 03/29/2005 11:12:01
Michael <macallan18@earthlink.net> writes:

> > But it has another serious problem - after some time the Xserver
> > locks up, apparently at random, but always in the same way. The
> > process doesn't die or anything like that, it just sits there and
> > eats all available CPU cycles. gdb thinks this about it:
> > (gdb) bt
> > #0  0x0000000040a132a4 in pthread__lock_ras_end ()
> >    from /usr/lib/libpthread.so.0
> Now things get weird - I got more or less the same behavior on
> macppc. After a while it locks up and gets caught in what appears to
> be an endless loop or something like that in libpthread. The only
> difference is, that macppc still reboots while sparc64 keeps hanging.
> This did never happen with 4.4

The reboot thing seems odd, but XFree mucks with enough hardware state
that that could also be part of the problem.

From the stack trace you've posted, though, it looks like the X server
is calling pthread_sigmask() from a call chain inside a signal
handler, and that's just not going to work.

        - Nathan