Errors when closing GUI

Hi,

ROOT gives me a list of erors when I close my GUI application. I have run it in a debugger, which gives me:

#0 0x6d617266 in ?? ()
#1 0x42730a91 in TGTextButton::~TGTextButton() ()
from /opt/products/root/4.00.08/lib/libGui.so.4.00
#2 0x413c6306 in TCollection::GarbageCollect(TObject*) ()
from /opt/products/root/4.00.08/lib/libCore.so.4.00
#3 0x413cc09d in TList::Delete(char const*) ()
from /opt/products/root/4.00.08/lib/libCore.so.4.00
#4 0x413c9e1b in THashList::Delete(char const*) ()
from /opt/products/root/4.00.08/lib/libCore.so.4.00
#5 0x427416d8 in TGClient::~TGClient() ()
from /opt/products/root/4.00.08/lib/libGui.so.4.00
#6 0x427d913c in TRootApplication::~TRootApplication() ()
from /opt/products/root/4.00.08/lib/libGui.so.4.00

I have checked out everything that I can think of, can you shed any like on what is causing the problem?

I have included the code for the main frame of my GUI.

Thanks,

Lisa
MainFrame.C (3.1 KB)
MainFrame.h (1.13 KB)

Hi Lisa,
I cannot reproduce it. (gcc 2.96, RH7.3 linux).
I’m using simplified code (in attachment).

Regards. Valeriy
MainFrame.C (2.58 KB)

Hi Valeriy,

For some reason I was not able to download the attachment. Could you try attaching it again, please.

Regards,

Lisa

once more
MainFrame.C (2.58 KB)