[ROOT] Problems with files/ executing commandos

From: Alexander Dietz (Alexander.Dietz@mpi-hd.mpg.de)
Date: Tue Mar 26 2002 - 10:16:01 MET


Hello there,

I am working with ROOT succesfully for a longer time, especially using the
CINT Dictionary Generator for including own classes into the ROOT system.
About one month ago I changed the computer (to a faster one) where I
sucessfully installed ROOT again (version 3.02/07) (computer using an
Athlon 1.5GHz, Linux version 2.4.17 and C++ compiler g++ (2.95.4)).

But here an error appeared that doesn't appear on the older computer!
I added all used programs to this mail that you can verify my problem.

First, I create a program 'testroot' which includes a class 'Test'. This
class is part of a larger class working with files. The compilation of
'testroot' works very well without any problems.
Then I start 'testroot', load the program 'testtest.cc' and execute it in
two different modi by typing 'start(n)'

Mode n=1: Here a file is opened and closed directly consecutively. After
that, a command 'ls' is given to the shell (listing the directory). When
executing this, every works very well.

Mode n=2: Here in principle exactly the same happens (is it so?). The
constructor of class 'Test' opens a file and with 'file.close()' it is
closed directly after opening the file. But then the error occurs: The
command 'ls' is NOT executed on the shell and the program 'testroot' hangs
up. I cannot quit this program by typing CTRL-C, I have to kill the whole
process!!

So what is wrong here? Why is the command not executed? What can I do?

I will be happy for any help.

	A. Dietz











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