Re: [ROOT] Error in <RootX11ErrorHandler>

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Wed Feb 14 2001 - 13:26:04 MET


Hi Dagmar,

  it means that you probably delete some window twice when you
close the main window. Or that you still try to access an already
closed and destroyed window. Check your destructors.

Cheers, Fons.



Dagmar Adamova wrote:
> 
> Hello.
> 
> I'm playing with a simple GUI where I'm
> using text entry widgets. Everything
> is working wonderfully at the first glance.
> The problem occurs, when I perform any
> action with the text in an text entry widget and
> later close the main window without completely
> exiting root. The window closes, gives
> the message imposed in the ProcessMessage
> member function, but also I get the following
> error message
> 
> Error in <RootX11ErrorHandler>: BadWindow
> (invalid Window parameter) (XID: 58720432)
> 
> When I try to instantiate the GUI class again,
> the window doesn't form properly.
> 
> When I close the main window and exit root at the same
> time, no error message shows up.
> 
> What might be wrong?
> 
> My regards,
> Dagmar

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7677910



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