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

From: Philippe Canal (pcanal@fnal.gov)
Date: Wed Feb 19 2003 - 16:28:59 MET


Hi Maksim,

Thanks for reporting this problem.  It has been fixed in root 3.05/01.

Cheers,
Philippe.

-----Original Message-----
From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Maksim A. Nikulin
Sent: Wednesday, February 19, 2003 12:50 AM
To: roottalk@pcroot.cern.ch
Subject: [ROOT] TTree::Draw, Unknown name & segmentation violation


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