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

From: Otto.Schaile@Physik.uni-muenchen.de
Date: Mon Oct 29 2001 - 09:05:12 MET


On Sun, 28 Oct 2001, Rene Brun wrote:

> Hi Gennady,
> 
> I tried your simple test on all the machines we support with no problems.
> On Linux, I can only test RH5.1, RH6.1 and RH7.1. May be the problem
> is specific to RH6.2 or XFree86-4.0.3-5?
> Anybody else observing the same problem ?

We have identical RH6.2 (egcs-1.1.2-30, glibc-2.1.3-22, XFree86-4.0.3-5)
however ROOT 3.01/06 (i.e. something in between (3.01.03 and 3.02.02) 
with no problems
Otto Schaile

> 
> Rene Brun
> 
> On Sun, 28 Oct 2001, Gennady E. Pospelov wrote:
> 
> > 
> > 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.
> > 
> 

Otto Schaile            Sektion Physik, LMU Muenchen
Phone: +49 89 289 14070     Am Coulombwall 1, D-85748 Garching, Germany
GSM:   +49 160 1553598
FAX:   +49 89 289 14072     EMail: Otto.Schaile@Physik.Uni-Muenchen.DE



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