[ROOT] More about 'TObject overlapping'

From: Simon Dean (sdean@hep.man.ac.uk)
Date: Thu Apr 04 2002 - 00:30:40 MEST


Hi,

Further to my previous e-mail, I've been using totalview to look into this
problem. My class, SDAQ, has a default constructor that sets some
member variable values to zero, and a constructor which takes
arguments. This last constructor also invokes the default constructor.

Now, totalview is showing me that when the default constructor is invoked 
from within the other constructor, it sets the values of ANOTHER
(local?) SDAQ to zero and so the changes do not affect the current
SDAQ. Even more bizarrely, the current SDAQ seems to have been created
with the same member variable values as a previously-deleted SDAQ.

Anyone know what's going on?

cheers,

Simon



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:48 MET