[ROOT] Branch problem for inhereted class

From: Valeri Tioukov (Valeri.Tioukov@na.infn.it)
Date: Tue Oct 09 2001 - 00:17:10 MEST


Hi rooters,

Trying to migrate from v2.25 to v3.01 I got a problem in the following
situation:

I have tree with branch of the objects type Cclass,
Cclass contained TClonesArray of objects type Bclass,
Bclass inhereted from pure virtual class Vclass (and TObject of cause)

The reading of this tree is failed in case of root v3.01

If I set "old" style
tree->SetBranchStyle(kFALSE); 
it works fine.

I put almoust minimal sample illustrating the problem in the
http://people.na.infn.it/~valeri/test/test.tgz

Valeri


Complete crash session is:

> make 
> root 
root [0] .L libTest.so 
root [1] .L tree_test.C 
root [2] fill_C_tree()
a_member=1
b_member=0 
a_member=2 
b_member=0
 
a_member=11 
b_member=100 
a_member=12 
b_member=100
 
root [3] read_C_tree() 
 
 nent = 2
 
 *** Break *** segmentation violation
Root > Function read_C_tree() busy flag cleared



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