Re: [ROOT] aclic with debugging info

From: Victor Perevoztchikov (perev@bnl.gov)
Date: Wed Sep 04 2002 - 22:53:40 MEST


Hi Philippe,

thank you. Now it is working.

Victor

Victor M. Perevoztchikov   perev@bnl.gov
Brookhaven National Laboratory MS 510A PO Box 5000 Upton NY 11973-5000
tel office : 631-344-7894; fax 631-344-4206; home 631-345-2690

----- Original Message -----
From: "Philippe Canal" <pcanal@fnal.gov>
To: "Victor Perevoztchikov" <perev@bnl.gov>; "Fons Rademakers"
<Fons.Rademakers@cern.ch>; "Mike Kordosky" <kordosky@mail.hep.utexas.edu>
Cc: "ROOTtalk Mailing List" <roottalk@pcroot.cern.ch>
Sent: Wednesday, September 04, 2002 2:27 PM
Subject: RE: [ROOT] aclic with debugging info


> Hi Victor,
>
> Thanks for reporting this problem.  ROOT 3.03.08 is unable to properly
notice the absence of a class (and thus provide what we call 'fake
classes').  This manifests itself by the lack of messages like:
>
>    Warning in <TClass::TClass>: no dictionary for class Event is available
>
> To fix the problem, please apply the following patch:
>
> cvs diff -u meta
> Index: meta/src/TCint.cxx
> ===================================================================
> RCS file: /user/cvs/root/meta/src/TCint.cxx,v
> retrieving revision 1.58
> diff -u -r1.58 TCint.cxx
> --- TCint.cxx 2002/08/20 10:51:50 1.58
> +++ TCint.cxx 2002/09/04 18:19:33
> @@ -535,7 +535,7 @@
>        // assumes that the TClass is well formed to do a lot of
information
>        // caching. The method SetClassInfo (i.e. here) is usually called
during
>        // the building phase of the TClass, hence it is NOT well formed
yet.
> -      if ((cl->fClassInfo->Property() & (kIsClass|kIsStruct)) == 0) {
> +      if (cl->fClassInfo->IsValid() && (cl->fClassInfo->Property() &
(kIsClass|kIsStruct)) == 0) {
>           cl->MakeZombie();
>        }
>
> Cheers,
> Philippe.
>
> -----Original Message-----
> From: Victor Perevoztchikov [mailto:perev@bnl.gov]
> Sent: Tuesday, September 03, 2002 4:47 PM
> To: Philippe Canal; Fons Rademakers; Mike Kordosky
> Cc: ROOTtalk Mailing List
> Subject: Re: [ROOT] aclic with debugging info
>
>
> Hi Philippe,
> as I know you are only one acceptable from ROOT team.
>
> I found that ROOT 3.03.08 can not read the old TTree files.
> Immediate crash. Old ROOT can read them.
>
> When old ROOT open the file, a lot of messages about unknown classes.
> It is understandable, StreamerInfo objects is read, and checked, but
library
> of classes
> is not loaded.
> When new ROOT opens the file, no any messages. Probably it can not read
> StreamerInfo
> Then it crashes after attempt to read. TBroser enough to test it.
>
> Victor
>
> Victor M. Perevoztchikov   perev@bnl.gov
> Brookhaven National Laboratory MS 510A PO Box 5000 Upton NY 11973-5000
> tel office : 631-344-7894; fax 631-344-4206; home 631-345-2690
>
>
>



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