Hi, I encountered a funny problem. Suppose you have a file text.C (see attachment) which defines 1 classes, and you "execute" it by .X test.C++. Obviously, ACLIC will complain because it doesn't contain a method named "test". Now try to quit root. You'll get a SEGV the first time you try to exit, but the second time it will work. Now define 2 classes in thet test.C, and again .X text.C++. Now you'll have to type exit() (or .q) three times to get out of ROOT. I've seen this behavior with current cvs sources, on linux 2.4, with KCC and gcc 3.1. The backtrace points to TUnixSystem::Exit(int code, Bool_t mode)'s call of "::exit(code)" (line 1202 in .cxx). My guess is that this is a symptom of a deeper problem (recovery after ACLIC error or something), otherwise I wouldn't have mentioned it... Cheers, Axel. #include "TObject.h" class SomeClass: public TObject { public: SomeClass(){}; virtual ~SomeClass(){}; ClassDef(SomeClass,0); }; class OtherClass: public TObject { public: OtherClass(){}; virtual ~OtherClass(){}; ClassDef(OtherClass,0); };
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:22 MET