Subject: Re: XFree86 4.5
To: NetBSD Port Sparc64 <port-sparc64@netbsd.org>
From: Michael <macallan18@earthlink.net>
List: port-sparc64
Date: 03/27/2005 02:50:42
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

> I have the following problem with XFree - built yesterday from xsrc - 
> after working for a while it just locks up while eating all available 
> CPU-time. gdb shows this:
> 0x00000000410134d4 in pthread_spinlock () from /usr/lib/libpthread.so.0
> (gdb) bt
> #0  0x00000000410134d4 in pthread_spinlock () from 
> /usr/lib/libpthread.so.0
> #1  0x000000004100bb38 in pthread_sigmask () from 
> /usr/lib/libpthread.so.0
> #2  0x0000000000217a68 in xf86BlockSIGIO ()
> #3  0x00000000001eb6ac in xf86SigioReadInput ()
> #4  0x00000000002176d8 in xf86SIGIO ()
> #5  <signal handler called>
> #6  0xffffb2f100000000 in ?? ()
> #7  0x0000000000000008 in ?? ()
This address looks funky. What business has an address like that in a 
call trace? No surprise some signal handler fired.
> #8  0x0000000000217ab0 in xf86UnblockSIGIO ()
> #9  0x00000000002176d8 in xf86SIGIO ()
This is in os-support/bsd/sigio.c, calling a bunch of function pointers.

> #10 <signal handler called>
> #11 0xffffb8f100000000 in ?? ()
same here. The Xserver should be compiled with -mmodel=medlow so all 
(function) pointers  should have zeroes in their upper 32bit. Smells 
like a 64bit vs. 32bit issue.

> #12 0x000000000031b06c in miSpriteChangeClip ()
I guess I'll dig around to figure out what this one's trying to do here.

> #13 0x000000000024d180 in WaitForSomething ()
> #14 0x00000000002242d4 in Dispatch ()
> #15 0x0000000000238b20 in main ()
> #16 0x00000000001048b8 in ___start ()
> I can kill the process but the machine won't reboot after that and 
> just sits there doing apparently nothing.
... but there must be more to it - a process doing funky things 
shouldn't be able to mess up kernel internals as it seemed to happen 
here.

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iQEVAwUBQkZl0spnzkX8Yg2nAQJaSggAtoTnG4QuU8+/iuKct3GqgMbemC7QhSsl
yBNczYXODWK3r3RAKJOegCvE5VKuYYFHBZvqXWrAUb4EVBDnzD5JG6OwfnH56v6K
JzRNlaf+jnVbu6guk0Zeppri4NAdx1nWSRBgUzSekNKrLfTlEjqoh2/IC0du8btQ
KxKMHp+KCkUPzQS0F/CZIE7s/zF8bIIB1UdqFdhTBWwryHGJ7e2vQC87Cm84VWUY
9srUrk8eZTLOW+mqKwqFs+o+KZAtNbPENws52qGDmSvvMACAJNzPnItVKQwrO+4N
mCHNtKCaY2ZTD0Xs4+o091FSeKJDCrdoc2UQ7K3EZbBS2csCiNaQ/Q==
=I5Al
-----END PGP SIGNATURE-----