Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!boulder!bill From: bill@boulder.Colorado.EDU Newsgroups: comp.sys.hp Subject: bug? -- XDrawLine can freeze HP-UX 6.5 X server Message-ID: <17056@boulder.Colorado.EDU> Date: 16 Feb 90 19:32:50 GMT Sender: news@boulder.Colorado.EDU Reply-To: bill@synapse.Colorado.EDU (Bill Skaggs) Organization: University of Colorado, Boulder Lines: 22 I think I've found something nasty, and I wonder if anybody can tell me what's going wrong and what to do about it. I'm writing a program that does graphics in an X window, and at a certain point, during an XDrawLine call, my display freezes and I have no choice except to kill the X server. This is under HP-UX 6.5 -- we don't have 7.0 here yet; and it's on an HP 370. The arguments to XDrawLine (corresponding to XDrawLine(display, d, gc, x1, y1, x2, y2)) are x1 = 19642, y1 = 25985, x2 = -9529, y2 = -20184. These numbers are very big, of course, but I don't want to fool with them, because with clipping it is possible that part of the line will pass through my window. Anyway, it doesn't seem reasonable for bad arguments to a function to break the server. (Incidentally, I know the other arguments are correct.) Is this a server bug? Can anyone from HP comment? -- Bill Skaggs