[ROOT] bug or my mistake?

From: Glen R. Salo (gsalo@mrcstl.com)
Date: Thu Mar 29 2001 - 22:40:56 MEST


Hi,

I found the following strange behavior (r->Dump() returns valid data after
being deleted) using today's CVS version of ROOT on a RedHat 7.0 linux
machine (with all of the updates).  Using the "root" binary, I get:

root [0] TList l
root [1] TRotMatrix *r = new TRotMatrix("r","R",0,0,0,0,0,0)
root [2] l.Add(r)
root [3] l.Delete()
root [4] r->Dump()
fUniqueID                1085936384  object unique identifier
fBits                    1085936568  bit field status word

And using the "rootn.exe" binary, I get what I expect as show below:

root [0] TList l
root [1] TRotMatrix *r = new TRotMatrix("r","R",90.,0.,90.,90.,0.,0.)
root [2] l.Add(r)
root [3] l.Delete()
root [4] r->Dump()

 *** Break *** segmentation violation

Running "root" and loading libNew.so (gSystem->Load("libNew.so")) did not
change the results as I thought they might.

Is this a bug or am I doing something wrong?

Thanks for your help,

Glen



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