Hi,
I run on a linux Box RH 6.2 with
ROOT Version 2.25/00 19 June 2000 ,
Compiled with thread support.
CINT/ROOT C/C++ Interpreter version 5.14.40,
May 21 2000
and I got something weird trying to read a string in a file. The
macro is the following :
{
gROOT->Reset();
ifstream fin;
fin.open("FileForPb.DAT", ios::in);
TString wrkString;
fin >> wrkString ;
cout << " WrkString ?? : " << wrkString << endl;
}
and I got back :
Enclose multiple statements between { }.
root [0] .x PbTString.C
WrkString ?? :
*** Break *** segmentation violation
Root >
*** Break *** segmentation violation
....... almost an endless litany of these!!
Root >
*** Break *** segmentation violation
Root >
*** Break *** segmentation violation
Root >
*** Break *** segmentation violation
Root >
*** Break *** segmentation violation
Does someone have any clue ? I must also emphasize it did work with the
preceding version of ROOT, indeed. It was V2.23-12.Linux-2.2.14.
* Version 2.23/12 21 March 2000 *
* *
* You are welcome to visit our Web site *
* http://root.cern.ch *
* *
*******************************************
Compiled with thread support.
CINT/ROOT C/C++ Interpreter version 5.14.25, Nov 25 1999
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] .x PbTString.C
WrkString ?? : ohlala!!!
root [1]
Thanks in advance.
Hugues Delagrange
--
Hugues Delagrange
mailto:Hugues.Delagrange@subatech.in2p3.fr
Laboratoire de Physique Subatomique et des Technologies Associées
-SUBATECH-
Ecole des Mines de Nantes, 4 rue Alfred Kastler F-44070 NANTES cedex 03
Téléphone: (+33/0) 2 51 85 84 80 Télécopie: (+33/0) 2 51 85 84 24
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:29 MET