Re: [ROOT] Strange problem with TBranch buffer size

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Aug 22 2001 - 12:56:16 MEST


Christian,

Well, it means that the conditions that you described in your original mail are
not sufficient to investigate the problem.

Setting gdebug=2 should give an indication of where the problem occurs.
the wrong version number is not an indication, except that it will be the first
victim if something is wrong in the buffer.

Try to squeeeze the problem as much as possible. As you know, the response time
is in general proportional to the length of the test program ::)

Rene Brun

Christian Holm Christensen wrote:
> 
> 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