*BSD News Article 36707


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!news
From: dawes@physics.su.oz.au (David Dawes)
Subject: Re: Using XFree 3.1 on FreeBSD 1.1.5.1: fails badly.
Message-ID: <CxC4s9.7sz@ucc.su.OZ.AU>
Sender: news@ucc.su.OZ.AU
Nntp-Posting-Host: physics.su.oz.au
Organization: School of Physics, University of Sydney, Australia
References: <NJW.94Oct6094739@barney.cs.city.ac.uk> <3730pb$s32@ns.netvision.net.il>
Date: Sat, 8 Oct 1994 03:38:33 GMT
Lines: 81

In article <3730pb$s32@ns.netvision.net.il>,
Gennady Sorokopud <gena@Burka.NetVision.net.il> wrote:
>Nick Williams (njw@cs.city.ac.uk) wrote:
>
>: Seeing that 3.1 was kind of available, I tried using it yesterday,
>: with complete failure.  Is 3.1 "released" yet?
>
>: The problems I had were both in compiling from source and using the
>: pre-compiled binaries. 
>
>: 1) In the source, the Imakefiles are a bit broken: within the xfree86
>: makefile, it uses a macro InstallGenManPageLong (I think that was it's
>: name), which is not defined anywhere.  Also, the

That macro is defined in xc/config/cf/FreeBSD.cf.  I've had no such problems
when building on my FreeBSD system.

>: vga256/drivers/Imakefile will not build an SVGA server: the Imakefile
>: configurations simply don't setup right stuff.  With that said, I
>: managed to play around with these and get a server running.  It
>: crashed. Crashed quite a bit in fact.  Once, when the server seemed in
>: a bad state, I killed the server and the machine panic'd (closing a
>: file descriptor which was already closed). Not so good.

Can you explain what is wrong with the vga256/drivers/Imakefile, and
what you expect it to do?  All it is supposed to do is build libdriver256.a.
Once again, it works fine for me on FreeBSD.

Perhaps you have some out-of-date config files, or you are not using the
ones in the source tree when generating Makefiles from the Imakefiles.
It may help if you give some details of how you are going about building
XFree86 3.1.  If you want to check your source tree, there are files
containing cksums for all the whole source tree.  These should be available
from the same place you got the XFree86 3.1 source patches.

>: 2) I then grabbed the XF86_SVGA binary distribution and attempted
>: that.  Seems more robust, however the server crashes quite frequently,
>: with signals 6, 8 and 11.  Here's a sample trace, after the X server
>: reported a signal 8:
>:   #1  0x828deb6 in end ()
>:   #2  0x49aa6 in ddxGiveUp ()
>:   #3  0x49b72 in AbortDDX ()
>:   #4  0x52949 in xf86SigHandler ()
>:   #5  0xefbfe108 in end ()
>:   #6  0x92796 in FindBestToScale ()
>:   #7  0x94af3 in BitmapOpenScalable ()
>:   #8  0x98da2 in FontFileOpenFont ()
>:   #9  0x6ef48 in doOpenFont ()
>:   #10 0x6f2bf in OpenFont ()
>:   #11 0x73bb5 in ProcOpenFont ()
>:   #12 0x7a3b8 in SProcOpenFont ()
>:   #13 0x7273f in Dispatch ()
>:   #14 0x66329 in main ()
>
>: The above problems are with an ET4000 system.  We hope to switch to
>: using Diamond Stealth boards here RSN, and so we'd appreciate finding
>: out if XFree86 3.x will actually work before we go and spend the money on
>: the boards.
>
>I noticed the same problem with S3 805C video card ,
>the server crashes quite frequently and exitst with signals 10 or 11.
>I already reported this problem to XFree86 core team.
>Anyway i gonna try to track the problem by myself.
>I'll let you know if i'll find something

Actually the problem Gennady Sorokopud reported is quite a different one
(either a malloc/free bug in the code, or a problem with FreeBSD's libmalloc).
This one is a floating point error.  If you can get a server compiled, see
if you still get it, and if you do, try compiling the code under
xc/lib/font/bitmap with '-g' to get some more information about the
location of the problem.

David
--
------------------------------------------------------------------------------
 David Dawes <dawes@physics.usyd.edu.au>    DoD#210   | Phone: +61 2 692 2639
 School of Physics, University of Sydney, Australia   | Fax:   +61 2 660 2903
------------------------------------------------------------------------------
You feel there's no tomorrow, as you look into the water below.
It's only your reflection, and you still ain't got no place to go.
    -- Deep Purple "Sail Away"