[ROOT] TStreamerInfo bug

From: Jiri Masik (Jiri.Masik@cern.ch)
Date: Sat Jun 02 2001 - 10:45:57 MEST


Hi,

I've synced with CVS head this morning. The new version is crashing in
TStreamerInfo::TagFile on access to an outdated classindex entry - I
think for one of the classes both TTree and TH1F inherit from. I have
a simple demonstration of the problem. I'm running on
Linux/Debian/PPC.

root [1] TFile f("tree.root","NEW")
root [2] TTree *t = new TTree()
root [3] t->Write()
(Int_t)216
root [4] f.Close()
root [5] .q

root [1] TH1F *h = new TH1F("h","h",10, 0., 1.)
root [2] TFile *f = new TFile("tree.root","")
root [3] delete f
root [4] TH1F *gh = (TH1F *)h->Clone("hg")
 *** Break *** segmentation violation
Root > 

-- 
	Jiri



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