Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!decwrl!chico.pa.dec.com!klee From: klee@chico.pa.dec.com (Ken Lee) Newsgroups: comp.windows.x Subject: Re: Application program strange error Message-ID: <2138@bacchus.dec.com> Date: 20 Nov 89 22:24:51 GMT References: <193@hal.CSS.GOV> Sender: news@decwrl.dec.com Reply-To: klee@decwrl.dec.com Organization: DEC Western Software Laboratory Lines: 21 In article <193@hal.CSS.GOV>, nancie@hal.CSS.GOV (Nancie Matson) writes: > I'm using calls like > XDrawLines, XDrawRectangles, and XFillRectangles, etc to create > the structure, but every time I run the program I get > asin: DOMAIN error > printed to the console window. I stepped through the program > with the debugger , but found that the error is not caused > by a single call, Make sure you use synchronous mode when stepping through your program. I suspect your random results are caused by Xlib buffering. Anyway, the asin error is probably a bug in your server. Some of the arc and wide line end cap code uses the asin function. By default, asin prints the error you mention if it is called with an invalid argument. Ken Lee DEC Western Software Laboratory, Palo Alto, Calif. Internet: klee@decwrl.dec.com uucp: uunet!decwrl!klee