[ROOT] TGaxis and <RootX11ErrorHandler>: BadValue (integer...

From: Gennady E. Pospelov (G.E.Pospelov@inp.nsk.su)
Date: Sun Oct 28 2001 - 09:08:17 MET


Hello,
Would you be so kind to help me with following problem: 

When I try to draw any TGaxis object interpretator crashed
if x_canvas_size < 597 or y_canvas_size<626.

For example, script below gives
---- 
Error in <RootX11ErrorHandler>: BadValue (integer parameter out of range
for operation) (XID: 0)
----
{
   gROOT.Reset();
   c1 = new TCanvas("c1","Examples of Gaxis",596,626);
   c1->Range(-10.,-1.,10.,1.);
   c1->cd();
   TGaxis *axis1 = new TGaxis(-4.5,-0.2,5.5,-0.2,-6.,8.,510,"+L",0); 
   axis1->Draw();
}

For canvas with x_size>=597 and y_size>=626 everything is OK.
                
Configuration:
root_v3.02.02 compiled from source (with 'configure linux')
RedHat6.2
glibc-2.1.3-22
XFree86-4.0.3-5
egcs-1.1.2-30
(The same problem was with binary version root_v3.01.03 on the same
computer).

			Thanks in advance,
				Guennadi.



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:05 MET