[ROOT] BadMatch/BadValue-Error...

From: Andreas Zoglauer (zog@mpe.mpg.de)
Date: Tue Aug 28 2001 - 14:13:41 MEST


Hi Rooters,


This is a bug report.

I have a GUI with a TROOTEmbeddedCanvas inside. When a histogram is
displayed and I decrease the size of the dialog, I get serveral errors
when the canvas size gets zero:

Error in <TGX11TTF::DrawText>: error getting background image
Error in <TGX11TTF::DrawText>: error getting background image
Error in <TGX11TTF::DrawText>: error getting background image
Error in <RootX11ErrorHandler>: BadValue (integer parameter out of range
for operation) (XID: 0)

or:

Error in <TGX11TTF::DrawText>: error getting background image
Error in <TGX11TTF::DrawText>: error getting background image
Error in <TGX11TTF::DrawText>: error getting background image
Error in <TGX11TTF::DrawText>: error getting background image
Error in <RootX11ErrorHandler>: BadMatch (invalid parameter attributes)
(XID: 0)


This error can be simply reproduced using the guitest-example:

In Test->Dialog->Tab 3 push the "Start filling Hists" button and then
decrease the size of the window until the histogramms disappear. Then
guitest crashes with the above errors and uses 99.9% CPU...


Andreas


ROOT: 3.01.06 (from cvs, 28. Aug 2001)
OS:   SuSE Linux 7.2



----------------------------------------------------------------------
Andreas Zoglauer

MPI fuer extraterrestrische Physik         Phone:    +49/89-30000-3848
Postfach 1312                              Fax:      +49/89-30000-3569
85741 Garching, Germany                    Email:    zog@mpe.mpg.de
----------------------------------------------------------------------



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