Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!usc!elroy.jpl.nasa.gov!decwrl!pa.dec.com!wsl.dec.com!klee From: klee@wsl.dec.com (Ken Lee) Newsgroups: comp.windows.x Subject: Re: BadLength for XDrawLines Message-ID: <1991Feb15.152006@wsl.dec.com> Date: 15 Feb 91 23:20:06 GMT References: <11474@uhccux.uhcc.Hawaii.Edu> Sender: news@pa.dec.com (News) Reply-To: klee@wsl.dec.com Organization: DEC Western Software Laboratory Lines: 23 In article <11474@uhccux.uhcc.Hawaii.Edu>, john@quonset.cfht.hawaii.edu writes: |> I am running X11r3 code (HP has not gotten us to R4 yet) on an |> HP9000 system and get the following errors upon requesting 16k |> points: |> |> X Protocol error detected by server: BadLength, poly request too |> large or internal Xlib length error. |> Failed request major op code 67 (X_PolyRectangle) |> ..... |> |> The number of points is an int and I haven't exceeded that. Is this |> a bug in X? X servers are required to support requests of up to 16KB, though some support more and some Xlib's automatically break up (some) long requests to fit. The XMaxRequestSize() function will tell you the max length for your server. -- Ken Lee DEC Western Software Laboratory, Palo Alto, Calif. Internet: klee@wsl.dec.com uucp: uunet!decwrl!klee