Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
High
-
Resolution: Fixed
-
Affects Version/s: 6.20/04
-
Fix Version/s: 6.22/00
-
Component/s: TTree
-
Labels:None
-
Environment:
any
-
Development:
Description
The following sequence of calls results in c1 having a null fTree but a non-null fFile.
TChain* c1 = new TChain("T"); |
c1->Add("Event.root"); |
|
TChain* c2 = new TChain("T2"); |
c2->Add("Event2.root/T"); |
c1->AddFriend(c2);
|
|
c1->LoadTree(0);
|
c1->RemoveFriend(c2);
|
|
delete c1; |
In this situation, ~TChain ended up calling TTree::GetReadCache on a null fTree.