From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,b74f554bc8bcc00f X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-07-23 17:04:52 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed-west.nntpserver.com!hub1.meganetnews.com!nntpserver.com!newsfeed.news2me.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!aec207d1!not-for-mail Newsgroups: comp.unix.tru64 Subject: Re: Xerror References: From: Paul Pluzhnikov Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 24 Jul 2002 00:04:31 GMT NNTP-Posting-Host: 24.205.78.167 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.prod.itd.earthlink.net 1027469071 24.205.78.167 (Tue, 23 Jul 2002 17:04:31 PDT) NNTP-Posting-Date: Tue, 23 Jul 2002 17:04:31 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: archiver1.google.com comp.unix.tru64:8204 "Aaron J. Greenwood" writes: > I do not know how to troubleshoot X problem. On startup of an X program I > get the following error. Could anyone give me guidance in solving this > problem. > > X Error of failed request: BadMatch (invalid parameter attributes) > Major opcode of failed request: 1 (X_CreateWindow) > Serial number of failed request: 55 > Current serial number in output stream: 58 > This is quite common when doing X development. A better place to ask may be comp.windows.x ... If you have source to the app, add XSynchronize(display, 1); immediately after opening Display, then set breakpoint on _XError, continue to breakpoint and examine stack to see what request triggered the error. If you do not have source, you'll need to perform the XSynchronize() call from debugger. Cheers, -- In order to understand recursion you must first understand recursion.