Dear Rooters,
I have found the reason for the crash of the small CINT macro I have
submitted to ROOTTALK 2 days ago. It is effectively a bug in ROOT. The
following line has to be added into the destructor of the class TRotMatrix :
gGeometry->GetListOfMatrices()->Remove(this);
For the time being, the destructor of TRotMatrix is empty, but the
constructor contains the line :
gGeometry->GetListOfMatrices()->Add(this);
so that the Remove() appears necessary. For instance, this Remove()
exists in the class TMaterial which is also handled by gGeometry. In any
case, my macro does not crash anymore since I have added this line before
the delete.
F.X. Gentit
DAPNIA/SPP CEN Saclay
tel : 01 69 08 30 38 fax : 01 69 08 64 28
web : http://home.cern.ch/~gentit/
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:40 MET