*BSD News Article 9415


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA5738 ; Fri, 01 Jan 93 01:54:18 EST
Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!uunet!paladin.american.edu!gatech!swrinde!cs.utexas.edu!hellgate.utah.edu!fcom.cc.utah.edu!cs.weber.edu!terry
From: terry@cs.weber.edu (A Wizard of Earth C)
Subject: Re: XFree86 problem in XDrawSegments
Message-ID: <1992Dec30.063602.8978@fcom.cc.utah.edu>
Sender: news@fcom.cc.utah.edu
Organization: Weber State University  (Ogden, UT)
References: <1992Dec30.013451.13074@ponds.uucp>
Date: Wed, 30 Dec 92 06:36:02 GMT
Lines: 46

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
-------------------------------------------------------------------------------