Re: [ROOT] Strange problem with TBranch buffer size

From: Christian Holm Christensen (cholm@hehi03.nbi.dk)
Date: Wed Aug 22 2001 - 12:48:53 MEST


Hi Rene et al, 

On Wed, 22 Aug 2001 10:40:34 +0000
Rene Brun <Rene.Brun@cern.ch> wrote
concerning "Re: [ROOT] Strange problem with TBranch buffer size":
> Hi Christian,
> 
> This type of error occurs when you have a hand-written Streamer and
> a mismatch between the class when writing and reading. 

No streamer was hand written in this case.  Every streamer of
persistent classes was written by rootcint, using the "+" option. 

> I would need a ruuning test to figure out what happens exactly in
> your case. 

I'm afraid that could be difficult, as I've not been able to reproduce
the error with a simpler example.  I can, however, make the full
shebang avaliable to you if you want.  Please let me know if you want
that (I guess redistributing derived work back to the main maintainer
is allowed by the Lisence :-).  

> Note that you can get more debugging info by setting
>   gDebug=2;  // (in TSystem.h)
> just before reading your entries.

Did that.  Also, I compiled ROOT with debugging symbols, ran GDB, and
so on.  What I failed to write in my previous mail, was that the
SIGSEGV comes in "frombuf" in "TBuffer::operator>>(UInt_t&)". 

Yours, 

Christian Holm Christensen -------------------------------------------
Address: Sankt Hansgade 23, 1. th.           Phone:  (+45) 35 35 96 91 
         DK-2200 Copenhagen N                Cell:   (+45) 28 82 16 23
         Denmark                             Office: (+45) 353  25 305 
Email:   cholm@nbi.dk                        Web:    www.nbi.dk/~cholm



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:58 MET