Re: XFree86 server dies during test of tk4.1a2 (fwd)

Jay Estabrook - Alpha Migration Tools - LINUX Project (jestabro@brillig.amt.tay1.dec.com)
Mon, 11 Dec 95 16:43:18 -0500


> > > Well I've narrowed down further the problem with signal 8 killing
> > > the server. To reproduce just do:
> > >
> > > x11perf -wellipse10
> >
> > I've seen this sort of thing happen when cbrt() can't handle being passed
> > a negative argument. Is there a cbrt() in libm, or are you using the
> > one in xc/programs/Xserver/mi/cbrt.c? If the latter, make sure it is
> > a version that doesn't try to pass a negative first argument to pow().
> >
>
> David,
> I don't know which version of the cbrt routine is being used,
> however the one included in libm (from inc-and-libs-0.38.tar.gz)
> is wrong. The include file "mathimpl.h" attempts to set the
> 'national' define however its not correct. I patched the
> cbrt.c file which gives me a working cbrt however its probably
> not what you want to do (sorry it's late and I've already
> past the point of thinking clearly...).
> -Bill V.
>
> p.s. Thanks David D, your suggestion was spot on.
>

Well, that did indeed do the trick; I just built an S3 server with David M-T's
latest LIBC, fired it up and ran "x11perf -wellipse10" to completion:

> bash# x11perf -wellipse10
> x11perf - X11 performance program, version 1.5
> The XFree86 Project, Inc server version 3120 on :0.0
> from amt003
> Mon Dec 11 16:12:23 1995
>
> Sync time adjustment is 0.3058 msecs.
>
> 60000 reps @ 0.1183 msec ( 8450.0/sec): 10-pixel wide ellipse
> 60000 reps @ 0.1241 msec ( 8060.0/sec): 10-pixel wide ellipse
> 60000 reps @ 0.1192 msec ( 8390.0/sec): 10-pixel wide ellipse
> 60000 reps @ 0.1250 msec ( 8000.0/sec): 10-pixel wide ellipse
> 60000 reps @ 0.1225 msec ( 8160.0/sec): 10-pixel wide ellipse
> 300000 trep @ 0.1218 msec ( 8210.0/sec): 10-pixel wide ellipse

Thanks to all that contributed to tracking down and fixing this.

Look on gatekeeper.dec.com in the usual place (pub/DEC/Linux-Alpha/X11) and
find:

axpbin-XF86_S3-3.1.2-0.3.gz

which holds the new version of the S3 server...

Note that our local mirroring may not make it available on gatekeeper until
tomorrow (12 DEC 95).

Enjoy!

--Jay++

-------------------------------------------------------------------------------
American Non Sequitur Society: we don't make sense, but we do like pizza...

Jay A Estabrook Alpha Migration Tools
Mailstop: TAY1-2 (DTN) 227-4202
Digital Equipment Corp. (external) (508) 952-4202
151 Taylor Street enet: jestabro@amt.tay1.dec.com
Littleton, MA 01460-1407 decnet: tallis::jestabro
-------------------------------------------------------------------------------