Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Xerror
@ 2002-07-23 20:04 Aaron J. Greenwood
  2002-07-24  0:04 ` Xerror Paul Pluzhnikov
  0 siblings, 1 reply; 2+ messages in thread
From: Aaron J. Greenwood @ 2002-07-23 20:04 UTC (permalink / raw)


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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Xerror
  2002-07-23 20:04 Xerror Aaron J. Greenwood
@ 2002-07-24  0:04 ` Paul Pluzhnikov
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Pluzhnikov @ 2002-07-24  0:04 UTC (permalink / raw)


"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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-07-24  0:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-23 20:04 Xerror Aaron J. Greenwood
2002-07-24  0:04 ` Xerror Paul Pluzhnikov

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