[ROOT] TTree::Draw, Unknown name & segmentation violation

From: Maksim A. Nikulin (M.A.Nikulin@inp.nsk.su)
Date: Wed Feb 19 2003 - 07:50:02 MET


Hi,

I found unpleasant behavior in the development version of ROOT.

More exactly: 
ROOT Version   3.05/00   21 January 2003
Linux RedHat-7.3
gcc-2.96 

ROOT 3.04/02 works excellent.

I get segmentation violation if variable name is typed with a mistake.
To reproduce the problem execute a script from the attachment.

======================================================================
<...>
  *   Version   3.05/00   21 January 2003   *
< ... >
root [0] .x TreeSegV.C  

*ERROR 26 : 
 Unknown name : "InvalidVariable"

 *** Break *** segmentation violation
 Generating stack trace...
< ... >
Root > Function TreeSegV() busy flag cleared
======================================================================

< ... >
  *   Version   3.04/02   20 January 2003   *
< ... >
< ... > 
root [0] .x TreeSegV.C

*ERROR 26 :
 Unknown name : "InvalidVariable"
root [1]
======================================================================

Maksim Nikulin <M.A.Nikulin@inp.nsk.su>



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:09 MET