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

From: Rene Brun (Rene.Brun@cern.ch)
Date: Sun Oct 28 2001 - 11:11:00 MET


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 ?

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



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