[ROOT] Crash in TTree::GetListOfBranches
From: Thomas Bretz (firstname.lastname@example.org)
Date: Thu Feb 26 2004 - 18:56:46 MET
running the attached macro with the attached file results in a crash.
Please don't tell me, that this is due to a corrupt file - I know that
the file is corrupt. Is there any chance to ignore the corrupt file
instead of letting it produce a seg-fault?
Thanks in advance,
TObject *o = new TObject;
TFile f("mytest.root", "RECREATE");
TTree *t=new TTree("Events", "");
t->Branch("TObject.", "TObject", &o);
cout << c.GetEntries() << endl;
cout << c.GetListOfBranches() << endl;
This archive was generated by hypermail 2b29
: Sun Jan 02 2005 - 05:50:06 MET