martin@zeus.hf.intel.com (Martin Wilde) (03/02/89)
The recently posted xpaint program causes a server error when ran on my R2 server. There was no compile errors and bad warnings. The following is the output spewn by the server: X Protocol error detected by server: parameter mismatch Failed request major op code 67 X_PolyRectangle Failed request minor op code 0 (if applicable) ResourceID 0x800005 in failed request (if applicable) Serial number of failed request 90 Current serial number in output stream 95 I have not been able to find any documentation explaining what this means. Can someone help me out? Thanks in advance _/_ | ______ __. __ / o ____ | textronix!reed!littlei!zeus:martin / / / <_(_/|_/ (_<__<_/ / < |
kit@ATHENA.MIT.EDU (Chris D. Peterson) (03/08/89)
[ (Martin Wilde) writes: ] > The recently posted xpaint program causes a server error when > ran on my R2 server. There was no compile errors and bad > warnings. The following is the output spewn by the server: [ text deleted ] > I have not been able to find any documentation explaining what > this means. Can someone help me out? This means that one of your Xlib calls passed something to the server that it didn't like. I find that is usually easiest to just find what line of code failed with a debugger like dbx or gdb, and take a look at it. There is usually an obvious mistake, like createing a window if zero width or height. CAUTION: Make sure that you are running you application in synchronous mode or the line of code in which your code exited will be meaningless. To synchronize you appication with the Xserver use XSynchronize(). If you are using the X Toolkit the you can use the command line option -synchronize. Chris D. Peterson MIT X Consortium / Project Athena Net: kit@athena.mit.edu Phone: (617) 253 - 1326 USMail: MIT - Room E40-321 77 Massachusetts Ave. Cambridge, MA 02139 ------- End of Unsent Draft