[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

1798.0. "Puzzling error message" by HANDVA::RICHARDCHAN () Tue Nov 28 1989 06:15

	I would like to ask what is the following message meant, that comes
	out when I run my pulldown menu program.

	X error event received from sever : BadValue - Integer parameter out
	out range
	Failed request major op code 12 X-ConfigureWindow
	Failed request minor op code 0 (if applicable)
	Serial number of failed request 41
	Current serial number in output stream 55
	%Xlib-E-ERROREVENT, error event received from sever
	%TRACE-E-TRACEBACK, symbolic stack dump follows

	Then it dumps the error occurring in XtMainLoop();

	Since I am a beginner in DECwindow, I would like to ask there seems
	you go into a jungle if you have error in your callback procedures
	because when you run the program, it dumps the above message to you
	endlessly and signal the line "XtMainLoop()" error. 

	Is there any ways to trace the errors that give you more hint?
	I also find that you cannot debug your program using debugger
	because of interruption of DECwindow routines. I can give you
	the source code and uil file if you request. Thanks in advance.

    
T.RTitleUserPersonal
Name
DateLines
1798.1Empty menu?DECWIN::KLEINTue Nov 28 1989 09:5812
	X error event received from sever : BadValue - Integer parameter out
	out range
	Failed request major op code 12 X-ConfigureWindow
	Failed request minor op code 0 (if applicable)
	Serial number of failed request 41
	Current serial number in output stream 55

I would say that this means that you're trying to make a zero-sized window.
Are you sure that there are any children (menu ENTRIES) managed by the
menu at the time you activate it?

-steve-
1798.2How do you deduce actionHANDVA::RICHARDCHANWed Nov 29 1989 03:595
    I would like to ask that how do you deduce I am trying to make a
    zero-size window. Is there any reference book which list all such
    error message and the corresponding user action? I have set width
    and height of main_window object in my uil file to 400. And it works.
    Thanks for your hint.
1798.3School of hard knocksDECWIN::KLEINWed Nov 29 1989 10:546
>>    I would like to ask that how do you deduce I am trying to make a
>>    zero-size window.

Just a lucky guess.  (I get the same error message all the time.)

-steve-