*BSD News Article 9442


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA5777 ; Fri, 01 Jan 93 01:55:28 EST
Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!metro!news
From: dawes@physics.su.OZ.AU (David Dawes)
Subject: Re: XFree86 problem in XDrawSegments
Message-ID: <1992Dec31.030108.10143@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: <1992Dec30.013451.13074@ponds.uucp> <1992Dec30.063602.8978@fcom.cc.utah.edu> <1992Dec30.140352.18037@ponds.uucp>
Date: Thu, 31 Dec 1992 03:01:08 GMT
Lines: 68

In article <1992Dec30.140352.18037@ponds.uucp> rivers@ponds.uucp (Thomas David Rivers) writes:
>In article <1992Dec30.063602.8978@fcom.cc.utah.edu> terry@cs.weber.edu (A Wizard of Earth C) writes:
>>In article <1992Dec30.013451.13074@ponds.uucp> rivers@ponds.uucp (Thomas David Rivers) writes:
>>>
>>> In trying to get cbzone up and running in 386bsd; I discovered the 
>>> following problem.
>>>
>>> I'm using XFree86 version 1.1 as available on agate.
>>>
>>> After the game starts up (opens the display and does some drawing) it
>>> will bomb out with the following message:
>>>
>>>XIO:  fatal IO error 14 (Bad address) on X server ":0.0"
>>>      after 400 requests (399 known processed) with 17 events remaining.
>>>
>>>
>>>  A breakpoint in _XDefaultIOError() reveals the following traceback:
>>>
>>>    _XDefaultIOError()
>>>    _XIOError()
>>>    _XSend()
>>>    _XDrawSegments()
>>>    multiline()              <----- cbzone function
>>>    drawhorizone()           <----- cbzone function
>>>    main()()                 <----- cbzone function
>>>
>>> It would appear that something is wrong in XDrawSegments....
>>>
>>> Has anyone else run into this?
>>
>>I have run into a similar problem (resulting in "BadMatch" errors) on an
>>AT&T X terminal.  The problem traced back to a modification of the GC
>>occurring before a draw, but not being forced to take effect (basically,
>>an event queueing problem).  Using an XSync( Display, False); prior to
>>the draw fixed the problem.
>>
>>
>>					Terry Lambert
>>					terry@icarus.weber.edu
>>					terry_lambert@novell.com
>>---
>>Any opinions in this posting are my own and not those of my present
>>or previous employers.
>>-- 
>>-------------------------------------------------------------------------------
>>                                        "I have an 8 user poetic license" - me
>> Get the 386bsd FAQ from agate.berkeley.edu:/pub/386BSD/386bsd-0.1/unofficial
>>-------------------------------------------------------------------------------
>
>
>
> Well, I was anxious and since that sounded plausible, I tried it out.
>
> Unfortunately, it didn't seem to change the situation.  I'm beginning
> to wonder if this is simply a R5 problem - except that I build it
> regularly at work with my own R5 X libraries for the IBM 370 (really, honest.)

I've built and run cbzone on XFree86 on a SVR4 box -- without any
problems.  The version of cbzone I have is PatchLevel 0.

David
--
------------------------------------------------------------------------------
 David Dawes <dawes@physics.su.oz.au>    DoD#210      | Phone: +61 2 692 2639
 School of Physics, University of Sydney, Australia   | Fax:   +61 2 660 2903
------------------------------------------------------------------------------
 I was so satisfied, deep down inside, like a hand in a velvet glove -- AC/DC
------------------------------------------------------------------------------