Re: [ROOT] TBasket.cxx code

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Nov 27 2003 - 19:03:00 MET


Hi Sebastien,

OK, I understand your message now.

We added an additional test in version 3.10 when reading old Root files
with blocks taht were marked as compressed and in fact they were not
compressed. When this case is trapped, the code jumps to the block AfterBuffer:
It amy also happen that this piece of code is executed when a file
is overwritten.

Rene Brun

Sebastien Greder wrote:
> 
>  I know them, but maybe I wasn't clear, I just wanted to understand
>  what is the purpose of this line (in terms of coding) 'cause it looks
>  like an uncommented line (I just mentioned that it's a crash that
>  brang me to discover this line, I solved my pb (corrupted file))
> 
>  root version is 3.10.01
> 
>  seb.
> 
> 
> 
> On Thu, 27 Nov 2003, Rene Brun wrote:
> 
> > Sebastien,
> >
> > Please see the procedure to report an error at:
> >
> > http://root.cern.ch/root/roottalk/RoottalkRules.html
> >
> > Rene Brun
> >
> > Sebastien Greder wrote:
> > >
> > >  hi Rooters,
> > >
> > >  I have a crash reading a root files and thet stack trace message takes
> > >  me into TBasket.cxx file.
> > >
> > >  There I see at line 227 :
> > >
> > >  AfterBuffer:
> > >
> > >  which doesn't appear in previous version, but I cannot figure out
> > >  what it is and it's doing, could I have some explanation ?
> > >
> > >  thanks,
> > >
> > >  seb.
> > >
> > >   ---------------------------------------------------------------------
> > >  | Sebastien GREDER                        tel :  +33 (0)3 88 10 63 54 |
> > >  | D0 Strasbourg,                                                      |
> > >  | Institut de Recherches Subatomiques     fax :  +33 (0)3 88 10 62 34 |
> > >  | 23, rue du loess - BP 28                secr : +33 (0)3 88 10 66 40 |
> > >  | F-67037- STRASBOURG cedex 2             e-mail : greder@in2p3.fr,   |
> > >  |                                                  greder@fnal.gov    |
> > >   ---------------------------------------------------------------------
> >
> 
>   ---------------------------------------------------------------------
>  | Sebastien GREDER                        tel :  +33 (0)3 88 10 63 54 |
>  | D0 Strasbourg,                                                      |
>  | Institut de Recherches Subatomiques     fax :  +33 (0)3 88 10 62 34 |
>  | 23, rue du loess - BP 28                secr : +33 (0)3 88 10 66 40 |
>  | F-67037- STRASBOURG cedex 2             e-mail : greder@in2p3.fr,   |
>  |                                                  greder@fnal.gov    |
>   ---------------------------------------------------------------------



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:17 MET