Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Paul Pluzhnikov <ppluzhnikov@earthlink.net>
Subject: Re: Xerror
Date: Wed, 24 Jul 2002 00:04:31 GMT	[thread overview]
Message-ID: <m3u1mqm438.fsf@salmon.parasoft.com> (raw)
In-Reply-To: ahkcst$rv6$1@news.service.uci.edu

"Aaron J. Greenwood" <agreenwo@uci.edu> 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.


      reply	other threads:[~2002-07-24  0:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-23 20:04 Xerror Aaron J. Greenwood
2002-07-24  0:04 ` Paul Pluzhnikov [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox