Re: [ROOT] SegFault via G__defined_tagname in Root 3.10

From: Volker Hejny (V.Hejny@fz-juelich.de)
Date: Sat Jan 10 2004 - 20:36:49 MET


Dear Rene,

On Fri, Jan 09, 2004 at 06:33:22PM +0100, Rene Brun wrote:
> It seems that some of your static objects in your own libraries are executed
> by the system before the TROOT main object has been created.

It seems your guess is correct. There is one class derived from
std::ostream used as the standard output class for screen/logging.
Thus, one global object has to be available when the library is
loaded. Without this object the program starts. 

However, I donīt see how I can change it trivially. Therefore
the question, whether I have to make sure that all classes with
dictionaries are not used before the TROOT main object has been
created. We are using this specific class that way for already
two years. Before root version 3.10 it was running on all tested
platforms, now there is a problem on a single platform with the
most recent version. Do we have to expect the same problems on
all other platforms?

Best regards,
Volker


-- 
Dr. Volker Hejny                Tel: 02461/616853                      ** 
Institut f. Kernphysik          Fax: 02461/613930                     **
---------------------------------------------------------------- **  ** ---  
Forschungszentrum Juelich GmbH, D-52425 Juelich                    **



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:05 MET