Hi, looks like today is day of my questions. Now I have problem with TList, maybe I do something wrong but here is the problem: I one of my programs I save class witch have inside list of histograms, class TOut : public TObject { .... TList GetListOfHistos() { return fListOfHistos; } private: TList fListOfHistos; // List of histograms }; in second program I read file with that class. root [0] TFile fi("test.root"); root [1] .ls TFile** test.root TFile* test.root KEY: TOut TOut;1 root [2] TOut *ao = gROOT->FindObject("TOut"); root [4] ao (class TOut*)0x4035d9d8 root [6] TList listOfHists = ao->GetListOfHistos(); and I get here: Warning in <TObjectTable::Remove>: 0x7b0402c8 not found at 4186 *** Break *** segmentation violation ( 0) 0x80702330 StackTrace__11TUnixSystemFv + 0x30 [/na49/dev/ROOT/hpux9/root/lib/libUnix.sl] ( 1) 0x80700ccc DispatchSignals__11TUnixSystemF8ESignals + 0x12c [/na49/dev/ROOT/hpux9/root/lib/libUnix.sl] ( 2) 0x806ff894 SigHandler__F8ESignals + 0x2c [/na49/dev/ROOT/hpux9/root/lib/libUnix.sl] ( 3) 0x80703da0 sighandler__Fi + 0x5c [/na49/dev/ROOT/hpux9/root/lib/libUnix.sl] ( 4) 0x800ab3f0 sigreturn [/lib/libc.sl] ( 5) 0x8132f628 Clear__5TListFPc + 0xb4 [/na49/dev/ROOT/hpux9/root/lib/libCont.sl] ( 6) 0x8132eb08 dt__5TListFv + 0x50 [/na49/dev/ROOT/hpux9/root/lib/libCont.sl] ....... am I doing something wrong ? Jarek
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:18 MET