🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.windows.misc
2 messages
2 total messages Started by Stephen Riehm Fri, 24 Jul 1992 15:05
How do you make sense of the Xlib error reports?
#43
Author: Stephen Riehm
Date: Fri, 24 Jul 1992 15:05
26 lines
1497 bytes
Hi,
	I am trying to write a program entirely in Xlib ( for
	performance reasons ), I am borrowing some code from a program
	that I wrote last year ( which I am pretty sure worked ), but
	when I run the program, I get the following error from Xlib:

X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  62 (X_CopyArea)
  Serial number of failed request:  73
  Current serial number in output stream:  150
Exit 1

	How do I track down EXACTLY what is going wrong, it seems that
	when XCopyArea is called, it returns with an OK status, and
	its only when the event requests are processed that the
	message is printed. Any advice would be gladly appreciated!

thanks in advance

-----------------------------------------------------------------
Stephen Riehm				   smr@pki-nbg.philips.de
not in any way talking on behalf of:
Philips Kommunikations Industrie	  Phone: +49 911 526 2975
8500 Nuremberg, Germany			    Fax: +49 911 526 2095
I come from the land down under, where women glow and men blunder
PS: I know my From: line is wrong, but I don't know WHY!
Re: How do you make sense of the Xlib error reports?
#50
Author: Paul Davey
Date: Tue, 28 Jul 1992 13:31
23 lines
1489 bytes
>>>>> On 24 Jul 92 15:05:53 GMT, smr@iti.org (Stephen Riehm) said:

Stephen> 	How do I track down EXACTLY what is going wrong, it seems that
Stephen> 	when XCopyArea is called, it returns with an OK status, and
Stephen> 	its only when the event requests are processed that the
Stephen> 	message is printed. Any advice would be gladly appreciated!

Remember that Xlib is asynchronous. The error can only be detected on the
server and is returned like an event.

When debugging in X run in synchronous mode by calling
	XSynchronize(display, True) 
so that your errors will be reported immediately after the program issues
the request to XCopyArea.

NB. Your question would have been answered quicker in comp.windows.x, hence
    the Followup-To.

--
 Regards,			  pd@x.co.uk           IXI Ltd.
	Paul Davey		  pd@ixi.uucp          62-74 Burleigh St.
				  ...!uunet!ixi!pd     Cambridge,  U.K.
 "These _are_ interesting times"  +44 223 462 131      CB1  1OJ
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads